Hi, I have simple combobox component in flash cs4, I try to add and event listener like this
mycombo.addEventListener(Event.ADDED_TO_STAGE, added);
function added(e:Event):void
{
trace("HI");
}
never get called even if I have the component in the stage manually or via AS, but if I add a listener to MouseOver it works, why the ADDED_T...
I've been working with AS3 a lot over the last weeks and I've run into a situation that google hasn't been able to help with. The crux of the problem is that before I run a function I need to know that certain conditions have been met, for example loading my config.xml and putting it into a class variable. Where I run into trouble is tha...
I have a photo gallery but what i want to do is when i click on a photo i want the name of that photo to be shown in a dynamic text field. pls help because i am beating my brain over it
import fl.containers.UILoader;
import caurina.transitions.*;
//---------loading the external xml file-------
var urlRequest:URLRequest=new URLRequest(...
Are there any custom libraries available that allow me to code/publish in CS3 using some of the features of CS4?
EDIT:
I say "some", because I understand that it is obviously nearly impossible to reimplememnt CS4 in CS3.
...
How to check if sth alr exist on stage? Shldn't it print out "doesn't exist" for the 1st one and "exist" for the second one? But it prints out "doesn't exist" for both.
I added a timer cos I thought need to wait for a while for it to add to the stage, but it doesn't work.
var idonnoe:TextField = new TextField();
if (Boolean(this.getCh...
i know this can be done by changing wmode to "transparent or opaque". But is there any way to show the div over the flash file using wmode "gpu" ..
...
Hi, I'm creating a game for an assignment and am using Flash CS4. I'm figuring the best way to do this is to create each room setting in a separate file and insert the characters (it's first person, so you only see his back the entire time). I don't want to just animate him for every room because it's basically the same actions he does i...
Hi, i am trying to implement the following control on a movieclip object. When the mouse pointer is over the object and if the left mouse button is clicked and stays clicked then a mask that overlaps the movieclip object is starting to disappear. I tried the MouseEvent.DOWN, etc but i did not succeed to implement this functionality. Prob...
When I create an object of a movieclip in code I get the flash intlesense to pop up in Flash CS4 Actions panel which is very helpful but if I simply place a moveclip on the stage then give it an object name in the options the Flash intlesense does not pop up in my code.
Anyway to get Flash intlisense to work with objects placed on the s...
Hi, i actually try to do the following: I have loaded an external image in a bitmapdata object and create a bitmap from it which i attach it to a sprite/MovieClip in order to have mouse events on it. Now under the previous logic i loaded two images (let's say circles) of the same size one that has a particular color and is covered by its...
Just curious, can flash take each frame and export it out as a image ? In my case, I want to create sprite images for a flashdevelop project using blitting. Of course I know there is a solution for this. like copy and paste each shape into a image editor such as photoshop and turn them into png's. But I am just seeing if there is a simpl...
Is it possible to detect (dynamically) the white pixels of an image and delete them? Actually i have some images that i load on stage but they are square without the actual image be a square sized. So i want to make the hit area exactly the shape of the image and not the whit border they have.
ps: In actionscript :)
...
Hi,
I have a brief to create a web based flash application that enables a presenter and a customer to share a presentation, the key factor being only the presenter can change the slide of the presentation.
Is it possible to do swf to swf communication so that the presentation is updated on the client side? Or would I have to store the ...
I load successfully an external image using a Loader class but every time i trace the loader.content property is found null. Why?
ps: Actually, i'm trying to get the bitmapdata from a loader object.
...
I have developed a video player using Flash 8 Professional and the FLVPlayback component. Recently I have been testing a few 720p .mov files converted to FLV by FFMPEG running on an encoding server. I am noticing that these files do not play back in my video player. It appears that they do not have any audio attached to them but when I p...
I have a dynamic text box which is of the size 300 x 300. However, when I load in text from an external file it just ignores this size and keeps on going vertically. The width remains the same which is fine. What I really want to do is use the uiscroller to go through the remaining text. Instead, the text just goes on past the bottom of ...
I have a project developed using Flash 8 Professional which uses the FLVPlayback component to load video from our Amazon S3 bucket. Everything works great. I have tried to bring this project into Flash CS4 Professional and swap the Flash 8 FLVPLayback component in the library for the CS4 component. When I publish however the video does n...
im a newbie to flash,and i hav got this really weird problem.i have created a movie that has got 15 scenes,it stops working on the 15th scene.is there any reason why this is happening?
has anyone come across a similar problem? i know this might be the lamest question some one has ever asked about flash on this site?
if i hav done some...
Hi, I'm just wondering if anybody can help me with my simple but frustrating problem.
I have created an SWF that loads an XML file from http://localhost/flash/Projects/MEL/Quiz/Quiz/bin/xml/quiz.xml, but I get this error when running the movie using Test Movie in the Flash IDE.
Error #2044: Unhandled ioError:. text=Error #2032: Stream ...
I have a Flash application that I made and I want to basically take it and make it into a desktop app using my Flash file... (assuming user has Flash installed on PC) What would be the best way of simply taking a Flash web app and making into a desktop one (that doesn't require any other runtime besides flash for the user).
...