the buttons within my submenue movie clip don't work. the one's not within a submenu work fine.
my code validates and i'm not getting any errors
any idea on what else i should be checking?
///this one doesn't work////
aboutSub.bio.addEventListener(MouseEvent.CLICK, goBio);
function goBio(evtObj:MouseEvent) {
gotoAndStop("bio");
...
I have a working mic recording script in AS3 which I have been able to successfully use to save .wav files to a server through AMF. These files playback fine in any audio player with no weird effects.
For reference, here is what I am doing to capture the mic's ByteArray: (within a class called AudioRecorder)
public function startRecord...
May not have asked question correctly so I’m asking again. I’m using Flash AS3 with code in actions layer.
Main movieclip onstage is : design_mc. Within it is a movieclip already in place onstage with an instance name clipart_mc.
Now I’m also loading a ListBox to the stage and each time a selection is made from listbox myLoader9 is ...
I'm trying to make a script that listens to a variable (int or Number) and then does certain functions whether the variable is going higher or lower. So for example if the number gets higher, it runs one function. If it gets lower, it runs another.
Is this possible in AS3? Any ideas?
...
what i want to achieve is creating sound wave image depending on the sound i loaded in Sound()
like this image:
i been using WaveViewer function: Wave Viewer it did quite well but if i load huge mp3. it doesn't display the whole width of the wave, maybe i miscalculate the width.
hope you can enlighten my mind.. thankss
...
i love u
how i know that i love u really contains u
how find out it in actionscript?
...
Parent loads Child, and wants to pass text string to Child. How can Parent pass a string
to Child swf?
PARENT.SWF
//LOAD CHILD 'has a symbol on stage called LDR that CHILD loads into'
var loadCHILD:Loader = new Loader();
LDR.addChild(loadCHILD);
var bgURLTxt:URLRequest = new URLRequest("CHILD.swf");
loadCHILD.load(bgURLTxt);
//ATTEMPT ...
I'm working on a flash project that incorporates a lot of artwork done in Illustrator CS4. I've been copy-pasting directly from Illustrator into Flash, and I add some animations as well. Final file is going to be a one single swf file which will be a part of UI for an application and .net will be the core for this. But now flash becomes ...
Hey, so I'm having a bunch of trouble getting ExternalInterface to work, which is odd, because I use it somewhat often.
I'm hoping it's something I just missed because I've been looking at it too long.
The flash_ready function is correctly returning the objectID, and as far as I can tell, everything else is in order.
Unfortunately, wh...
In AS3 you can pass a constant to the compiler
-define+=CONFIG::DEBUG,true
And use it for conditional compilation like so:
CONFIG::DEBUG {
trace("This only gets compiled when debug is true.");
}
I'm looking for something like #ifndef so I can negate the value of debug and use it to conditionally add release code. The only soluti...
Hi All,
i have the below code, which is basically animating object across the screen, when roll-over happens it pauses the anim, and displays some information. Everything works fine, but when its paused, i wold like that current object to be 'on top' so other items run behind.
I have looked at setChildIndex, but didn't have much luck.
...
I have an ActionScript File sending XML to my servlet.
I am only getting empty arrays on output. Anyone know what Exactly I'm doing wrong?
output is:
java.io.StreamCorruptedException: invalid stream header
at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:764)
at java.io.ObjectInputStream.(ObjectInput...
I have an issue with some Arabic text where I need to flip numbers inside a string. So this:
"Some text written in 1982 by someone with m0123456 or 12-to-13"
Should become:
"Some text written in 2891 by someone with m6543210 or 21-to-31"
A regex solution will be great. The more optimized for large strings the better.
Any hints?
...
OSMV is very thick so so I'm trying to put a series of minimalist tutorials and again I'm stuck with something that should be dead simple.
I have a VideoElement that I added to a MediaPlayer. Now now do I set the size of the video?
I'd like to just set the size on the mediaPlayer or MediaElement and not include 20 layout classes like ...
I'm having trouble with a cross-domain policy. I'm using the AS3 Loader to fetch an image; I'm making it load the policy file, like this :
var pLoader : Loader = new Loader();
var pContext : LoaderContext = new LoaderContext();
pContext.checkPolicyFile = true;
pLoader.load(new URLRequest(sURL), pContext);
This works fine...
Hi guys,
I've made a library which I'd like to compile to an SWC file, I've tried to do this in FDT by choosing FDT AS3 Library as Run settings, but all I end up with is a 0kb .swc file. Does anybody know what I'm doing wrong? I can't find much when I google it either, if anybody has a quick walkthrough on how to do it saved in your boo...
Hi all,
I'm working on a simple tutorial, and I'd like to randomly generate the positions of the red and green boxes in the accompanying images anywhere inside the dark gray area, but not in the white area. Are there any particularly elegant algorithms to do this? There are some hackish ideas I have that are really simple (continue to...
How to open a Browser popUp window from Actionscript ( Flash )? ( Any Code sample would be wary appreciated )
...
So in my AS file I want to call a function like
public function JS(streamUri:String):void{
JavascriptCommand(streamUri)
}
to get my JS code running...
How to do such thing (Example needed)
...
so I have array like ParamsArray
{a,b,a,a,...b} (so i have 2 kinds of parameters in this array - a and b) (here I have N strings)
and another array - DataArray
{data1,data2,...dataN} (different strings) (here I have N strings)
Now I created 2 new arrays ArrayA and ArrayB and I wanta want to feel arra ArrayA with all data (strings) fr...