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/[email protected]/msg20285.html
>
http://www.mail-archive.com/[email protected]/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
| Web site design development | Computer software development | Software design and development |
| Macromedia flex | Software development best practice |
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

