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
June 2008


all groups > flash actionscript > september 2005 > threads for friday september 16

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

Creating links
Posted by BullocksTroy at 9/16/2005 9:55:22 PM
Fairly simple question - how do I make a button link to a URL address? ...more >>

Next Button (next scene) Problems
Posted by kenmatthews at 9/16/2005 9:22:49 PM
I have a one main movie with multiple scenes. This is a demo showcasing a new intranet we are unleashing. My NEXT button actions are inconsistent. From intro to first scene, it works fine. From there on, it doesn't work and clicking NEXT repeats the current scene. Here is what I'm doing: -...more >>

determine a user's upload speed
Posted by adamberk at 9/16/2005 9:16:56 PM
Hello. Can anyone tell me how to determine a user's upload speed. Determining their download speed seems straightforward enough (just get them to download a large movie and time the download). Any help or insight would be greatly appreciated. Thanks! ...more >>

Targeting a movieclip from a AS 2.0 Class without using absolute paths
Posted by FlashTastic at 9/16/2005 9:16:00 PM
Hello community, I hope someone can help me. I'm attempting to create a 1-1 A/V chat using Flash MX 2004 Professional and Flash Communication Server MX, while practicing OOP at the same time. I have a bunch of movieclips on my stage that make up the GUI, and I can't seem to access or con...more >>

Error handling
Posted by JrMoretti at 9/16/2005 8:55:43 PM
Hi, I need to find a way to catch a loading error and when this happends, stop the whole loading process... the file names and MC instances are created dinamically... I've tried everything... every MovieClipLoader class function and every other thing I could come up with... HELP ME OUT!!! ...more >>

how do you stop MC on button press
Posted by pro gamer at 9/16/2005 8:38:22 PM
Hi, Can anybody please tell me how to make a movie clip stop or play on a button press. thanks. ...more >>

LoadMovie Breaks my frame control slider?
Posted by kenknapp at 9/16/2005 7:55:14 PM
I have used a tutorial from flashkit to create a slider to scrub through 360 frames of a turnaround I created. The problem I have is that everything works great until I call the swf from another movie into my main navigation movie then the slider breaks. I am still able to select my draggable ...more >>

Executing an action on frame exit
Posted by Reason_D at 9/16/2005 7:21:15 PM
hello, Wondering if anyone knows if there is a way to have an action executed when leaving a frame. For example, I have video on a page and an action that when the video button is released, it stops a juke box loaded on the main timeline. What I want is when the user presses one of the navig...more >>



this.createEmptyMovieClip("empty", 999)
Posted by shabazz05 at 9/16/2005 7:08:11 PM
when you create a movie clip at runtime, how do you detect when the user clicks on it? here's my code. //I create the moiveClip and save a reference to it var e = this.createEmptyMovieClip("empty", 999); e.loadMovie("08s.jpg"); //I'm able to move it around e._x = 100; e._y = 300;...more >>

maintimeline loop
Posted by dirkness at 9/16/2005 7:02:56 PM
hi how do i make the _root timeline loop twice and then stop and frame 1. then when the user places the mouse over the movie, it loops again twice. I tried the following actionscript for the loop part: i=0; while (++i>2){ _root.gotoAndStop(1); } but it's not working. G...more >>

button down
Posted by mfunk at 9/16/2005 6:41:20 PM
Hey all- I want a button I created to keep doing an action as long as it is pressed. rather then the user having to keep clicking they can hold down one click. how can I do this? -marc ...more >>

Place library objects in a movie using code?
Posted by keithb at 9/16/2005 2:55:33 PM
Can someone suggest some typical actionscript coding the takes a movie clip object from the library, places it in a frame at a particular xy location, gives it an instance name, and sets the values of its other properties? I have always placed library objects by dragging and dropping them in t...more >>

Help! Workaround needed
Posted by Thorulf at 9/16/2005 12:26:01 PM
Hi all, I have a flash movie with javaScript that changes the height of the movie depending on the current keyframe. This works just fine both in IE and in Firefox if I use the html code you see in my own reply below this post. The problem is that I also have a preloader in the form of a s...more >>

Need help with code.
Posted by NetGeek911 at 9/16/2005 11:24:14 AM
Hi, I have a password box with the instance name of textbox1. I also have a button with the following code: Whats Wrong? if(condition) { statement(s); }...more >>

why won't this work
Posted by Scott Thompson at 9/16/2005 11:14:50 AM
I am trying to set text in a textbox from an array. It isn't working var list:Array = ["Pets Allowed", "Short Term Available", "Emergency Maintenance", "24hrs. On Site Management", "Fitness Center", "Grills/Picnic Areas", "Swimming Pool", "Tennis Courts", "Sand Volleyball Court", "Clubhouse...more >>

Why does this happen? Adding blank frames fixes problem
Posted by Christopher Hayes at 9/16/2005 11:12:08 AM
This is an age-old question for me. I've seen it numerous times in other implementations with different components/whatever, but finally it has become a nusiance that I can't ignore. Partially because I am the type of person who just has to know why things happen, but also because I teach F...more >>

