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 > may 2004 > threads for monday may 24

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

repeat loop
Posted by qberttt at 5/24/2004 11:11:38 PM
Very new (today) to flash and action scripting... Experienced lingo programmer and what I want to do in flash is to loop over a frame for say 10 seconds and then advance without a user action. I have looked for an action to attach to the sprite within a frame but not seeing the obvious I gu...more >>


openoffice swf
Posted by jameslyon at 5/24/2004 10:28:28 PM
I'm creating an app to dynamically load slideshows exported from openoffice (as swf's). But when I try tracing the _currentframe of a slideshow, it returns undefined. Also... I created a forward button but it only works when I forward the frame of the movieclip I loaded the swf into... ...more >>

loadMovie() & onRollOver question
Posted by CyberFred at 5/24/2004 10:10:40 PM
Hi, I've got an external swf which contains a shape: lineStyle(10, 0x000000, 100); lineTo(100,100); In my main swf file I then load this shape: _root.createEmptyMovieClip("test",1); with (test) { loadMovie("shape.swf"); } The shape loads into the parent swf OK, and I can ...more >>

Controlling Sound with Actionscript
Posted by Loopkit Pro v1.0 at 5/24/2004 8:41:44 PM
So I developed this eLearning module in Flash. I have a button that on (release) { gotoAndPlay("frame60 "); } on (release) { what_number = Number(random(11))+2 ; tellTarget ("/random_number3") { gotoAndStop(/:what_n umber); } } At frame60, I have an MC named random_numb...more >>

Button Symbol defined as instance1
Posted by BobK101060 at 5/24/2004 8:21:06 PM
I have dragged a text tool onto an empty stage. I gave it an instance name of myLabel. I proceeded to create a button symbol of this object. I openned a new Flash document and dragged the symbol onto the stage. I gave this object an instance name of myLabelSymbol. When I am in test mode and I ...more >>

button instance into array
Posted by DarkRide at 5/24/2004 8:11:57 PM
I am trying to push a button instance into an array with a string, and then I want to be able to display the button with the string. Can this be done? On the display page, all the data is dynamic and random, so I can't just hide the buttons and then show them when I need them, since their po...more >>

linking two .swf files
Posted by PeaceKeeper at 5/24/2004 7:09:34 PM
how can i link to another flash movie form one flash movie? i am working on psychometric stats project, and I want to save the state of the graphs (which are made so that they are draggable) while they link to another swf file. any sugggestions would be highly appreciated.PEACE ...more >>

Modifying Components in MX 2004??
Posted by JAXIMFLASH at 5/24/2004 6:49:24 PM
In MX 2004 (and/or professional), Is there any way to get a copy of the code of a component, make modifications, then recompile the code so you can use your modified component? ...more >>



TextArea UI Component question
Posted by FarkingIsehole at 5/24/2004 6:34:42 PM
this is an example of my actionscript: this.contactForm.submitBtn.onRelease = function() { if (contactForm.userName.text == "" || contactForm.userEmail.text == "" || contactForm.userComments.text == "") { gotoAndStop ("error"); } else { gotoAndStop ("correct"); } } ....more >>

problem with _x _y in function
Posted by Mike7222 at 5/24/2004 6:17:17 PM
Hello, I am attaching a movie and assigning the _x and _y position of that move. The following code works without any problems: this.attachMovie("apple","apple1",1); apple1._x = 350; apple1._y = 350; -------------------------------------------------------- I am trying to create ...more >>

problem with _x _y in function
Posted by Mike7222 at 5/24/2004 6:16:50 PM
Hello, I am attaching a movie and assigning the _x and _y position of that move. The following code works without any problems: this.attachMovie("apple","apple1",1); apple1._x = 350; apple1._y = 350; -------------------------------------------------------- I am trying to create ...more >>

loadVariablesNum
Posted by Cristiano Venturella at 5/24/2004 4:31:27 PM
My problem: i need to load an external file an put that values into a dinamic text field. The "loadVariablesNum("file.txt", 0);" is inside a movieClip and the "dinamic text" field is outside it. How can i resolve it? thanks ...more >>

Control volume with buttons?
Posted by websights at 5/24/2004 3:55:53 PM
How can I use buttons to control the volume level? http://www.geocities.com/thediveband/mediaplayer.htm...more >>

calling multiple functions
Posted by grover970 at 5/24/2004 3:32:49 PM
I am trying to call multiple functions based on a mouse event. this works fine if I only have one fuction to call: movieInstance.onRollOver = myFunction; I tried to seperate them with a comma but that doesn't seem to do the trick. i.e: movieInstance.onRollOver = myFunctionOne, myFuncti...more >>

Invisible button to hide popup dropdown problem
Posted by Karen535 at 5/24/2004 3:16:43 PM
Any idea why in the .swf my popup buttons that have the dropdown menus don't hide when I roll off them? They stay open if I quickly roll to the one that is right next to it. I made invisible buttons and placed them around the "open" state of the menu. I have a script: on (rollOver) { got...more >>

Accordion roll-over action-not click
Posted by elzabozo at 5/24/2004 3:09:51 PM
Is there any way to make the accordion open and close with roll-overs instead of clicking?...more >>

Sound not playing
Posted by PJ Hodges at 5/24/2004 3:02:24 PM
Hello I have a base swf that loads various other swfs into it. In the base swf I have some sound files which are played using the sound object to attach them. They work fine. The swfs that are loaded into the base swf also use the sound object to attach and play sounds. These also work...more >>

