Hello,
I have an FlvPlayback skin, which works really well, except the custom button. Basically this button needs to be able to call a function in the parent movieclip (that loaded the FlvPlayback, which in turn loaded the skin).
I am not really a Flash developer, and have not found anything on Google relating to this. It seems like a ...
I need to trigger the hover state of a Flex button programatically, so that it looks like the user is hovering over it. There is a flex page about "Manually dispatching events":
http://livedocs.adobe.com/flex/3/html/help.html?content=events_07.html
Which would work, but what I'd really like to do is change the style of the button witho...
Normally in Flex you use a collection like ArrayCollection as the dataprovider for components. I often have data stored as a dictionary whose values I would like to use as a dataprovider.
How would you recommend doing this?
...
Hey, I'm having trouble doing a file upload with FileReference.
The upload works ok when running the swf in standalone. It works sending the file to a remote server and to localhost (running the same app). But when the swf is embeded in firefox, chrome or safari, I get the IOError #2038. The strange thing is that it works ok with IE8......
I want to execute a function upon completion of a MovieClip's animation. That is, I would command it to play() or gotoAndPlay(). I don't know of any listener that I can attach to the MovieClip with the "addEventListener()" command. Have any idea I can do?
...
I'm trying to use Adobe's OggVorbis library. But I can't seem to get the Sound object to loop.
I even tried looping the _sound object inside the AudioDecoder.as in the "com.automatastudios.audio.audiodecoder" package.
Do you really have to reload the file and stream it over and over?
...
I have a working AS3 project and it compiles fine to a SWF. I added a new file (via various means: import, drag-drop, new), but it doesn't compile this new file. I'm using Flex Builder 3. I've tried a clean an rebuild. I've tried renaming. It picks up the existing files fine, but not the new one. The project is set to use a HTML wrapper....
hi,
We are collecting the data at run time in Collection object in JSP page. We want to read this data from the JSP in a MXML through actionscript.
pls share the sample if you have.
thanks,
Sudarshan
...
Hello all, I have this Flex 4.1 script:
<fx:Script>
<![CDATA[
[Embed(source="res/swf/user.swf")]
[Bindable]
private var SWFClass:Class;
[Bindable]
public var userClip:MovieClip = new SWFClass();
protected function test_clickHandler(event:MouseEvent):void
{
trace(...
I have an actionscript, which makes a dynamic image wall. It gets parameters from FlashVar and changes the width and height dynamically.
When I use
[SWF(width="584",height="290")]
It's fully centered, but when I remove it, it's appear ~+50px from left.
How can I set dynamically the SWF metadata or what I need to set for the correct ...
I am starting with AS3 programming icm with Flash Builder 4.
I have created a "Main" class which is the initial stage.
On this stage there is a movieclip called mcMain.
In this mcMain is 4 other movieclips: mcStats1 mcStats2 mcStats3 mcStats4
How can I access these mcStats1-4 from the code to make them go to another frame?
I tried:
...
Just wondering if there is any advantage to using
private static const
instead of
private const
for private constants?
Does this change if you have only one instance of the class or multiple?
I suspect that there might be some small memory/performance advantage in using static if you have multiple instances of the class.
...
Hello I am an Indie programmer that is using flash develop. I am trying to make a AS3 app that holds a collection of games. I tried embedding the swf file (the game) into a program that has a similar class structure. When I run the program it loops every time i try to run the game. Am i going about this wrong or should i go a different r...
Can I develop a Flash AS3 download swf that will let a user select a location on their hard drive to download files to and then start the download of multiple files (in the same way I can do with upload)? Or should I zip all the multiple files first and download zipped files to local disk.
My users will want to download potentially hun...
I'm trying to load swf like this :
var _mcl:Loader= new Loader();
var loader_context:LoaderContext= new LoaderContext();
loader_context.securityDomain= SecurityDomain.currentDomain;
_mcl.load(new URLRequest(p_url), loader_context);
_mcl.contentLoaderInfo.addEventListener(Event.COMPLETE, onLoadImageComplete);
_mcl.contentLoaderInfo.addEv...
I have to assume I am missing something simple, or I am not understanding something, but I can't seem to figure this.
I have a list of strings that I add to an array, then attempt to set those values in a for-loop using data that I read in. The array gets updated, but the values the array contains do not. I also have an array of buttons...
I am completely in the woods here - i have a sprite with a shape drawn in there (there are two different sprites in the example.) At any given point, I need to get the x and y value of the topmost point of the shape. The sprite does rotate so it's going to change at any point as well. I don't even know where to begin here - help?
...
Hi,
I'm trying to create a Flash Builder 4 - Application with transparent background.
Tried with wmode="transparent"/wmode="opaque" + backgroundAlpha set 0 & 0.1, but still no luck.
Also, looked at the following
http://blog.dannypatterson.com/?p=211 >> I dint find backgroundImage
http://blog.go4flash.com/articles/flex-articles/trans...
I've read that it is not possible to save files using Flash CS5.
Later I've read that it is possible using Adobe Flex.
Now, what about using Flash Builder?
--update
I'm talking about save data files at runtime, such as user usage data..
...
Hello,
I've been working on creating a button using a MovieClip. I'm using the following events:
this.addEventListener(MouseEvent.CLICK,OnClick);
this.addEventListener(MouseEvent.ROLL_OVER,OnButtonRollOver);
this.addEventListener(MouseEvent.ROLL_OUT,OnButtonRollOut);
this.addEventListener(MouseEvent.MOUSE_DOWN,OnMouseDown);
this.a...