Re: [Flashcoders] include directive ...
lol... hahahahahahaha I totally agree whispers wrote: :P Oh..and P.O.S. = Piece of . ;) -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Joel Stransky Sent: Friday, March 06, 2009 2:14 PM To: Flash Coders List Subject: Re: [Flashcoders] include directive ... I was the exact same way Taka until I started using FD. So many things that speed up development it's no contest. On Fri, Mar 6, 2009 at 3:00 PM, Taka Kojima wrote: Keep it on the timeline, don't switch to external AS files unless you want to give yourself suicide thoughts ;) If you wanted to switch over to using classes, that's a different story, but for only 10-30 lines per movieclip on the timeline, I'd say just keep going with how you're doing it. It is working right? In terms of the Flash AS editor -- I agree, it is a POS, but I set my own color scheme and everything so mine's all tricked out and it's not half as bad as it is with default settings ;) - Taka On Fri, Mar 6, 2009 at 11:34 AM, Joel Stransky wrote: Hahaha. FlashDevelop pwns you! On Fri, Mar 6, 2009 at 1:55 PM, whispers wrote: P.O.S. Actions panel 4 LIFE!!! :) -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Joel Stransky Sent: Friday, March 06, 2009 11:58 AM To: Flash Coders List Subject: Re: [Flashcoders] include directive ... Technically, Yes, it's the exact same thing. include merely allows you use an external text editor instead of the p.o.s. actions panel. On Wed, Mar 4, 2009 at 10:27 PM, Paul Andrews wrote: The include directive is just plain text inclusion from an external source. Once included it's as though it were inline. I think that if you are using the timeline and having lots of includes all over the place to replace all of the inline code, it would be a nightmare to work out what's going on. I rarely use the include directive. Better to use classes. Paul - Original Message - From: "SJF" To: Sent: Thursday, March 05, 2009 2:37 AM Subject: [Flashcoders] include directive ... Looking for clarity on the include directive in a CS3 FLA file. Technically, does anyone know if pound-for-pound, having code on a movieclip's timeline is EXACTLY the same as having it's code in an external .as file and using the include directive? Here are more details: 1) The code being externalised contains imports, variable declarations, numerous functions and runtime code (approx. 150-250 lines of code) 2) The movieclip is dynamic and created on the fly by the application, putting the movieclip within various other movieclips deep in the display stack 3) Multiple other movieclips (approx. 30) also contain code with imports, variable declarations, functions and runtime code So the question I ask: Is it technically possible to externalise all code in a CS3 FLA document by exporting all code from all timelines and using the include directive? Are there issues with instantiation of objects/classes or problems with import paths, etc? Thoughts? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- --Joel Stransky stranskydesign.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- --Joel Stransky stranskydesign.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- --Joel Stransky stranskydesign.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] include directive ...
:P Oh..and P.O.S. = Piece of . ;) -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Joel Stransky Sent: Friday, March 06, 2009 2:14 PM To: Flash Coders List Subject: Re: [Flashcoders] include directive ... I was the exact same way Taka until I started using FD. So many things that speed up development it's no contest. On Fri, Mar 6, 2009 at 3:00 PM, Taka Kojima wrote: > Keep it on the timeline, don't switch to external AS files unless you > want to give yourself suicide thoughts ;) > > If you wanted to switch over to using classes, that's a different > story, but for only 10-30 lines per movieclip on the timeline, I'd say > just keep going with how you're doing it. It is working right? > > In terms of the Flash AS editor -- I agree, it is a POS, but I set my > own color scheme and everything so mine's all tricked out and it's not > half as bad as it is with default settings ;) > > - Taka > > On Fri, Mar 6, 2009 at 11:34 AM, Joel Stransky > > wrote: > > Hahaha. FlashDevelop pwns you! > > > > On Fri, Mar 6, 2009 at 1:55 PM, whispers > wrote: > > > >> P.O.S. Actions panel 4 LIFE!!! > >> > >> > >> :) > >> > >> -Original Message- > >> From: flashcoders-boun...@chattyfig.figleaf.com > >> [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of > >> Joel Stransky > >> Sent: Friday, March 06, 2009 11:58 AM > >> To: Flash Coders List > >> Subject: Re: [Flashcoders] include directive ... > >> > >> Technically, Yes, it's the exact same thing. include merely allows > >> you > use > >> an external text editor instead of the p.o.s. actions panel. > >> > >> > >> On Wed, Mar 4, 2009 at 10:27 PM, Paul Andrews > wrote: > >> > >> > The include directive is just plain text inclusion from an > >> > external > >> source. > >> > Once included it's as though it were inline. > >> > > >> > I think that if you are using the timeline and having lots of > >> > includes all over the place to replace all of the inline code, it > >> > would be a nightmare to work out what's going on. > >> > > >> > I rarely use the include directive. Better to use classes. > >> > > >> > Paul > >> > > >> > > >> > - Original Message - From: "SJF" > >> > To: > >> > Sent: Thursday, March 05, 2009 2:37 AM > >> > Subject: [Flashcoders] include directive ... > >> > > >> > > >> > > >> > Looking for clarity on the include directive in a CS3 FLA file. > >> >> > >> >> Technically, does anyone know if pound-for-pound, having code on > >> >> a movieclip's timeline is EXACTLY the same as having it's code > >> >> in an external .as file and using the include directive? > >> >> > >> >> Here are more details: > >> >> > >> >> 1) The code being externalised contains imports, variable > >> >> declarations, numerous functions and runtime code (approx. > >> >> 150-250 lines of code) > >> >> 2) The movieclip is dynamic and created on the fly by the > >> >> application, putting the movieclip within various other > >> >> movieclips deep in the display stack > >> >> 3) Multiple other movieclips (approx. 30) also contain code with > >> >> imports, variable declarations, functions and runtime code > >> >> > >> >> So the question I ask: > >> >> > >> >> Is it technically possible to externalise all code in a CS3 FLA > >> >> document by exporting all code from all timelines and using the > >> >> include directive? > >> >> > >> >> Are there issues with instantiation of objects/classes or > >> >> problems with import paths, etc? > >> >> > >> >> Thoughts? > >> >> ___ > >> >> Flashcoders mailing list > >> >> Flashcoders@chattyfig.figleaf.com > >> >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > >> >> > >> > > >> > ___ > >> > Flashcoders mailing list > >> >
Re: [Flashcoders] include directive ...
I was the exact same way Taka until I started using FD. So many things that speed up development it's no contest. On Fri, Mar 6, 2009 at 3:00 PM, Taka Kojima wrote: > Keep it on the timeline, don't switch to external AS files unless you > want to give yourself suicide thoughts ;) > > If you wanted to switch over to using classes, that's a different > story, but for only 10-30 lines per movieclip on the timeline, I'd say > just keep going with how you're doing it. It is working right? > > In terms of the Flash AS editor -- I agree, it is a POS, but I set my > own color scheme and everything so mine's all tricked out and it's not > half as bad as it is with default settings ;) > > - Taka > > On Fri, Mar 6, 2009 at 11:34 AM, Joel Stransky > wrote: > > Hahaha. FlashDevelop pwns you! > > > > On Fri, Mar 6, 2009 at 1:55 PM, whispers > wrote: > > > >> P.O.S. Actions panel 4 LIFE!!! > >> > >> > >> :) > >> > >> -Original Message- > >> From: flashcoders-boun...@chattyfig.figleaf.com > >> [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Joel > >> Stransky > >> Sent: Friday, March 06, 2009 11:58 AM > >> To: Flash Coders List > >> Subject: Re: [Flashcoders] include directive ... > >> > >> Technically, Yes, it's the exact same thing. include merely allows you > use > >> an external text editor instead of the p.o.s. actions panel. > >> > >> > >> On Wed, Mar 4, 2009 at 10:27 PM, Paul Andrews > wrote: > >> > >> > The include directive is just plain text inclusion from an external > >> source. > >> > Once included it's as though it were inline. > >> > > >> > I think that if you are using the timeline and having lots of includes > >> > all over the place to replace all of the inline code, it would be a > >> > nightmare to work out what's going on. > >> > > >> > I rarely use the include directive. Better to use classes. > >> > > >> > Paul > >> > > >> > > >> > - Original Message - From: "SJF" > >> > To: > >> > Sent: Thursday, March 05, 2009 2:37 AM > >> > Subject: [Flashcoders] include directive ... > >> > > >> > > >> > > >> > Looking for clarity on the include directive in a CS3 FLA file. > >> >> > >> >> Technically, does anyone know if pound-for-pound, having code on a > >> >> movieclip's timeline is EXACTLY the same as having it's code in an > >> >> external .as file and using the include directive? > >> >> > >> >> Here are more details: > >> >> > >> >> 1) The code being externalised contains imports, variable > >> >> declarations, numerous functions and runtime code (approx. 150-250 > >> >> lines of code) > >> >> 2) The movieclip is dynamic and created on the fly by the > >> >> application, putting the movieclip within various other movieclips > >> >> deep in the display stack > >> >> 3) Multiple other movieclips (approx. 30) also contain code with > >> >> imports, variable declarations, functions and runtime code > >> >> > >> >> So the question I ask: > >> >> > >> >> Is it technically possible to externalise all code in a CS3 FLA > >> >> document by exporting all code from all timelines and using the > >> >> include directive? > >> >> > >> >> Are there issues with instantiation of objects/classes or problems > >> >> with import paths, etc? > >> >> > >> >> Thoughts? > >> >> ___ > >> >> Flashcoders mailing list > >> >> Flashcoders@chattyfig.figleaf.com > >> >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > >> >> > >> > > >> > ___ > >> > Flashcoders mailing list > >> > Flashcoders@chattyfig.figleaf.com > >> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > >> > > >> > >> > >> > >> -- > >> --Joel Stransky > >> stranskydesign.com > >> ___ > >> Flashcoders mailing list > >> Flashcoders@chattyfig.figleaf.com > >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > >> > >> ___ > >> Flashcoders mailing list > >> Flashcoders@chattyfig.figleaf.com > >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > >> > > > > > > > > -- > > --Joel Stransky > > stranskydesign.com > > ___ > > Flashcoders mailing list > > Flashcoders@chattyfig.figleaf.com > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > -- --Joel Stransky stranskydesign.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] include directive ...
Maybe I have been working with merchants too long; yet, all I can think of in reference to P.O.S is that it means point of sale. Joel Stransky wrote: Technically, Yes, it's the exact same thing. include merely allows you use an external text editor instead of the p.o.s. actions panel. On Wed, Mar 4, 2009 at 10:27 PM, Paul Andrews wrote: The include directive is just plain text inclusion from an external source. Once included it's as though it were inline. I think that if you are using the timeline and having lots of includes all over the place to replace all of the inline code, it would be a nightmare to work out what's going on. I rarely use the include directive. Better to use classes. Paul - Original Message - From: "SJF" To: Sent: Thursday, March 05, 2009 2:37 AM Subject: [Flashcoders] include directive ... Looking for clarity on the include directive in a CS3 FLA file. Technically, does anyone know if pound-for-pound, having code on a movieclip's timeline is EXACTLY the same as having it's code in an external .as file and using the include directive? Here are more details: 1) The code being externalised contains imports, variable declarations, numerous functions and runtime code (approx. 150-250 lines of code) 2) The movieclip is dynamic and created on the fly by the application, putting the movieclip within various other movieclips deep in the display stack 3) Multiple other movieclips (approx. 30) also contain code with imports, variable declarations, functions and runtime code So the question I ask: Is it technically possible to externalise all code in a CS3 FLA document by exporting all code from all timelines and using the include directive? Are there issues with instantiation of objects/classes or problems with import paths, etc? Thoughts? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] include directive ...
Hi there, I know this is an actionscript list; yet, I hope that the below helps a php newbie out there, as for some reason I see this issue a lot in people's code. An i/nclude/ in most languages means the code will be brought inline, and it will throw an error during compilation if the file is not present; thus, when I first started with php several years back, I didn't realize that if the server gets too many requests, or the file is not present for whatever reason, the server will just run the page without it. I was very lucky to have not followed the many online tutorials suggesting I use the /include/ preprocessor directive when creating password protected areas, and instead decided to read the documentation to ensure I actually understood, at least to some degree, what I was doing. Use: require()- fatal exception if file not available and execution stops require_once()- same as require; yet, checks the rest of the code to ensure it has not already been loaded There are a lot of pages, and password protected areas out there on the web, that are totally hackable because many people just assume that the include directive should work the same in php as it does almost everywhere else. Take care, Anthony P.S. The flash ide actions panel sucks turd particles off a donkey's nut sack. whispers wrote: P.O.S. Actions panel 4 LIFE!!! :) -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Joel Stransky Sent: Friday, March 06, 2009 11:58 AM To: Flash Coders List Subject: Re: [Flashcoders] include directive ... Technically, Yes, it's the exact same thing. include merely allows you use an external text editor instead of the p.o.s. actions panel. On Wed, Mar 4, 2009 at 10:27 PM, Paul Andrews wrote: The include directive is just plain text inclusion from an external source. Once included it's as though it were inline. I think that if you are using the timeline and having lots of includes all over the place to replace all of the inline code, it would be a nightmare to work out what's going on. I rarely use the include directive. Better to use classes. Paul - Original Message - From: "SJF" To: Sent: Thursday, March 05, 2009 2:37 AM Subject: [Flashcoders] include directive ... Looking for clarity on the include directive in a CS3 FLA file. Technically, does anyone know if pound-for-pound, having code on a movieclip's timeline is EXACTLY the same as having it's code in an external .as file and using the include directive? Here are more details: 1) The code being externalised contains imports, variable declarations, numerous functions and runtime code (approx. 150-250 lines of code) 2) The movieclip is dynamic and created on the fly by the application, putting the movieclip within various other movieclips deep in the display stack 3) Multiple other movieclips (approx. 30) also contain code with imports, variable declarations, functions and runtime code So the question I ask: Is it technically possible to externalise all code in a CS3 FLA document by exporting all code from all timelines and using the include directive? Are there issues with instantiation of objects/classes or problems with import paths, etc? Thoughts? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- --Joel Stransky stranskydesign.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] include directive ...
Keep it on the timeline, don't switch to external AS files unless you want to give yourself suicide thoughts ;) If you wanted to switch over to using classes, that's a different story, but for only 10-30 lines per movieclip on the timeline, I'd say just keep going with how you're doing it. It is working right? In terms of the Flash AS editor -- I agree, it is a POS, but I set my own color scheme and everything so mine's all tricked out and it's not half as bad as it is with default settings ;) - Taka On Fri, Mar 6, 2009 at 11:34 AM, Joel Stransky wrote: > Hahaha. FlashDevelop pwns you! > > On Fri, Mar 6, 2009 at 1:55 PM, whispers wrote: > >> P.O.S. Actions panel 4 LIFE!!! >> >> >> :) >> >> -Original Message- >> From: flashcoders-boun...@chattyfig.figleaf.com >> [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Joel >> Stransky >> Sent: Friday, March 06, 2009 11:58 AM >> To: Flash Coders List >> Subject: Re: [Flashcoders] include directive ... >> >> Technically, Yes, it's the exact same thing. include merely allows you use >> an external text editor instead of the p.o.s. actions panel. >> >> >> On Wed, Mar 4, 2009 at 10:27 PM, Paul Andrews wrote: >> >> > The include directive is just plain text inclusion from an external >> source. >> > Once included it's as though it were inline. >> > >> > I think that if you are using the timeline and having lots of includes >> > all over the place to replace all of the inline code, it would be a >> > nightmare to work out what's going on. >> > >> > I rarely use the include directive. Better to use classes. >> > >> > Paul >> > >> > >> > - Original Message - From: "SJF" >> > To: >> > Sent: Thursday, March 05, 2009 2:37 AM >> > Subject: [Flashcoders] include directive ... >> > >> > >> > >> > Looking for clarity on the include directive in a CS3 FLA file. >> >> >> >> Technically, does anyone know if pound-for-pound, having code on a >> >> movieclip's timeline is EXACTLY the same as having it's code in an >> >> external .as file and using the include directive? >> >> >> >> Here are more details: >> >> >> >> 1) The code being externalised contains imports, variable >> >> declarations, numerous functions and runtime code (approx. 150-250 >> >> lines of code) >> >> 2) The movieclip is dynamic and created on the fly by the >> >> application, putting the movieclip within various other movieclips >> >> deep in the display stack >> >> 3) Multiple other movieclips (approx. 30) also contain code with >> >> imports, variable declarations, functions and runtime code >> >> >> >> So the question I ask: >> >> >> >> Is it technically possible to externalise all code in a CS3 FLA >> >> document by exporting all code from all timelines and using the >> >> include directive? >> >> >> >> Are there issues with instantiation of objects/classes or problems >> >> with import paths, etc? >> >> >> >> Thoughts? >> >> ___ >> >> Flashcoders mailing list >> >> Flashcoders@chattyfig.figleaf.com >> >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> >> >> > >> > ___ >> > Flashcoders mailing list >> > Flashcoders@chattyfig.figleaf.com >> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> > >> >> >> >> -- >> --Joel Stransky >> stranskydesign.com >> ___ >> Flashcoders mailing list >> Flashcoders@chattyfig.figleaf.com >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> >> ___ >> Flashcoders mailing list >> Flashcoders@chattyfig.figleaf.com >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> > > > > -- > --Joel Stransky > stranskydesign.com > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] include directive ...
Hahaha. FlashDevelop pwns you! On Fri, Mar 6, 2009 at 1:55 PM, whispers wrote: > P.O.S. Actions panel 4 LIFE!!! > > > :) > > -Original Message- > From: flashcoders-boun...@chattyfig.figleaf.com > [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Joel > Stransky > Sent: Friday, March 06, 2009 11:58 AM > To: Flash Coders List > Subject: Re: [Flashcoders] include directive ... > > Technically, Yes, it's the exact same thing. include merely allows you use > an external text editor instead of the p.o.s. actions panel. > > > On Wed, Mar 4, 2009 at 10:27 PM, Paul Andrews wrote: > > > The include directive is just plain text inclusion from an external > source. > > Once included it's as though it were inline. > > > > I think that if you are using the timeline and having lots of includes > > all over the place to replace all of the inline code, it would be a > > nightmare to work out what's going on. > > > > I rarely use the include directive. Better to use classes. > > > > Paul > > > > > > - Original Message - From: "SJF" > > To: > > Sent: Thursday, March 05, 2009 2:37 AM > > Subject: [Flashcoders] include directive ... > > > > > > > > Looking for clarity on the include directive in a CS3 FLA file. > >> > >> Technically, does anyone know if pound-for-pound, having code on a > >> movieclip's timeline is EXACTLY the same as having it's code in an > >> external .as file and using the include directive? > >> > >> Here are more details: > >> > >> 1) The code being externalised contains imports, variable > >> declarations, numerous functions and runtime code (approx. 150-250 > >> lines of code) > >> 2) The movieclip is dynamic and created on the fly by the > >> application, putting the movieclip within various other movieclips > >> deep in the display stack > >> 3) Multiple other movieclips (approx. 30) also contain code with > >> imports, variable declarations, functions and runtime code > >> > >> So the question I ask: > >> > >> Is it technically possible to externalise all code in a CS3 FLA > >> document by exporting all code from all timelines and using the > >> include directive? > >> > >> Are there issues with instantiation of objects/classes or problems > >> with import paths, etc? > >> > >> Thoughts? > >> ___ > >> Flashcoders mailing list > >> Flashcoders@chattyfig.figleaf.com > >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > >> > > > > ___ > > Flashcoders mailing list > > Flashcoders@chattyfig.figleaf.com > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > > > -- > --Joel Stransky > stranskydesign.com > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > -- --Joel Stransky stranskydesign.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] include directive ...
P.O.S. Actions panel 4 LIFE!!! :) -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Joel Stransky Sent: Friday, March 06, 2009 11:58 AM To: Flash Coders List Subject: Re: [Flashcoders] include directive ... Technically, Yes, it's the exact same thing. include merely allows you use an external text editor instead of the p.o.s. actions panel. On Wed, Mar 4, 2009 at 10:27 PM, Paul Andrews wrote: > The include directive is just plain text inclusion from an external source. > Once included it's as though it were inline. > > I think that if you are using the timeline and having lots of includes > all over the place to replace all of the inline code, it would be a > nightmare to work out what's going on. > > I rarely use the include directive. Better to use classes. > > Paul > > > - Original Message - From: "SJF" > To: > Sent: Thursday, March 05, 2009 2:37 AM > Subject: [Flashcoders] include directive ... > > > > Looking for clarity on the include directive in a CS3 FLA file. >> >> Technically, does anyone know if pound-for-pound, having code on a >> movieclip's timeline is EXACTLY the same as having it's code in an >> external .as file and using the include directive? >> >> Here are more details: >> >> 1) The code being externalised contains imports, variable >> declarations, numerous functions and runtime code (approx. 150-250 >> lines of code) >> 2) The movieclip is dynamic and created on the fly by the >> application, putting the movieclip within various other movieclips >> deep in the display stack >> 3) Multiple other movieclips (approx. 30) also contain code with >> imports, variable declarations, functions and runtime code >> >> So the question I ask: >> >> Is it technically possible to externalise all code in a CS3 FLA >> document by exporting all code from all timelines and using the >> include directive? >> >> Are there issues with instantiation of objects/classes or problems >> with import paths, etc? >> >> Thoughts? >> ___ >> Flashcoders mailing list >> Flashcoders@chattyfig.figleaf.com >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > -- --Joel Stransky stranskydesign.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] include directive ...
Technically, Yes, it's the exact same thing. include merely allows you use an external text editor instead of the p.o.s. actions panel. On Wed, Mar 4, 2009 at 10:27 PM, Paul Andrews wrote: > The include directive is just plain text inclusion from an external source. > Once included it's as though it were inline. > > I think that if you are using the timeline and having lots of includes all > over the place to replace all of the inline code, it would be a nightmare to > work out what's going on. > > I rarely use the include directive. Better to use classes. > > Paul > > > - Original Message - From: "SJF" > To: > Sent: Thursday, March 05, 2009 2:37 AM > Subject: [Flashcoders] include directive ... > > > > Looking for clarity on the include directive in a CS3 FLA file. >> >> Technically, does anyone know if pound-for-pound, having code on a >> movieclip's timeline is EXACTLY the same as having it's code in an >> external >> .as file and using the include directive? >> >> Here are more details: >> >> 1) The code being externalised contains imports, variable declarations, >> numerous functions and runtime code (approx. 150-250 lines of code) >> 2) The movieclip is dynamic and created on the fly by the application, >> putting the movieclip within various other movieclips deep in the display >> stack >> 3) Multiple other movieclips (approx. 30) also contain code with imports, >> variable declarations, functions and runtime code >> >> So the question I ask: >> >> Is it technically possible to externalise all code in a CS3 FLA document >> by >> exporting all code from all timelines and using the include directive? >> >> Are there issues with instantiation of objects/classes or problems with >> import paths, etc? >> >> Thoughts? >> ___ >> Flashcoders mailing list >> Flashcoders@chattyfig.figleaf.com >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > -- --Joel Stransky stranskydesign.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] include directive ...
The include directive is just plain text inclusion from an external source. Once included it's as though it were inline. I think that if you are using the timeline and having lots of includes all over the place to replace all of the inline code, it would be a nightmare to work out what's going on. I rarely use the include directive. Better to use classes. Paul - Original Message - From: "SJF" To: Sent: Thursday, March 05, 2009 2:37 AM Subject: [Flashcoders] include directive ... Looking for clarity on the include directive in a CS3 FLA file. Technically, does anyone know if pound-for-pound, having code on a movieclip's timeline is EXACTLY the same as having it's code in an external .as file and using the include directive? Here are more details: 1) The code being externalised contains imports, variable declarations, numerous functions and runtime code (approx. 150-250 lines of code) 2) The movieclip is dynamic and created on the fly by the application, putting the movieclip within various other movieclips deep in the display stack 3) Multiple other movieclips (approx. 30) also contain code with imports, variable declarations, functions and runtime code So the question I ask: Is it technically possible to externalise all code in a CS3 FLA document by exporting all code from all timelines and using the include directive? Are there issues with instantiation of objects/classes or problems with import paths, etc? Thoughts? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders