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 > march 2007 > threads for friday march 23

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

how to save bandwidth on loadMovie
Posted by nehcdet at 3/23/2007 10:46:17 PM
I have written a slide show flash app. On the app, there're 100 viewable movieclips on a scrollpane to load 100 slides. I have one swf that has 100 frames with 1 slide on each frame. The app will load this swf and load 1 frame onto 1 movie clip. My question is 1. is there anyway t...more >>


HTML buttons to navigate a swf
Posted by JenMQui at 3/23/2007 9:12:21 PM
Hello! I have a swf that loads other swfs into a level based on a release. Works great. I also have a secondary navigation in HTML and need this to tell the initiate swf which swf to load into the set level on button press. I've looked over some code and can't seem to get it working. ? Tha...more >>

Zoom Mc and symbol
Posted by Jomathr at 3/23/2007 8:52:00 PM
What I need to know for know is how to zoom a symbol by about 250%. What I am not sure about is that sybol will have buttons on it and they need, of course, to work. I suppose I have to insert the buttons in the symbol for it to work and not put them on the symbol in the main scene. To giv...more >>

Flash/XML
Posted by Not Until Now at 3/23/2007 7:38:08 PM
I hope someone here can help me with this. I've really exhausted my capabilities to figure this out. I'm trying to delve into the world of Flash/XML and the horrible mess they make together for me This is my XML: Code: <?xml version="1.0 envoding="IS0-8859-1"?> <events> ...more >>

Asfunction/Dynamic Text Fields/ KGLAD!
Posted by SM6601 at 3/23/2007 7:22:03 PM
KGlad, I tried the following script and it doesn't work. Do you see an error in my ways? Beat_Poets.htmlText = "THE LION ROARS By William Perkins Michael McClure's roar was first heard amidst the roars of several literary lions- Allen Ginsberg, Gary Snyder, Kenneth Rexroth on October 12, ...more >>

simple sort routine for a text field
Posted by chopTheWood at 3/23/2007 6:44:01 PM
Does anyone have an example script that will take the contents of a dynamic text field and sort it? Such as: one two three four ----will become: four one three two lines are separated by line breaks thanks ...more >>

XML?
Posted by Becksi at 3/23/2007 6:31:10 PM
Ok im not sure if this i possible but hopefully it is and someone can very kindly tell me how to do it i want to make a kind of e-card where the user types in an artists name into a form. i want then to take the name of the artist and serach for a song by that artist and bring that s...more >>

PopUpManager.createPopUp
Posted by capitalino at 3/23/2007 6:10:10 PM
I created a window and loaded a Movie Clip (PopUpContent) on it. var my_win:MovieClip = PopUpManager.createPopUp(this, Window, true, {closeButton:true}); my_win.contentPath = "PopUpContent"; my_win.setSize(400, 450); my_win.move(124, 133); my_win.title = "Window Title"; I have a bu...more >>



load content (jpg, swf, etc) but not onto stage
Posted by DZ-015 at 3/23/2007 5:48:14 PM
I'm familiar with the typical syntax to load a piece of external content into a movie clip... but is there a way to load an external clip to somewhere off stage so you can use it later? For instance - load a JPG so it becomes an asset with a linkage ID? thanks! ...more >>

Letter Sequence Code Needed
Posted by bcounts at 3/23/2007 5:28:54 PM
I am trying to create an advanced admin login system! I need a code that will play a frame called "p1" in a movie called "login" when a sequence of letters is typed blindly spelling out the word "admin". Can someone write me a code - I am not sure how to do the sequence thing. Example:...more >>

Reading File Modification Date
Posted by Gib Sllab at 3/23/2007 5:25:23 PM
In Flash 8 I know there is the FileReference class but it seems to be geared around uploading files. Is there a way to just read an existing local files modification date? I am building an executable that loads a .swf file, and the ..exe just needs to know if the file has been updated. It will...more >>

Back Button Script- KGLAD
Posted by SM6601 at 3/23/2007 4:48:55 PM
KGlad, I appreciate all of your advice as well as from others. I've only been using Flash for about a 6 weeks and I'm quite the newbie. Can you or anyone please give a variable script that I can use for a back button. http://www.avistarmedia.com/mcclure.html That will be my lasy technical is...more >>

run a actionscript in another movieclip.
Posted by Michealnl at 3/23/2007 3:47:45 PM
Hello, I was wondering if it possible to run a acionscript function in a movieclip. On my main timeline i would like to run this function. But this function is on the first keyframe of a movieclip that is on the stage. I am trying to do some test, but i don't know how i can run it. ...more >>

Movie clip action script help
Posted by fizzfozz at 3/23/2007 3:47:16 PM
Hi, This is either going to be a really easy question or something that I am just going about in the wrong way. I have a movie clip on a timeline. I've stopped the main timeline at the point that I pull in the movie clip which then plays while the rest of the timeline stays put. How do I...more >>

