Search the Community
Showing results for tags 'instance'.
-
Hello I'm just starting with TweenLite and TweenMax. Please accept my apologies for this - I guess - very basic question : I can load external swf on stage using TweenLite or TweenMax but the huge problem (for me :-/) is to get access to loaded content : function, properties, etc. For example, I would like to send orders to a loaded swf to call internal swf functions or properties. In other way I'm seraching for the code who allow a virtual transparency of loaded content in order to interact with loaded content like normal content, on stage. For example I load inside a cont
-
i was trying to figure out, if possible, how to chain an instance of multiple tweens. For example: var tween1 = TweenMax.to('#image1', 3, {css:{scale:1.5}, ease:Linear.easeNone}); var tween2 = TweenMax.to('#slide1', 3, {css:{opacity:1}, ease:Linear.easeNone}); The above works.. but couldn't i just chain them, like below? var tween1 = TweenMax.to('#image1', 3, {css:{scale:1.5}, ease:Linear.easeNone}) .to('#slide1', 3, {css:{opacity:1}, ease:Linear.easeNone}); But when i try this, the browser throws an error: TypeError: TweenMax.to(...).to is not a function The reason
-
Creating multiple MovieClip instances from loading a SWF
ArdentKid posted a topic in Loading (Flash)
I'm using LoaderMax, and can't seem to figure out how to create a new instance of a movieclip it loads. I am loading an external SWF with a mc in the library. I'm new-ish to as3 so please be gentle. I think without LoaderMax, I would want to load the swf, and then do something like: var ObjectdAsset:Class = applicationDomain.getDefinition('mc_name'); var instance1 = new ObjectAsset(); var instance2 = new ObjectAsset(); ...etc Much appreciated