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 > april 2004 > threads for tuesday april 6

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

Master movie and external swf files...
Posted by teresa_hamilton at 4/6/2004 11:37:49 PM
I've looked in books and on websites and everywhere else I can think of for this and cannot find it, but I'm sure it can be done! What I want to do is have a master move that dynamically loads x amount of other .swf files and plays them one at a time. I'm getting the names of the ..swf fi...more >>


Using fscommand & keep stage res 640x480
Posted by waveturtle at 4/6/2004 11:01:55 PM
I'm making an enhanced CD for a band and I'd like to make a projector that opens full screen, but the content screen stays 640x480. Basically I want the content screen to stay the same size regardless of monitor resolution, and be over a black fullscreen. Any ideas? Thank you Rob ...more >>

Dynamically attaching buttons
Posted by Dinghus at 4/6/2004 10:07:18 PM
Okay, I'm beating my head against the monitor screen. This is probably easy but for some reason I can't do it. I'm trying to just make square buttons with the letters of the alphabet on them. Dynamically. So I created the square button blank. Named it myBtn. Now I am trying to get i...more >>

Dynamically Loaded Text?
Posted by JND1993 at 4/6/2004 9:39:04 PM
Hi, Thanks so much for any help. I am trying to make a dynamically loaded text box with flash MX from a tutorial I found on Kirup' website and all goes well until I try to paste the text into the action script box. Then I get a message saying "The actions on the clip board contain erro...more >>

Narration and Screens
Posted by rjh at 4/6/2004 9:23:57 PM
I am adding an external mp3 as a narration for each screen of a presentation. There is an obvious delay as a screen is revealed as the external mp3 starts to stream. Is there a way to simultaneously begin loading each of the mp3 once the presentation begins with the goal being no delays ...more >>

button to close browser
Posted by Greg_123 at 4/6/2004 9:23:10 PM
can anyone help me with the actionscript nexessary for a button that closes both the movie and the broswer window that it is running in? Also, is this different to the actionscript that would be needed to close the movie from the player if it is not running through a browser? ....confused!...more >>

Inbed fonts?
Posted by ... James Smith at 4/6/2004 8:56:06 PM
How do i in flash mx ? I have a couple of fonts i need for a site that i have downloaded but i dont know how to inbed fonts so they wont be of use? Please Help Thanks in advance ...more >>

Assigning a key to a button
Posted by dthompsonbk at 4/6/2004 8:14:51 PM
I have used flash 5 in the past where it was easy to assign a key to a button but I can't seem to find this in MX Pro? I want to be able to press a key on the keyboard and have it effect the button as if my mouse had selected it on the stage. Please help. ...more >>



can't close the window component
Posted by Mark.P. at 4/6/2004 7:47:37 PM
can anyone tell me what's wrong with this code? It opens the windows fine but won't close it. // open new window for charts openWinListener = new Object(); openWinListener.change = function(eventObject) { newWindow = mx.managers.PopUpManager.createPopUp(_root, mx.containers.Wind...more >>

I need some advice on FLV playback in mx pro
Posted by djsimpa at 4/6/2004 7:46:15 PM
Here is what I have so far. [L=Site in Question]http://www.quiltcut.com/45e01_typ.html[/L] This code came from a tech note on playing back an external FLV dynamicaly. // Create a NetConnection object: var netConn:NetConnection = new NetConnection(); //Create a local streaming connec...more >>

Math form works in one place, not another
Posted by kellyrambow at 4/6/2004 6:58:25 PM
I have a small calculation form that I want to put inside of a movie clip off the main timeframe of my site. This script works in a separate flash file, but when I use the same field name & script code within my main movie, it no longer works. here is my code: loan = 0; rate = 0; ...more >>

