Archived Months
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
January 2008
all groups > flash actionscript > may 2004

Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

Preloader - help!
Posted by geekstarUK at 5/31/2004 9:30:24 PM
Right, I have attached the current swf for you to take a look at - it might help explain the problem! (give the intro a sec to run) At the moment, "Projecten" is on the main timeline, and all the images for that section are on separate layers to allow for tweening. I want feedback for ...more >>


Cool navigation ...
Posted by flashForum at 5/31/2004 9:26:39 PM
Just came across a sweet navigation bar http://www.holstphotographic.com. Any idea if this is a component that I can grab, or is this just straight insane coding?...more >>

java to flash, setVariables not working on mac
Posted by domerdel at 5/31/2004 9:19:35 PM
I'm using javascript to set variables in dynamic text fields. it works great on a PC, but not on a mac, here is the code i'm using <script language = "JavaScript"> <!-- function SetVariables() { window.document.mdimaging.SetVariable("sectionParent", "Services"); window.docu...more >>

How to count pixels in an image at flash run time.
Posted by Joy_kittu at 5/31/2004 7:47:43 PM
Dear members, How to count the pixels in an image in flash on runtime.. in detail.. i have loaded an in image into my flash movie - then here I have to put a button count pixels on the image. whenever user clicks on the button i need to store the pixels of the image in to my text bo...more >>

Flash Searches?
Posted by rhinosyam at 5/31/2004 7:42:00 PM
Scripters and Gurus! I have this one small problem to place before you. I have a text set of about 5MB and was wondering whether it was possible to write a FULL-TEXT search engine using AS? without speed issues that is.. Hope someone has something to say.. Thanx anyway for the time. ...more >>

Creating image run time in flash...
Posted by Joy_kittu at 5/31/2004 7:25:25 PM
Please help me in this.. Is there any functionality for an image to be created by the flash at run time..? in detail: i want to save the run time movie capture for flash (not using print screen), i am adding a button on my moviee named capture this... when user clicks on that i wan...more >>

processor speed
Posted by Ally at 5/31/2004 7:12:54 PM
Is there any way to tell the processor speed of the machine that a Flash movie is running on? I have a processor intensive Flash file (to be run off a CD ROM) and I want to give the user the ability to select between this version and a less intense version. I would like to give them a hint as t...more >>

Translation ?
Posted by ThePainter242 at 5/31/2004 7:11:24 PM
Hi, I have just upgraded to Flash MX 2004 from Flash MX, I dont want to learn actionscript as a whole but I learn the bits I need when I come across the need for them. There are a few peices of script I have used in the passed in MX and I would like the equivalent in ActionScript 2. ...more >>



Using a for loop to assign a function
Posted by Scott Filloon at 5/31/2004 6:20:14 PM
How can the following code be written to call on a function using a "for loop"? buttons.btn1.onRelease = function(){ [cpntBtn1Data](this); } It's the second line of code that's the problem ([cpntBtn1Data](this);). I have tried, what seems like, a million different ways to do this but to ...more >>

Projectors and SharedObjects
Posted by Yechezkal Gutfreund at 5/31/2004 6:07:32 PM
I have two flash (EXE) created with the Projector. One sets values in a SharedObject, the other reads them. The Reader originally only read them when starting. This works fine. Now I want the reader program to check the variables occationally to see if the setter has changed them. I am ...more >>

This one is fast, help please...
Posted by Mario Diogo at 5/31/2004 5:52:11 PM
I´m loading an external swf (foto1.swf) into my movie but i want to detect when the file gets loaded so that i can control my loading clip... What i have is: my_foto = new loadMovie("foto1.swf"); total_bytes = my_foto.getBytesTotal(); loaded_bytes = my_foto.getBytesLoaded(); if (loaded...more >>

how to make a path constructor with vars
Posted by Andre Hanegraaf at 5/31/2004 5:17:17 PM
Hi all, i'm trying to import xml in flash wich all worls fine, but now i want the values of the xml file to manipulate some properties of some movieclips on stage. I want to us vars in my paths wich point to the movieclips on stage but it doesn't work, i tried to make a path construcor but it d...more >>

Please Help
Posted by MiniMurderdoll at 5/31/2004 4:03:33 PM
Hi, I have this: if (shake == 1) { this.shake._x = this.shake._x+1; this.shake._x = this.shake._x-2; this.shake._x = this.shake._x+3; this.shake._x = this.shake._x-2; this.shake._x = this.shake._x-2; this.shake._x = this.shake._x+1; this.shake._x = this.shake._x+1; } B...more >>

how do you keep people from cheating in flash gam
Posted by gahbhungga!;pa at 5/31/2004 4:00:40 PM
i have to know....more >>

Pause Actionscript
Posted by skitz69+ at 5/31/2004 12:40:22 PM
Hi i was hopeing that someone could please tell me a simple actionscript to pause a movie at a point and then have it resume after a second or two. Thanks...more >>

Roll Over for XML text
Posted by Ashish123 at 5/31/2004 12:36:30 PM
Dear Reader, My subject may sound it littile odd ..sorry for it I have a say 10 textfields on the stage. They are getting created dynamically using createTextField. Now these textfiedl has got a fixed width and height which I can not change or can not make autoSize/wordWrap/multiline. ...more >>

sound-looping
Posted by rhouck at 5/31/2004 12:26:42 PM
I am have a problem finding a tutorial for sound that does not loop. My main timeline is about 200 frames with 5 different labels. The presentation has forward and backwars buttons. Just did your tutorial at www.macromedia.com/support/flash/sound/sound_player/sound_player04.html and I could ...more >>

pop up in frameset???? Please help
Posted by scottsflashemail NO[at]SPAM yahoo.com at 5/31/2004 12:07:20 PM
Hey all, The pop ups work fine from inside flash when html page is accessed via direct address, however not when its inside a frame set (redirect). Also the pop ups WILL work in mozilla and in netscape, but not explorer. This is the code I am using for the pop ups: on (release) { uUrl = ...more >>

FPS Alterative - Help
Posted by Craigus86 at 5/31/2004 10:54:03 AM
Hi i have been trying to make a car game, when i press the up key i want the frames to go quicker I have tryed FPS controller extention for flash but this made the game jumpy i have heard of setting an interval or something and was wondering how that works exactly i have included the .fla file...more >>

Can I write to a file thru a Flash exe
Posted by gauravmathur at 5/31/2004 10:02:11 AM
Hi all AS gurus, I have a flash exe running on a local machine (i.e. not on a server & therefore mailing option not available). I have a feature similiar to feedback where users can post comments. Can I write all the posts to a file? Can someboday offer a better solution to log all the ...more >>

Simple script slows down dramatically
Posted by Prof D at 5/31/2004 9:53:19 AM
Here is what I think is a real simple little piece of code: _root.createEmptyMovieClip("foo", 100); foo.lineStyle(1, 0xFF0000, 100); foo.moveTo(250, 250); foo.onEnterFrame = function() { var x,y; y = 250 + 100 * Math.random(); x = 250 + 100 * Math.random(); foo.lineTo(x,y); ...more >>

loadClip([variable],page01)
Posted by SamuelRoger at 5/31/2004 9:34:24 AM
I have found that I can only make 'loadClip' work if the movie to be loaded is a fixed name in the code with inverted commas around it. I want to be able to pass a variable so that I can handle version control in my application. So, for example: This doesn't work: var loginMovie: String ...more >>

How to user macromedia flash player in my app.
Posted by dpatel NO[at]SPAM eteaminc.com at 5/31/2004 8:16:52 AM
Near and Dear onces, I am developing musical site , in which the interface of real player is not working. I want to upldate my site with the help of flash player. Would you please help me , how to embed object of flash player to play sound automatically. Functional requirement is p...more >>

Multiple line entries in Listbox component
Posted by Abhiuday at 5/31/2004 7:06:53 AM
Hi, Would like to know how to create mulitple line entries in a list box component. The component only support single lines. If anyone has made it then could they pls tell me how to go about it. Regards, Abhiuday ...more >>

help needed!!!!
Posted by mickybhai at 5/31/2004 6:22:59 AM
i am loading a movie on target say by click of a button.Now when the movie gets loaded, when i click on the button again the movie reloads (though not completely) it gives a flicker can i disable the flickering by some way since the movie is already loaded ...more >>

geturl and iframes
Posted by artyst at 5/31/2004 6:04:54 AM
HI, what it is that i am tring to do is create a link in flash that will link to the site.htm and the iframe forum.php. the problem i think i am having is within javascript. i am not very good with javascript. the code for the link in flash is simply this but is not what i am tring to do...more >>

sine inverse
Posted by vt_aravinth at 5/31/2004 5:22:13 AM
how to find a sine inverse of a value give that is sin(90)=pi/2 is there a revese way to find from value to degree???...more >>

PDF
Posted by mukundmurarivyas at 5/31/2004 4:25:32 AM
Hi All, I wana Open PDF. Ok But i wana also a condition for this. Condition is If Install Acrobat Reader in My computer then open PDF else Go on Second Seen. Plz Help Me ...more >>

getURL won't open in same window
Posted by jnovin at 5/31/2004 4:14:59 AM
Hi, I'm relatively new but this isn't a very complicated issue. I made a short flash for an intro to a website then want it to go on to the main html webpage. At the end of the animation I added action getURL "mysitename", _self. Code is simple. No matter what I do it opens in a new wind...more >>

Learning Actionscript
Posted by Parag Shah at 5/31/2004 1:02:05 AM
Hi All, This is Parag Shah. Well, actually this is not exactly an actionscript problem but as it relates with, I thought this to be the right place to approach. I am willing to get quite deep into flash actionscripting. In fact, I have been doing it tit-a-bit since 3 years or so. Now, I have c...more >>

why does it take so long to load?
Posted by propatria at 5/30/2004 11:17:14 PM
my loader doesn't work... Isn't a loader supposed to come up as soon as the person opens the page, then load the page, and then play the rest of the movie? whats wrong? heres my movie... http://inet.francistuttle.com/wisdom/NewModules/ViewMyDocuments.aspx?DocumentID= 1415 any help would be ...more >>

Can someone help me with this syntax?
Posted by mellowhappy at 5/30/2004 9:47:09 PM
var recData = [{id:0, firstName:"Mick", lastName:"Jones"}, {id:1, firstName:"Joe", lastName:"Strummer"}, {id:2, firstName:"Paul", lastName:"Simonon"}]; userData.items = recData; I am trying to learn how to use the DataSet components with the Macromedia Flash D...more >>

how to set alias of a data type?
Posted by flashin at 5/30/2004 7:23:52 PM
I need to have another name for Number type, such as Age, how to set Number's alias so that I can do this: var age:Age; instead of: var age:Number; ...more >>

Dyanmic Box-Text question
Posted by MINGUITO at 5/30/2004 6:25:48 PM
Hi Folks, I wonder if someone can help me on this. Ok, I have a Dynamic Text Box, which I will populate with an external txt file using the LoadVariables command, now, for updating purposes this would be the easiest solution for the user, since just update the text file and flash wil...more >>

wait until php loads
Posted by penguinsareinvading at 5/30/2004 5:59:45 PM
i have the following actionscript that seems to work well, var sl = new LoadVars(); sl.load("http://www.site.com/streams/update.php?unique_id="+getTimer()); // this indexes the dir and creates a few XML files that are called later in the SWF file // some other stuff mycomboXml.load("...more >>

Transition tween
Posted by flashForum at 5/30/2004 5:13:39 PM
I've searched and read, but can't seem to find exactly what I'm looking for. I've attached my source code (it's Flash MX), it's much easier for me with examples. If anyone cares to take a peek and give me some advice I would greatly appreciate it. I'm trying to start with a blank page wi...more >>

Load Movie And Frame Rate
Posted by Gionex at 5/30/2004 2:20:36 PM
I have a MASSIVE problem with my website. It has the main swf, and in that i have a music player that loads music on to level 20 and i have backgrounds that load in to a movie clip. So far this all of this works, BUT my music tracks are 1 frame per second and my backgrounds are 120 frames per ...more >>

onData
Posted by dandev at 5/30/2004 2:19:28 PM
I just asked this question on flashkit but I am not convinced with the answer so here goes. I'm using loadVaraibles to load a .txt file into a MC that I've created using creteEmptyMovieClip. some of my txt file are 20k. Is it safe to say that when the MC.onData function is called tha...more >>

Text Field (cursor to first character)
Posted by Scott Filloon at 5/30/2004 12:46:34 PM
Hello, I'm using Flash MX and I have a question about a text field. If data exceeds the given space of a text field, when being filled in, the beginning characters are no longer visible. That's no big deal but when the text field is tabbed away from, the text remains just as it was, still no...more >>

Actionscript in 7.0
Posted by webjunky2 at 5/30/2004 11:53:45 AM
HEllo, I created a movie to scroll a textfield with a slider and buttons. THe movie works correctly in flash five, but not in flash 7.0. THen the slider goes when I slide down and then release it, the text and the slider go back to the top and they not maintain their possition. The ac...more >>

How to call actionscript within a text field
Posted by H.M.Man at 5/30/2004 10:24:02 AM
I want to call actionscript' function within a text field , just like Director's text link, anyone knows how to do this?? pls help. Thanks!!...more >>

Complexity Of Actionscripts
Posted by Shea_)1 at 5/30/2004 9:15:07 AM
Yes hello, I have been using Flash 5 for two years, then upgraded to Flash Mx I finally decided to get Flash Mx 2004, and it was worth it. There was a small problem though... I'm still new at 'Action Scripts' and I noticed the actionscripts is set on 'expert mode' Is there any possible w...more >>

form validation
Posted by PDS at 5/30/2004 9:00:54 AM
I'm using this script to checkout if a field is left empty : on (release){ if (veld1 == " ") { gotoAndStop("nietok"); }else {gotoAndStop("ok"); } } but this isn't working. I'm using Flash MX 2004 Could somebody please tell what is wrong Thank you for your help Peter ...more >>

DuplicateMC mousetrailer
Posted by nickname-taken at 5/30/2004 7:08:42 AM
I'm trying to learn several ways to make mouse trailers just as a way of learning more actionscrip. I've downloaded several and I generally see how they work. This one, though, is a tough one for me to crack, but it's so simple. I understand every line of code, but for some reason it does w...more >>

Convert to number
Posted by SiRickHoo at 5/30/2004 4:58:46 AM
I've read a value out of an array and I now need to convert that value to a number. However, the value is currently an object. I know this because the following code returns 'object' trace("type="+typeof(cardNum)) My question is: How can I convert the variable cardNum to a number? I ...more >>

movieclips depht
Posted by zebra_1 at 5/30/2004 2:39:22 AM
I need to put a movie - is just inside the swf and not externally loaded - on level1 but can figure out how. I played around the onLoad command without a goal. Any ideas? Thx...more >>

Need ActionScript for Popup HTML page
Posted by MRVL44 at 5/30/2004 1:52:43 AM
Hi - Please help. I need the action (FLASH MX) for a html page to be able to pop-up when a button is clicked on my flash site. I know its out there. Can someone please post the actionscript. thanks a bunch! ...more >>

Moving Down at the Same Time
Posted by Aumaz Jang at 5/30/2004 1:30:45 AM
Hi all, Please view http://gahook.hp.infoseek.co.jp/ToSharon/kitterick.com.hk/swf/aaa.fla. Thanks, Aumaz Jang...more >>

how do I do this? Movieclip prob
Posted by Mike7222 at 5/29/2004 11:28:26 PM
Hi chaps, I have serveral buttons on the main movie. When I click one, and new movie pops up and takes up about 50% of the main movie clip. I want to disable access to the buttons on the main movie clip while this new clip is running. I was looking at the setFocus statement but couldt ...more >>

Scroll Bar ( or pane ) on left side of Component
Posted by Lugert at 5/29/2004 9:30:23 PM
Hey guys, So I am working on my personal portfolio site, and I'd like to have the scroll bar for a scroll pane be on the left side of the content I'm scrolling for some functionality reasons that are suffering because of the design. (I'm using a Scroll Pane to scroll some static text b...more >>


DevelopmentNow Blog