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 > january 2005 > threads for friday january 14

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

gotoAndPlay inconsistency in game
Posted by Ry-Tracer at 1/14/2005 11:22:57 PM
Hello all, has anyone encountered the following problem? when gotoAndPlay is invoked in a very busy part of a shockwave file, it skips that line of code. Well actually via the step-through, it plays that line but nothing happens. I know the problem is not within the call to the function bec...more >>


gotoAndPlay inconsistency in game
Posted by Ry-Tracer at 1/14/2005 11:22:51 PM
Hello all, has anyone encountered the following problem? when gotoAndPlay is invoked in a very busy part of a shockwave file, it skips that line of code. Well actually via the step-through, it plays that line but nothing happens. I know the problem is not within the call to the function bec...more >>

Dynamic text field with geturl link?
Posted by tallscot at 1/14/2005 11:05:53 PM
Hey, I'm not strong in ActionScript. I have a project where I have dynamic text fields on the screen that are linked to .txt files. I need each one to be hot and go to a specific URL. Right now, I have this script: headline1 = new LoadVars(); headline1.onLoad = onText; headline1.load('hea...more >>

creating random colors within set range
Posted by posterboy at 1/14/2005 10:32:35 PM
i have one mc. it is dynamically duplicated 100x and randomly distibuted across the stage. is there a way to randomly generate colors within a set color range instead of all colors -- for instance, just reds and yellows? this is what i'm using now. pretty straightforward. stop(); sta...more >>

Flash Player History of XML Support?
Posted by ThinkSeed at 1/14/2005 10:04:51 PM
After running several tutorials and throught the help of these forums, I'm pulling together a usable first bit of code. I just inserted the code into an existing file made in Flash MX 2004 that was exporting the SWF as Flash 5. I noticed the code was not working. After a bit of troubleshooting...more >>

GetUrl opening wrong browser
Posted by castanza at 1/14/2005 9:49:04 PM
Not what you think, in fact the opposite of you're thinking. I hate IE and use Firefox, but need to test something with IE + getURL. So I've made IE my default browser temporarily. If I do start->run>someURL it opens in IE. If I click a link in an email in outlook, it opens IE. But if do ...more >>

targeting scene in external movie clip
Posted by techtigger at 1/14/2005 9:35:00 PM
Need some help targeting a movieclip i've loaded: I have an external movieclip with buttons, that I load in as the website starts I have another external movieclip (we'll call it 'content') that I want these buttons to control I can get them to control the main timeline, but when I want to t...more >>

rollovers on links in .htmlText ?
Posted by flo.cook at 1/14/2005 8:46:55 PM
Hello people :) I created a textfield I fill with external .txt file. It supports html, and contains links. Works fine, but... o_O ...Can't find how to make a rollover on the links ? You know what I mean: I just would like to change the link text color on rollover ? looks simple enout...more >>



rollovers on links in .htmlText ?
Posted by flo.cook at 1/14/2005 8:46:52 PM
Hello people :) I created a textfield I fill with external .txt file. It supports html, and contains links. Works fine, but... o_O ...Can't find how to make a rollover on the links ? You know what I mean: I just would like to change the link text color on rollover ? looks simple enout...more >>

Back To GO
Posted by ronchicago at 1/14/2005 8:37:58 PM
hello, Let's say I have a 300 frame file with a single timeline. When the file starts running can I have it begin at frame 150? When we reach frame 300 we loop back to frame 1 where it will now continue as a normal loop. How can this be done? Thank you. Ron ...more >>

Press Button
Posted by Minuscuul at 1/14/2005 7:54:17 PM
I know this is a common question, but how to fix it? When a button is pressed, I want the movie to go to the next frame. Easy, right? But when the mouse is not released, I want the movie to keep going to the next frame, and the next, and the next until the mouse is released. How can I do...more >>

