Psst! Did you know DevelopmentNow is a mobile web site design agency?

Contact us for help mobilizing your site, or to sign up for our beta Mobile Web SDK!


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 2005

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

Flash/Javascript problem
Posted by Scott Filloon at 4/30/2005 5:42:26 PM
I'm having some browser problems with a Javascript issue communicating with a Flash swf. It works with IE but not with Netscape. The embedded Flash file does have the appropriate "ID tag" and "swLiveconnect=true" for Netscape. If there are any Flash users who are well versed with javascript,...more >>


Changing fps.
Posted by iameatingjam at 4/30/2005 12:00:00 AM
Hello, I was wondering if theres anyway to change the framerate during a movie? if there is pease tell me, I would be very gratfull ^^...more >>

Loading sounds in AS 2.0 and AS 1.0
Posted by pparto6 at 4/30/2005 12:00:00 AM
Hi all, I use the code below to creat an inctance of sound object, load a mp3 file and start to play it. var mySound=new sound(); mySound.loadSound("somthing.mp3",true); mySound.start(); The code above works good in AS 2.0 but in AS 1.0 does not respond or even triggers an error....more >>

Math
Posted by badmonkey91 at 4/30/2005 12:00:00 AM
Flash isn't giving me real values when using sine, cosine, ect. In basic you use # on variables, and I tired Math.abs( ), but didnt help. Any idea.why(?)...more >>

createEmptyMovieClip and instances
Posted by plasticonoband at 4/30/2005 12:00:00 AM
Is there a way to create and empty movie clip that loads a graphic symbol from the library? I can only find instructions on how to load an external .swf file or jpegs into and empty movie clip? Any information would help. ...more >>

My preloader does not work.. help!!!
Posted by Amcasperforu at 4/30/2005 12:00:00 AM
Greetings! I have a question regarding preloading a swf file. It's quite different from your tutorial though can't get what should I've done in this case. Here's what I'm doing. I have the main time line that controls all the preloding. In this main time line, I have a window UI compon...more >>

Cursor help!!
Posted by evilvoid at 4/30/2005 12:00:00 AM
Hi I am trying to use a custom cusor on my site it all seems to work fine except for when u right click the origonal cursor comes back and overlaps the custom one is the any way to avoid this ? The code im using is: // stop (); Mouse.hide(); startDrag ("cursor_mc", true); // ...more >>

TextField - avoid double line space
Posted by PEF at 4/30/2005 12:00:00 AM
Hey, When inserting text to a TextField from a database the paragraphs are interspaced with "double space": This is a paragraph This is another paragraph ... turns out like This is a paragraph This is another paragraph How can I avoid this? Thanks. Peter ...more >>



Registration Point
Posted by xdeliriumx at 4/30/2005 12:00:00 AM
Okay, another question for everyone out there: I am attempting to fake a registration point, but even with all the research I've done, I can't quite make it work. Someone in this forum posted this code: imageArray = ['i.jpg','j.jpg','k.jpg']; createEmptyMovieClip('frame',1); frame.cre...more >>

Buttons not working in the loaded movie
Posted by newbuggie at 4/30/2005 12:00:00 AM
Hi, I am new to actionscript. I am now working on my first frash website. I have created several separate .swf movie which will load to the main movie when buttons are clicked. Although the moive was loaded properly, nothing happened when I clicked the buttons inside it. All the butto...more >>

Swift 3D
Posted by Colacola at 4/30/2005 12:00:00 AM
Hello Guys. Can anybody tell me where can I get a free trial version of Swift 3D, from which websites, help me....more >>

bug? glitch?
Posted by Coldwynn at 4/30/2005 12:00:00 AM
I don't know if this is a known bug, so I'm reporting it here for your comment. The function pasted below is my (clumsy attempt) at filling in trailing zeroes in converting a number (with an expected number of significant figures) to a string. Notice that the number in the first trace - not ...more >>