Regarding Flash, XML and VBScript
Posted by essaeyu at 3/23/2007 3:46:50 PM
Hi, I am trying to create an application which can be downloaded by the intended audience on their machines. The application consists of a Flash client and an XML file. The flash client loads the data from the XML file and the user can update the data and store it back in the XML file. In ...more >>

playing movie clips in specific layers
Posted by GregConnTelevirtual at 3/23/2007 3:32:32 PM
I'm loading a movieclip (a jpg) into my SWF but i'd like to specify the layer it goes to as i have buttons in my SWF that i'd like to be active whilst the movieclip is playing. My code is _root.createEmptyMovieClip("box",1); _root.box.createEmptyMovieClip("pic_mc",2); _root...more >>

can flash store files within itself?
Posted by GregConnTelevirtual at 3/23/2007 3:27:25 PM
Hi i have an SWF which plays mp3s from a remote server. The mp3s are generated by the server and updated on an irregular basis. What I'd like the SWF to do is play the mp3 from the server only when the mp3 is new i.e. not updated. I've made a text file with a timecode in it, when the mp3 is...more >>

WebService Error Handling
Posted by RandalJ99 at 3/23/2007 2:59:25 PM
Hi, I'm calling a webservice that will occasionally throw an HTTP500 error when you call it. When this happens if I'm running in debug I get the "Error opening URL "http:\\... " Is there a way that I can trap this error? Obviously fixing the webservice would be the best scenario ...more >>

underdefined variable
Posted by havoc73 at 3/23/2007 3:24:49 AM
I have a flash movie that uses a variable that is passed in on the querystring. It's added like this: <object type="application/x-shockwave-flash" data="flash/header10.swf?var=value" width="920" height="104"> This works fine. However on the same page I have this: <object type="applic...more >>

how to rotate a field of CreateTextfield?
Posted by Ping Cheung at 3/23/2007 3:09:02 AM
createTextField("yLegend", this.getNextHighestDepth(), 5, 80, 80, 30); yLegend.multiline = false; yLegend.wordWrap = false; yLegend.border = false; yLegend.text = "Percentage"; yLegend.setTextFormat(myformat); Displays correctly. If it is rotated, the text message disappear??? ...more >>

Movie Scale Problem
Posted by bcounts at 3/23/2007 2:43:05 AM
I am using a code that will center my "mainsite" movie clip and keep it centered even on resize. However becuase it centers it when the browser window is scaled smaller than the MovieClip / SWF (800x650) it continues to center the clip and cuts off the top/bottom and left/right and does not en...more >>

Back button Script
Posted by SM6601 at 3/23/2007 1:10:57 AM
Still looking for a script for a back button that will take the user back to where the previous button was clicked. I've had a suggestion that used a variable but I haven't got a solution yet. ...more >>

Asfunction/Hypertext/Dynamic Text Fields
Posted by SM6601 at 3/23/2007 1:04:05 AM
I have th e following code to create a hypertext link to another frame label w/in a dynamic text field. I'm pretty sure it will work, but I don't know where to implement the code. If I put it in the dynamic text field's actions layer it wipes out my other text in the field but gives me a worki...more >>

button change color on select, then change back
Posted by redsox05 at 3/23/2007 12:27:04 AM
I have 3 buttons, named but,but2,but3. What I want is if you click a button it changes color to show what page your on. But when you click a different button now that one is highlighted and the original one goes back to the original color. Here's the code. but3.onPress = function () { _roo...more >>

this[ ]
Posted by BobAchgill at 3/23/2007 12:00:00 AM
Why is the output on the last line of these traces not the same as the next to last line of output? trace("countLang2Next = " + countLang2Next) // output: countLang2Next = 2 trace("Menu_Lang2.Lang2_" + countLang2Next) // output: Menu_Lang2.Lang2_2 ...more >>

Key_Listener.onKeyDown dependa on loadMovieNum() ?
Posted by aa at 3/23/2007 12:00:00 AM
My SWF has Key_Listener.onKeyDown On "M" it callas function which toggles between mouse.show and mouse.hide On "R" it reloads itself using loadMovieNum("filename",0) It works fine except after reloading, every press of M causes the toggling function to be called two times. Another reload ...more >>

Trouble getting _x position
Posted by LeeBert at 3/23/2007 12:00:00 AM
Hi all Just trying to create a box in actionscript into an empty movieclip. I then wanted to reurn the _x postion of the box, but it's just not happening for me. Here is my code. Any ideas? Cheers all Stage.scaleMode = "scale"; ////Create a box to encapsulate the loader indicator...more >>

Numbers Convert
Posted by bcounts at 3/23/2007 12:00:00 AM
I had a code written for me where the person has 10000 equaling 10 seconds. I am having a mental lapse and can not figure out what number would equal 30 minutes. Please Help! Thanks In Advance!...more >>

gotoSlide() does not work (at all?)
Posted by Hasenstein at 3/23/2007 12:00:00 AM
I've searched everywhere but the only thing I found was other peoples questions about gotoSlide() issues and almost never an answer! Are there so few people using slide based presentations in Flash? I have a slide setup like this: presentation title mediacontrols sl...more >>


DevelopmentNow Blog