drag and drop not working from a loadmovie
Posted by gwana at 4/6/2004 6:53:18 PM
I spent the past two days trying to get this to work. I created a drag and drop ..swf that works fine on its own, but when trying to call it into the main swf movie, the interaction doesn't work. here is the code i'm using for the drag n drop feature: on (press) { startDrag(this, true); ...more >>

flash XML object
Posted by Ed Massey at 4/6/2004 6:41:51 PM
My current client's project is populated from a 12k xml file. If I write: [code] nodePath = myXMLObject.childNodes[4].firstChild; [/code] Does flash player store all the data in "myXMLObject.childNodes[4].firstChild" twice (once in myXMLObject and again in nodePath), or is nodePath lik...more >>

Posting to a page
Posted by letmethrough23 at 4/6/2004 6:27:44 PM
Hi, im looking to just post to a page. for example getURL("http://somepage.com/testpage.asp?id=1234"); my testpage.asp will read in the id and do the rest. The code above works, but it will launch a new window, which is something i cannot have. Is there anyway I can hit this page silently....more >>

ATM design?
Posted by KKirwan at 4/6/2004 6:18:35 PM
Can anybody direct me to a tutorial or a book that will walk me through the creation of a flash ATM-type movie? I know ATM kiosk stuff is usually doe in Director, but for many reasons we need to build one in Flash mx2004 using XML. The movie will have a keypad on the bottom to pass selectio...more >>

Dynamic text Alignment
Posted by Jaggu Joshi at 4/6/2004 6:10:06 PM
Hi All, I have Dynamic text field where i am using scroll bar to that field. I would like to align justifiy that Dynamic Text. If i set properties justification in editor mode it displays justify but in swf file it doesn't display I have checked in Macromedia site their solution is like th...more >>

Looping through LoadVar?
Posted by chrism59 at 4/6/2004 5:57:30 PM
I load a variable with fields names h1-h27. I would like to test the variables in a loop. The code I use is: for (lp:Number= 1, lp<28, ++lp){ if (hsNetData.h+lp = true){ code } } This does not work. Help please. I nned to check the value of each variable and take action based on the...more >>

How to drag one end of a hose: nozzle must follow the mouse
Posted by Ellen Meiselman at 4/6/2004 5:53:29 PM
Is it possible to make one end of a path follow the mouse, while holding the rest of the path fixed? I want to create the hose of a fire extinguisher: you would grab the nozzle and drag it around the screen to aim it at the fire. I would like the hose to gracefully follow the mouse motion while ...more >>

Movie clips keep changing spatial relationship
Posted by Aaron at 4/6/2004 5:49:05 PM
I have a flash movie where movie clips are created at runtime from library movie clips (which contain images). They are all lined up next to one another, and scroll left/right depending on the position of the mouse. Also, upon reaching either edge (in the x-direction), each item returns ...more >>

Actionscript and ALT+TAB
Posted by bobalien at 4/6/2004 5:29:52 PM
Ok, I am not one to typically post to message boards, but this has been driving me CRAZY forever, and I want to mount a full-forced attack on Macromedia to get them to change this (non-violent of course) - Whenever I'm working in an Actionscript window and using another app at the same tim...more >>

Display Object Property in dynamic text box?
Posted by Maverick_01 at 4/6/2004 4:58:26 PM
How do I take an object and display its properties in a text box, because simply giving the text box the variable of "item1.avail" didn't seem to work. ...more >>

help with contact form
Posted by lgambo at 4/6/2004 4:48:54 PM
I am new at flash and I am trying to have users fill out an online form with their name, phone, etc. How do I make the fields for them to fill out, and then how do I get the information to be sent to a specific email address? Any help on this would be greatly appreciated. Thanks. ...more >>

Quality of external SWF
Posted by BentleyGuy at 4/6/2004 4:08:57 PM
I have a SWF file that contains some buttons. They load and play external SWFs when clicked. The problem I have is that the quality of the external SWFs is lousy. I get ghosting artifacts when played back this way. Here's what I don't understand: the external SWFs played back by themselves i...more >>

Linking to a loaded swf
Posted by gungus at 4/6/2004 3:48:32 PM
Hi, Does anyone know if there's a way to target (link to) a loaded swf inside a flash movie from an outside html page? Basically, I have a flash movie that loads individual swfs, say A, B, & C. What I am trying to figure out is, how do I link to A, B or C from an outside webpage. Can i...more >>

[BUG?] What happens when a clip is loaded?
Posted by lingoingo at 4/6/2004 3:47:23 PM
I have a problem with a prototype-exectution on a load event. onClipEvent(load){ // look if the clip inside the loaded clip exists // > load it! if (!this.hallen_mc){ this.loadMovie(_global.fair + ".swf"); }else{ this._x = _parent.backarea_mc._x-1; this._y = _parent.backare...more >>

Save System???
Posted by Heros_Darkness at 4/6/2004 3:43:11 PM
I am makeing a game for my website and I wanted to make a save system for it. Anyone got any ideas. I'll be highly gratefull for anything. The person who creates the save system to help me will be included in the credits for their help and I will happily make a link to your website from myne ...more >>

growing mc help please
Posted by loudmouth72 at 4/6/2004 3:21:09 PM
I want to grow a mc._xscale and mc_yscale to 110 and then when it gets to 110 start shrinking to 100 again and then start the process over again. I get it to grow to the scale of 110 then when it starts to shrink it goes to 109 then back up to 110 and so on..... i had two functions -- a gro...more >>

Media display component
Posted by cgmanager at 4/6/2004 3:01:48 PM
I'm not sure if i can do this. i'm a newbie when it comes to flash. What I would like to do is use FlashVars to pass the name of the .flv file to the SWF file MedaDisplay component. Can this be done. My overall goal is to have 1 Movie html page that will get called when someone clicks ...more >>

controlling audio in slides
Posted by ScooterSunTech3 at 4/6/2004 2:43:48 PM
I set up a presentation using slide screens in Flash 2k4 Pro with narration audio. I have several slides that have children and each child loads its own audio file by streaming an external MP3 file. The problem I run into is when the user hits the left arrow key or clicks the on-screen ba...more >>

paths & buttons
Posted by bonitamadrid at 4/6/2004 2:31:38 PM
Hi , I have read the previous threads regarding relative and absolute pathing and I've managed to make my buttons work in the main movie. However I have a problem. In my main movie, I have 2 different mc. One is calling to the buttons.swf: _root.createEmptyMovieClip("buttonsmc", 3); loa...more >>

Avoiding SandBox violation error
Posted by daniele at 4/6/2004 1:32:57 PM
Hello everybody I'm testing my small swf tree menu, that gets data from an XML contained into an external domain. The problem is that using MSIE + Flash Player 7 I don't have any problem, using MSIE + Flash Player 6 I got the security sandbox error. I could not understand why... I also...more >>

LOADING EXTERNAL SWF INTO A MOVIE USING PRELOADER
Posted by locika at 4/6/2004 1:30:11 PM
HY! COULD ANYONE PLEASE SHOW ME A GOOD TUTORIAL ON HOW TO LOAD AN EXTERNAL SWF INTO AN MC USING THE PRELOADER STUFF? THANXXX...more >>

Flash Line Chart
Posted by Ashish123 at 4/6/2004 1:28:10 PM
Hi ... I am using flash mx 2004 and finding difficulty in generating line chart through an XML line using Line Chart Component As far as one line is concerned its good but what if I have to create 2-3 lines or more than that with different colors and makers on the line. I did all the r&d...more >>

background resize - foreground fixed?
Posted by shooxou at 4/6/2004 12:37:36 PM
can anyone tell me how to have a background swf that resizes to fill the browser but the swf on top stays a fixed size? many thanks in advance... i'm desperate!...more >>

Non Repeating Random
Posted by evilpixel at 4/6/2004 11:28:32 AM
Say if I wanted to make a quiz where I have questions in an Array and as you click they randomly appear into the question window, and say I have 10 questions I would use this code: on (release) { question = questions[Math.round(Math.random()*9)]; } This does work fine, but I want to...more >>

More varaibles naming variables
Posted by Maverick_01 at 4/6/2004 11:25:07 AM
Okay. I have been working on this for some time now, and my head is starting to hurt. I have a six item list of information in an array. I also have a varying amount of arrays just like that depending on information I draw from a data source. Basically, what I need to do, is parse the array,...more >>

Anyone know how to speak to javascript from .swf?
Posted by Will - BE Creative at 4/6/2004 11:16:38 AM
I am trying to find a way to communicate with some javascript on a web page so that I can use a flash button in the same way as a (for e.g.) .gif button. The only example I can find for something similar is to open a pop up window using getURL and I can't modify this for what I need to do. ...more >>

flash arrays
Posted by web geek at 4/6/2004 10:57:35 AM
Hi I have an array of 12 user profiles. I want to be able to display 10 on screen at a time, e.g. profiles 1 to 10, then I want to have a next button which would then display profiles 2 to 11, so it increments 1 at a time. The previous button would work in the same manner. Does anyone know an ...more >>

help with Goto
Posted by flash-man at 4/6/2004 10:52:27 AM
I've done this (in flash mx 2004): ~button~ on(release) { gotoandplay("1",355) } Now when I release my press on the button it does go to scene 1, but to frame 1!....How can I make it go to the correct frame? ...more >>

Html Frame controll!
Posted by danieldmm at 4/6/2004 9:38:37 AM
I have a HTM file with three frames named 'top' 'mid' and 'bottom' my swf file is in the mid frame, how can i controll my frames say if i just want my button frame to change. I have used getURL("bottom2.htm", "_bottom") but i just get bottom2.htm in a new window instead of updating my bottom ...more >>

calculation problemzzzz helpppppppppp
Posted by hedgehog123 at 4/6/2004 9:04:05 AM
hi, i'm having problems with some really basic calculations, i dont know whether it's a bug w/ flash, or if there's something wrong with my script.. the scenerio is like this, i have some buttons for the users to click on the following items: 0.01, 0.05, 0.10, 0.25, 1.00, 2.00, 5.00, 10....more >>

simple question with jpg's
Posted by geut at 4/6/2004 7:37:36 AM
Hi, If, for example, i want to put some 6 jpg's in a movie, each having a 50px/50px size, do i need to shrink them in an external photoEditor and then import them in the library, or import them as they are (1000px/1000px) and then shrink them in the stage. I want to know which method...more >>

attachMovie call...
Posted by etg7 at 4/6/2004 7:05:33 AM
Hi, i was wondering if it were possible to attach a movieclip if it isn't exported...in fact, it's imported from an external .swf thanks etg...more >>

create movieclip at runtime & attach to scrollpane
Posted by Alinardo at 4/6/2004 7:02:17 AM
hi all, i've been trying to get a list of items in a simple xml file to translate into a series of buttons. i've accomplished this much by just itterating through the xml file. now my problem is I want to put the series of buttons i've created (actually movieclips acting as buttons) i...more >>

Movie loading 2 text files at same time
Posted by Scott Horvath at 4/6/2004 6:41:37 AM
I've got two text separate text fields in a flash based menu. When you = click Option 1, it loads an HTML file. When you click Option 2, it loads = the Option 1 HTML file and then the Option 2 HTML file. It displays the = correct file, but it's loading the other HTML file first. Both are = loadi...more >>

Load a swf in and play it from a specific label
Posted by searching... at 4/6/2004 6:39:33 AM
Can someone help me on this please? How do I load a swf (home.swf, level 3) and play it at a specific label (end)? Thank you! ...more >>

Please help me perfect my picture album!
Posted by Liraz at 4/6/2004 5:07:07 AM
This is the timeline actionscript, w = 550/2; h = 400/2; _root.imgLoad = 0; this.createEmptyMovieClip("album", 1); function loadJPG(pic) { album.loadMovie("pictures/arch/yr1/A-"+imgLoad+".jpg"); this.onEnterFrame = function() { if (album._width>0) { // empty movieclip has ...more >>

Date Minus Date ????
Posted by siapat4u at 4/6/2004 5:05:59 AM
How to calculate date ? date1 = 13 May 2004 date2 = 6 April 2004 date1 - date2 = 35 days how in actionscript ??? ...more >>

toggle switch requires 2 presses to begin toggle
Posted by complexity at 4/6/2004 4:39:18 AM
Hi all I have this toggle switch alternating my true false attribute. My problem is that I have to click the button twice for the toggle to start functioning. Once I have clicked it twice it works fine! Here is what I have. // _root timeline frame 1 var MYwindowMode = "true"; fscommand...more >>

unloadMovie: request sent to server - when?
Posted by philipcw at 4/6/2004 4:29:45 AM
unloadMovie / removeMovieClip: When do they send requests to the server? I posted this almost a year ago. but I still need the answers. Any help thanks. --------------------------------------------------------------- What movieclip events cause a request to a server? unloadMovie on a l...more >>

fscommand to launch programs from hard drive
Posted by The Law at 4/6/2004 3:50:12 AM
Using this code in flash mx pro. Trying to create a projector file that I can run on my machine to lauch programs. Want to eventually build my own program launcher to replace windows interface. on (press){ fscommand("exec", "C:\Program Files\Internet Explorer\IEXPLORE.EXE"); } Thi...more >>

fscommand to launch programs from hard drive
Posted by The Law at 4/6/2004 3:50:04 AM
Using this code in flash mx pro. Trying to create a projector file that I can run on my machine to lauch programs. Want to eventually build my own program launcher to replace windows interface. on (press){ fscommand("exec", "C:\Program Files\Internet Explorer\IEXPLORE.EXE"); } Thi...more >>

drop down Menus
Posted by Neil Smith at 4/6/2004 3:14:58 AM
Dear All, trying to implement a drop down menu system I have hit problems. The general scheme is that I have a button(1). When the 'down' state is activated a movie clip is played. When this clip is played a menu is visible. Each item is a button. While the buttons work on the stage when this mo...more >>

receiving xml in asp-Page over XML.sendAndLoad()
Posted by google NO[at]SPAM kuli24.de at 4/6/2004 1:18:23 AM
Hi there, im having a big problem in my asp-application. My Flash-Movie has a XML-Class, which has two properties, username and passwort, just like in the Flash-Tutorial: on (release){ //A.Construct an XML document with a LOGIN element loginXML =new XML(); loginElement =loginXML.createEle...more >>

variable controlling target
Posted by paul pheonix at 4/6/2004 12:55:00 AM
ok I have a button that when pressed changes the frame of another movie/ However I want to control this by a variable. for example... on (release){ if (variable == "one"){ _root.movie.gotoAndStop("one"); } if (variable == "two"){ _root.movie.gotoAndStop("two"); } if (varia...more >>


DevelopmentNow Blog