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 2004 > threads for monday march 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 31

Can someone help me?
Posted by Choc1 at 3/22/2004 11:47:27 PM
Basically I am fairly new to Flash MX, but there is a Flash movie that I want to be able to substitute the pictures in and use. The overall movie is what I want, but I would just like to know how to use my pics. Also, does anyone know how to view Flash code? I think if I can see the "code...more >>


Look at this code - conditional
Posted by Lou (dog) at 3/22/2004 11:37:49 PM
The code below goes in a game where I'm dropping clothes on a character and the clothes that she's wearing when a button is pressed dictate the next step. As you can see, there are several conditions that must be met, but this code isn't working 100%. Some of it works, some doesn't. I'm sure i...more >>

If statement trouble... weird
Posted by MaureenM at 3/22/2004 11:09:18 PM
I'm having the hardest time with the following simple if statement. My variable comes out correctly in the trace, but regarless if the variable comes out correct or incorrect it always returns what is in the first if statement, regardless of which one is first. I've also tried if(eval(_level0....more >>

openbrowserwindow
Posted by bundas1000 at 3/22/2004 10:32:19 PM
I have a empty MC that loads txt file with a link to external window, but for some reason instead of open another window it opens on the same window... Can some1 pls post the code to be used on a txt file to open an external window? I've tried: <a href="#" onClick="MM_openBrWindow('h...more >>

Path to mc
Posted by loudmouth72 at 3/22/2004 10:10:09 PM
Problem: I have a swf loading into a Scroll Pane Component. I want to control the playhead in that swf. I am have a hard time finding the path to the particular swf playhead that is being loaded into the Scroll Pane Component. What I want to do is: Control the playhead for the swf th...more >>

Help with the sizing of this...
Posted by trints at 3/22/2004 9:30:58 PM
Please look at this: http://www.tribidz.com/ItemDetail.aspx?itemnumber=53157cfb-dc98-4fab-92d2-4ac0a8 47c548 How can I get the size right on the red text above the "Bid" button? I've tried the font size and the dynamic text box and nothing changes. Thanks, Trint ...more >>

dinamic text problem rotation
Posted by nardove at 3/22/2004 9:20:38 PM
hi, i have a dinamic text field(var "numpag") into a MC(movie clip instance name "pagina") an this action _root.pagina.numpag="portafolio"; this dinamic text have a 90 degrees rotation and dont show the text HOW CAN I SOLVE THIS???!!!!! ...more >>

best way to check against an empty value?
Posted by trave801 at 3/22/2004 8:55:33 PM
I have set up a dynamic movie loader that pulls values from the server through Ghostwires PHPObject, but the problem is that I am intermittenly getting a "0" returned instead of a "" on empty/default values.. the actionscript in these movie templates has: [b]if (_root.bgMusic != "" && _...more >>



Socket connections - can I only use XML?
Posted by cerys74 at 3/22/2004 8:50:08 PM
Hello! I'm trying to get Flash to talk to an appliction via a TCP/IP socket, but the application uses its own messages in its own protocol (a stream of bytes). Is there anyway of overriding the actionscript XMLSocket onData and send to not format the data to xml? Can I send and recieve the...more >>

Simple use of fscommand
Posted by angel-neo at 3/22/2004 8:48:47 PM
How can i use the fscommand? I have written a simple c# console application and have put it where_swf_is/fscommand/myapplication.exe i am calling it just like this: on(press) { fscommand("exec", "ConsoleApplication2.exe"); } What is the problem? The exe is not running. ...more >>

Arrow key selection
Posted by Shmedley at 3/22/2004 8:29:40 PM
I'm trying to build an interface in Flash that will build a list of items. What I'd like to be able to do is use the arrow keys to move up, down, left, and right between the buttons. When I move the arrow key over to a button, the button should change colors to represent it being hi-lit...more >>

Text scroll button help
Posted by zul448 at 3/22/2004 8:27:08 PM
I'm trying to make a dynamc text box have 2 scroll buttons (one for up one for down obviously). I'm new to actionscript but not flash, so i was using a tutorial to help me. The tutorial said to use the code: [Q]on (press, keyPress "<Down>") { scrolltext.scroll +=1; } [/Q] to make it g...more >>

Multiple root nodes in a Tree Component???
Posted by Dobie01 at 3/22/2004 8:03:52 PM
I have a tree component in Flash MX that reads information from an XML file and populates the tree. The problem is that I can only seem to have one root node object. I'd like to be able to have 5 in my situation, but I've looked at the code and the setRootNode command overwrites the current ...more >>

Opening Microsoft Word and Excel Files
Posted by ghams at 3/22/2004 8:02:55 PM
Hi, I'm new to Flash and this Forum. I'm running Flash MX on a Windows XP machine. I need to open Microsoft Word and Excel files from a Flash projector (exe) on a CD. The Word/Excel files would open in their own windows while launching their proper applications. I'm NOT trying to...more >>

How can I make this two lines?...
Posted by trints at 3/22/2004 8:00:57 PM
Currently this is how my .swf looks: High Bid: $374287 Bidder: trint I want it to look like this: High Bid: $374287 Bidder: trint Here is the code: function loadTheVars() { var dateVars = new LoadVars(); dateVars.onLoad = function(ok) { if (ok) { date_txt.text = "High Bid: $"+...more >>

Masking and loadMovie
Posted by krl at 3/22/2004 7:52:33 PM
Ladies and gents, I'm trying to load a jpg into a move and then mask this picture with a shape that I'm drawing in actionscript using setMask. The picture loads fine and the shape is drawn also. But no masking occures. Any ideas why it's not masking? krl ...more >>

loading SWFs from an array
Posted by G4Jedi at 3/22/2004 7:42:47 PM
On my main Stage I've created a movieclip instance called "loadMovieHere". I'm trying to make it play 3 movies within that instance calling loadMovie to get the SWF file from an array. When a button is clicked it's supposed to load one SWF file and play it. After that clip is finished, it goes...more >>

HELP: zoom & drag the same movie clip
Posted by chuckbardsley at 3/22/2004 7:01:03 PM
I have a map that I would like to zoom in on and drag when I click on it. I can do these separatly but the two codes seem to interfear with eachother when I put them together. Can you help? I have attached the source file you will have to change the extension back to fla ...more >>

controlling quicktime in flash
Posted by gse at 3/22/2004 6:35:34 PM
i need to create a two scripts, one for rewind and one fast forward to control a quicktime movie embedded inside a movieclip, i do believe this is possible, also can anyone refer me to the tutorial to control quicktime movies in flash , thank you ...more >>

dynamically print pages
Posted by KentDC at 3/22/2004 6:20:19 PM
I'm hoping someone will tell me a better way. I want to dynamically print a report between 2 - 60 pages. I could: 1) [b]Create a mc with 60 #p labeled frames.[/b] This would create 60 printed pages every time, with content or blank. 2) [b]Create a dynamic print button. [/b] This would ...more >>

how to detect collision normal?
Posted by Iarus at 3/22/2004 6:09:02 PM
Hi, How could I detect the collision normal (the angle of the surface I hit) so I could climb a hill? [L=test_game.fla]http://www.angelfire.com/rpg2/iarus/test_game.fla[/L] [L=test_game.swf]http://www.angelfire.com/rpg2/iarus/test_game.swf[/L] Thank you Iarus ...more >>

gotoAndPlay with variable
Posted by troglodyt at 3/22/2004 6:00:19 PM
I want my movie to jump into a special szene, given by an varable like this: myScene = "testscene"; pc = 5; . . gotoAndPlay(myScene, pic); but it doesn't work because I get error-message - ..missing " between scene. some ideas? ...more >>

Dynamic List box won't scroll
Posted by djc8000 at 3/22/2004 5:47:20 PM
Hi I have a list box which has been populated from a database using Flash remoting and coldfusion... The problem is that the list will not scroll... when the scroll bar property is set to auto no bars appear and when it is set to on they appear but there are no up and down arrows. The cont...more >>

Scrollbars
Posted by Archie at 3/22/2004 5:29:24 PM
Hi, I'm a beginner in Flash MX. How can i scroll text area using my own button. tnx ...more >>

Custom Mouse in Flash MX???
Posted by Heros_Darkness at 3/22/2004 5:09:04 PM
I have been working on a project for some time now and decided I wanted to make a ustom mouse for that project. But I have only learned how to do that in flash 5 and all the place with help menus only help create a custom mouse in flash 5. Like I said above I already now how in flash 5. But I ...more >>

Scene link from Movie Clip
Posted by SwizzCheese at 3/22/2004 4:30:57 PM
I have one scene titled 'Main' and there's a movie clip with a short animation. At the end of the animation sequence I've placed a gotoandstop() script that leads back to scene 'Main' and a certain frame number, which contains another movie clip. The playhead effectively goes to the...more >>

sending reminders
Posted by hoz at 3/22/2004 4:26:47 PM
Hey guys, I want to send monthly reminders to an array of email address based on the 15th of each month. Is this even possible without having to always go directly to the swf file online? I just want an automated method of sending these reminders. My code in the swift file is var sched...more >>

Help with Depth+attachMovie w/multiple MC's
Posted by charleuts at 3/22/2004 4:09:19 PM
I am attempting to create a functional area in my web app that will have movie clips loaded into the same area using either buttons, or dynamically (ie. pop up error message). I have 8 movie clips that I want to use attachMovie to attach to an invisible mc called container (linkage identifier...more >>

opposite of onEnterFrame ?
Posted by qwerty10001 at 3/22/2004 4:08:03 PM
hi there I want to envoke a method when I leave for the next page. Is there an event that does the opposite of onEnterFrame ? Thanks...more >>

How to skew an object in AS? property _skew?
Posted by DH2004 at 3/22/2004 3:46:06 PM
Hi! I'm using flash 5. Is there a was to skew an object, i.e. a recangle, in ActionScript. Dynamically? Is there a property like _skew_vertically or _skew_horizontally? Maybe not documented? Or alternativly is there a way to access the corner-points of a recangle, or the points d...more >>

buttons and listeners
Posted by EdMX at 3/22/2004 3:19:13 PM
I have some buttons on the stage and I want to detect clicks on them as well as any clicks elsewhere on the stage. Is Flash clever enough to know when the stage has been clicked on? Can it tell the difference between a click on the stage and a click on a button on the stage? Any ideas?...more >>

MC Dynamic Event attaching. How to succeed???
Posted by Horus M. BRUTALIS at 3/22/2004 3:15:56 PM
Greetings EveryOne. I've really tried everything I guess, yet no success 've achieved. The situation is as follows: 1. I'm creating an empty MC using createEmptyMovieClip function. 2. Then I'm drawing something in it usung drawing API. 3. And then I'm duplicating the MC and wishing to att...more >>

variables and dynamic images problem
Posted by rocklevinson at 3/22/2004 3:14:17 PM
hi there, ok. i am loading variables into my flash movie (ver 6) they then get displayed as text and this works fine. i also want to create links to dynamic jpegs. so say my variable is called "mypic" and its value is "picture.jpg" i thought i could load it like this _level0.movi...more >>

fscommand blocking?
Posted by JS at 3/22/2004 3:03:36 PM
I have a javascript command line utility which I trigger using "cscript.exe" - I wanted to create a frontend interface which invokes the utility and when it finishes I wanted flash to display the generated results. The problem is that Flash invokes the utility without blocking and the utitlity ...more >>

opening a new window
Posted by keithhsk at 3/22/2004 2:50:50 PM
hi, i am new to flash and currently trying to pick up flash to design my online portfolio. i understand that in dreamweaver, one can specify if a picture/icon is clicked, one can chose whether to have the picture opened in a new window. does anyone knows how i could do that? i had been hi...more >>

htmltext
Posted by jayteema at 3/22/2004 2:32:10 PM
I am loading a xml file into dynamic text fields in MX2004 and can not get the text within a node to become a hyperlink.Can someone shed some light on what I am doing wrong. When I trace, I get the variable name, not the value of the field else if (tnodename == "pdate") { photoDateIn...more >>

Easy Question - actionscript
Posted by grob at 3/22/2004 1:32:04 PM
Hi, I am testing a preloader which runs while loading an external .swf into an empty mc container. Is there a way to simulate loading the .swf when that file already exists on your machine? - It seems to only indicate that it is already fully loaded, even when I ask the profiler to show streamin...more >>

Line wrapping in listbox components???
Posted by thickbrain at 3/22/2004 1:27:27 PM
Third post. Not one answer yet! One would hope that a Macromedia Evangelist would find and answer to this question: How can I get the ListBox component to add and space items properly when the text of an item needs to wrap and use more than one line of text? I can get the ListBox FLabel ...more >>

mouse listeners and buttons
Posted by EdMX at 3/22/2004 1:11:22 PM
I have a flash-movie presentation like a powerpoint slideshow that uses a mouse.listener on the root timeline to detect mouse clicks anywhere on the stage to send the presentation on to the next slide. The problem is that the listener interferes with the buttons I have on stage (I use butt...more >>

remove text from input textfield when it receives focus (flashplayer6+)
Posted by Ed Massey at 3/22/2004 1:05:00 PM
MX2004pro for flashplayer 6+ If, for example, there is an input textField that is to receive a username, already containing the text 'user name', how can the text 'user name' disappear when the user clicks inside the text box? (I'm not very familiar with the focus related methods....) I don'...more >>

Accessing nextScene inside a component
Posted by Dobie01 at 3/22/2004 1:01:25 PM
I have a component that has a function that contains the command nextScene(). How do I point the nextScene() command at the main scene timeline and not at the component's timeline? Thanks, Mark...more >>

Get "the stage width" of a loaded MC ??
Posted by Yann at 3/22/2004 12:36:45 PM
For a Flash projector (CDROM project), is it possible to get "the stage" width/height of a loaded movie ??. I'm not the person who made the swf, and some of swf have "an off stage element", so it's not easy to center those swf programmatically. Has somebody succeded to read the header of a swf...more >>

Focusrect color other than yellow ??
Posted by Yann at 3/22/2004 12:12:11 PM
How to change the color of focusrect from yellow to other color (red,blue ...) or make it transparent ?? ...more >>

RADIO BUTTON: How to access each one in a group?
Posted by Merche_MIP at 3/22/2004 12:09:24 PM
Hello, I need to reference each "radio button" (RadioButton) from a "radio button group" (RadioButtonGroup). In previous versions of Flash, it exists an undocumented property, an array named "radioInstances", containining references to the radio button instances. However, in Flash Player...more >>

Pass Variables
Posted by Ken Silanskas at 3/22/2004 12:09:14 PM
Hi all, Simple one here I think. If I set a Session variable in Coldfusion, how can I then pass it to my Flash movie? For example I want to check to see that Session.loggedIn is true before proceeding in the movie. MX2004, CF 6.1 Thanks -Ken ...more >>

Tell target buttons???
Posted by Rayzor at 3/22/2004 11:23:47 AM
I want to create a "tell target" button similiar to the one in this tutorial. http://www.echoecho.com/flashbuttons02.htm My probem is that I can create the button, but it won't work when placed in another MC Any ideas? Thanks. ...more >>

Simple button action within a movie clip
Posted by James Noon at 3/22/2004 10:58:46 AM
Hi, please help as i'm a little rusty on flash.... I have created a movie clip which has 6 buttons, all on the same layer. Within this movie I have selected a button and added the follwing action on (release) { gotoAndPlay("Scene 1", 1); } I have placed that movie on my main scene b...more >>

External Flash Link
Posted by Rhumantic at 3/22/2004 10:47:34 AM
hello ! I'd like to send to my getURL that is inside my .swf a link from a html page but I don't know how I can do that. (maybe Js ? ) In fact, I've got to give my .swf to someone and I will never have the possibility to have it back later, so it is important for that person to be able...more >>

Is it possible
Posted by purple_am at 3/22/2004 10:36:28 AM
hello I need to preload images for a gallery. But what i want to know is do i need to convert my images to swf files to be able to make an external preloader or can it be preloaded as it is (JPEGS). Am asking this because all search i made gave me preloader for external swf only. ...more >>

Sound Script
Posted by mud991 at 3/22/2004 9:59:12 AM
I need help.... Ok let me try to explain this so i can get some help.. I have a crosshair for shooting and i want to be able when i click it to add a gun sound to it but i have no idea how Could someoen help?! Thanks, MuD ((I have MX by the way)) ...more >>

Variables and navigation
Posted by Lindeskov at 3/22/2004 7:19:14 AM
how do I ...? I have two buttons that should set the variable_global.valg to either xp or 2000 when clicked, I do the frameaction below: knapxp.onRelease = function () { _global.valg = "xp"; gotoAndPlay("sc2"); } knap2000.onRelease = function () { _global.valg = "2000"; go...more >>

send an MC to Back
Posted by André Heßler at 3/22/2004 3:48:32 AM
Hi! I have several MCs in one Layer. Now I want to change there arrangement (depth?). How can I bring an MC to Front (or just bring foreward), or send it to Back (backward) via Actionscript? Please Help!!! -André- ...more >>

Param passing from HTML to SWF..
Posted by Chizl at 3/22/2004 2:12:21 AM
Is it possible to pass parms into the SWF from the <PARAM> tag within the <OBJECT> tag from HTML? Example "srcurl" passed here.. Can I retrieve that value from flash? <object ..> <param name="movie" value="player.swf" /> <param name="srcurl" value="http://www.chizl.com/test.asp" /> ...more >>

Date problems
Posted by Laverda668 at 3/22/2004 2:03:29 AM
Hi all. I am having a problem comparing dates in Actionscript. This is the script I am using: if (currYear >= startYear && currYear <= endYear){ if (currMonth >= startMonth && currMonth <= endMonth){ if (currDay >= startDay && currDay <= endDay){ this._visible = 100; } }...more >>

hi can someone help me?!?!?!?
Posted by orr at 3/22/2004 1:23:36 AM
hi, im 13 and i worked with flash like a year now. im doing a website and i want to make a pop-up menu on a button. now in fireworks you can just add it but i know that in flash you need to write it down in the action script. can somone help me i have books on flash but non of them say how ...more >>

mediaplayback component not loading flv
Posted by schwick at 3/22/2004 12:03:54 AM
I'm creating a presentation in which i'm creating a new mediaPlayback component at runtime an i'm giving it a url to load. A snippet of my code is as follows: _root.attachMovie( "MediaPlayback", "p" + countPara, 200 + countPara ); _root[ "p" + countPara ].setMedia( cThis, cThis.substr( c...more >>


DevelopmentNow Blog