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
all groups > flash actionscript > july 2004 > threads for thursday july 29

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

_global vars don't work in mx2004
Posted by rollingstonex at 7/29/2004 11:50:34 PM
I just recently started using Flash MX2004 Pro but it seems that whenever I save my files (and choose the option to save them as MX2004 versions) that things stop working. Variables that I had used which were _global, started being undefined to outside timelines and movieclips. Another probl...more >>


Movieclips and isDown
Posted by 9toes at 7/29/2004 11:40:16 PM
im try to make this movie clip that stops at the 1st frame but once you press ENTER button it goes to the 2nd frame and is you press ENTER again it goes back to first frame. the codes the exact same for 2nd frame except that i changed nextFrame to prevFrame. if the action script is totaly wron...more >>

Creating multiple MovieClipLoader instances in a loop
Posted by Laiverd.COM at 7/29/2004 11:35:45 PM
Simple: how would I create multiple MovieClipLoader instances in a for loop, each with its own listener event onLoadInit, and loadClip method etc. Sofar I have this (which is total rubbish as I have lost track completely) for (i = 0; i < 5; i++) { _root.createEmptyMovieClip("container" + i,...more >>

events in nested movie clips
Posted by Digic at 7/29/2004 10:01:56 PM
I have a mc with an onRelease handler that is a child of another mc with an onRelease handler. When I click the child, the parent handler gets the event. Is there a way to make this work (detect clicks on a mc within another mc) or do I need to un-nest them to see the "inner" event? Roy ...more >>

closing Window Flash movie is in
Posted by Leao16 at 7/29/2004 9:35:47 PM
I want to have a [ close ] button, that when pressed closes the flash movie and the Internet window it's in. please help Leao...more >>

Trouble calling a function inside an MC
Posted by loop360 at 7/29/2004 8:22:38 PM
I have exported a movieClip within the library in the first frame of the movie although I have not placed an instance of it on the stage. Inside this movie clip on frame 1 is a function called addItem(). How do I call this function from a button on the main timeline as I am having trouble gett...more >>

Simple ActionScript problem
Posted by reldruH at 7/29/2004 8:14:40 PM
I'm trying to learn Actionscript, so I went through the tutorials that come with Flash, but now I'm trying to do something extremely simple, and I keep getting the same error message. I have one input text field, one dynamic text field, and one button on my stage. Ideally, what I want to happe...more >>

loadVariables and textfields with scrollbars
Posted by stephen_c_ at 7/29/2004 8:10:17 PM
Hi, I'm loading text from a file and placing it in a text field (dynamic), different texts can get loaded in to the text fields by a user clicking on a button. The problem I'm having is that the scroll bar seems to size itself to the first text that gets loaded into it's textfield, when I ...more >>



checking of an "interval" is set ?
Posted by avalanched at 7/29/2004 7:58:18 PM
i have 2 function controlled by an interval function 1 starts with the interval comando and function 2 can only start ( also by an setInterval ) if the 1st interval is cleared ( clearInterval comando ) how do i check this ? probably with the if condition but how do i check it ? ...more >>

Variable in a commando
Posted by avalanched at 7/29/2004 7:06:07 PM
I have 2 movie clips and 2 buttons mc_1 and mc_2, btn_1 and btn_2 if i click on mc_1 this script is executed Code: var link = "mc_1"; if i click on mc_2 this script is executed Code: var link = "mc_2"; with the following script it should change _alpha from the mov...more >>

Auto getURL when MediaDisplay is complete?
Posted by BlinkyGuy at 7/29/2004 6:50:30 PM
As the title states, how do I make it so that once a .flv is completely done playing, the .swf loads the next page I want it to load? Mike Schaefer schaeferm@uwstout.edu...more >>

button trouble
Posted by willx at 7/29/2004 6:44:31 PM
i making a little quiz, i've made a button which when clicked is assigned a variable and then moves the movie up the timeline to the next question. i wrote the piece of code for the first button and it worked fine; enter1.onRelease =function(){ answer1 = verbInput_txt; gotoAndStop("q2");...more >>

Loading external SWF into main SWF
Posted by klick at 7/29/2004 6:23:31 PM
I like to develop website this way it aloows me to keep the downloading time. My problem is when you use this method you always run into trouble with some actionscript. What I mean is the _root to _parent. But the _parent does not work all the time. I guess what I'm asking, is there anothe...more >>

gotoAndPlay() not working with frame labels in 72
Posted by vintagetone at 7/29/2004 6:12:54 PM
I just had to use the frame numbers (replacing the frame labels I was successfully using in Flash MX). Now my script only works when I use gotoAndPlay(15), and not gotoAndPlay("startframe"). Is this a bug? ...more >>

drawing using action script and animate..
Posted by cainarachi at 7/29/2004 5:51:10 PM
Hey! i?m trying to learn how to animate lines or rectangles, wathever geometric i create using action script, my problem , is.. how do i make it go bigger in a faster way, i?ve put here a basic example of wath i?m trying to do. createEmptyMovieClip("line", 1); line.lineStyle(2, 0x0000F...more >>

suggestions
Posted by Edwin Merced at 7/29/2004 5:28:13 PM
I have a client that needs to develop website with two major concerns: 1) A chat application for more that 1100 simultaneos sessions 2) Security features for a shopping cart (for only one product-a book The plans are to rent the web server space. Can someone forward me to some good providers...more >>

getting at a folder above the one swf is in
Posted by James at 7/29/2004 5:25:01 PM
Hi all, I'm using sendAndLoad to get at a php script, the problem is that the script is in a different directory to the one the flash file is in. In order to get it I need to go up a folder and then into the php folder. So: main/ php/myscript.php flashfile/myflash.swf Rat...more >>

mc path question
Posted by Keith B at 7/29/2004 4:43:47 PM
The following line of code from inside a movieclip instance named "mc" works properly: cbDepth=_root.mc.getNextHighestDepth(); I want to eliminate using the movie clip instance name inside the movie clip so that I can use the movie clip object with other instance names, so I changed to code...more >>

Pausing the Timeline using setInterval
Posted by BillG-Chicago at 7/29/2004 4:41:05 PM
I'm trying to use only actionscript to build some objects on the screen and I want at various points to dynamically pause the action. Can anyone give me a tip on how to use setInterval to pause all the action on screen? wglewicz@enactcorp.com ...more >>

XMLSocket and SSL.....help
Posted by pdonnelly at 7/29/2004 4:26:54 PM
ok, now that we're allowed to connect to any port using XMLSocket.... i need to know if there is a way for data being transferred via XMLSocket to be routed thru SSL port 443. does IE take care of this? or is there a way for the data to be encrypted AND decrypted? how are you using ...more >>

Input Text Field -> Only Numbers!
Posted by Danilo Fiocco at 7/29/2004 4:23:12 PM
What do I do to get a text field to accept typing of only numbers? Thx!...more >>

movie playing backward....help
Posted by yofof at 7/29/2004 4:14:30 PM
i have a movie clip(f_mc) with 10 pictures (one by one like a camera film). the pictures are masked so in swf is shown only one of them. i use two buttons to continously change them (moving). there is a stop action on frame when a picture fit the mask. i move forward by button : on (release)...more >>

Global loading
Posted by Graff|ti at 7/29/2004 4:09:37 PM
How do I load _global variables from a textfile? The method you suggest should not delete whatever other variables I might have previously set in _global?...more >>

Progressive JPEGs and loadMovie
Posted by Slanky_ at 7/29/2004 4:01:03 PM
Not too sure but I think I just wanna report this. If you want to loadMovie("somejpeg.jpg", _root.MC4theJPEG); and "somejpeg.jpg" has been exported as progressive then the image doesn't display in the swf. Just a remark. ...more >>

Kiosk Time Reset
Posted by Cordoe at 7/29/2004 3:39:23 PM
I have a kiosk/directory for the building. I have looked all over, but I cannot find out how to have the Kiosk reset to the beginning if the mouse doesn't get moved for a couple minutes. Any help would be appreciated. Thanks. ...more >>

removeMovieClip from assigned level does not work
Posted by xyz123 at 7/29/2004 2:53:51 PM
removeMovieClip from assigned level does not work To view the attached file remove the .txt extension Hello, Ones I dynamically create a "circle" mc one level below another " square " mc, the circle mc can no longer be removed with removeMovieClip command. Please check the file and 3...more >>

swim little fishy : logic help plse
Posted by J at 7/29/2004 2:46:01 PM
HI all, I have a fish, just a little fish, it swims around after some bait in the tank www.whitsandbaydivers.com It follows, however it isnt perfect. its underwieght and performs some unnatural manouvers, can I please get some feedback on how to improve it???? heres the code its all on...more >>

Simple Question
Posted by Judson at 7/29/2004 2:07:30 PM
I need to play one of my movieclips in reverse. Meaning I need to start at the 16 frame and play it until I reach the 1st frame. Can any help me out with this question. Thanks, Judd...more >>

unicode, flash and php
Posted by internetchef at 7/29/2004 1:53:18 PM
Hello, I want to read text from files generated by php, either in xml- or in txt-format (doesn't really matter). this text contains accented characters (?, ? for instance), that I can't get Flash to read properly. If it's plain txt or xml, I know I will have to save in utf-8 format and...more >>

removeMovieClip Problem
Posted by yoyoyoyoyoyoyoyok at 7/29/2004 1:25:30 PM
I am creating a simple shotting game and I want to show the user how many bullets they have left in the revolver by using a number of mc embedded in another one. I want the delete these mcs (called chamber0,1,2 etc) when the mouse is clicked but they do not delete. The code I am using is as fo...more >>

tunneling
Posted by pags at 7/29/2004 1:19:54 PM
hi, iam building a game and basicly these ants need to dig tunnels u make with your curser kinda like building a wall in age of empires. i am not sure where to start as they need to be able to navigate through them as well i was thinking maybe a paint function, so u click i tool button...more >>

onKeyDown does nothing...
Posted by smartbei at 7/29/2004 1:14:52 PM
hi. i have the following script in my program which is just supposed to tell me when a key is pressed: ball_mc.onKeyDown = function() { trace(key.getAscii()); } the problem is that it does nothing. any ideas? ...more >>

XMLConnector
Posted by tcameron at 7/29/2004 12:37:58 PM
Is there a way to set the XMLConnectors URL using a variable instead of a static value?...more >>

loading image sequence w/o "gaps"
Posted by danp2 at 7/29/2004 12:33:38 PM
I have a function that loads a sequence of 5 images to a target movieclip. However, there is a delay between loading each one, so resulting in the background showing for a fraction of a second. Anyone know how can I create a seamless sequence. My script is here : stop(); function ima...more >>

Dealing with an array of MCs
Posted by Paulrus at 7/29/2004 12:30:57 PM
Hi everyone I have been trying to figure out this problem for a while (I'm an animator - not programmer) and I'm stumped. I have a list of MCbuttons that are created using attachMovie whenever the user clicks on various MCButtons in my interface. As each MCbutton is attached to the stag...more >>

Playing a movie clip
Posted by anAnge|io at 7/29/2004 11:53:15 AM
Is there any way to tell a movie clip thats inside another movie clip to play? Like myMovie1 has myMovie2 in it, myMovie1 plays until frame 20 where myMovie2 comes into the stage and is supposed to start playing ITs own movie (whatever's inside myMovie2's timeline). I've been trying to work ...more >>

How do I embed all the unicode characters?
Posted by colinbolton at 7/29/2004 11:53:12 AM
I am trying to embed the font set SimSun. I have created a font in the liabrary which is SimSun and selected export for action script. I have a single text box which has the font in the liabrary. I attempt to set the text of the text box to some ascii characters and then a higher unicode ...more >>

how to place an image on stage using actionscript?
Posted by Keith B at 7/29/2004 11:50:34 AM
Is there a way to place an image on stage using actionscript? Thanks, Keith ...more >>

Inadequate flash built in xml parser
Posted by Kev P at 7/29/2004 11:47:39 AM
Can anyone tell me why the latest version of flash can not parse user defined entites in a xml dtd. I have declared 3 attributes which are called like &name; and when viewed in IE6 the attribute is replaced by the contents. My XML file works fine and flash successfully pulls off all the data i...more >>

how to select and deploy a movie clip in actionscript
Posted by Keith B at 7/29/2004 11:21:09 AM
Is there some way to deploy an instance of a movieclip at runtime in actionscript instead of by dragging it onto the stage during development? Thanks, Keith ...more >>

removeMovieClip not removing attached movie
Posted by two3rdswater at 7/29/2004 10:58:06 AM
-------------------------------------------------------------------------------- guys, i am attaching a movieclip from the library to a movieClip specified in a variable. this all works fine using the following code. [code] eval(this.navHolder).attachMovie("emptyThread", "thread" + ...more >>

xml problem
Posted by Teji at 7/29/2004 9:34:32 AM
Can someone help me i have a xml file called myfile.xml <office> <name>Tejinder</name> <name>Nitin</name> <name>Mukul</name> <name>Rohit</name> </office> now wht is the problem with the following code, why is that the _global.myname at the last line is not showing "tejinder" ...more >>

Resize swf file to specified dimension
Posted by loop360 at 7/29/2004 9:27:39 AM
How do I resize an exteral swf movie to specific dimensions (in pixels) that has been loaded in using the loadMovieNum command? So far I haven't impored it into its own movieClip, just directly into the _root timeline. Thanks ...more >>

XML and Flash
Posted by speedy d at 7/29/2004 8:05:24 AM
Hi folks, I've been creating a project in Flash that builds the courses based on an XML definition. This is fine when the content is online, but this also has to be give out on CD-ROm, and i dont want the users to be able to play around with the XML. Is there anyway to encrypt it? ...more >>

how to put input textbox within paragraph text
Posted by m_ketan at 7/29/2004 7:10:53 AM
Hi there, Does anybody knows how to insert a input text box within a paragraph text? The problem is like I have a paragraph text within which there are blank boxes to be filled by the user. The is a fill-in-blabk quiz type. any suggestion is appriciated Thanks ketan ...more >>

problems with loading images
Posted by djmdevelopment at 7/29/2004 6:53:51 AM
I am trying to create a movie that uses a dynamically loading jpeg. I have some vertical lines that move across the movie that should go over the jpeg image. The problem I am having is the image covers the effects. I have tried to add "loadMovieNum("images/main_image.jpg", 0);" to the bottom l...more >>

HELP! gotoAndStop();
Posted by sunwaycity at 7/29/2004 6:48:18 AM
Hi, I have a problem for calling the other flash file. For example, at my permanent.swf file,i want to call the 4th frame of the temporaly.swf file. Then wat should i write? can i write by this? on(press){ _level.temporaly.gotoAndStop(4); } but it seen can...more >>

LoadVars.sendAndLoad() doesnt work!
Posted by SWFBaz_v1 at 7/29/2004 5:09:49 AM
hi, i've been facing problem with LoadVars.sendAndLoad() fucntion... although LoadVars.load is working with same asp file and swf file.... but when i try to post some variables it doesnt works.... wot could be the wrong? var myVars; lv = new LoadVars(); lv.var3 = "Flash" lv.onLo...more >>

HELP!How to called other flash file?
Posted by sunwaycity at 7/29/2004 5:08:35 AM
Urgent... Let say i got two flash file, file A and file B, file A include of 10 frames. Then how i called the 4th frame of the file A from file B? Basically i using 'gotoAndStop(4)' in same frash file but how about to jump to the 4th frame of the other flash file? Plea...more >>

DEADLINE!!! We need FMX2004PRO experts ASAP $$$
Posted by maverickblair at 7/29/2004 4:55:04 AM
My name is Maverick Blair. I am the Creative Director and owner of web and software design studio. Our company has a project that has had the delivery date moved up. I need experienced designer/developeres that work with AS 2.0 and Flash MX 2004 PRO. I must see proven past work. For those that...more >>

Menu setup with straight XML is wrong.
Posted by KevinMatte at 7/29/2004 1:36:04 AM
See on-line help "Using the Menu component (Flash Professional only)" If you try the: <menu> <menuitem label="MenuItem A" > <menuitem label="SubMenuItem 1-A" /> <menuitem label="SubMenuItem 2-A" /> </menuitem> <menuitem label="MenuItem B" > <menuitem lab...more >>

loadmovie Action from a swf in an exe,.... problem
Posted by vinZ at 7/29/2004 1:07:53 AM
Hi there, I am walking in to a bit off a problem. The thing is a made an exe where at a lot of points there are swf's [nr.1] loaded into targetClips. sofar no problem, but when I do the same routin' again, so loadmovie [nr.2] from that swf [nr.1] into a tragetClip in that same swf. [nr.1] ...more >>

random script
Posted by nat77 at 7/29/2004 1:04:48 AM
When you click your way through different pages, is there any way to make the way they appear random? I want to add a script like this to my "next" button so the way the information appears is not the same every time. ...more >>

specify window size
Posted by nat77 at 7/29/2004 1:01:38 AM
I want my swf's to open in seperate windows so I have a script on the button that goes: getURL("tv.swf", "_blank"). The problem is that they open in ugly big windows whereas the .swfs are originally small. can i write a script that specifies a window size? ...more >>

Text Processor in Flash
Posted by BillG-Chicago at 7/29/2004 12:45:53 AM
Does anyone have any info on developing a simple text processing interface and functionality in Flash? All I need are the basics...font selection, font size, bold, italics, underline, save, etc. Any input would be appreciated. Thanks! Bill wglewicz@enactcorp.com ...more >>


DevelopmentNow Blog