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 > june 2006

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

Getting and passing value from text input
Posted by jtouhey at 6/30/2006 10:30:01 PM
Using Flash 8- I have a input box where a user enters an email address and then clicks a button "send". How can I grab the value from the text input to pass to a global variable? Any suggestions would be great. It seems like an easy one but since I have it jumping to another frame right ...more >>


Image slideshow
Posted by mkaster2002 at 6/30/2006 10:04:30 PM
How do I make a box that loads images at a fixed time interval?...more >>

changing movie from flash 6 to 8
Posted by blueprnt at 6/30/2006 9:19:25 PM
Hi, I am trying to use something like this http://www.actionscript.org/showMovie.php?id=1284 but it is in flash 6 and when I try to use it in flash 8 it doesn't work at all, you can download the ..fla from the link above any suggestions would be much appricated :) Thanks BP ...more >>

level issues
Posted by BeniRose at 6/30/2006 9:13:59 PM
Hey guys. I'm currently working on a project where all the content movies are seperate SWF files (because they handle the content differently on each "page") and I'm loading them into my main movie depending on which link they click. Right now I'm having problems getting my included (content) ...more >>

Determining the v2 Component Type
Posted by gurthWERM at 6/30/2006 8:10:33 PM
I'd like to run a looping switch routine to check all of my components and execute different scripts depending on what type of component each is. But I don't know how to check to see if something is a ComboBox, CheckBox, etc. Is there a way to check for the component class? Thanks. J...more >>

