<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml"; 
layout="vertical" 
creationComplete="initApp()">
<mx:Script>
<![CDATA[
import mx.core.UIComponent;
import mx.events.CalendarLayoutChangeEvent;
import mx.controls.Image;
[Bindable]
[Embed(source="assets2.swf",symbol="BestBuyCar")]
public var myLogo:Class;
public function initApp():void{
}
]]>
</mx:Script>
<mx:Button skin="{myLogo}"/>
</mx:WindowedApplication>
assets2 is in root so ya u could add it in a forder but this works and i tried 
it


----- Original Message ----
From: Paul Decoursey <[EMAIL PROTECTED]>
To: [email protected]
Sent: Tuesday, February 19, 2008 3:18:42 PM
Subject: Re: [flexcoders] Cannot embed Flash9 symbols

What is bothering me more is this... I have reinstalled Flash CS3, reinstalled 
Flex 2 and all the hotfixes, reinstalled the Flex Component Kit and followed 
the directions for it 10 times now and it does not work.  I cannot load any of 
the components that Flash is outputting. I'm getting very frustrated and I have 
no other ideas of what might be happening.  I've also tried it in Flex 3 to no 
avail, which is leading me to believe that the issue is int he swfs and swcs 
that Flash is generating.


Does anyone have any clue? I've wasted a day on this, and I can't in good 
conscious bill my client for this time.



Paul




On Feb 19, 2008, at 3:11 PM, Paul Decoursey wrote:


How do you access in Flex then?  This still doesn't work for me either.


Paul


On Feb 19, 2008, at 2:39 PM, Sherif Abdou wrote:


BestBuyLogo
BestBuyCar


----- Original Message ----
From: Paul Decoursey <[EMAIL PROTECTED] net>
To: [EMAIL PROTECTED] ups.com
Sent: Tuesday, February 19, 2008 2:21:51 PM
Subject: Re: [flexcoders] Cannot embed Flash9 symbols


Now I'm totally lost.  You can't export a Graphic for actionscript.


Can you send me the file you altered and got to work?




When I open the file I posted the assets I'm looking at are Symbols, they are 
MovieClips and they are setup to be exported in the SWF.  If I roll back to 
target AS2 everything works, but I need AS3 for some of the other assets I will 
be exporting that are not in the file I posted.


Paul






On Feb 19, 2008, at 1:38 PM, Sherif Abdou wrote:


they were not symbols when i opened the file, i am not familiar with flash.... 
but they were movieClips and not Graphics which is what you need.


----- Original Message ----
From: Paul Decoursey <[EMAIL PROTECTED] net>
To: [EMAIL PROTECTED] ups.com
Sent: Tuesday, February 19, 2008 1:26:33 PM
Subject: Re: [flexcoders] Cannot embed Flash9 symbols


They are symbols already are they not?  Anyway I think that my Flash is messed 
up.  I'm having trouble with other timeline based swfs as well, where nothing 
appears when loaded.


Paul


On Feb 19, 2008, at 12:37 PM, Sherif Abdou wrote:


All right so i hope i understood what your saying, what you need to do is bring 
the Car and the Sign to the Stage, Hit F8 and convert both of them to 
Symbols/Graphics and then export them and they should work. I tried that and i 
am able to embed it in flex App.


----- Original Message ----
From: Sherif Abdou <[EMAIL PROTECTED] com>
To: [EMAIL PROTECTED] ups.com
Sent: Tuesday, February 19, 2008 12:14:44 PM
Subject: Re: [flexcoders] Cannot embed Flash9 symbols




file wont open and it saves as a word document


----- Original Message ----
From: Paul Decoursey <[EMAIL PROTECTED] net>
To: [EMAIL PROTECTED] ups.com
Sent: Tuesday, February 19, 2008 11:58:52 AM
Subject: [flexcoders] Cannot embed Flash9 symbols


Ok, I'm loosing my mind here.  I think that there might be a problem with my 
Flash app, but I need confirmation. ..  I've exhausted every other avenue.




I have this fla(http://client. devilsworkbook. com/assets2. fla) generating 
this swf (http://client. devilsworkbook. com/assets2. swf) and I'm trying to 
embed this symbol (BestBuyCar).


[Embed(source="../assets/assets2. swf", symbol="BestBuyCar")]




The error I get is that it cannot find the symbol.  I've tried numerous 
methods, I've tried the Flex Component Kit, I've tried cursing at the 
computer... I have not tried reinstalling Flash yet(the DVDs are not with me).  
Can anyone either tell me what is wrong with my code or verify that my swf is 
muxed???


Thanks,


Paul







Never miss a thing. Make Yahoo your homepage.





Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. 







Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. 







Never miss a thing. Make Yahoo your homepage.  <assets2.swf><assets2.fla>







      
____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs

Reply via email to