I think I've tracked it down to a bad Project... sort of... I don't
know. I create a new Project and import all my sources and it works.
I need to add my back my external source, Papervision and APE, and see
if it might be caused by one of those.
Paul
On Feb 20, 2008, at 9:39 AM, Paul Decoursey wrote:
Now you are just being insulting. If had read what I wrote you
would have seen that I had tried that. I just need simple
validation of my files.
http://client.devilsworkbook.com/assets.swf
http://client.devilsworkbook.com/assets.swc
In those there is an UIMovieClip that I cannot see in Flex, it is
called mc_bestbuycar. I just need someone to tell me if it works
for them so I can narrow down where the problem might be.
Paul
On Feb 20, 2008, at 6:59 AM, Sujit Reddy wrote:
Hi Paul,
Please try to follow the steps in the URL below and see if you can
embed the Flash assets into your flex application.
http://sujitreddyg.wordpress.com/2008/01/02/creating-and-importing-flash-assets-into-flex/
Hope this helps.
On Wed, Feb 20, 2008 at 6:01 AM, Paul Decoursey
<[EMAIL PROTECTED]> wrote:
Ok, pretty much exactly the code I have in place. Three things I
see wrong here..
1) The symbol that loads is way messed up and does not at all
match when displays in Flash.
2) When I publish the swf from the flash on my machine without
changes it no longer works.
3) You've missed what I'm really trying to do. I need dynamic
assets not static assets to be loaded from the SWF.
I have no idea what the problem is for 1, and I don't care at this
point, but it could be an indication of what the real issue is for
me. I'm going to try a new clean and reinstall of everything Flash
and see if anything starts working again. I'm not sure if it's
related but I did notice odd things after a software update from
Apple, I'm on a mac by the way, an update the the flash player was
included that broke a lot of stuff for me. I had to reinstall the
Flash Debug Player. Somebody at Adobe needs to talk to apple about
this, it's the second update in a row that has caused me
headaches. For the 3rd issue, it should work if I can get the Flex
Component kit to work properly.
Sherif, thanks for trying. I think that you thought it was more of
a newbie question, but I was really just looking for validation
that my SWF was junk, not that my methods were faulty.
Paul
On Feb 19, 2008, at 4:57 PM, Sherif Abdou wrote:
<?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: flexcoders@yahoogroups.com
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>
Looking for last minute shopping deals? Find them fast with Yahoo!
Search.
--
Regards,
Sujit Reddy. G