bracket notation or variable value
Posted by iaustin at 5/24/2004 2:53:24 PM
I've run across a rather peculiar bit of code. Notice the "Menus[CurrentMenu]" on the third line, this is the first time anywhere in the code that text/word "CurrentMenu" appear. It's not initialized anywhere and it is not a instance --mc, frame label name of variable of anykind. When a...more >>

preload problem.
Posted by ward - calculating infinity at 5/24/2004 2:39:38 PM
Hi, I seem to have some troubles preloading some images. The imagepaths come from a xml file (but that doesnt really matter here) I already figured out that an MC looses its capability to onEnterFrame when you load a movie in it (loadMovie). The problem is that he only preloads the last im...more >>

Button behavior for dropdown menu
Posted by Karen535 at 5/24/2004 2:28:57 PM
I have a pop up navigation menu MovieClip. The buttons are all Actionscripted in the movie clip to go to the main script Frame Label: on (press) { _root.gotoAndPlay("Service"); } This works, but in the .swf, if I click on the same button more than once consecutively, it goes to the nex...more >>

connect to a database
Posted by ermelir at 5/24/2004 2:05:44 PM
hello forum, I search the easyest way to connect to a database. My software need to connect to a online database (probably sql server) in the online version and offlines versions will probably ask an access database copy from a cd-rom. I don't want to manage 2 really diff?rents ways to...more >>

Start drag to a certain area then skip scene
Posted by Rob_jones732000 at 5/24/2004 1:55:37 PM
I currently have this actionscript on these items (thanks kglad): Slider: on (press) { this.startDrag(0, 280, 0, 280, _root.fjacket._height-this._height); _root.playI = setInterval(_root.playF, 70, _root.fjacket, this); } on (release) { this.stopDrag(); clearI...more >>

loop sound problem
Posted by nardove at 5/24/2004 1:41:01 PM
hi, i have this code on a frame mySound = new Sound(); mySound.loadSound("musica/TheFrenchQuarter.mp3", true); mySound.start(0, 99); the problem is that it won't loop, it justo stop when the music finish any hint will be usefull thanks! ...more >>

LoadMovie problem (am i crazy ????)
Posted by [BT]sub0 at 5/24/2004 1:33:47 PM
Hi, I've got two problem with the loadMovie function. First, i try to load a dynamic jpg in a movie clip, so i put this code in my fist frame : createEmptyMovieClip("imageLoader", 1); _root["imageLoader"].loadMovie("http://www.plasticboards.com/images/sandbox.jpg" ); and i h...more >>

Sounds on start drag
Posted by Rob_jones732000 at 5/24/2004 1:20:40 PM
Can you add sound to a movieclip but only when its dragged?...more >>

forms - 'visible' or '_visible'?
Posted by B!L at 5/24/2004 1:05:25 PM
just upgraded to MX2004 and getting into the delights of Actionscript 2, specifically screens, forms et al. I'm a tad confused that while a MC has the '_visible' property, forms appear to use 'visible'. Is there a reason for them both to be different? similarly, I have noticed that in th...more >>

XML with Projector(.exe)
Posted by flashdunyasi at 5/24/2004 11:49:34 AM
Hi everyone, i am developing flash games for a respective company in my country. I am in trouble. I have a problem about using XML in my games. I am storing my data on XML file and i am arranging them to arrays dynamicley. If i use swf file everything is ok! But when i generate a projecto...more >>

Pong - Sound confusion
Posted by Anth2003 at 5/24/2004 11:32:20 AM
hey all.... My little pong game is coming along and I am now having trouble getting the bats and ball collisions to make any sound. if(ball.hittest(bat1)){ [play ball_hit1.wav here]; [all the other collision stuff here]; } In the case above, if my sound file is called ball_hit1.w...more >>

_global.ASSetPropFlags(obj, "addEventListener",1)?
Posted by component123 at 5/24/2004 10:47:28 AM
I just examined the mx.controls.listclasses.DataProvider class(Flash MX 2004 pro), but I counldn't understand the following code in Initialize() method, so is there anybody got an explanation? Thanks! // add ability to broadcast events. EventDispatcher.initialize(obj); _global.ASSe...more >>

Opening a local HTML file from a Flash exe...prob
Posted by gauravmathur at 5/24/2004 8:06:08 AM
I have a Flash Exe from which I need to open a local HTML file. Can somebody please tell me how to do this. I can open URLS & other files (pdf, docs etc) through a third party tool but cannot open a HTML file kept locally. Can somebody help! ...more >>

HOWTO redirect browser from dynamically created movieclip
Posted by webstuff NO[at]SPAM urbanperspective.net at 5/24/2004 4:48:28 AM
I'm dynamically loading in an image (name of which is passed in the URL of the .swf file), creating a MovieClip from it and then fading it in using alpha blending. The problem is that I now want to be able to click on the movieclip and redirect the browser to a different url (also passed in us...more >>

Audio Problem
Posted by gwsoccer14 at 5/24/2004 4:20:46 AM
I am using scenes in my FLASH file, but I do have labels in the frames within the scenes. My file is divided into 4 sections, and each section has its own bg sound. The problem is when I use the navigation in one of these sections, it sometimes starts playing the audio froma completly differen...more >>

Flash buttons...
Posted by Ben2 at 5/24/2004 3:40:46 AM
How do you make a button in frame-2 open an URL in frame-1? Thanks beforehand, Ben...more >>

Please help -How to create a Flash form using ASP?
Posted by tilsgirl at 5/24/2004 2:43:32 AM
Hello, I am a flash newbie and need some quick advice on something that is probably very simple. I have created a Flash catalog request form that submits to a sendmail.asp script. When I run the form, it does not submit the variables. All I get is a blank email with the field names I sp...more >>


DevelopmentNow Blog