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 <p...@ipauland.com> 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" <sjf...@gmail.com>
> To: <flashcoders@chattyfig.figleaf.com>
> 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

Reply via email to