Please help
Posted by deleriumspeck at 4/30/2005 12:00:00 AM
Hello guys! I am a beginner in Flash and i need to know how can i play a swf movie from another swf movie what is the command and the parameters.This is very important to me,if you can help me i'd be very happy. deleriumspeck@yahoo.com if you want to know more details ...more >>

Combo Box only accessible once
Posted by HGilbert/Teacher at 4/30/2005 12:00:00 AM
I have an action script that looks at year, month and day entries, some of which may be chosen from Combo Boxes. The first time the script calls month.getSelectedIndex() the correct index of a selected entry is returned. Further calls return nothing (null string), whether the user has changed ...more >>

placement of scripts for scrolling
Posted by macron at 4/30/2005 12:00:00 AM
hi all, i'm having trouble figuring out where to place a script for scrolling a movie clip behind a mask. i know how to make a pair of buttons scroll a movie clip up and down behind a mask if they're all on the main stage. but in this case, both the buttons and the clip that i want to sc...more >>

myFunction.apply() issues... can anybody tell me what I'm doing wrong?
Posted by EricNY523 at 4/30/2005 12:00:00 AM
I'm using the Function.apply() method to send a dynamic number of arguments to another function, and i'm running into much frustration.... it seems, whenever I send an argument, it will trace the argument, but execute nothing else inside the function, but... if the argument is Undefined, every...more >>

Odd loadMovie error
Posted by Robner at 4/30/2005 12:00:00 AM
Hello, My main movie clip has a frame script in its _root timeline that loads an external flash movie into an empty mc which is also on the _root timeline. I have a button that is nested inside of a menu movie clip which is also on the _root timeline, and has the following code: ...more >>

Button with geturl load automatically
Posted by Kryshya at 4/30/2005 12:00:00 AM
I edit a free web flash deploying menu to fit my web site. I have some problem with action script. On the first button, I try to put an action script geturl so when the user click on it, it loads a webpage in a new window. I select the button instance on the right keyframe and go to t...more >>

reading from different lines of the text file
Posted by soheil_07 at 4/30/2005 12:00:00 AM
Hi, for some reason, I can only read variables which are on the first line of the text file but I can't get the ones on the second line. is there any way I can point out to the second line of text file? I'd appreciate your help. ...more >>

Buttons problem
Posted by Tarvinder (IIL, Delhi) at 4/30/2005 12:00:00 AM
I have one flash movie which i have embeded inside a html pages. This flash has four buttons in it and on clik on each button it takes to the coressponding HTML page, but i want that when i click on button it should be highlited in the coressponding HTML page page as every page has that flash e...more >>

Effects on empty movies
Posted by borbolla at 4/30/2005 12:00:00 AM
Hi, I'm trying to preload external swf files that contain only images (one image per file), they are being inserted on a empty movie clip, but I need to make a fade in and out to make them look nice, how could I make the effect since the movie clip where they are being loaded is empty. ...more >>

How to make a flash animation
Posted by wildcatlax72 at 4/30/2005 12:00:00 AM
im totally fricken lost. i have no clue what to do. all i know how to do is draw and move things around but how do i do the rest. can someone give me the link to the tutorial for it or some how teach me.. please ...more >>

Array duplication?
Posted by davepla at 4/29/2005 12:00:00 AM
Hi: how can I duplicate an existing array? If I do: bufferTmp = buffer; being buffer an array, bufferTmp contains a reference to the same array not a copy TIA, David P....more >>

Simple LoadConnection help needed
Posted by i:dezyn at 4/29/2005 12:00:00 AM
OK, here's the deal. I'm way more of a designer than programmer, so I'm totally new to the LoadConnection deal, and I need some help. I've searched theses forums and others, and I still need help. All I'm trying to do is have one SWF trigger two other SWFs on the same HTML page to begin pl...more >>

How to load Flash Paper and hide toolbar icons
Posted by Carl Jeffrey at 4/29/2005 12:00:00 AM
Hi, Does anyone know how to load Flash Paper .swf's and hide the toolbar icons? Any help would be greatly appreciated :)...more >>