referring to a variable in variable creation
Posted by azurepenguin at 9/16/2005 10:52:02 AM
I'm trying to create arrays c1p, c2p and so on through to c81p all containg the numbers one through nine. I'm using this do loop: generating = 1; generated = 0; do { c1p = ["1","2","3","4","5","6","7","8","9"]; generated = (generated + 1); generating = (generating + 1); } while (ge...more >>

ASP Upload script callable from Flash 8
Posted by Klutsh at 9/16/2005 10:52:01 AM
I can successfully use the upload function using PHP, but i was wondering if somebody could help with with an ASP script to save the uploaded file?...more >>

Placing random MC on stage, with random MC inside
Posted by Oli-G at 9/16/2005 10:51:24 AM
Hi guys I have 4 movie clips in the library, each with 5 frames in them. What I need, is at a random interval, one of these movie clips to be placed on the stage in a set place (each of the 4 will only appear on one particular place on the stage) and play through the frames. Also, I ...more >>

move a movieclip with navigational buttons
Posted by sazarelli at 9/16/2005 9:34:07 AM
Hi, I have a movieclip and around it are up/down/left/right buttons. I want the user to be able to press down on the navigational button and the movieclip to scroll in the direction they have chosen until it reaches the edge of the movieclip, or until the user takes their finger off the cu...more >>

Copy an Array of Arrays
Posted by ysub at 9/16/2005 9:32:35 AM
If you have an array of arrays and you copy the containing array (using slice) do the contained arrays also get copied? For example: var a = new Array() var a[0] = new Array("chucky",cheese"); ie. a[0][0] == "chucky" now if I do var b = new Array(); b = a.slice(); is b[0]...more >>

preloader problems
Posted by danbo2233 at 9/16/2005 9:31:35 AM
Hi everyone, I am a flash user and I occasional dabble with action script to perform tasks as and when I need to. I have always had problems with a preloader and am wondering if anyone can help. I have downloaded a preloader that someone has very kindly added a tutorial on how to add ...more >>

problem with change handler for numeric stepper
Posted by PaulAnka at 9/16/2005 9:30:58 AM
I have succefully integrated a numeric stepper. It also updates another stepper when I use the arrows. But When I just enter a value without the arrows, the change handler doesn't kick in. How should I do this? I use the following code: nsHoogte2.changeHandler = function(eventObj) { _...more >>

clickTAG
Posted by mamlaz at 9/16/2005 9:17:01 AM
I have created a banner that leads to another web page, i want: when someone clicks on banner to count the clicks and store that information someware! i have found this code but dont konw how it works: on (release) { if (clickTAG.substr(0,5) == "http:") { getURL(clickTAG); } } ...more >>

Problems with browser back button
Posted by csa at 9/16/2005 8:50:18 AM
I'm having problems with trying to get the back browser button to move through my site. I have one html page and this contains my main swf movie. All my navigation has been placed in the main.swf and on click they open seperate .swf files, in some of them I have buttons which link to vario...more >>

How to refresh a Flash Movie and not the parent web page?
Posted by keithb at 9/16/2005 7:59:59 AM
With a Flash movie running in IE, as one part of a web page, is there some way to refresh just the Flash movie and not the entire page? Thanks, Keith ...more >>

Flash + ASp
Posted by Jcalao at 9/16/2005 7:52:04 AM
Hi, I´m studing about Flash x Asp integration and seeking Books for this.. Somebody knows some book that can teach this? Bye. ...more >>

Classes and #included classes
Posted by mr.eddy at 9/16/2005 7:42:59 AM
If I have a class "myClass.as" which has a constructor in which I need to use XPath functions ( http://www.xfactorstudio.com/ActionScript/AS1/XPath/ ) . Where do I include the XPath.as ? In myClass.as ? Not working. In the .fla file where I'm using myClass? ...more >>

Action based on current frame
Posted by Dinghus at 9/16/2005 1:05:51 AM
I have 10 frames in the movie. BUT the actions layer covers all 10 frames and basically all the AS is in the first frame. But now I need to do an action based on what the current frame is. So I click a button and send it to frame say 4. I have tried the if(this._currentFrame == 4) rout...more >>

Searching an Array, DataSet, DataGrid
Posted by Backup12204 at 9/16/2005 12:58:41 AM
Hi, I have a form with a DataGrid. People choose an item and add it to another DataGrid. Is there any way to search a DataGrid's Array in order to find if I have more than 2 items in a category? I want to be able to select only up to two items of a certain category, 4 items of another, and 1 I...more >>

dynamic mc
Posted by hippo0 at 9/16/2005 12:00:00 AM
help guys, i have a button which will create a dynamic mc on my stage and get the value of the text field and load a jpg. like this : on(click) { this._parent.container.loadMovie(this._parent.text1.text); } this will load the pic i wan. but den if i were to key in another file nam...more >>

loading swf into main swf
Posted by jcavardfromneta at 9/16/2005 12:00:00 AM
Hi! I have a main flash file (atf2.swf), that loads other swf (menu_en.swf). I have a problem though... The swf file doesnt show in the main SWF... I use thios code. this.createEmtptyMovieClip("myMenu", this.getNextHighestDepth()); myMenu._x = 0; myMenu._y = 0; myMenu.loadMovie("menu_e...more >>

loadvars object
Posted by dave at 9/16/2005 12:00:00 AM
How do I go about clearing out load vars data, so I can use the same loadvars object and eventhandler again and again? is this even possible thanks ...more >>

Resizing movie clips
Posted by Jpmon1 at 9/16/2005 12:00:00 AM
Hello, I have the code listed below, and I am comming up with a problem at the end, when I resize the movie clips - which hold pictures. What this code does is, it gets an array of variables(the numbers of variables in the array changes) from a .txt file, and then it creates a button for...more >>

Hover Pop-Up How-to
Posted by TRixation at 9/16/2005 12:00:00 AM
Does anyone have a good tutorial on how to create the effect that's on the Macromedia homepage where you hover over the image and a pop-up bubble appears that moves with your cursor? Im a AS newby so any advice would be great ...more >>

Confining a draggable mc to a mask
Posted by forumnotifier at 9/16/2005 12:00:00 AM
I have a rather large diagram that I masked to fit it in the space I need it to fit into. The diagram is button contained inside a mc. I have the diagram at 11.8% it's size and zoom in and out icons to _xscale, _yscale it up/down. It also snaps to the middle of the mask (which is a mc) ...more >>

countdown timer
Posted by Will Y. at 9/16/2005 12:00:00 AM
I'm wondering if there is a tutorial for creating a timer that count downs the length of a show. I have an audio slide show and I want people to know how long it is, and how long they have left. Not really sure where to begin. thanks, Will ...more >>

loadvars check! URGENT PIGEON REGRETS
Posted by mcardoso at 9/16/2005 12:00:00 AM
it happens that my movie is playing before the flash gets all the variables, and nothing is working propperly. i searched and found that onLoad (succes) stuff, but i dont know how to use it, and im thumping my brains loud to use a simple while. yeah, that is true. i dont know AS, but im tr...more >>

Preloader always at 100%
Posted by AudreyWalker1 at 9/16/2005 12:00:00 AM
I'm trying to have a preloader for my main movie. To do so, I am loading this into the preloader swf and have the following script on the first frame: stop(); loadMovie("website.swf", website_mc); this.onEnterFrame = function() { //trace the percentage of the movie that has loaded p...more >>

variable from swf to html?
Posted by jaszokody at 9/16/2005 12:00:00 AM
I have a variable in flash that I wish to transfer its value to an html file. I cant get the getURL(.......,"GET" or "POST") to do it. suggestions please? thanks ...more >>

movie loop
Posted by dirkness at 9/16/2005 12:00:00 AM
hi how do i make the _root timeline loop twice and then stop and frame 1. then when the user places the mouse over the movie, it loops again twice. I tried the following actionscript for the loop part: i=0; while (++i>2){ _root.gotoAndStop(1); } Grateful for help. t...more >>

Load External SWF, go to and play frame 2
Posted by PixelFool at 9/16/2005 12:00:00 AM
Hello everyone! I am trying to do these two things on one click of a button: 1. Load external swf into blank movie clip 2. Go to frame 2 of that movie clip and play It doesn't seem to work to just do this: on (release) { loadMovie ("something.swf", _root.something_mc); _root.someth...more >>

how to control one mc based on contents of another mc
Posted by macron at 9/16/2005 12:00:00 AM
i have a holder MC that can contain one of a number of external .swfs. i'm wondering how to write a script that controls another mc on the stage based on the .swf that's currently loaded in the holder MC. any suggestions? cheers, macron ...more >>

Preloader always at 100%
Posted by AudreyWalker1 at 9/16/2005 12:00:00 AM
I'm trying to have a preloader for my main movie. To do so, I am loading this into the preloader swf and have the following script on the first frame: stop(); loadMovie("website.swf", website_mc); this.onEnterFrame = function() { //trace the percentage of the movie that has loaded p...more >>

Mask overlapping buttons?
Posted by Blade alSlayer at 9/16/2005 12:00:00 AM
Hi there! Here is a situation: There is a button1 on layer 1. There is a movieClip1 containing a button2 with some background on layer 2 (above layer 1). The button1 and the movieClip1 overlap 100%. When the mouse is in-bounds of the movieClip1, but not inbounds the button2 in it, when pre...more >>

Setting _y breaks motion tween
Posted by mjpledge at 9/16/2005 12:00:00 AM
I have a movieclip that serves as a navigation bar. Each link element is a dynamic text field that is within a single tween so it can slide in and out of view. I added code that moves the text up or down a pixel because the font size changes when selected. All it does is this: subtext1....more >>


DevelopmentNow Blog