[Flashcoders] Sitepal, Security Sandbox, and AS3.0
Aloha Everyone, I'm having problems getting SitePal to work with AS 3.0 code. It works fine in 2.0 code with loadmovie. In 3.0 I used the standard urlRequest and loader and did the security domain stuff like 2.0. However I end up with nothing though I do see its contacting the server. Just and empty space no character. So I figured what if I created a container swf in 2.0 code then loaded that into 2.0. Then I get errors about the security context although I set both the 2.0 swf container and the 3.0 code to allow the remote domain. It works when I'm loading any simple 2.0 swf. But I think the heavy scripting of the sitepal is doesn't something funy. What am I doing wrong? Has anyone got this to work? Below is what I get when I load a sitepal character from a 2.0 script running inside a 3.0 script. Again, I get no errors when loading it directly from the 3.0 script but it doesn't work. *** Security Sandbox Violation *** SecurityDomain 'http://vhost.oddcast.com/vhsssecure.php?doc=http%3A%2F%2Fvhost.oddcast.com% 2Fgetshow.php%3Facc%3D33458%26ss%3D61d2%26sl%3D0%26embedid%3sdbb5705sdbd72f6 90caae922a28882cedit=0acc=33458loading=1bgcolor=0xFFFfirstslide=1' tried to access incompatible context 'file:///C|/Documents%20and%20Settings/Administrator/My%20Documents/Flex%20B uilder%202/ColorFun/ColorFun.swf' I know there are issues with cross scripting from 2.0 to 3.0. What I'm not clear on is if this includes swfs which are 2.0 that are loading 2.0 but are included in 3.0 are included in this category. But by the results I'm pretty certain thats the case and I can't use Sitepal in any way shape or form with AS3.0. :( Help? Thanks, Kalani ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Sitepal, Security Sandbox, and AS3.0
If you are not already locked into the SitePal characters you might consider using the www.mediasemantics.com characters instead. With MediaSemantics you purchase the character, serve it yourself and you have total programming control of the character. The output can be a .swf file that is easily incorporated into your own flash project. Take a look at our home page at www.challenging-our-minds.com Odie ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Sitepal, Security Sandbox, and AS3.0
ok I fixed, but it still doesn't work. var video1 = nbc6; var video = URL; if (video1 == video){ tellTarget(this.videoLoader){ gotoAndPlay(2);} } my link is fullpage.html?video=nbc6 my swfObject said: var so = new SWFObject(container.swf, sotester, 100%, 100%, 8, #FF6600); so.addParam(scale, noscale); so.addParam(video, fullPage.html?%=Request.QueryString()%); so.addVariable(video, getQueryParamValue(video)); so.write(flashcontent); I need some help here. On Jan 25, 2007, at 9:39 AM, Odie Bracy wrote: If you are not already locked into the SitePal characters you might consider using the www.mediasemantics.com characters instead. With MediaSemantics you purchase the character, serve it yourself and you have total programming control of the character. The output can be a .swf file that is easily incorporated into your own flash project. Take a look at our home page at www.challenging-our-minds.com Odie ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com Gustavo Duenas Creative Director LEFT AND RIGHT SOLUTIONS LLC 1225 w. Beaver St. suite 119 Jacksonville, FL 32204 904 . 2650330 www.leftandrightsolutions.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com