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 thursday april 22

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

beginners action script help
Posted by kingcarter at 4/22/2004 10:48:22 PM
Hi iam creating a simple flash game where you have to put objects in a certain bin eg metal things in a bin set as a movie clip called metal. So far user can select the items drag them to the right bin and when they release the mouse on the bin the items visible is set to 0 so it looks like it...more >>


mp3 player - go to next song automatically
Posted by dj_dsmooth at 4/22/2004 10:38:18 PM
hi. I've made an mp3 player that streams mp3s. Right now my problem is making it go to the next song automatically once a song completes. If anybody has any suggestions or solutions, please reply. Thanks ...more >>

Action Scripting 2 to 1
Posted by 2apid Fi|2e at 4/22/2004 10:34:26 PM
I got Flash Mx 2004 Pro, I was trained in Flash action Scripting 1, is there like a converter, cause i can not do action scipting 2. Or is there a good free tutorial that will teach you action scriptign to from action scripting 1 ...more >>

onMouseDown Listener for just one clip?
Posted by rwmorey71 at 4/22/2004 9:31:24 PM
Hi, I have added an onMouseDown listener inside a movie clip: downListener = new Object(); downListener.onMouseDown = function () { // code is here.. }; Mouse.addListener(downListener); The problem is that the code inside this listener executes whenever I click the mo...more >>

String manipulation
Posted by Scott Filloon at 4/22/2004 8:59:17 PM
Hi, I need to be able to insert charicters into a certain position within a string using actionscript. Does anyone know what method to use in order to do this? For example, lets say there is a text field with a value of "HelloWorld" and I want to insert a space between the two words. I'm us...more >>

Help a beginner?
Posted by Froborr at 4/22/2004 8:45:37 PM
Student, just starting out with Flash MX. I have the basics of animation and music down, but my project requires some actionscripting that I'm having trouble with. Here's what I need to do: (1) Clicking on certain spots in the animation should open up a URL in a new browser window. These...more >>

Strings panel translation = only English
Posted by jrk at 4/22/2004 8:02:02 PM
I am using the strings panel to create multilanguage support for my animations. I must be doing something wrong. All I get is English. The only place languages other than English show up is via the language menu within the Strings panel itself. When I change my computer's language to Fren...more >>

loadMovie() issue - in Opera won't sing/work
Posted by Nicky21 at 4/22/2004 7:45:40 PM
This is not related strictly to Flash, but i've come across this nice bug: I have a primary swf movie that loads a secondary swf movie using actionscript. i use "load" which is a empty movie clip and: load.loadMovie("flash/pieces/pieces10.swf") Using IE works fine, Opera browser refusez ...more >>



Dynamic Text, Embed Font and style sheet
Posted by frank_omni at 4/22/2004 7:44:53 PM
Hi, We are trying to create a dynamic text field with content coming from a XML file. Then we use an embed font on the dynamically created text field. Finally, we apply a style sheet to the dynamic text field. What happen is... Well nothing is happenoing... That's the problem. Has so...more >>

Global variable doesn't work
Posted by zzdobrusky at 4/22/2004 6:54:40 PM
Hi, it should be pretty simple, got main and two movie clips, in one of them I declare _global.day = "Monday"; and I just check it from main by trace(day); but it's giving me "undefined" I also tried Object.msg = "blabla"; still doesn't work, is it that I have Education versio...more >>

Image and Text layout problems
Posted by _tippedOver at 4/22/2004 6:02:46 PM
Does anyone know how I can use a TextField to create a layout that stacks: Image Text Image Text ? I can't seem to get them to stack, the images stay "inline" Cheers _tippedOver ...more >>

Novice in need of help!
Posted by ConradCoe at 4/22/2004 5:42:54 PM
Hey everyone. There's two problems im running into while publishing my flash movie... The first is that when i try to publish it into html , the output window comes up and tells me that some stuff cant be published because it was made for the flash 5 player (im using flashmx) the second proble...more >>

Help to add urls to this script
Posted by Sauagecowboy at 4/22/2004 5:08:48 PM
Hi there, The follow script , I need to add some a script function for urls in this script so that I can link them from a xml file can any one help. x=new XML(); x.onLoad=init; x.load(exemel); x.ignoreWhite=true; // scroller variables // var last=-1; //set to -1 bc if s...more >>

.jpg images and flash
Posted by th3monk3y at 4/22/2004 4:41:03 PM
Does anyone have, or know of a good script for pulling images into flash based on variables... I am finding out that pulling images into flash is quirky at best.. one thing works in Flash 6 but breaks in 7 ? Thanks in advance, -Paul ...more >>

How to Cancel an XML load request
Posted by norbit at 4/22/2004 4:14:39 PM
Any ideas? If i have triggered an XML load request in AS2, and before the document is loaded decide to load a different document - how do i halt the previous load to start a new one? answers on a postcard.... :P ...more >>

Dynamic #include -- Is this possible?
Posted by JesseHouchins at 4/22/2004 4:10:27 PM
I would like to include the data from a text file to be run as AS. My test file is "test.txt". the following code works great: #include "test.txt" However, I need to load a different file in different situation (i.e. "test1.txt or "test2.txt"...). IF the following code worked, I would be...more >>

setting visibility for entire level
Posted by rezdog440 at 4/22/2004 3:06:25 PM
Hi, I have a simple issue here: I have a movie that loads various swf's into different levels. On level 5, when I hit a button I want it to set the visibilty for everything in level 1 to false. What is the correct syntax? I currently have : on(release){ level1._visible = fals...more >>

flash links to NTL Webspace problem.
Posted by John Coppock at 4/22/2004 2:57:23 PM
Hi all, I would like to call up this website: 'http://homepage.ntlworld.com/john.coppock/' from my flash movie in a pop up window. I have about half a dozen more url's that I am doing the same with, the only difference is that they all begin with "www". if I put 'http://homepage.ntlwo...more >>

Dynamically deleting a textfield string character
Posted by Mediagrin at 4/22/2004 2:49:05 PM
Help Does anyone out there know how to dynamically delete a textfield string character. My movie runs by a users dynamically inputting charaters into a textfield via a button. What I need to do is dynamically delete the last entered character via a button event. Can anyone help ...more >>

ActionScript on all instances of a movie clip
Posted by CodeCrow at 4/22/2004 2:47:49 PM
Greetings all. My question is purely theoretical. I'm coming from a Lingo (Director) and web programming background, and Flash is taking some getting used to. In Director, there is a way to send a command to all sprites and have them do something, and you can also update the members in ...more >>

AS: Jpeg Popups?
Posted by ecsurfer at 4/22/2004 2:34:55 PM
I'm trying to do a basic script that I've never done before... Press thumbnail.jpg to popup a fullsize.jpg? But cant seem make it work? I'm using the new 'Behaviors' in MX04... Does anyone have a betterway? on (press) { //load Graphic Behavior this.loadMovie("C:\\Documents My Docum...more >>

dynamic text visible
Posted by michael nieuwenhuizen at 4/22/2004 2:19:23 PM
if i copy a movieClip mc that contains a dynamic textField txt, and set the alpha of the new movieClip to zero, i still see the text field. what goes wrong? how can i make the dymanic text in a copied movieClip take on the alpha value of the movieClip? this doesn't work: mc.duplicateMov...more >>

scrolling
Posted by timbo313 at 4/22/2004 1:59:00 PM
I'm trying to make a scroll bar. I have a movie clip under a mask. Here's what I want to happen whille pressing down button, movie clip moves up whille pressing up button, movie clip moves down whille pressing left button, movie clip moves right whille pressing right button, movie clip mov...more >>

How do I detect a file load error in flash 6
Posted by DazFaz at 4/22/2004 1:40:53 PM
Does anyone know how to detect a failed file load in flash mx. As I am trying to detect if a jpg file has not loaded and for the life of me I have no idea. It shows a "Error opening URL" within the output window but I cannot find anything that will detect it within the main movie as so I can a...more >>

Code execution order
Posted by Necolas at 4/22/2004 1:34:59 PM
Hi, I have in my first frame code that must be executed before some other code associated to a symbol. Obviously, and given the problems I have, this does not seem to be the case. I am therefore wondering how to postpone symbol-related code execution. Thanks ...more >>

new instances missing attributes
Posted by ultz at 4/22/2004 1:33:11 PM
Hi, I have a problem with creating new instances of classes which extend MovieClip. For example: The class could look like this: in MyClip.as: class MyClip extends MovieClip { private var txtField:TextField; public function MyClip() { super(); txtField.textCol...more >>

ref: Training from the Source...ActionScript 2.0
Posted by Storyman at 4/22/2004 1:25:40 PM
Currently finishing up chapter two of the best book I've found on ActionScript 2.0, "Flash MX 2004 Actionscript," by Derek Franklin and Jobe Makar. The last exercise in chapter 2 deals with listners. The 'addListener' for the mouse and key work, but having trouble with the stage listener. What...more >>

FMX2004: _global.xxx doesnt go to another scene ?
Posted by jorgepinho at 4/22/2004 1:18:07 PM
I have a SWF with several scenes, I have code like this in scene 2: _global.name = ''; _global.age = ''; but, when I call then in scene 5, they are undefined... any help ? thankx...more >>

HELP ! unload movie using localconnection
Posted by rdiogo at 4/22/2004 1:17:48 PM
Hy, I?m using localconnection to comunicate between several swf (thumbs) and one big swf (main stage) that are displayed in different html cells. When I click the first swf (thumb) it works fine (the file loads into the main swf), but when I try to load another swf (thumb) to the main swf,...more >>

rollout / hittest bugs when outside movie area
Posted by EdMX at 4/22/2004 1:13:41 PM
Whenever I move the mouse off a flash movie embedded in an HTML page the mouseX and mouseY properties get stuck at the last position the mouse was on stage. All hittest() tests and any rollout events fail at this point. Is there any way to reliably tell if the mouse has left the flash part o...more >>

FS Commands in MX
Posted by _the_traitor at 4/22/2004 1:08:37 PM
Hi I'm developing a CD based flash .exe in Flash MX that needs to reference external .exe file which opens a PDF file. I know the way the external programs are referenced in MX changed from that in V.5 but I have never got it to work. Does anybody know how to do this ? I remember someth...more >>

Have Flash wait for value from Authorware
Posted by chrscote at 4/22/2004 12:48:42 PM
I have a program in which Authorware keeps track of a number of different variables, one for each of the scenes in the project. Any time I need a value from Authorware, I call the fscommand function with the value I want passed back. However, there are times when I need to get the value of a...more >>

can i load a specified scene in an external movie
Posted by ELTIGRE at 4/22/2004 12:32:33 PM
can i load a specified scene in an external movie using loadmovie or loadmovienum or is there any other way?? please it's urgent...more >>

Flash Array readout via PHP / MySQL
Posted by forcer2004 at 4/22/2004 12:31:39 PM
Hi there... I have a big array in my Flash movie. For example I put 2 entries below. I want to put these in a MySQL-database. I know how to use loadVarables to a PHP file which echo data back like: naam=Donald&phonenumber=333 But now I would like to read an array from database. Hope someone ...more >>

URGENT - Need Help
Posted by mikeokun at 4/22/2004 12:27:56 PM
I need to know if it is possible to launch a customized browser window from a flash .exe I need to launch a window without all of the chrome, no scollbars, statusbars, addressbars, buttons etc... Have no clue how to do this.... Please Help. Thanks in advance. ...more >>

loadmovie problem
Posted by huiguini at 4/22/2004 11:39:50 AM
Hello World. I have this problem? I have 2 swf, one is the main and the 2? is to be loaded in the main. Exp. What i have done. I put the function of wall swf in the main swf. Now i whant to load the 2 swf and in this one i have a button to call the function plased in the main swf to r...more >>

var displays fine as string but is 0 as number
Posted by tijst at 4/22/2004 11:21:01 AM
I'm having a problem using some variables that i get through the url for some simple calculations. I have the following vars: imageWidth = Number(w); imageHeight = Number(h); where w & h are set from the swf url (i.e. movie.swf?w=500&h=375). Now when i try to print them the values disp...more >>

trim - split & join
Posted by KalViv at 4/22/2004 10:52:25 AM
Hi there, I saw one posting (dt. [L=7/16/2003]http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?c atid=288&threadid=654809&arctab=arc&highlight_key=y&keyword1=script#2355046[/L]) on triming the white spaces of string value. I saw the following code to trim the white spaces...more >>

for ..in
Posted by dbento at 4/22/2004 10:48:31 AM
i have some buttons inside a movieclip and i want to know their _x position, but without having to specify each button individualy, so i used the for ..in function to search for all the buttons: for (name in _root.base_barra_botoes_tv.barra_botoes_tv) { if (typeof (_root.base_barra_botoes...more >>

send audio and video through web
Posted by augustus_emperor at 4/22/2004 9:41:03 AM
send video and audio through web If there any possibility for flash to send LIVE! video and audio through web? Is there any function or coding or action script that can handle this situation? For example how can i create a website that people can SEE n HEAR with other people.... n we asume ...more >>

Bytes from .swf to another .swf
Posted by hiswords at 4/22/2004 9:26:48 AM
Hey guys, i really need your expertises on this. I am required to create a pre-loader. Sequence is i have A.swf with a button that will open B.swf in the same Flash Player. I need to create a pre-loader at A so there wont be a waiting time when B loads. I am not sure how to get the ...more >>

detecting when mouse leaves swf
Posted by geut at 4/22/2004 9:19:26 AM
Hi, I know this question may have been asnwered a few times befire but i didn't find it. How can I detect that???? Please help!!!!...more >>

learning interactions
Posted by chillavenga at 4/22/2004 9:12:38 AM
hi I use the quiz template and learning interactions regularly as I'm involved in the creation and development of e-learning materials and we need the tracking. Very useful, however I find them very limiting and I don't have much knowledge of actionscripting so it's a steep learning curve....more >>

Clipart Viewer in Flash
Posted by Dushyantz at 4/22/2004 9:02:32 AM
Hi, I am urgently looking for a flash application or component which can display the thumbnails of cliparts( .swf, .jpg, .gif etc) on the left hand panel with their names and file size and the bigger image of the thumbnail appears on right after clicking on the thumbnail. It would be g...more >>

Conflict between Listeners
Posted by BarneyK at 4/22/2004 8:21:05 AM
Hi, I want to attach a number of smaller movies to a larger one and set up listeners so that there is an action when the larger movie is pressed but a different action when one of the smaller attached movies is pressed. With the following code whether the larger movie clip or one of the atta...more >>

flash problem...
Posted by vij010 at 4/22/2004 7:05:17 AM
Hi... This is my first post on the flash side. I'm a director guy. I'm having this flash card which i have to send to multiple recipients, my animation is all done, i have a dynamic text field that will hold the reciepients name..so when they open the card, they would see their name, so it ...more >>

Linking Flash Button to an .exe file
Posted by Bisso at 4/22/2004 6:18:00 AM
I am trying to link a button on my canvas to run an .exe file. I am have no luck doing this. Both my FLA file and the exe I am trying to load are in the same directory. Can anyone please help me :( ...more >>

Help with preloader
Posted by cnetech at 4/22/2004 6:11:15 AM
Hey all, I'm working on an example in class to create a preloader. Here is the set of events that 'should' occur: - Click on a button on the main stage - A check of bytes loaded vs. btyes total will cause the progress bar to appear and begin moving until 100 percent load is achie...more >>

disable / reenable button
Posted by pea3698 at 4/22/2004 5:43:38 AM
Here is my problem. I have a .root movie. on this movie I have two empty mc's. in mc 1 i have a menu, in mc 2 i have a graphic that pops up. What I want to do is disable the button in mc 1 after i press the button. Then I want to be able to push a button in mc 2 to reenable the button in mc ...more >>

Play Pictures Randomly
Posted by LeMarquis at 4/22/2004 3:58:45 AM
Hi Masters, Please, can anyone provide me with a script or any other way to play random pictures on my flash website. I am developing a web site for my band, and on the link page I have several pictures of diverses musical or artistic influences. And I'd like to play them in a different or...more >>

My php echo into flash ?, I can't get it :(
Posted by vinZ at 4/22/2004 2:31:26 AM
Hi there, I have a servertime in my php and want it to send to my flash but all I get is 'undefined', and help will me soooo great. cheers, vincent flash //-------------------------------------------------------------------// myData = new LoadVars(); myData.load("http://www.stmp.nl...more >>

MX 2004- Combo Box event question
Posted by aitchm at 4/22/2004 12:05:09 AM
I tried posting this to General Discussion with no luck, perhaps this is the more appropriate forum of the two. Display Combo Box value in textArea onRollOver? Is this possible to do using code and components- or do I need to set my files up differently? Where I?m at: Book ComboBox com...more >>


DevelopmentNow Blog