Can you tilt, skew, or change perspective using Greensock?
I want to tween programmatically an image using greensock, but i dont know if it is possible to make it look like the image is 3d. kind of like flash's 3d functionality. Thanks ...
I want to tween programmatically an image using greensock, but i dont know if it is possible to make it look like the image is 3d. kind of like flash's 3d functionality. Thanks ...
Hi all, I'm trying to work with the as3flickrlib, but I seem to constantly be running into trouble at every corner. Among other things that I want to do, I am trying to build a search function that only searches the photos returned from my groups.pools.getPhotos call. All the photos are being fed into an Array, so I'm wondering if I co...
Hi.... How do I call a private function from an external ActionScript3 document? I'm working in Flash Builder 4, and I need to call a private function from an external AS3 document. I think I've imported it correctly.... import myapp.utils.WebcamFaceDetector; import myapp.utils.FaceDetector; But I want to call a function from "FaceDe...
I have an OOP PHP site structured with a MVC pattern. A page on the site has an embedded SWF that needs to pull information from a database. In the past, I would have just had a procedural php file for the swf to load the data from the database from. However, that method doesn't seem like it would fit with a more objected oriented site. ...
I've got an app in as3 that at first adds a sort of container to the stage then as you progress through the app it adds and removes children from that container. I wrote a modal function to display errors. When I call on this function it adds all the necessary children to the stage and then fades them in. What I've found is that it place...
I'm getting an error when trying to build a flex4 project with Ant. This code works when i don't have a custom namespace for exporting CustomComponent (aka: it builds just fine normally) - but as soon as i add the namespace and include-namespaces, i get the following error: [compc] CustomComponent.mxml(235): Error: Could not resolve <m...
Hi there, I'm having extreme issue with sizing an swf object in my browser. It appears if I scale my application up the webcam Allow/Deny functionality on the site disables itself in Firefox. It's definitely the strangest thing I've ever seen. Take a look: http://tinyurl.com/29ppl64 Click the "Skip" option, it will display the webcam o...
Is there a way to control the vertical space between two HTML paragraphs, in an AS3 TextField? I understand and have successfully applied CSS styles via AS3 and have also utilized the TextFormat class. I am still unable to control the vertical space between a closing and an opening <p> tag: txt.htmlText = "<p>First paragraph here.</p...
Hey there I've experience this problem in many forms. public function startTimer() { timer = new Timer(3000); timer.addEventListener(TimerEvent.TIMER, timerTick, false, 0, true); timer.start(); } private function timerTick(e:TimerEvent) { var bubble = new Bubble(); this.addChild(bubble); } Bubble gets removed from the disp...
Hi all! I'm successfully loading swf from another domain, but when i addChild loaded content, it doesn't appear on the stage. My firebug shows that swf loaded with status (304 Not Modified), means no problem. Why i cannot see loaded swf content on the stage? Thank you ...
What is the equivalent to removeMovieClip() in AS3? Apparently many have the same question: StackOverflow: How to completely remove a movieclip in as3 Remove movie clip as3 How to remove childmovieclip and add to new parent movieclip Others: removeMovieClip(this) in AS3? Destroy/Delete a Movieclip??? Remove movie clip But non...
I remember doing it before, so I guess I'm missing something here. XMLNode's nodeType property only support ELEMENT_NODE and TEXT_NODE, and if I try to add the CDATA section to the XMLNode as a string it get escaped. var node:XMLNode = new XMLNode(3, "<![CDATA[some text and <tags> here]]>"); What I get is a TEXT_NODE with the followin...
Is it possible to access the type of object being interacted with so I can create a new instance of the same object? So for example in the code below I have the movieclip myItem. After it's clicked it is removed from stage and then moved to the inventory. When I click on it there, is it possible to create a new instance of mcItemToDuplic...
Is it possible to make code in actionscript-3 to parse the virtual directories that are constructed in the flash library? I mean that if i add a folder on the library of CS4 called 'graphics' can i write code that parse the elements of that folder in order to fill an array with folder's elements(which are BitmapData classes) ? ...
Can someone suggest a workaround to the following problem: I want to make an application that will create an area on stage that will be filled with images. Firstly, the images have to be 'saved' on an array. The problem for me is that I want this to be quite generic. I mean, according to a configuration file(?) or some constants(?), one...
You can upcast or downcast an instance (to a superclass or subclass) using this syntax: var i:MyClass = MyClass(instance); But what does the as keyword do? var i:MyClass = (instance as MyClass); Are they equivalent? or am I missing something here... ...
Hello all, I am creating a TCP connect with Flash to a C# daemon. Now I have come to the part of encryption... I know that Flash is decompilable and so not safe to store private keys on. I need 2 way encryption because of the messages that have to be send back to the Flash client. I have been thinking and googling, but cannot find a...
I'm having an issue with flash, which I am not really familiar with. I'm basing this code off of what came with the wowza media server in the video chat example, but unlike that example flash is not prompting me for whether or not to allow the video camera. Below is my actionscript: import flash.events.MouseEvent; import flash.events....
Is it possible to have a string "ClassA" and use it in order to instantiate a real ClassA in my application? ...
The invalidate/commitProperties model used by mxml components is very useful, in my experience, and I'd like to be able to make use of it in domain model objects in my actionscript applications. How can I go about adding lifecycle events like that to my objects? Is there a global object lifecycle manager? ...