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 > may 2006 > threads for wednesday may 10

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

Why aren't my other music files working!?!?
Posted by DumbFudge at 5/10/2006 11:14:14 PM
Here's the code... // initialize starting track var soundNext:String = "beats01"; // set up dynamic sound object var dynamicSound:Sound = new Sound(this); dynamicSound.attachSound(soundNext); dynamicSound.start(0, 1); nowPlaying.text = soundNext; beats01.onRelease = beats02.onRelea...more >>


dynamic pathnames, dot syntax
Posted by Nateb at 5/10/2006 10:24:19 PM
I'm using Flash 8, and creating a dynamic XML driven menu. I can't for the life of me figure out the syntax to make a 2 dimensional path to a movieclip. I can reference a movieclip dynamically with: _root.label.text but how can I reference a movieclip like this: _root.main1.subBut1_1...more >>

Display specific record from XML file
Posted by redtiger at 5/10/2006 9:58:00 PM
I have flash file that reads an XML file and displays the first record using combo box and text area components. How can I have the file select a specific record equal to a value stored in a DataHolder object? XML FILE: CustomerID Customer Name DataHolder (holds the ID that I want ...more >>

Movie Clip as button not working
Posted by Kate_Allan at 5/10/2006 9:21:00 PM
Hi all, I have some text in a keyframe - I converted the text to a movieclip then in frame on of the action script line i put healthbutton.onRelease=function() { getURL(www.thewebsite.co.nz/thewebpage.htm); } I publish and preview and nothing happens the cursor doesn't change when y...more >>

flash params
Posted by codescodescodes at 5/10/2006 9:11:04 PM
Hi everyone. I just had a question about getting a flash params into flash. Basically, HTML is going to pass a params into flash so how does flash retrieve it? ...more >>

Protoyping problem
Posted by tonyhigham at 5/10/2006 8:52:17 PM
when prototyping an existing class, for example: Array.prototype.myMethod = function():Void{ //Perform some action here } for...each loops return the new method, for exmple, after the previous prototype has been declared: my_arr = new Array for(i in my_arr){ trace(i) ...more >>

Password
Posted by Hoppie at 5/10/2006 8:49:07 PM
The script below works just fine but I would like the Username & Password NOT be case sensitive. What should I change. on (release, keyPress "<Enter>") { if (user add pass eq "cf" add "123") { getURL("reps_only.html", "_self"); } else if (user add pass eq "cf" add "456") { get...more >>

need some help
Posted by -=whyv=- at 5/10/2006 7:51:56 PM
hey. I been doing some flash for some while and got some way. but... my math isn't so good;) and I need a formula. it's like this, I'm creating a platform shooter. but, the players can turn 360?. that wasn't so hard. but making the players walk forward and backward is much more difficu...more >>



C# Program Using Flash 8 ActiveX Control Will Not Exit Properly
Posted by bward99 at 5/10/2006 7:33:27 PM
Hello, Our Flash 8 application runs inside of a custom C# container and uses the Flash 8 ActiveX control. I am having an issue with getting this program to exit cleanly. I use the ExternalInterface.call() to pass an "exit" command to my C# code, and in that code I do a regular form Cl...more >>

Buttons once worked, now they don't!
Posted by digitype at 5/10/2006 7:17:14 PM
I am creating a medium sized Flash site, with about 10 internal links. I created the navigation first, and all the buttons with internal links have worked fine. I made some changes today, and now about 1/3 of the links don't work. I tried re-entering the script for each button, and have also t...more >>

LoadVars
Posted by rochribre1 at 5/10/2006 7:04:11 PM
How I do to load a var with action script and to use, if this var to be a array in the php. teste - is a Array the PHP and teste5.text is a Dynamic Text the flash this retorn = undefined and if I put only teste return = Array. var arquivo1:LoadVars = new LoadVars(); arquivo1.load("info....more >>

getting top folder path
Posted by SimonDoer87 at 5/10/2006 6:26:20 PM
Hey, I need some help. I'm trying to get the path to the top level folder from _root._url eg.( C:/Documents/flashFile/flashFiles.swf ) Basically what I'm trying to pull from this string is ( C:/Documents/flashFile/). In Director I would use itemDelimiter to pull out the last item in the stri...more >>

Same flash sound on every html page
Posted by RFsantos at 5/10/2006 6:14:50 PM
Hi, i?ve a problem on site that i?m doing, ineed to put a background flash music/sound on all the pages, but i don?t want the sound to reload every html click/refresh. I know it should be possible by storing que sound position or legend on a veriable. but i dont?t know how. Please help, a...more >>

xmlConnector Error Handling - Catching Problems
Posted by john.gooch at 5/10/2006 5:18:18 PM
I have an xmlConnector that requests an ASP page that returns data in XML format. It is working fine, and now I want to add error handling to handle cases where: The ASP page request fails ( for whatever reason ) The ASP page request succeeds, but does not return any data ( request timeout ...more >>

unexpected behavior when button is clicked-"playhead" jumps to wrong frame
Posted by tonomud at 5/10/2006 5:02:57 PM
I'm working on a flash site, and am running into an actionscript issue that has me a bit stymied. The main .fla timeline is 42 frames long. Frames 1-23 are the preloader, each frame between frames 24-31 contain one of the sections of the site, then frames 36-42 contain subsections of one ...more >>

Changing scene - strange behaviour
Posted by terjemi at 5/10/2006 4:59:41 PM
Hi! I am making an animation based on several scenes. The animation is supposed to jump between the scenes by a "gotoAndStop" command: In the Scene " Introduction" there is a button with the code: next_btn.onPress = function() { gotoAndStop("Stepwise_test",1); }; In the scene ...more >>

drag along atan created angle
Posted by Brock at 5/10/2006 4:15:21 PM
Hi all, I want to be able to let the user drag a movieClip along an angle that is built with Math.atan This is the code I use to build the angle: angle = Math.atan((oppositeSide)/(adjacentSide))/(Math.PI/180); Because this angle can change depending on what the end user chooses for a ...more >>

about class problem?
Posted by tyrande1982 at 5/10/2006 3:02:10 PM
class xmlLoad { private var xmlName:String; public var booleanLoad:Boolean; private var xml:XML; public function xmlLoad(newXmlName:String) { xmlName = newXmlName; booleanLoad = false; xml = new XML(); xml.load(xmlName); xml.onLoad = function(success:Boolean) { ...more >>

date field
Posted by san_sasuke at 5/10/2006 2:33:28 PM
Hi all! I'm using the date field with a dynamic generated date. Look at the code: var today_date:Date = new Date(); begin.selectableRange = {rangeStart: today_date}; Well this is working fine, but the problem is that it's including the day of Today. Is there any way to tell it to sta...more >>

technique in Flash/ActionScript to create 3D animation
Posted by aa at 5/10/2006 2:11:24 PM
Is there a technique in Flash/ActionScript to create a sort of 3D animation like, say, a deer walking around so that a viewer can see it from different sides? ...more >>

2880
Posted by mr.eddy at 5/10/2006 1:34:44 PM
I just wanted to say that this limitation is a real pain in the ass. Is there really no way to load a larger image (from a single image file) dynamically? I'll buy you a beer if you have a good solution :) ...more >>

Using the Tween class on a rollover. Please help me restore functionality!
Posted by Scruffpuff at 5/10/2006 1:30:22 PM
Ok, I have a movieclip with 3 different tweens applied to it via the tween class. The first tween happens on rollover and makes the movieclip a little bigger, the second tween happens on rollout and makes it smaller. The third tween happens on release and makes the clip much bigger. Howeve...more >>

Flash HTML Alignment!!!!!!!
Posted by L_ogistics at 5/10/2006 12:56:16 PM
Hello I have designed a flah website and am ready to publish it as a HTML file. But when i publish the file it always aligns in a position I dont want. I wont the site to appear in the middle of the browser but no matter what values I change in publishing settins it doesn't position itself a...more >>

reversing a string?
Posted by DrEv1l at 5/10/2006 11:52:21 AM
How would I go about reversing a string? I can't think of an effective way to do this. ...more >>

Client side image resizing
Posted by peterdijk19 at 5/10/2006 11:44:41 AM
Hi all, Is flash capable to resize images in clients computer and then upload them, keeping in mind the sandbox security of flash? GRTZ Peter...more >>

Kglad?
Posted by exPluda? at 5/10/2006 10:27:09 AM
Hello, Kglad, can you please help me? I'm trying to make an water effect for abaut a month ago, but no results. The most efficient example I have is one work of urami_*, but it is flash 6 as 1 and I need flash 8 as 2. Althought this urami_* example is great, it doesn't exactly fill m...more >>

onUpdate and removeMovieClip()
Posted by Finty at 5/10/2006 10:00:54 AM
is it possible to use removeMovieClip() successfully in a live preview? I am loading an external swf using loadMovie() and am using a preload function so that I can modify the width and height of the loaded swf. This works except for removing the preloader using removeMovieClip(). The s...more >>

how do i move objects in an assigned order?
Posted by hutch_bug at 5/10/2006 9:53:35 AM
I need help urgently! I have 14 bricks, and want each one to fall down the screen in a particular order. I'm guessing I'll need to use an array, but I am really new to actionscript and need basic instructions on what to do... thanks (this is my fla so far, the user has to match t...more >>

random (number) Help
Posted by Abyu at 5/10/2006 8:10:19 AM
hi can anybody help me In the function random (number) if for eg. number=56 then it generates any number between 0 and 56 but if want to generate numbers between 56 and 567 what should i do ? please help me :) ...more >>

Set Property
Posted by Abyu at 5/10/2006 6:27:04 AM
HI can anybody explain me the setProperty Function...more >>

how to stop my scroll
Posted by Nevermynd at 5/10/2006 6:05:50 AM
I have a movie clip that I am scrolling vertically in one direction (to keep it simple for this question) when you move your cursor over a button (movie clip that acts as a button. When you roll off it stops scrolling. Everything is working so far in the code etc. But what I need to know is ...more >>

BitmapData
Posted by pwyon at 5/10/2006 4:00:01 AM
Hello, ...more >>

how do you dynamically move duplicated _mc's?
Posted by JF Lachap at 5/10/2006 3:44:46 AM
Hi there, my first forum question, i.e. should be easy for most. Yay! I am trying to make every duplicated _mc in the following code move right 5 pix from each other. With this code, it seems only one duplicated _mc moved 5 pix. Furthermore, my trace(._x) returns 10 "undefined"s? Wh...more >>

how do you dynamically move duplicated _mc's?
Posted by JF Lachap at 5/10/2006 3:43:54 AM
Hi there, my first forum question, i.e. should be easy for most. Yay! I am trying to make every duplicated _mc in the following code move right 5 pix from each other. With this code, it seems only one duplicated _mc moved 5 pix. Furthermore, my trace(._x) returns 10 "undefined"s? Wh...more >>

"Floating" a movieclip
Posted by sampurtill at 5/10/2006 3:38:17 AM
Real quick, Does anyone have any ideas as to how to make a movieclip appear to float in the air? I want it to stay within... say 40 pixels of its original x and y coordinates. I'm just not that good at making visual effects, I'm more into data integration. Thanks! Sam ...more >>

Making a button stay on the "OVER" state
Posted by rickymac at 5/10/2006 1:59:49 AM
I have this Movie Clip Drop-Down Menu, which has a button inside (Overview) that turns red when you roll over it ... When the Drop-Down Menus sub-buttons are clicked, the movie jumps to a frame labeled "WhoWeAre" or "OurMission"... When it lands on either frame, I want the word "Overview" to ...more >>

Form Fields
Posted by EBTurner at 5/10/2006 1:14:51 AM
Hey Everyone.... You know those form fields in Dreamweaver that you can create... well what action do i write to do them in flash?! Thanxs in advance :) -Liz ...more >>

FlashLite 2.0 FLA memory limit
Posted by HughisHere at 5/10/2006 1:10:09 AM
Hi, Has anyone successfully published and tested a Flashlite 2.0 app that exceeds 1024k on the FLA file size. The Flash Lite emulator and documention says that the memory limit is 1024k on the SWF file. But I am running into serious memory problems just at the point where my FLA might b...more >>

Need HTML movie to run in its own window. Please help
Posted by Seemoresearch at 5/10/2006 12:31:23 AM
Please check out www.seemoresearch.com Click on how it works. The movie with the snappy music come on, but it comes on inside the 500 x 500 flash movie. I want it to create its's own window. Here is the "action" I have on the button named How it works-demo. on (release) { loadMovieNum("...more >>

setInterval
Posted by kyugawa at 5/10/2006 12:02:23 AM
I am running a set Interval function repeatedly to move certain objects. I believe that I am clearing all intervals but it seems that the system drastically slows when left on for more than a few minutes. Here is the following code: if anyone has an idea on what I'm doing wrong please let ...more >>


DevelopmentNow Blog