Re: [Flashcoders] using graphics from flash 8 with flex 2 sdk

2008-01-19 Thread Gregory N
Thanks, Jan and Glen :-) Even embedding each symbol separately is great. Yesterday I've just (mistakenly) supposed to access internal clips by their names, as we did in AS2... Obviously it's not possible. Just out of curiosity: if we access them via getChildAt() , do you think there's some

Re: [Flashcoders] using graphics from flash 8 with flex 2 sdk

2008-01-18 Thread Ian Thomas
Gregory, The trouble with importing/using/loading Flash 8 SWFs into an AS3-powered app is that Flash 8 uses the old flash runtime engine (AVM1) and your AS3 app uses the new engine (AVM2) and the two don't talk to each other well. If you directly embed a Flash 8 SWF like so:

Re: [Flashcoders] using graphics from flash 8 with flex 2 sdk

2008-01-18 Thread Gregory N
Thanks again, Glen, your addition is very interesting. -- -- Best regards, GregoryN http://GOusable.com Flash components development. Usability services. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

RE: [Flashcoders] using graphics from flash 8 with flex 2 sdk

2008-01-18 Thread Merrill, Jason
can this symbol contain enclosed (child) movieclips? Yes And can I then access these child clips? Flash 8? Flash 8 is AVM1, so no (unless you hack with something like ExternalInterface, which requires modifying the code in your Flash 8 swf to call it) Jason Merrill Bank of America GTO LLD

Re: [Flashcoders] using graphics from flash 8 with flex 2 sdk

2008-01-18 Thread Glen Pike
Hi, I have managed to access movie clips inside an embedded symbol, but purely to manipulate them as movieclips. To avoid confusion - I have no code inside the SWF file I am embedding, I am merely using Flash 8 IDE to author graphical symbols animations which I embed individually.

Re: [Flashcoders] using graphics from flash 8 with flex 2 sdk

2008-01-18 Thread Gregory N
Thanks, Jan. This leads me to another question. I think I'd try it myself before asking, but just have no dev machine at hand right now. So, when I embed *symbols* from flash 8 library like this: [Embed(source=flash8.swf, symbol=SymbolALinkageID] private var symbolAClass:Class; can this

Re: [Flashcoders] using graphics from flash 8 with flex 2 sdk

2008-01-18 Thread Ian Thomas
On Jan 18, 2008 7:54 PM, Merrill, Jason [EMAIL PROTECTED] wrote: can this symbol contain enclosed (child) movieclips? Yes And can I then access these child clips? Flash 8? Flash 8 is AVM1, so no (unless you hack with something like ExternalInterface, which requires modifying the code in

Re: [Flashcoders] using graphics from flash 8 with flex 2 sdk

2008-01-16 Thread Gregory N
Thanks a lot to all who replied, and especially to Glen. This article at bit-101.com is great! Among other things, I'm trying to find new way to collaborate with designers who create graphics in Flash IDE (8 or 9). And so far it seems I've found it. -- -- Best regards, GregoryN

Re: [Flashcoders] using graphics from flash 8 with flex 2 sdk

2008-01-16 Thread Glen Pike
It's really nice once you get to grips with stuff. Things to remember: When you create an instance of an asset, you should cast it when you create it - I had all sorts of problems and was having to create my assets as children of Sprites until I discovered this: var myMC:MovieClip = new

[Flashcoders] using graphics from flash 8 with flex 2 sdk

2008-01-15 Thread Gregory N
Hi all, I have an application made a while ago in as1 (flash 6). Now I need to make new version of it in AS3. Fortunately, there's no code in clips, only in frame 1 on _root :-). But all graphics currently is in FLA. And I haven't upgraded to Flash CS3 yet (hope not to do it at all). I've seen

Re: [Flashcoders] using graphics from flash 8 with flex 2 sdk

2008-01-15 Thread Leandro Ferreira
I don't get it: why don't you use flash CS3? Leandro Ferreira On Jan 15, 2008 12:15 PM, Gregory N [EMAIL PROTECTED] wrote: Hi all, I have an application made a while ago in as1 (flash 6). Now I need to make new version of it in AS3. Fortunately, there's no code in clips, only in frame

Re: [Flashcoders] using graphics from flash 8 with flex 2 sdk

2008-01-15 Thread Glen Pike
Possibly because CS3 is expensive a memory hog and maybe unnecessary if you are heavily into coding - FL8 is just as handy Flex has a different set of components :) Leandro Ferreira wrote: I don't get it: why don't you use flash CS3? Leandro Ferreira On Jan 15, 2008 12:15 PM, Gregory

Re: [Flashcoders] using graphics from flash 8 with flex 2 sdk

2008-01-15 Thread Glen Pike
Hi, You can embed assets from Flash into Flex using the [Embed] meta directive. In Flash all the MovieClips in your library need to have a LinkageID - not sure if they need to be on the timeline, but probably a good idea. In Flex you can [Embed] individual MC's or an entire SWF

RE: [Flashcoders] using graphics from flash 8 with flex 2 sdk

2008-01-15 Thread Merrill, Jason
Developer Community -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gregory N Sent: Tuesday, January 15, 2008 9:15 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] using graphics from flash 8 with flex 2 sdk Hi all, I have