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 > march 2006 > threads for wednesday march 15

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

rewinding a timeline
Posted by insomniacflashgirl at 3/15/2006 11:15:36 PM
Hi, I'm looking to control my timeline (not in a mc) with VCR-like controls - for the rewind control I am using: on (release) { gotoAndPlay(_currentFrame - 60); } which is okay, but ideally, I'd prefer to have it actually rewind and show the progression of the timeline in full, j...more >>


Re: Flash 8: Code to make symbol follow dragged symbol?
Posted by blemmo at 3/15/2006 11:01:53 PM
Well, it's really quite simple... here it goes: -- mc1.onMouseDown = function(){ startDrag(mc1); mc1.onMouseMove = function(){ mc2._x = mc1._x + 200; mc2._y = mc1._y + 50; } } mc1.onMouseUp = function(){ stopDrag(); delete mc1.onMouseMove; } -- 'mc1' is the dra...more >>

Using startDrag to move an object
Posted by DuhChamp at 3/15/2006 10:00:36 PM
Using start Drag -------------------------------------------------------------------------------- I need to create a movable button that follows the top, left and right border of the screen, and a diagonal line that comes up from the bottom and intersects in the middle of the right bo...more >>

_root.link = action script help!
Posted by hennryflash at 3/15/2006 9:29:38 PM
hi gang, ive got a flash template im trying to edit for a friend, id say im fairly good at flash ive made alot of sites with actions but having trouble with this. the problem i have got is the _root.link= this is the action script: on (release) { if (_root.link <> 8) { _root.got...more >>

XML RAM usage
Posted by hexatropic at 3/15/2006 9:01:27 PM
Can anyone tell me what is the best way to handle XML data once it's loaded into Flash? I am reading "XML for Flash" from Friends of ED, and the author is loading an XML doc, and then using the data tree in the XML object to hold all of the information for later use. This is appealing, because...more >>

Grow and move action script?
Posted by 101658TJF at 3/15/2006 8:53:27 PM
Hi All, How would I use an action script to make a shape grow to a certain size and move to the left at a 45 degree off the movie from where it started. All this done at the same time with it looping this action 4 times before dissappearing or stopping? Thanks. ...more >>

continuous scroll of dynamic text on button roll over?????
Posted by mstein78 at 3/15/2006 8:51:32 PM
I have a dynamic text box and two bottons to scroll the text. but the buttons only scroll one line at a time. I need them to continuously scroll down. Please walk me through this. I saw a post that said this could be done thru certian actionscripting, which was places on the movice clip the t...more >>

Scrolling Background witk key?
Posted by telefoto at 3/15/2006 8:10:18 PM
Sorry again on my bad English lenguage I hope you will understand me - Thanks! I want to make car race game. I make frame by frame moving background. How to make Scrolling Background to interact with car? I want that background move with car on Key press?? How to make this? I find some tutor...more >>



Can you Import xml superscript into flash text boxes
Posted by josh23gb at 3/15/2006 7:59:51 PM
How can I Import a superscripted 3 in xml to a dianiamic text box in flash? I have tried two ways to format my xml so flash would recongize my 3 as superscript. Is this possible? I tried rendering my text box as html also that didnt work. my xml code is below neither one has work for the imp...more >>

projector getURL problem
Posted by cimaea at 3/15/2006 7:04:26 PM
I have been playing with this for some time without any good solution. maybe somebody has a good hint at hand. we've been developing a projector containing approx. 200 documents (pdf, doc, ppt, etc). At this time we use getURL to open the documents (with relative paths). this works but it ...more >>

question about sendAndLoad
Posted by The 350Z at 3/15/2006 6:57:49 PM
Hi guys, How everyone's doing? I have a few questions So I'm doing this login authenticationusing php and mysql. I'm trying to load a new swf using loadMovie after the user enters their login information. questions are: 1. Now, when I load a new swf, do I have to load the same p...more >>

Loading External Swfs problem
Posted by SunSeekerNC at 3/15/2006 6:52:00 PM
Background: I have created a Flash projector file which acts as a "player" for external swfs. In the "player", when a user selects a option from a drop-down menu, it loads the selected external swf, through something like: utarget.loadMovie("/swf/unit6ex.swf"). Where utarget is the target ...more >>

hyperlinking url to a button?
Posted by Pilot_Louie6336 at 3/15/2006 6:46:38 PM
I am working on a project that has a button made in flash and then is put on dreamweaveron I have used this in the actions while still in flash (on relese){ getURL("schedule.html"); //End Behavior } as a test I made a schedule.html in the Buttons folder that the button is located in cu...more >>

Flash 8: Code to make symbol follow dragged symbol?
Posted by ghost zero at 3/15/2006 6:43:51 PM
Flash 8: What is the code to make a symbol follow another dragged symbol? Thanks....more >>

Removing a tree node using the Flash tree component
Posted by Ryan M at 3/15/2006 6:43:20 PM
Hi folks, I have spent the last hour going around in circles on this one. I am building a Flash app using the v8 Flash UI tree component. Can somebody please give me a simple function that will reliably remove the currently selected tree node from the tree? This is the closest that I've got...more >>

Controlling a Movie Clip
Posted by Craig Grant at 3/15/2006 6:42:22 PM
I am having trouble controlling a motionTween Movie Clip I created. The motionTween is 10 Frames long and I want it to be controlled by a rollOver and rollOut function. When the user rollOver the movie clip I wan it to play frames 1 thru 10 and stop and when the user rollOut I want to the Movi...more >>

Attach Movie Clip to a Path
Posted by JakeTheSnake3.0 at 3/15/2006 6:16:32 PM
Hey everyone, my intent for one of my projects is to have a movie clip attach multiple times to the stage, and when they are attached, I want them to follow a path layed out from within the movie clip that calls it. Any idea how? ...more >>

Monitoring FPS
Posted by nickcrispini at 3/15/2006 5:55:04 PM
Does anyone have a simple script to monitor the frame rate of a movie while it's running? Thanks in advance....more >>

flash 8 dynamic and input text variables
Posted by james at 3/15/2006 5:36:24 PM
Hi, I've just done something in flash I've done for years and am getting some unexpected results with flash 8. K simple thing I just have an input text field with a variable in the var field (call it testvar). When I run a trace on that variable I get a load of html tags along with whateve...more >>

detecting file extension in variable value
Posted by tony at 3/15/2006 4:44:25 PM
I want to check a variable value to see if it ends in swf How do I do this? At the mo I have if(_level1.cnextPage == "*swf") Please help! Thanks ...more >>

open external files using fscommand on mac
Posted by madmac66 at 3/15/2006 4:40:22 PM
I have been able to use .bat files to open external files using fscommand until now. But I have a x-platform job and need to create same functionality on Mac. How does one go about this. There are no bat files on Mac, can I point directly to the file, a PDF? many many thanks, I'm in SUCH a...more >>

Flash 5 files not exporting correctly out of MX 2004
Posted by Dermot Hall at 3/15/2006 4:32:34 PM
I'm trying to edit flash files done in Flash 5 trouble is they keep corrupting when i save them out from MX 2004, so they won't work as intended, I think it's an issue with action script, anyone any ideas? thanks ...more >>

Is it possible? 1 preloader ffor dynamicly loaded images
Posted by T]e[O at 3/15/2006 4:04:31 PM
I am loading some images with the loadClip() function and I don't want to attach a preloader for every picture. Instead I want to use 1 preLoaderBar for the loaded images. Is this possible???? Teo Farro teofarro@gmail.com ...more >>

marquee drag
Posted by Stark968 at 3/15/2006 4:04:20 PM
Is there a way to drag a marquee over an object (lets say a rectangle) and remove the piece in the selection, then drag it away ...more >>

password expire
Posted by andymb at 3/15/2006 3:54:45 PM
Is there a way to make a login password expire after a few days? I'm using Flash 8 and php to store my variables. My login is very simple but I'm willing to change it to make the expiration script work. Any advice or known tutorial would be appreciated. I've googled this already as well...more >>

XML - Use in Flash and UPDATE through ASP. HELP!
Posted by JimmySlam at 3/15/2006 3:45:28 PM
How can I do it? I have a bit of idea but searching on the internet is not enought information (or I didnt find it) Any one knows how to Send an XML to ASP, the ASP saves it into a XML on the server and then the flash download it? The thing of the downloading is easy. I just need to update ...more >>

scripting problem?
Posted by CdCardGuy at 3/15/2006 3:28:15 PM
:confused; trying to add email link on Flash 8 .fla, that will be used for a CD business card. When I try to script button I receive the error message "statement must appear within on handler" I HAVE NO CLUE? This is all I need to complete cd card, any help would be appreciat...more >>

multiple mc tweening
Posted by pdukee at 3/15/2006 3:22:47 PM
hi all!! i have 10 movie clips that i want to scale by apllying the same tween to all of them. Is there a way to create a tween once instead of using a new one for each one of them below i preview 2 of the 10 tweens. you see it is quite amature..... thank you in advance tweenw1 =...more >>

load text variable Flash 8
Posted by SBee7958 at 3/15/2006 2:03:29 PM
Hi - This was always easy until i upgraded to Flash 8. Have a text box with a scrollbar (UIScrollbar Component). i am loading a small text file into it with: loadVariablesNum("boardstext.txt", 0); The text load no problem - BUT the scrollbar goes away and the text gets cut off. I have Mul...more >>

pass variables between frame scripts
Posted by prisonerjohn at 3/15/2006 5:02:13 AM
i have a 3 frame movie with a script in each frame and i'm trying to call a function defined in the second frame script from the first frame script but it's not working... anybody know how this can be done? thanks! ...more >>

Flash 8: Code to make symbol drag with mouse?
Posted by ghost zero at 3/15/2006 4:07:31 AM
Flash 8: What is the code to make a symbol able to be dragged / moved with the mouse? I need a code for dragging restricting to the Y, and a code restricting to the X axis. Thanks....more >>

scrollPane + mouse wheel on safari
Posted by dontwriteme at 3/15/2006 3:45:41 AM
Hey, odd error I havent come accross before, my flash 7 movie that uses a scrollPane component doesnt let users scroll on safari ? Never had this before but my bro insists that it does not let him... I personally think he just had too many daiquiris.... but who knows. http://www.farst.n...more >>

Preloader again...How to do it in Flash 8?
Posted by Baran26 at 3/15/2006 3:10:07 AM
Hello all, I`m sorry I have to come up with such a noob question, but the last time I dealt with Flash was with version 6 and now I got into real troubles with my Preloaders. Of course I already searched the forums but couldn`t find anything that fits my needs - and my needs are really sim...more >>

Loading and playing videos dynamically
Posted by wally_errrr at 3/15/2006 3:04:25 AM
Hey there, Just wondering if someone could give me my options for the user being able to upload a video to my server (by the way i have the file upload part done). I then want them to be able to play it back in my interface. Can anyone guide me in the right direction? Obviously I cant ...more >>

Targeting _self in Flash 8
Posted by aasimpy at 3/15/2006 2:03:10 AM
I've created a SWF nav for an HTML message board (phpbb), and the nav is supposed to load into the current window after buttons are pressed. I've coded the buttons to target _self, and it works when I export the SWF to the Flash 5 player, but when I target the Flash 8 player, new windows keep...more >>

PANOSLIDE
Posted by Graem81 at 3/15/2006 1:46:29 AM
Flash Gurus, I'm trying to pan a map using mouse position. I've found a perfect example and it's linked below, the only think it needs to work on all axis, any thoughts to something like this?? http://www.flashangel.de/fla/fsraumbew3.swf Thanks in advance. Ciao, G ...more >>

Best way to instance a class in AS2 OOP?
Posted by MatthewFord at 3/15/2006 1:43:55 AM
Hello to everyone on my favorite, helpful forum! I am wrapping my brain around OOP and I need some advice. I am making two posts on two different subjects. My question here is: when should I link an AS2 class to a library symbol which I then instance, and when should I use ?new? in code ...more >>

Best practice? Local vars vs. properties in AS2 OOP
Posted by MatthewFord at 3/15/2006 1:42:05 AM
Hello to everyone on my favorite, helpful forum! I am wrapping my brain around OOP in AS2 and I need some advice. I am making two posts on two different subjects. My question here is: when should I use local instance variables, and when should I attach new properties to the instance obje...more >>

hide hand cursor
Posted by luizcopa at 3/15/2006 1:30:31 AM
How i do hide hand cursor from roll over roll out... thanks for all....more >>

Again I'm asking about opening an external file from flash.
Posted by TheREALJessep at 3/15/2006 12:29:38 AM
I tried posting this twice already but it keeps getting run over by a ton of other posts. I'm trying to create a multimedia cd so that the main swf or projector file plays. This isn't a problem, however I need for mpg/avi clips under a different path on the CD to open on a button press. What ...more >>

How to fork between F7/F8 loadMovie instances in actionscript?
Posted by Ken Fine at 3/15/2006 12:10:10 AM
Adobe provides code to allow you to fork between F7 and F8 instances of your movie. This works just fine. So the issue I'm running into now is that I've done a nice job abstracting my content into a bunch of separate .swfs that are reassembled into a finished movie. What I need to know is h...more >>

Close window command????
Posted by invincibleneo at 3/15/2006 12:00:00 AM
I want a code that I will add to my button which i wilol use between on(release) { (WILL USE HERE) }...more >>

Mute that does stop"ALL"sounds?
Posted by blueprnt at 3/15/2006 12:00:00 AM
Hi, what I am trying to do is add a mute button to my flash project. I use animation noises i.e. when a ball drops in a swoosh sound is made, so there a 6 different sounds happening on different events, i.e. press the ball it goes poof etc... we will call them sound1 - sound6. I have tried the...more >>

Using Array as variable
Posted by TaoHunter at 3/15/2006 12:00:00 AM
I have the array: posName = new Array("pos1", "pos2", "pos3", "pos4"); and a couple of movieclips with the names pos1, pos2, pos3, pos4 now I want to adress the MCs with the values in the Array I've tried things like; posname._y = 40; eval(posname)._y = 40; but obviously that doe...more >>

Nesting Arrays within arrays.
Posted by JimmySlam at 3/15/2006 12:00:00 AM
How do i nest an array inside another array? something like array(i).aray2(j); Can I do that? ...more >>

Dynamic Text from file Wont display when swf is imported into another flash file
Posted by gary0318 at 3/15/2006 12:00:00 AM
I have generated a swf in which I display a list of calendar dates (from a text file) into a dynamic text field. It works fine "standalone", and it works fine from the web server. Now I have a MAIN movie from which I want to call my "calendar" movie. I imported calendar.swf into main.fla. ...more >>

Load external movie clip and combo boxes
Posted by Bladeyflowness at 3/15/2006 12:00:00 AM
Loading an external movie then using a combo box -------------------------------------------------------------------------------- I have a site in which I am using the 'load an external movieclip' behaviour to bring in a 'contact details' style swf into and empty movie clip. The swf ...more >>

Disable all movieClips events...
Posted by SteveStall at 3/15/2006 12:00:00 AM
Hi there, =20 Is there a way to generically disable all movieClips events? =20 My idea is something like this: =20 function freezeStage ():Void { MovieClip.prototype.enabled =3D false; } =20 function unFreezeStage ():Void { MovieClip.prototype...more >>

How can I transform a string into a Number.
Posted by JimmySlam at 3/15/2006 12:00:00 AM
Why is this treated like String? I want to compare to numbers , but fails since one of them is a string... I tried to transform it into a number: function searchSlide(IDslide:Number) { for (A=1; A<9; A++) { for (B=0; B<9; B++) { SlideThere = sub[A]['slides'+B]; //this valu...more >>

preloader not working correctly
Posted by JosVecht at 3/15/2006 12:00:00 AM
May be one of you can help me with this problem. I made a swf containing an mp3. A preloader within this swf shows the loading of the mp3 correctly. This file can be found for the time being on http://www.printandweb.nl/bend.swf. When I call for it by releasing a button in the main movie the p...more >>

login with php & mySql
Posted by The 350Z at 3/15/2006 12:00:00 AM
I'm doing a flash blog andI have this login page. After a user enter the login info and hit submit, I wonder if its possible to load a new swf but still holds the data that a user just entered, ie: his/her name, email, messages and so forth? It's like it's taking them to their own page. ...more >>

reading string from xml into textField
Posted by stephan.k at 3/15/2006 12:00:00 AM
Hello everyone I am reading text strings from an xml file and display them in small text boxes created with new TextFormat and createNewTextField. If I just display a normal string created in flash with the same textFormat and createNewTextField code the linebreaks work fine. If I read ...more >>

paypal
Posted by jonnybennett at 3/15/2006 12:00:00 AM
I am setting up IPN, with paypal, however this requires a variable to be sent to paypal called 'return'. However when you add this as one of your loadVars variables it causes problems, as you can't use the name return. paypal=new LoadVars(); payPalBtn.onRelease=function(){ paypal.ret...more >>


DevelopmentNow Blog