positioning
Posted by Asperon at 6/30/2006 7:05:55 PM
ok...say I have dot1(enemy) and I want it to approach the position of dot2(shield)....how do I do that? I can make dot1(enemy) move to the starting location of dot2(shield)...but if dot 2(shield) moves dot1(enemy) does not travel to the new position... this is what I have been using: ( it is i...more >>

reusing a progress bar
Posted by FlashForumName at 6/30/2006 6:57:37 PM
I have a progress bar that uses a loader as it's source. I load various external swf's into this loader based on the users' actions. The problem is, after I load the first external swf then set the progressbar to invisble or transparent (tried both approaches), when I make the progressbar vi...more >>

Active/Inactive buttons
Posted by jdh239 at 6/30/2006 6:12:57 PM
I have ripped apart some tutorials trying to get this to work. Basically, I have created a "target" cursor that allows menu options to be shot at. When shot the sign drops and I would like the button to go inactive. When another menu item is selected or shot I wish for the old, inactive men...more >>



Flash Player 9 getURL only opens new windows
Posted by RA-Ross at 6/30/2006 5:49:21 PM
I know the use of frames to hold content vs. navigation in a page architecture is not ideal, but it's late in the development cycle, so please bear with me. With Flash Player 8, I was able to have a Flash-based navigation interface use a getURL(<page>, "contentframe") script to load a desire...more >>

clearInterval in a class
Posted by tgersic at 6/30/2006 5:06:01 PM
Hi All, I'm creating a class that has a private variable fadeoutInterval: private var fadeoutInterval:Number = null; In a public member function, I'm setting a setInterval to that variable (vastly simplified): fadeoutInterval = setInterval(function(daSound){ //do stuff ...more >>

Movieclip Loader & frame rates
Posted by byenary at 6/30/2006 3:53:36 PM
Hello is there a way to work around this problem: Im having a flash wich is designed to put jpg, and swf into slideshow and playing it. The content is generated by users and is unpredictable; While testing i noticed that when i try playing an swf in my swf with an other frame rate speed ge...more >>

Pause Button - Video and Audio
Posted by bh2005 at 6/30/2006 3:39:24 PM
I am working on a project where the pause button will pause the audio but not the animation/video. Here is the code for the pause button. on (release) { with (stage) stop(); my_sound.stop(); //my_sound.attachSound("mp3filename"); //my_sound.start(); } The rewind, previou...more >>

loadSound doesn't work in IE
Posted by sean-o at 6/30/2006 3:37:44 PM
Many thanks to anyone who can offer some tips... I'm building a flash app that's pretty much a fancy slideshow. One of the key components to the thing is that there is a voiceover narration for each slide. Everything works perfectly in firefox, although when I view it in IE, the sound loads bu...more >>

This should be easy, but I'm no coder
Posted by Galeo Designs at 6/30/2006 3:29:06 PM
First off I apologise if this topic has been posted before, or that its so basic I'm just missing something. I have designed a navigation bar for my website and am having trouble linking the buttons to another page. Do I have to make the other pages in Flash? I have looked at the help ...more >>

setMask woes --- using BitmapData class
Posted by Amy G at 6/30/2006 2:55:04 PM
Okay... here it is. I have a class called Panel, defined by Panel.as. I have another class that is attaching instances of a MovieClip identified with "panel" using the "Panel" class as its "AS 2.0 class" The panel MovieClip has three layers (from top to bottom) the mask holder, the patter...more >>

referencing a movieclip
Posted by Finty at 6/30/2006 2:34:56 PM
is this possible? I have a movieclip called _root.container that contains different movie clip with a animation on each frame. I want to be able to stop the current animation without having to give it an instance name and then to resume playing. (i don't want to hardcode instance names...more >>

flash syntax tips
Posted by rquantin at 6/30/2006 1:05:23 PM
I found some very nice syntax to reduce the code, I give you two of them. I'm always very interested in discover this kind of tips. If some people could add some code reductions, it could be nice for some beginners like me, what do you think? Romu [b]switch true / false[/b] var t...more >>

Square fade in effect with transition
Posted by amithjnt at 6/30/2006 1:01:16 PM
Hey can anybody tell me how to make the effect of squares fade in & out with 2-3 picture transition... As in this site..... http://www.elitechicago.com/ Effect of left side flash transition effects.... PLZ help me.... I hv to make so... Alok ...more >>

AS3 and Flash 9 alpha: how to access non-dynamic children of a MovieClip?
Posted by Andrei Thomaz at 6/30/2006 4:21:31 AM
hello list, I am trying to upgrade this drawing app to ActionScript 3: http://www.rgbdesigndigital.com.br/didaticos/coodraw I wouldn't like to create all the interface through code, so I created a MovieClip with all the buttons inside, and associated a class with this MovieClip. Bu...more >>

using variables w/ loadMovieNum
Posted by mr.nazarko at 6/30/2006 3:37:27 AM
what is the proper syntax for using variables with loadMovie num? ive set up a button that will define a var on (press) { var bigpic = "2"; _root.gotoAndPlay("out"); } and then further down the timeline , i would like to use that the var bigpic in a loadMovieNum command.... ...more >>

Still got a big problem
Posted by ekora at 6/30/2006 3:32:34 AM
First, please check out my site...this will be easier to explain once you see it.... http://www.ekorastudios.com/index2.html Navigate yourself to "Portfolio" and then to "Video" I can't get any of my flv files to play, and I'm guess it's because when you click on the thumbnail of a...more >>

How to send Camera / Microphone data to server without Media Server 2?
Posted by MyDarkSecret at 6/30/2006 3:12:38 AM
I want to capture video and audio in the browser using Camera and Microphone, but I need to get the final recordings to the server. Is there an easy way to push this data to the server without having to buy Media Server 2? Thx, www.MyDarkSecret.com ...more >>

SharedObject buggy
Posted by sneskid at 6/30/2006 12:58:30 AM
ShareObject.Flush( ) can have a number passed, representing how many bytes the movie want's to store. If you want exactly 1 meg, common sense says you'd need 1048576 bytes (1024*1024) 1kb = 1024 bytes 1mb = 1024kb I used 1048576 but then Flash says the movie is requesting 10megs. A...more >>

setInterval - reducing the code
Posted by rquantin at 6/30/2006 12:00:00 AM
Hi everyone, I'd like to know how I can reduce the code for a multiple call using the setInterval. I tried with an Array but It's not working :/ I'd like to reduce this: int_square0 = setInterval(move_square, 500, 0); int_square1 = setInterval(move_square, 1000, 1); ...more >>

Button problem
Posted by jp zoro at 6/30/2006 12:00:00 AM
Hi, I've made three 'Joker' buttons in frame 5. I want these to stay down when they've been hit (which I've done) but now I don't know how to make the Joker move the timeline onto 'nextframe'. You can see the current version of this at http://jpriordan.mysite.wanadoo-members.co.uk/Plenaries/...more >>

Generate a random number, to a certain decimal point
Posted by twistedpancreas at 6/30/2006 12:00:00 AM
Howdy is there anyway to generate a random number (within a range), to a certain decimal point and then display it in a text box? I know how to do a full number, but am struggling to find out how you get random numbers with decimals. Thanks in advance. ...more >>

how to apply extenal variable to object propertie ?
Posted by mokuku at 6/30/2006 12:00:00 AM
I have a php file will pass "a=xx&b=xx" (xx is a number) to my movie, and textfield a and textfield b on root was successfully show up the result. But it got fail when and I try to apply them to a movie clip to change their width: _root.abar._width =a; _root.bbar._width =b; Could any...more >>

components not loading
Posted by sneskid at 6/30/2006 12:00:00 AM
I have a movie that loads another movie. They both use Flash Components (buttons, labels, etc) When the second movie is loaded, the graphics for the components are missing, and the are completely disfunctional. What can i do to make the second movie load in properly? ...more >>

Loading swf file with dynamic text
Posted by PDMart at 6/30/2006 12:00:00 AM
For a website I'm creating I'm going to have a main swf file that loads individual swf files for each page. Each page's swf file loads in external text files through dynamic text boxes so i can edit the website easily. To load the swf files into the main swf file I'm using the loader compone...more >>

Problem with ActionScript
Posted by hantouan at 6/30/2006 12:00:00 AM
Hey, I am using Flash MX Pro 2004 7.2 and I' ve the following problem: When I use the LocalConnection Object as follows: var lc:LocalConnection = new LocalConnection(); lc.connect("test"); lc.Foo = function() { DoSomething(); } I get the compiler error message: "There...more >>

streamng with flash
Posted by Dave at 6/29/2006 11:42:19 PM
Hello, Could you tell me if I can to do streaming with flash 8 ? if yes please do you have a link for example thank you very much for your help Best regards, Alain ...more >>

Buttons open same mc, but link to different layers
Posted by twistedpancreas at 6/29/2006 11:21:30 PM
I have 2 buttons on an interface, on the root timeline which play the same animation (of the interface disappearing) in a mc. But i would like to have them open they're 2 respective layers at the end of the animation. ie one button could be to "Contact us" which would play the closing of the...more >>

Can you disable hotkeys using AS?
Posted by jthereliable at 6/29/2006 11:15:34 PM
Well, the title says it all, but here's a little detail in my problem... The thing is, I'm trying to make a game, online game. Someone reported that the hotkeys still work. If someone presses it by accident, they get kicked out of the game and go straight back to the login screen (before that,...more >>

LoadVars odd danish letters
Posted by jens riber at 6/29/2006 10:18:38 PM
hi i have a problem getting flash to send my loadvars to php. not that flash dossent send and my php site dossent get the send data, but flash is altering some of the data. i have a string text with som special danish letters (???) the UTF-8 code for (?) = "%F8" but when flash sends it it ...more >>

Copied Actionscript doesn't work
Posted by thezoid at 6/29/2006 10:15:51 PM
I copied some actionscript from one .fla to another in Flash MX 2004. I also copied the MCs needed to run, yet when I test the scene from the second .fla, nothing happens. Any ideas? Any one experience this sort of thing before? Thanks for any help. ...more >>

external image loads in html, not in php
Posted by spaceapple at 6/29/2006 8:49:46 PM
I have a .swf which loads an external jpg. It reads the path from an xml file. The whole thing works fine on my hard drive, and when I publish it as html and upload it to the server, I can still view the jpg. But when I create a PHP page which includes the swf file, I can't see the image. The ...more >>

cellRenderer in Datagrid
Posted by mwleake at 6/29/2006 8:10:53 PM
I have created a Datagrid that uses a checkbox cellRenderer to make one of the columns checkBoxes. I can setup a Listener that uses the cellPress event, but I want the user to select an item using the checkbox. I can't seem to find a way to catch the click event on the checkbox. Obviously they...more >>

_height is 0 after loadMovie
Posted by DJ James at 6/29/2006 7:12:29 PM
I'm dynamically loading a movie into a movie clip: _root.controlPanel.loadMovie(_root.movToLoad); Immediatly after, I try to get the height: _root.controlPanel._height It always returns 0... is there a way to make flash WAIT until the movie loads before getting the _height of it? I...more >>

Root timeline control of sequence nesteed clips with frame events
Posted by scallan at 6/29/2006 6:37:39 PM
I have been trying to improve my AS skills by learning to write AS in the main timeline rather than on the clips themselves. However, I cannot seem to get the clips to communicate with each other. The movie is two crabs tossing a disc back and forth. Originally I wrote to the clips thems...more >>

Preloader starts at 80 Percent ??
Posted by olejnik at 6/29/2006 6:17:28 PM
Hi guys, I have this script playing from the first action frame in order to load two scenes. Nevertheless, once I insert a large FLV file, the loader starting displaying only at 80 percent. Is there any alteration that anyone can suggest to make sure this code captures from at least 10 per...more >>

wav file plays too slowly
Posted by aa at 6/29/2006 5:42:13 PM
I am using a wav file as a background sound in my clip, yet in the clip it plays much slower than when played in Windows Media Player. Ho do I make it play at a normal speed? ...more >>

converting as1 to as2
Posted by fezio at 6/29/2006 4:17:39 PM
Hiya all! Could some one please help: This actionscript is not working. I have to convert a movieclip that was produced in actionscript1 using flash6 settings into actionscript2 using flash7 settings. It does not seem to work when I insert it into flash8 the actionscript is: fun...more >>

Quirky LoadVars won't let me set Send variables in function
Posted by scribintoons at 6/29/2006 3:34:24 PM
So, my last host died at the beginning of the month and I just got everything migrated to a new host. I was trying to get back to work on this Flash project that logins via PHP to a mySQL database. The login script stopped working. I have discovered that _global.getcards.THISVARIABLE will n...more >>

FileReference
Posted by babo_ya at 6/29/2006 3:30:46 PM
Anyone knows a good example of how to use this class? Both actionscript and ASP.NET verion of file upload page. Any resource will be helpful. Thanks, ...more >>

Gzip and Flash
Posted by ..::ONER::.. at 6/29/2006 3:18:24 PM
Hi, I'm having a problem with mod_gzip when trying to retrieve xml files using get_Url() on flash on IE. The getTotalBytes() method returns the value of gzipped Content-Length while getLoadedBytes returns the gunzipped Content-Length. Thus my script won't consider my file as loaded and kee...more >>

Buttons within Button?
Posted by rudgr at 6/29/2006 2:53:00 PM
Hi, i'm looking for a way to achieve the following: i have movieClip called mcHolder. When the onMouseOver event of mcHolder is triggered when the user sets the mouse over mcHolder.hitArea the mcHolder movie plays and displays three subbuttons. onMouseOut of mcHolder the mcHolder tim...more >>

passing frame names to a Goto command
Posted by ricklecoat at 6/29/2006 2:29:31 PM
I have a string variable (let's call it 'myFrame:String') and I want to use this variable as the argument for a gotoAndStop command to send the timeline dynamically to a named frame. The gotoAndStop command accepts frame names if they are between quotes "", but therein lies my dilemma. If ...more >>

Throwing an Exception for a xml file that can't be found.
Posted by jelaplan at 6/29/2006 2:10:31 PM
I'd like to catch a file load error and provide feedback to the user. I'm building a educational excercise and if the problem doesn't load, I'd like to politely let the student know. I've written a try-catch block which catches a file load exception fine in the Flash IDE and in Internet Explo...more >>

MovieClipLoader
Posted by MrHargest at 6/29/2006 1:34:09 PM
Hi, Wondering if you can help a n00b ... I'm trying to make life easier for myself by loading swf's into empty containers within individual scenes - when I preview the individual scenes - it works - the movie loads and all is good. When I preview the full project it plays the first sce...more >>

blank page flashes between SWF pages
Posted by liamfahy at 6/29/2006 12:16:10 PM
Hi all! I am building my first Flash website and have a small problem. I am building it using individual SWF files for each page. However, when I click a button to navigate from one page to another, I am getting a flashing blank screen for just a split second. What i mean is, it doesn't ...more >>


DevelopmentNow Blog