Loading a song from another location
Posted by davidprovost at 4/29/2005 12:00:00 AM
I need to load a song so that its not loaded when the actual swf is loaded. So u dont gotta wait a million years while the website loads just cus theres a bunch of songs in it. What would be the actionscript for that? ...more >>

variable passing to function
Posted by arseniq at 4/29/2005 12:00:00 AM
I am making a xml menu that can determine how many button it will have and get the url, button label and target data from the xml file. But i am having a problem with passing the xml data to the onRelease function. Tracing the values wthin the function outputs nothing. I know functions doesnt ...more >>

Problem dealing with Numbers and Math.floor
Posted by P.Nadhani at 4/29/2005 12:00:00 AM
When I ues the following code in Flash, a = 54.64 trace(a-Math.floor(a)); I get the following output: 0.640000000000001 Where is this extra .000000000000001 coming from? This causes a lot of problems when checking for equalities/inequalities and greater/lesser than? Can any one p...more >>

Open another swf from current swf
Posted by timbo313 at 4/29/2005 12:00:00 AM
How do I open an swf from another swf? any ideas? thanks Tim...more >>

Declaring an associative array
Posted by chrscote at 4/29/2005 12:00:00 AM
I'm trying to figure out how to declare an associative array. Does anyone know how to declare one without having to type each element separately? For example, something like myArray=(size:"Large", color:"red", shape:"circle"). Chris ...more >>

FLV External
Posted by Cristiano Venturella at 4/29/2005 12:00:00 AM
What is tha ActionScript to have an external FLV? thanks ...more >>

EXPAND ALL TREE COMPONENT NODES WHEN LOADED
Posted by Adrian Cadena at 4/29/2005 12:00:00 AM
Hello Does Any one know how to expand all nodes of a tree component when the component is loaded??? Pleas let me know Adrian...more >>

1=a 2=b 3=c....
Posted by tommytomthms5 at 4/29/2005 12:00:00 AM
i want to randomly genorate letters from numbers i figured it would be easy with if (count == 1, true) { count = a; } then repeat for the rest of the alphabet but it doesnt work it returns in the txt box "UNDEF" please fix and please i already know i spell bad ...more >>

buttons in movie clips
Posted by meredyj at 4/29/2005 12:00:00 AM
I have a movie clip that moves acroo the screen and stops when mouse hovers over the middle of the movie. I want to be able to link to various urls from within the clip but when I attach actions to buttons inside the clip it doesn't work. How I put several geturls inside a single frame movie c...more >>

formatter options - Compose String
Posted by DaveDmd at 4/29/2005 12:00:00 AM
I have a grid thats linked to a xml file. one for the columns is a currency of numbers. I'd like to format these so there are commas after representing thousands, million etc. like 5000000 into $5,000,000 I tried the compose strint with $<.> , but i cant get the commas. Anyone please advise....more >>

Send dynamic list of Parameters to Function
Posted by EricNY523 at 4/29/2005 12:00:00 AM
I have an array of arguments that I want to send as parameters to a function.... how would I go about doing this? Its always a different function, so the number of parameters varies. An example would be: myArray = ["param1","param2","param3"]; Function1 (ParamsFromArray); myAr...more >>

