Search the Community
Showing results for tags 'crossdomain'.
-
TweenMax AS2 subload creates domain security warnings
Jakob Sternberg posted a topic in GSAP (Flash)
Hi MovieA.swf (contains no greensock classes at all) MovieB.swf (uses TweenMax) When i load MovieB.swf (online) from MovieA.swf (local) i get some warnings in the FlashEditor output. ( 3 x "MovieB.swf tried to access incompatible context "MovieA.swf") Using System.security.allowDomain("*") does not solve or affect the problem at all. Everything works as expected, i just wish to get rid of the warnings. I'm trying to streamline a small banner production framework for others/colleagues to use, and i'd rather have a "warning-free" setup =) -
Hi, i'm creating a AIR app. The main functionality of the App is downloaded to "ApplicationStorage", and loaded by the "AIR-SWF" (The SWF that makes the AIR App, it's more or less empty, and just loads the main SWF) With LoaderMax i load a fontface class by loading a SWF and then using loader.getClass("myFontClass") to get the Class, then i use Font.registerFont(myFontClass) - It works fine when just running as normal "html/flash-web-app" The problem is when i load above functionality into AIR-SWF, it doesent work anymore. When trying to register the font it gives me: So somehow when in AIR, the getClass("myFontClass") does not return the FontClass So the subload scenerio that fails is abstraclty like this: - I've been doing AS2 for ages, but I'm relatively new to both AS3 and AIR, so any tips are welcome. Note: In publish settings of the loaded SWF's i've set communction to "Local", and i apply System.allowDomain("*") - also i get no security related issues in the process - in short it works, just not when loaded by the AIR-SWF Any help for an old newbie? =)
- 6 replies
-
- classloading
- crossdomain
-
(and 2 more)
Tagged with: