Hi all,
I have a project i need to update form AS2 to AS3 as i need some of the new functions available for vertical centering of text.
My current AS2 code on the time line is as follows.
var dataField = _root.dataField;
var dataType = _root.dataType;
var dataPage = _root.dataPage;
var dataVar = _root.dataVar;
_root.mc.onRelease =...
hello...
I'm new to ActionScript 2.0. plz kindly help me.
I have created the MainMovieClip and Scrollbar as follow ....
my problem is that when I input japanese characters,the characters display at the top corner of the swf until I confirm the input.
how can I do it??
if I install FlashPlayer "flashplayer10_1_rc2_plugin_041910", then th...
So i have a flash site i am doing in as2, even if the solution can only be done in as3, I still want it.
I am trying to accomplish lines through the background image like on this site http://larc-paris.com/#/fr/club
I tried just putting the patten on the image itself, but when i scale my site, its all distorted and the lines does not l...
Hi All,
I am trying to get a var from a PHP script running on my web server and from every forum post I have read, what I am doing should be working. I have the following:
var lvContent = new LoadVars();
lvContent.load("http://{MY_DOMAIN}/Includes/getID.php");
trace("ID: " + lvContent.pageID);
The problem is th...
One thing asked for a lot with sIFR is hyphenation.
Now I almost solved it with integrating Hyphenator.as http://vis4.net/blog/2010/05/as3-hyphenation/.
The only problem is that Hyphenator.as is written in AcionScript 3, while sIFR is in ActionScript 2.
I found an AS2 to AS3 converter www.5etdemi.com/blog/archives/2006/11/as2-to-as3-c...
Hi there!
Here is my problem (unfortunatelly didn't find solution @google):
I'm loading external swf[AS2] into main swf[AS3] using Loader class.
The main swf is 800 x 600 and the external swf is 300 x 200.
After adding the external swf to the main swf the external swf expands it's size from 300 x 200 to the main swf's size: 800 x 600...
I have a flash movie containing to scenes: scene1, scene2.
I have chosen the order so that scene1 starts first, I was requested to add a functionality to allow flashvars to be passed, if fv_change equals one then scene2 should be the first to appear when the movie is loaded.
I have included the following code in scene1 first frame of so...
I am editing a custom calendar application in flash. The purpose of this app is to let you select your own images, and create a calendar out of it. You can basically, drag and drop images of your choice and they apply frame/borders, or drag and drop embellishments.
Here is the piece of code that draws a border/frame on the embellishment...
I write a piece of software that runs inside banner ads which generates millions of session IDs every day. For a long time I've known that the random number generator in Flash is't random enough to generate sufficiently unique IDs, so I've employed a number of tricks to get even more random numbers. However, in ActionScript 2.0 it's not ...
Hi there.
I would like to build an image gallery in Flash with AS2 or AS3 that detects automatically the number of images available in a specific folder (say a level below the swf file).
The goal is to don't have to config any xml files with the images to show.
Is this possible?
Thanks in advance.
...
I have a Wrapper SWF that loads a series of AS2 movies. Each AS2 movie loads a series of .png files.
AS3_wrapper.swf
|-> AS2_1.swf
|-> image_1.png
|-> image_2.png
|-> AS2_2.swf
|-> image_1.png
|-> image_2.png
Inside of the AS2 I listen for the load of the pngs using onLoadInit and update my UI.
This works fi...
I have two problems.
The first problem is with the following functions; when I call the function in (enterFrame), it doesn't work:
onClipEvent (load) {
function failwhale(levelNum) {
_root.gotoAndStop("fail");
failFrom = levelNum;
}
function guardSightCollision(guardName, guardSightName) {
if (_root.guardName.guardSightName....
Hello.
I'm developing a Flash game in ActionScript 2, and the issue if that this game has to count the time securely.
It can't count the time from the Date class because the Flash Player takes the time from the local computer, and the user can change the local time so the time reported would be fake.
I haven't considerend to take the ...
I am trying to detect for the presence of assistive technology using flash. When a Flash movie holding the actionscript below on frame 1 is loaded (and screenreader chatting to IE or Firefox over MSAA is active -- JAWS or NVDA), Accessibility.isActive() does not return "true" until the movie is focused. Well, actually not until some "e...
Can you show me an example of a very easy implementation in AS2 (action script 2.0) to bring a var from a php file. I have a php script who return a value into the var $result when it is executed, how can i use this var on flash? Thanks
...
Hello, i have a AS2 script who get information from a MySQL database. This information is a text from 0 to 300 chars. I want to display that text in this layout:
I want to resize the black box you see on the picture in function of the amount of text imported. Any idea of how to do that on AS2?
The instance name of the box is: cargador...
how i suppose to do to read global variable in actionscript 2.0?
i've declared _global.MyVar="dummyContent";
may i write MyVar="anotherContent";?
or it should _global.MyVar="anotherContent"?
...
Hello, i have a php who when is executed it give me a couple of vars in this format:
&lVar1=DATA1&&lVar2=DATA2&&lVar3=DATA3 and soo...
The problem is that i dont know the quantity of lVar the php script is gonna give in any time, so i cant figure out a smart script in AS2 to import all of them into a array to my flash. Can you help me?...
Hey,
My text animation scrolls from left to right, which is OK. I want to keep it simple but change it up little. How do I get the text to go right to left? Thanks.
AS3 Example
mask = customMask;
var my_str:String = " Ad hoc ad loc and quid pro quo ";
function addUm():void {
my_str = my_str.charAt(my_str.length - 1...
Flash CS4 - Action Script 2
I need to make a controller for audio that contains the following items
1 (!) Button that pauses and replays the audio file (consists of 2 pictures: 1 on, 1 off)
Volume slider to controll the volume (consists of a bar and slider)
I have searched for tutorials that combine the two, but couldn't find it. Th...