I use ANT to make mxmlc my automated-bitch with 1
click. The mouse won't hurt you Roger... it's actually pretty pimp if you
get a glowing one.
----- Original Message -----
Sent: Friday, March 03, 2006 11:03 AM
Subject: RE: [flexcoders] Reading or Embedding SWFs?
Oh, its a Flex Builder problem. Sheesh, why didn't
you say so? That's what you get for being coddled! What, you have
someone snuggle you up in a binky and give you some warm milk while you're
coding, too? Be a hairy-chested manly programmer and suffer the raw rage
of pure unfiltered mxmlc!
ok, so I love using Flex Builder too, its like the IDE is
giving me a big hug. but don't tell.
-rg
Because it works consistently with the embedding
of the path. Once Flex Builder fails to transcode, it refuses to budge
on "re-checking" the embed path.
I'll try to send you a re-producible test case by
Monday.
----- Original Message -----
Sent: Friday, March 03, 2006 12:08 AM
Subject: RE: [flexcoders] Reading or Embedding SWFs?
If
it doesn't import your frame labels, that's a bug. I don't know of any
reason why those would be skipped.
Not sure why you recommend embedding to the class
rather than a variable, though. All that embedding to a variable does is
generate a class for you and tweak your variable to point to the
class.
-rg
It doesn't import your frame labels either, but
it DOES work. Word of advice; embed your movieclip asset to a class
rather than a variable.
[Embed(source="your.swf")]
public class YouClass extends
MovieClip
vs.
[Embed(source="your.swf#SymbolName")]
public var MySymbol:Class;
----- Original Message -----
Sent: Thursday, March 02, 2006 9:35 PM
Subject: RE: [flexcoders] Reading or Embedding SWFs?
Not so.
Flex does support embedding older SWFs. The only
restriction is that because we can't mix-n-match bytecode formats, we strip
out AS2 code. This is not likely to change.
(In fact, Flex will not support embedding 8.5 and newer
SWFs, because all assets are now classes, and we need to link classes, not
embed them. You will have to either dynamically load 8.5 SWFs, or else
build SWCs instead, and just link to them. No need to
embed.)
Embedded SWFs have nothing to do with trust files, so
I'm not sure if everybody is talking about the same thing
here.
-rg
It turns out that Flex2 will not embed SWF files that are pre
8.5 (or maybe pre 8). This is apparently a bug that will be fixed in a
later beta (possibly the next one).
On 2/28/06, Abdul
Qabiz <[EMAIL PROTECTED]>
wrote:
Cool! I had heard of the trust files but
never tried using it.
Thanks Harish for info
:)
-abdul
On 2/28/06, Harish Sivaramakrishnan <
[EMAIL PROTECTED]> wrote:
Hi
Bruce,
For getting rid of the Security Sandbox violation
error that you are getting, you will have to explicitly trust
the swfs / images that you are loading. One way of doing this is
the method that abdul has suggested in his
mail
alternatively, You could also do this:
Trust an
SWF explicitly by adding it to the Trust List. This could be done
by adding a cfg file in the following
location: C:\Windows\system32\Macromed\Flash\FlashPlayerTrust\TrustedStuff.cfg
Just
enter the folder which you want to always trust. For example if
one wants to trust C:\Flex, just add that in the cfg file. You
could comment out things by adding a #.
The following links
have some useful info too:
http://livedocs.macromedia.com/flash/8/main/00001604.html http://flashplatform/dev/projects/maelstrom/specs/localfilesecurity/LocalFileSecurity.cfm
http://www.macromedia.com/devnet/flashplayer/articles/flash_player_8_security.pdf
Hope this helps,
Thanks
Harish Flex-QA Adobe India.
--- Abdul Qabiz
<[EMAIL PROTECTED]> wrote:
> Hi
Bruce, > > Loading local SWF might not be working because
of > Security Sandbox. Try > giving the permission to
your main to load SWFs from > context-menu of Flash >
Player. > > Context-menu > Settings > <first
tab> Advanced > > It would show advanced settings
manager from > macromedia.com, from
there you > can the directory. > > Though, I expect
somebody would confirm this. You > can also try reading
the > security white paper for Flash Player 8
here: > http://www.macromedia.com/devnet/flashplayer/articles/flash_player_8_security.pdf
> > Things might be different in Macromedia Flash
Player > 8.5, so information in > above white paper might
not totally apply. > > As far as embedding swfs is
concerned, I think that > should work. I don't > remember
the exact syntax, but if you do quick > search to this
mailing-list > archive, I am sure you would find the exact
syntax. > Roger has replied many > such queries.
> > A quick search gave me following
results: > > http://www.mail-archive.com/flexcoders@yahoogroups.com/msg20285.html
> http://www.mail-archive.com/flexcoders@yahoogroups.com/msg20239.html
> > Hope that helps... > > BTW! Are you
Bruce Eckel of Mindview.net? > >
-abdul > > > > > On 2/28/06, Bruce Eckel
<
[EMAIL PROTECTED]> > wrote: > > >
> I'm creating an app that displays SWF "slides" and > plays
MP3 files > > associated with those slides. When I create
this > application under > > Flexbuilder, at runtime it
opens the external SWF > slide files and plays the > >
MP3 files just fine. But when I move the > application to a
different > > directory (containing the expected SWFs and
MP3s) > I get a runtime error > > complaining about
loading the SWF files. Even > stranger is the fact that
the > > security message is only complaining about
loading > SWF files from the local > > directory. When
I comment out the SWF file > loading, it's perfectly happy to
> > load MP3 files from the local directory. >
> > > I've tried a number of experiments,
including > copying the SWF file from > > the directory
where flexbuilder creates it (where > it works) to a
different > > directory (where it pops up a security
message). > > > > I don't know if this is expected
behavior or a > bug, but if it is expected > > behavior
then I think I could solve it if I can > compile the SWF files
into > > the app instead of having them as separate
files, > but I don't know how to do > > that (and note
my previous message about an > apparent bug in the @Embed
> > command). > > > > I'd be perfectly
happy to compile the external SWF > slides directly into >
> the application as some kind of array of images > (thus
solving the access > > problem), but so far I haven't been
able to figure > out how to do that. Any > > hints
would be greatly appreciated. > > > > -- >
> Bruce Eckel > > > > >
> -- > > Flexcoders Mailing List > >
FAQ: > http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives: > http://www.mail-archive.com/flexcoders%40yahoogroups.com
> > > > > > >
> SPONSORED LINKS > > Web site
design > development<
http://groups.yahoo.com/gads?t=ms&k=Web+site+design+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=L-4QTvxB_quFDtMyhrQaHQ
> > Computer > >
software > development<
http://groups.yahoo.com/gads?t=ms&k=Computer+software+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=lvQjSRfQDfWudJSe1lLjHw
> > Software > > design
and > development<
http://groups.yahoo.com/gads?t=ms&k=Software+design+and+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=1pMBCdo3DsJbuU9AEmO1oQ
> > Macromedia >
> > flex<
http://groups.yahoo.com/gads?t=ms&k=Macromedia+flex&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=OO6nPIrz7_EpZI36cYzBjw
> > Software > > development
best > practice<
http://groups.yahoo.com/gads?t=ms&k=Software+development+best+practice&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=f89quyyulIDsnABLD6IXIw
> >
> ------------------------------ > > YAHOO!
GROUPS LINKS > > > > >
> - Visit your
group > "flexcoders<
http://groups.yahoo.com/group/flexcoders>" >
> on the web. > > >
> - To unsubscribe from this
group, send an > email to: > > > [EMAIL PROTECTED]<[EMAIL PROTECTED]
> > > >
> - Your use of Yahoo! Groups is
subject to the > Yahoo! Terms of >
> Service <http://docs.yahoo.com/info/terms/>. > >
> > >
> ------------------------------ > >
>
__________________________________________________ Do
You Yahoo!? Tired of spam? Yahoo! Mail has the best spam
protection around http://mail.yahoo.com
-- Flexcoders
Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo!
Groups Links
<*> To visit your group on the web, go
to:
http://groups.yahoo.com/group/flexcoders/
<*> To
unsubscribe from this group, send an email
to: [EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
-- Flexcoders
Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search
Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED
LINKS
-- Bruce
Eckel
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
YAHOO! GROUPS LINKS
|