Hi.
I've created a main swf application that loads other swf files to use their classes (using getUrl()).
i would like that these swf files would output popup alert messages when errors occur without changing the main swf file. how can i do so ?
the external swf files that i load got a hidden stage which disallows me from viewing anyth...
Hi people,
I have 3 sounds that i would like to play, they are in my library.
I can play any of of them using soundName.start(0,1) with the code below:
firstSound = new Sound();
firstSound.attachSound("Sound1");
secondSound = new Sound();
secondSound.attachSound("Sound2");
thirdSound = new Sound();
thirdSo...
I have a very simple .fla file. There's a shape on the stage with a fill, and I want to change its colour when the movie starts.
Googling seemed to suggest:
myColor = new Color(myClip);
myColor.setRGB(0xFFFF00);
but it didn't seem to work. Any suggestions?..
...
hi
I have a flash script, i added one move clip via addChild, my movie area is 500x400
and the movieClip i aligned to center. But when am trying to set the size with in browser its not aligned to center. all my calculations are getting wrong.
package {
import flash.display.*;
import flash.display.Stage;
import flash.geom.*;
...
Hi, Im working on a Dynamic Flash file loading content from a File, there are some dynamic textboxes that need to set their position depending on how many lines the dynamic textbox on top of it had, Im setting _x and _y with no problems but the text on it goes white, it doesnt lose the size or font but it loses the color.
looks like th...
hi guys,
I have a (old) Flash Document ".fla" file created in Flash 8.
It just has a static textbox with "Hello World"(many more text boxes) in it .
(just for the question. )
The font set is Arial 12pt Bold (thr. the Flash 8 IDE).
When i open the same file in Flash CS4 IDE i get the Missing Font Dialog and then it
asks to Map "Arial...
Hi.
i wrote an swf application using action script 2,
i want to be able to know the file name of the current running swf file.
i know that in php i have __FILE__ to get current running php file, is there something like that in flash?
...
Hi.
I want to be able to load an external text from an http request to a string in my flash application.
i know that with loadvars i can load variables, when the output is as: key=value&key=value..
but this is not the case here. i get in return a string with several random characters.
how can i properly retrieve them ?
...
hi guys,
Im trying to load series of external Swfs into a Movieclip on stage.
The swf are 800 x 600 in dimension whereas as the container is 400 X 400.
Whenever i try to load the external swf in the container,the container takes the size of the loaded swf instead of 400 x 400 .How can i overcome this?
I want to any swf loaded into th...
If I have an array, I can set the keys by doing the following:
var example:Array = new Array();
example[20] = "500,45";
example[324] = "432,23";
If I want to do something with Objects, how would I achieve this?
I tried the following:
var example:Object = [{x:500, y:45}, {x:432, y:23}]; // Works but keys are 0 and 1
var example:Obj...
I want to catch the close event of the flash movie.
What would I do to do something when the flash window is closed?
...
Hi,
I've been trying to load a simple .swf (home.swf) and have it play automatically on my existing fla project (as2). These are the steps I have taken..
1) create MC, named "holder"
2) within first frame of MC, entered in.. loadMovie("home.swf","holder");
Nothing is showing, I'm not sure what I'm doing wrong. If you can help, I can ...
Let me preface this by saying that I am something of an actionscript newbie.
We have a system that allows a user to upload any image, which we store on the server. Of course, it is simple to load an image (that you know the path to) using loadMovie, but I also want to load certain pieces of meta data about the image that is precalculat...
I have an external interface call which should retrieve some text from the html that the swf is embedded in.
var name:Object = flash.external.ExternalInterface.call(
"function(){return JSObject.get('Resource', 'name');}");
When I put the variable name into a textbox I get the correct text.
when I use geturl with a clickTag, unde...
Flash can use the RTMP protocol to exchange data between a server and a client.
How do you typically access this functionality in AS2 or AS3/Flex? For example to use sockets you use the XMLSocket (AS2) or Socket (AS3) classes.
Does the server-side RTMP software use Sockets under the covers? or is it HTTP with tunneling?
The Real-T...
Im new to this flash and I am using as2 for the action script I wanted to know if there are any good tutorials on how to create a toggle button so far this is all I have.
on (release) {
play ();
}
on (release) {
stop ();
}
I wanted so that when you hit playit would start the animation but showing the pause button and vice versa.
...
I am asking this question as a complete Flash novice, so please do point out if I'm doing anything wrong here (I suspect I am).
I have a Flash MPU size animation with a link in it which has been created by using a full sized transparent layer as a button (is that the correct way) with the following ActionScript:
on(release){
getURL("...
I'm working on a project where there are short clips of fly throughs rendered from maya of a 3D environment. I worked up a swf that loads the clips as FLV and plays them accordingly.
My current script seems to bomb during the FLV playback sometimes and never recovers. The swf size is 1280x720 and around 1500 bitrate but the clips are ...
I have a project where a big part of the UI a notebook, where the user enters text in a number of fields, for which it uses a series of TextInput components.
Once the notebook is filled in the user switches to a screen where the inputs are disabled and they compare what they wrote to a 'model answer'.
The problem is that the last TextInp...
I have a text box (dynamic) whose value is being changed by javascript using the setVariable method.
Bascially I'm now stuck in getting the flash application to recognise when the text box value has been changed, onKeyUp etc.. do not seem to work.
The below code works if the user types in to the box, but if it is changed via JS it doe...