Actionscript & XML load randomly.
Posted by Enrique Jimenez at 4/29/2005 12:00:00 AM
Hello, I currently have a flash file that loads and XML file with the following Actionscript code. contentXML = new XML(); contentXML.ignoreWhite = true; contentXML.load("XMLmenu.xml"); contentXML.onLoad = function(){ contentArray = contentXML.firstChild.childNodes; contentGene...more >>

Click on a song, stop current, change to new
Posted by matthias47 at 4/29/2005 12:00:00 AM
ok so i have this media player. with 10 buttons and blah blah blah. how i got it to work ; 10 frams with frame lables, 1st frame was called "one" and had the first song selected to play when brought to that frame from the first (nuetral) frame...etc then when you click stop it takes yo...more >>

opening PDF files - problems
Posted by it3 at 4/29/2005 12:00:00 AM
Hello. I have a number of buttons that open PDF documents. I have the following code entered for these buttons: on (release) { //Goto Webpage Behavior getURL("folder/filename.pdf","_blank"); //End Behavior } When I load the web page(s) the PDF's don't open on my machine. ...more >>

Easeing on StartDrag function
Posted by limezor at 4/29/2005 12:00:00 AM
I'm using this code: b = bigBox.getBounds(_root); smallBox.startDrag(true, b.xMin, b.yMax, b.xMax, b.yMin); My question is: How do you make 'smallBox' ease when following the mouse, or slow down. ...more >>

video
Posted by Macromedia at 4/29/2005 12:00:00 AM
Can anybody help me out? I am running some tests before implement the video in flash. It turns out that it worked when I uploaded the files to a server (linux), but it didn't work out in another server (windows). Is it the problem or is there any other reason? I thank any reply in adva...more >>

generic destruction code
Posted by dubya at 4/29/2005 12:00:00 AM
hey everybody! :) i've got a loop that receives objects due for destruction. the objects may be of type anyType. so i've got the below code running against them. tell me: would you do it this way? or do you know of anything that needs to be added? or just: what do you think? ...more >>

Find Loaded Image widht and height
Posted by Ashish123 at 4/29/2005 12:00:00 AM
Hi Forum, Anyone knows how do i find it out the width and height of the image loaded inside a movie clip. And how i can restrict the user of loading image having a specific size say 300px width and 200px height. Right now i am unable to have control and the whole page is getting covered ...more >>

nextFrame! How does it work?
Posted by complexity at 4/29/2005 12:00:00 AM
Hey all, I have a movie clip, with a named instance of content_mc inside I have some navigation movieclips. All I want to do is be able to go forward 1 frame in the timeline (in the content_mc) for the Forward button and go -1 frame backward for the Backward button. So I thought I wo...more >>

duplicateMovieClip problem
Posted by a-cross at 4/29/2005 12:00:00 AM
Hi Very strange things happens here. At startup I duplicated a movieclip several times. the on(press) action on the original movieclip asks again to duplicate the movieclip. What happens is that alle those movieclips dissapear. Here's what I've done Create a f.ex a square on the ...more >>

how to write array in for loop..
Posted by zeenu at 4/29/2005 12:00:00 AM
hi, i m having set1 to set50 variables which i have to assign in new Array.. this all sets are differ from each other.. for every things i have to assign in single single time... Is i can't have my array like.. for(i=0; i<=50; i++){ eval("set"+i) = new Array } or tell me ultimate ...more >>

DataGrid And Custom Renderer
Posted by bobpf at 4/29/2005 12:00:00 AM
I am using A DataGrid with MM's MxCheckCell renderer, for some reason it will only render check boxes for the first two rows (of 30 rows) in the table. If I scroll only the first two visible columns have checkboxes visible. Checking the boxes does hold its state, meaning if I scroll the list...more >>

Embeding fonts
Posted by Luka at 4/29/2005 12:00:00 AM
How can i embed a font which user probably doesn't have on his computer, so he could see that font which will be displayed in dynamic txt field? Does "embed font outline" helps, and in which versions of Flash is this possible? I know using _sans, and _serif will solve thiss problem because ever...more >>

Detect Joypad + Use
Posted by wisdom.co.uk at 4/29/2005 12:00:00 AM
after launching our new website we are now trying to implement a racing facility, but we need a little bit of help detecting joypads and capturing the commands from the pad. any clues?...more >>

Movieclip Control
Posted by spsavage at 4/29/2005 12:00:00 AM
I've created a movieclip with 8 frames called "pictureframeMC". Frame 1 has a stop(); command, frame 2 has a gotoAndStop(1); command and frames 3-8 have small animation and stop(); at the end. Simple so far? I also have a variable which is called at the beginning of the movie: var pictur...more >>


DevelopmentNow Blog