Scale flash movie without scaling it's content
Posted by shaggydagy at 1/14/2005 7:36:40 PM
i want to create a flash movie that scales to fit the user's browser. but the tricky part is that i don't want my content to scale, just the background, is there anyway to do this or i'm just talking nonsense. I think that is what the people of pushhere.com did on their website and I would l...more >>

Links in Dynamic Text Boxes
Posted by bknowlden01 at 1/14/2005 7:28:36 PM
I am scripting a site with an embedded font and then filling dynamic text boxes with my text for two resons, 1) they will change based on variables the user chooses, and 2) the text is a flashfont and if it is dynamically generated, it will stay extremely sharp (in theory) My question is, how...more >>

AS to get current frame
Posted by garroyo at 1/14/2005 7:10:12 PM
how do I check to see what frame I am on? I want something like: if (frame == 'middle_fr') { do something; } else { don't; } ...more >>

Flash in HTML Layers
Posted by Stat1124 at 1/14/2005 6:50:48 PM
Hello All You Gurus- I posted this in General but thought Actionscript would be a more appropriate place to list this. I have a problem and I'm currently looking for any solutions. Basically what I'm looking to do is build a music player in flash and embed it into an HTML page. No...more >>

Read queryStrings in Flash
Posted by Jerry Lidén at 1/14/2005 5:53:27 PM
I've spent all day looking on how to read a querystring into Flash with no success. Case: I have one flash file in several different web pages. I want the swf to go to different frames depending on a certain querystring that accompanies every web page. <example>start.aspx?someString=3&someSt...more >>

Load External Swfs with Linked Mcs
Posted by tokyoelvis at 1/14/2005 5:49:07 PM
Anyone experience problems with an externally loaded swf into a new fla -- the problem being that once it's loaded, any linked mcs in the swf don't run? I'm working with the AS Training from the Source book, no problems loading the mcs, but linked or attached mcs won't run. Any answers or s...more >>

variables in object name
Posted by CPedrick at 1/14/2005 5:32:28 PM
I have a fairly large number of sound files that I am playing at different times in my movie. They are all named 'VO' plus a number. For example, VO1, VO2, VO3, etc. Is there some way that I can pick up a number from a variable in order to select which sound to start? For example: SoundNum = ...more >>

display text in incremented createTextField..
Posted by ervision at 1/14/2005 5:16:43 PM
I am trying to create a x amount of new text fields, then display the text fields with a seperate incremented text variable. My trace comes out nice, but it does not work. Thanks a lot for any help. e = 40; j = 1; a = 5; login = 10; // var login is a input text field for (i=...more >>

Scrolling background
Posted by filmore at 1/14/2005 5:15:11 PM
Can someone tell me the actionscript code of a scrolling background when the right arrow is pressed and the left arrow is pressed?...more >>

external actions scrpit files question
Posted by yofof at 1/14/2005 4:41:25 PM
i've seen an exteranal action script file to be loaded to flash movie...can i store any action script in that file? even for buttons like: on(rollover){ this.gotoAndPlay("over") } on(rollout){ this.gotoAndPlay("out") } how can i load that script to movie? where to attach it? on...more >>

.flv streaming off a CD
Posted by backpages at 1/14/2005 4:14:17 PM
I used to build CDROM video applications in Flash using the 'loadMovieNum' action to load and play a large video (30mbs and up) in my main Flash movie. Using this method Flash would always have to load the entire video into memory before the video would start playing, causing a delay of 10 to...more >>

GoToAndPlay with variables
Posted by CPedrick at 1/14/2005 3:14:38 PM
I have a tutorial movie in which I want to allow the user to click a button to go to another scene ('Glossary'). This works just fine. Then, in the Glossary scene, I want a button to be able to return the user to the point they left off in the main scene (at the frame number that was current w...more >>

Load movie registration point
Posted by Dz(00) at 1/14/2005 2:57:57 PM
Is ther any way you can set the registration point of an mc ino which jpgs are loaded so that the images load to the centre of an mc instead of the usual top left - Thanks...more >>

Call function only on an odd number?
Posted by GladLock at 1/14/2005 2:40:45 PM
Right now I have a trigger that adds the number 1 to the variable _root.J2OnOffTrigger every time it is clicked. How do I make this if statement work only if the number is an odd number (not just the number 1)? else if (_root.J2OnOffTrigger == 1) { } ...more >>

Desperate.. Please help. Accordion class
Posted by ooba at 1/14/2005 1:58:29 PM
Here is the issue. I have create a swf (of course) that uses AS to load an Accordion on the stage. The Accordion reads in an xml file that when loaded a function loops over the xml file to instruct the accordion how many panes to create and what swf files to load into each of the panes. The pr...more >>

Loading external FLA into FLA
Posted by Matou at 1/14/2005 1:23:47 PM
I made a small FLA file using XML and it works! A simple slideShow. Now I want this FLA slideshow to load into a MC in my main FLA movie. No buttons.It should simply load. The user will then navigate inside this slideshow. Can someone get me rolling with Actionscript. I can't see'm to get the...more >>

how to automatically scale a graph
Posted by rlc5611 at 1/14/2005 1:22:46 PM
I know this is probably easy but I have been struggling with a way to automatically scale a graph for any data range (positive, negative, whole numbers, fractions, whatever. http://sierrabravocharlie.com/experimental/log_semilog_chart.fla or http://sierrabravocharlie.com/experimental/log_...more >>

Changing Title of Projector Window
Posted by jtruss82 at 1/14/2005 1:11:13 PM
I was wondering if there is a way to change the title of the projector window. If anyone knows of a quick, painless, and FREE way to do it, then I'm definately up for that. But the main thing I'm looking for is a way to do it without having to buy anything. ...more >>

Variables
Posted by Dz(00) at 1/14/2005 12:32:22 PM
Hello everyone - Does anyone know how to set up an .fla so that when a user clicks a button, the movie plays an animation, then jumps to specific frame label when the animation is complete (the frame label being pre-determined by the button) Do I use variables? Hope this makes sense - Than...more >>

loading variables - testing to see if they are loaded before moving on
Posted by eViewer Info at 1/14/2005 11:20:14 AM
Hello I am using this code to load variables: loadVariablesNum("flash.asp", 0, "GET"); This works ok most of the time. I think I may need to test to see if the variables are loaded before the movie plays. How do I change the above code to wait until t has all the variables loaded bef...more >>

Decimal Points in Variables
Posted by rustlefustled at 1/14/2005 10:13:57 AM
Hi Trying to add variable values together but Flash insists on rounding the figures up to 1 decimal point. Since I'm trying present the figures as prices I need them with 2 decimal places. Help. wheelcost2 = 169.93; seatcost = 15.50; bagcost=36.36; total = (wheelcost2 + seatcost ...more >>

Please help with 'unloadmovie'
Posted by IronFuzzyDuck at 1/14/2005 9:44:02 AM
is there a flash guru out there who can help me with the 'unloadmovie' action. basically i am a novice at this and would like some help so that when i press a button, an external SWF is loaded in and any other external SWFs are 'unloaded?' my current incorrect code is below: on (release...more >>

Minimise
Posted by sluap at 1/14/2005 8:20:18 AM
i have a presentation which will be a stand alone file etc etc and i wish for a button to minimize it is there and simple action script which willallow metodo this cheers SlUaP...more >>

Can I use ProgressBar singly without a loader component?
Posted by hongrui at 1/14/2005 6:28:45 AM
I have met an application that load a Movie Clip file to a scrollpane in my Flash.Because the Movie Clip file is too large,the load process costs a long time to do that.So I want to add a ProgressBar to the Flash to tell the user how much of the total is loaded now. But I studied the Progr...more >>

Can't clearInterval
Posted by milkhead at 1/14/2005 4:42:00 AM
Hi All. I have this code which are examples of functions I built for an interactive map. Scaling works but interval doesn't clear. Also I am trying to clearInterval when I press a button so it moves to the next zoom scale. Thanks in advance. //Set up variables that don't change var nSp...more >>

FTree (UI Components 2) problem
Posted by olace* at 1/14/2005 4:00:36 AM
I have my Ftree reading from an xml file that looks as such: <Lighting> <Low voltage lighting>http://url.com</Low_voltage_lighting> </Lighting> The problem with this is, the <Low voltage lighting> tag, you cant use spaces. To fix this and make the tree work, I replaced the spaces with under...more >>

convert encoded characters back to original form
Posted by jag57 at 1/14/2005 3:10:52 AM
All, I am using the XML class to read the contents of a database. I store the information into DescArray. The text description in DescArray has special characters in their encoded form (for example &amp; = &amp;amp; ). When I put DescArray into a dynamic text field the encoded charcter...more >>

What's wrong with this code?!
Posted by simsjr at 1/14/2005 3:04:34 AM
My PHP script works fine. It's my ActionScript that's giving me problems. Here's the code: on (release) { this.form.loadVariables('add_subscriber.php', 'POST'); this.gotoAndPlay('2'); } Now, when I comment out the gotoAndPlay line, I do get a successful database insert. How can I make ...more >>

getting info into a var from another var
Posted by dvsteve at 1/14/2005 2:59:04 AM
OK here we go... i am trying to send the info in the textinput box with a var called 'QuizTrack.percent_format'... I want to send it to a var named 'score'.... then i am sending the var 'score' to the mailform php... loadVariablesNum(mailform, 0); answer = confirm; name = ''; email = ''; man...more >>

Combobox: Selecting an Index by it's LABEL property
Posted by Tomdogggg at 1/14/2005 2:05:55 AM
Is there a more efficient way to do this??: var tempobj = flavorDataGrid.getSelectedItem(); if(tempobj.NATART=="NAT") { natArt.selectedIndex="1"; }else if(tempobj.NATART=="N/A") { natArt.selectedIndex="3"; }else if(tempobj.NATART=="ART") { natArt.selectedIndex="2"; }e...more >>

clip for a clip
Posted by confusedAgain at 1/14/2005 2:00:55 AM
Hello, I have button on movie that when pressed, I want a movie clip on the stage to be a replaced with a movie clip that is in the library. I will also have a few more buttons that will swap out the visible image on the state with others in the library. Im guessing I need to use the attac...more >>

Why I can't see the ProgressBar's moving?
Posted by hongrui at 1/14/2005 1:44:03 AM
I have tested the ProgressBar's working. I draged a ProgressBar component and a loader component to test this. Now they are working correctly. But I can't see the ProgressBar's moving? I thought it might be the small jpg file's reason to cause this,So I changed the file with a bigger one...more >>

Printing ActionScript
Posted by Phil Fountain at 1/14/2005 1:28:02 AM
I'm using Flash 2004 Pro and wish to print out all the code in the current fla. There must be an easy way of doing this but I can not find out in any of the help files or books. Thanks...more >>

curveTo(x,y,a,b); Finding point halfway down curve?
Posted by NSurveyor at 1/14/2005 12:42:51 AM
Hello, I just started making an Isometric checkers game. So far, I can make the isometric board, but I am having trouble making the pieces. I am using curveTo to draw the checker piece. However, I wanted to make it look real, by adding some height. So, I drew two circles that were 10 pixel...more >>

trouble getting if and else if working.... please help
Posted by eViewer Info at 1/14/2005 12:24:58 AM
Hello I am trying to run a series of if statements to determine the value of a varaible and then to respond according. Here is the code: myexamp = new Color(_root.examp); if (Text="A1") { myexamp.setRGB(0x999999); } else if (Text="A2") { myexamp.setRGB(0xCCCCCC); } else if (Text="A3...more >>


DevelopmentNow Blog