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 > september 2007

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

Issue with Adding numbers to a textbox
Posted by nonybd at 9/30/2007 11:33:55 PM
Hi, I have a flash document,where each time you click a button, a text box adds 1 to the value, from the origonal value of 0, on and on, like so: 0 <button is clicked> 1 <button is clicked> 2 <button is clicked> 3 ... but instead, it gives me: 0 <button is clicked> 01 <button is clicked>...more >>


No tweening, but still lagging
Posted by caitblahblah at 9/30/2007 10:39:16 PM
Just when I think I've got a good understanding of Flash, I come across something that I never would have thought about before. I was always told that if I animate everything through actionscript, it will run much more smoothly than if I used tweening. Now I animate everything through actionsc...more >>

Variable from subdomain??
Posted by Zac.T at 9/30/2007 6:23:15 PM
Hi! I saw somewhere a way where a subdomain made a variable in flash. Eg, if i had a site called mysite.com - and anyone can come and put http://blablabla.mysite.com - and a variable on my flash file would be blablabla. Is that possible? Ps, I use flash 8 with actionscript 2 ...more >>

please help - xml.sendAndLoad not loading
Posted by allandt at 9/30/2007 5:40:05 PM
hi i've been puzzling over this for a while now - hope you guys can help i'm trying to send a bit of xml to a php script which adds the item to a basket (using a PHPSESSID) and returns a list of the basket contents back to the movie which i hand off to another function to deal with but i...more >>

RadioButton Help
Posted by tom38 at 9/30/2007 12:00:00 AM
Hey, I m having issues with radioButtons , due to the fact that I m unsure how they work! I hope someone has the time and energy to help me, appreciate it a lot. Oki here is the deal. I want to have 3 radioButtons so they become a scale from 1 - 3, meaning there will be a question ...more >>

rewind fastforward
Posted by ToonMariner at 9/30/2007 12:00:00 AM
HI everyone. I am trying to create a fastforward/rewind button in flash. At present i am working on an audio file and I have got the track to advance/retrun 2 seconds on clicking the relevant button. What I would like to achieve is to loop this process while the user still has the mou...more >>

Radio Button Disappearing
Posted by nice dice at 9/30/2007 12:00:00 AM
Hi - im getting a site together with a contact page controlled by php, i have the usual input fields eg. name, telephone etc but im trying to add 3 radio buttons to give the client an option of how they would like to be contact eg. by email, mail or telephone. When a radio buttons is selected ...more >>

trouble getting the swf object to work
Posted by dtrace at 9/29/2007 8:59:44 PM
the html housing my flash site, has the internet explorer bug, the active content thing. I'd like to get rid of it. The code i was using to embed my flash movie was this.. <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shock...more >>



New URL
Posted by jettammo at 9/29/2007 7:39:15 PM
i would love it if someone could help me with this i have an action script that allows the viewer to click on an image that is linked to a URL and directs them there. but the problem is that it opens a new window, and i would like it to go to the page in the same window. if someone could ...more >>

how to do spam-blocking in the flash form
Posted by farhanakhan at 9/29/2007 6:39:07 PM
Hi, I designed form in the flash so i want to put the spam blocking in the form ... Then tell me the script. How ...... what are the code fot it reply me Thanks DDirector, ...more >>

Using my Custom Package?
Posted by Rich Morey at 9/29/2007 5:08:44 PM
Hi -- I have created some code in Flash CS3 using AS 3.0 to create form elements dynamically but now I am having trouble accessing the package I have created from another Flash movie. My package setup is like this... package formbuilder { public class forms { publi...more >>

Timeline frame control issue
Posted by Chris Mattingly at 9/29/2007 3:11:49 PM
Hi, I'm having a hard time understanding how to control playback of frames in my Flash animation. Basically, I have a file that is 40 frames long (this is a test file for a larger project). I want the first 20 frames to only play once, and the last 20 to loop repeatedly. My line of thinkin...more >>

load XML > recieve data > display > refresh per [time]
Posted by Flamebg at 9/29/2007 1:24:27 PM
Hi guys, /ActionScript3/ I am new to xml and I just read all the helps that are available in the flash and I've been reading around different forums too. Anyways, I think someone who gets around this kind of stuff easy could help me out so I have a nice clean start with it. All I need is...more >>

Dynamic & Static TextField Embedded Font + CSS + HTML, please help
Posted by Big D0g at 9/29/2007 6:01:08 AM
Hi Everyone;:confused; ActionScript 3.0 + Flash 9 I'm having trouble with embedded fonts and dynamic textfields when static text is on the stage using the same font. From the many forums across the net, I've been able to figure out that the problem has something to do with the fact ...more >>

Function Consolidation Help
Posted by SpectacularStuff at 9/29/2007 3:45:50 AM
Okay, I know there has to be an easier way to write this. Can someone please point me in the right direction? There has got to be a way to use 1 function and some type of variable to make to add the new sprites from an array with a for statement. I just don't know how. Any help would...more >>

Problem with function dynamically created in a loop
Posted by PVB.BE at 9/29/2007 12:00:00 AM
Hi, the project is to create a thumbnail picture dynamically from a xml file and display the big picture with the event onPress. My problem is that I create dynamically a function onPress for each thumbnail and inside the function the name of the picture to load. I get no error but the picture...more >>

Flash Action Script 3 Button.
Posted by Ishaha at 9/29/2007 12:00:00 AM
Can anyone please explain to me, how can I create a HTML Link to a Button (Converted to a Button from a Symbol or image) from Flash CS3 please. I created a a label in the time line and a Instance for a buton name with various methods and exported it to Action Script 3. Never worked, I am ne...more >>

button inside mc not working
Posted by matt b at 9/27/2007 3:40:16 PM
It's been a while since I've worked with Flash, so bear with me. This one is right under my nose, so thanks in advance. I have a simple button inside a movieclip... when it is clicked I want it to jump to another frame on the main timeline. I've tried putting the code both on the main timel...more >>

Convert text to capitals before inserting into a dynamic text field
Posted by PKENGLISH at 9/23/2007 8:14:47 PM
I am trying to load the titles of blog posts into buttons but before doing so i would like to convert the text to all capitols... is there a way to do this within flash? Thanks!...more >>

AS3: some times yes and others not
Posted by eze_diablo at 9/23/2007 7:51:16 PM
Hi everybody, my question is: i have 3 clips and i get move it with script code, i´m using Tween class and Timer class, but, when i run the aplication sometimes work fine and othes not do that. for example: clip____n. execute___work clip1.............1...................yes clip...more >>

AS3: Event.SOUND_COMPLETE event not firing
Posted by dubya at 9/23/2007 6:28:24 PM
hey everyone have a look at the attached code. its not very complex but for some reason i can't get the onPlaybackComplete method to fire. any ideas why? SoundClick is an mp3 in the library set to export as an extension of the Sound class. it plays fine, so presumably extending Sound and a...more >>

Dynamic Carousel Animation
Posted by fanmap81 at 9/23/2007 5:14:44 PM
http://www.flashden.net/item/3d-rotating-clickable-menu-carousel/490 Using the above link, can anyone tell me how i can go about creating such an animation using dynamic movie clips that are loaded from the library at runtime? my movie clips are named mc1,mc2,mc3,mc4, and mc5. Any and all...more >>

Saving to Array and pulling out
Posted by maureen27 at 9/23/2007 4:22:11 PM
Need some help. Trying to learn. I have sections with questions and answers which I can get. But, I need to save each section into new array and tally all the final scores. The screen will show the section score of current section that was just completed and the final score. I know t...more >>

A way for beginners to learn?
Posted by FireFreek at 9/23/2007 2:04:25 PM
Well, i dont have any programming history, unless you count calculator programming. So I wish to learn AS3, but it's hard to start. Does anyone have any tips on how to get me started?...more >>

help in getter and setter
Posted by dhina.techno at 9/23/2007 5:47:52 AM
Hi, I am a newbie in actionscript 3.0. I just created a property and the code goes like this.. private var _lastname:String; private var _firstname:String; // create a "lastname" property public function get lastname():String { return this._lastname; } public function set lastn...more >>

Is that a good scripting practice?
Posted by mlsmet at 9/23/2007 12:00:00 AM
When I have to work with ActionScript 1, I still use prototypes. But a friend of mine prefers using another method (see example below). It looks like classes (sort of). It works fine but is it a good scripting practice? Better than using prototypes with AS1? clip1.fadeMe = function(out, sp...more >>

Deactivate buttons in an embedded movie
Posted by nickbcn at 9/23/2007 12:00:00 AM
Hi I have an embedded movie (EM) visible within the main movie (MM). I want all the buttons (actually mc's) in the embedded movie (EM) to be inactive until button (MORE) is released in the main movie (MM). I'm a print designer and not a web designer to keep it simple... haha Any help appre...more >>

putting swf movies into a flash website
Posted by Lex Webb at 9/23/2007 12:00:00 AM
i am designing my flash website and i was wondering if the was a script that would let me play another swf inside this one, i want it to be able to be positioned....more >>

Flash Variable Help
Posted by bcounts at 9/22/2007 12:00:00 AM
I am trying to have JavaScript open a new browser window with certain height and width and navigate to designated path . . . however I am now trying to get it to look back in the root at certain variables to get this information and the code has now stopped working. Can someone take a look at ...more >>

Inquiring about the frame of an MC
Posted by FlashMonkey666 at 9/22/2007 12:00:00 AM
Hi, I'm resuming work on my game. And the question I have is, how do I figure out at a given point, where a MC is on its animation cycle? something like if (frame.player == 1) { //do something } The reason I ask is because sometimes the player gets stuck on frame 1, and I want t...more >>

full screen in flash slide presentation
Posted by motiejuss at 9/22/2007 12:00:00 AM
Hi, It's impossible, that when I open a flash slide presentation swf file it starts exactly in full screen mode?...more >>

Passing Variables to ActionScript CS3 from JavaScript
Posted by SpectacularStuff at 9/21/2007 11:47:09 PM
Hello, I cannot seem to figure out what I am doing wrong and I need some help :confused;. Who better to ask than the experts right? I have everything working correctly thus far except for this actionscript. I am using Flash CS3 with ActionScript CS3. I have 5 buttons made up in fla...more >>

Fade out large play button
Posted by markad007 at 9/21/2007 9:35:17 PM
I would like to fade out the large play button within page10 of my project once the movie starts to play. Can anyone help me? I would be so greatful... URL http://www.marshallad.com/flippingbook/page10d.swf p.s. I can never copy any code out of action script and paste it into anything e...more >>

Is it possible to stop a tween in a movie clip
Posted by eholz1 at 9/21/2007 7:48:42 PM
Hello Kglad and other forum expert! I have a movie clip (really just an image converted to a movie clip). I a "zoom" effect set on two layers - on for the zoom mask, and the other for the base image. I just use the modify/transform in some keyframes to have the image motion tween from no...more >>

graphics.drawRect changes sprite's width.
Posted by dfg0912 at 9/21/2007 7:34:00 PM
In the code, below, I'm trying to color the entire area of a Sprite object. However, after the call to endFill(), the width of the sprite is changed from 300 to 2250. The trace output is: width=300 width is now 2250 The line "_sprite.width = w" is a workaround to restore the width of t...more >>

imput field that creates my draggable area bondries
Posted by splotter at 9/21/2007 5:39:51 PM
Hi all, Im working on a project that allows users to drag shapes on to the screen - I need a heads up on what to look for; I want to have my user in a page enter the x and y of the draggable area then next to the page that contains the objects. any ideas here? ...more >>

AS3 limitation
Posted by jnet494 at 9/21/2007 3:38:56 PM
Hi, Could you tell me the limitation in AS3 ? For example, how many "Sprite" can i use in an another "Sprite" ? Where can i find all limitations in the langage AS3 ? Thanks...more >>

Reversing Animation
Posted by DeezNutz215 at 9/21/2007 3:04:35 PM
Hello everyone. I'm in a little pickle right now. I broke my ankle and cant get to my office where my actionscript 3.0 book is. I have a button in an animation that is supposed to reverse the animation when pressed. What is the function or method that's used to reverse the animation. ...more >>

ActionScript 3 startDrag not working the same as AS2
Posted by splotter at 9/21/2007 2:38:19 PM
does anyone know the correct syntax for the startDrag() function. I want to limit my object draggable area to like 100px x 100px. in ActionScript 2 all I needed was this.startDrag(100,100,100,100); AS3 is puking after I enter this value. any sugggestions? ...more >>

dynamic fla creation
Posted by crusty_mccool at 9/21/2007 5:41:20 AM
Hi all i have a question for you is it posible to create a layer for your fla file using actionscript or any other type of language? currently i have be given a project that requires the developemt of a fla file and provides a complete template for users to work with. I have been to such ...more >>

Guestbook in flash site
Posted by xfiles_wolvie at 9/21/2007 4:49:19 AM
Hi all, This is my 2nd question. I seen a few guestbooks that involve php and cgi. Can flash achieve a guestbk that will reflect the guest's comments immediately on the remarks in the site without using cgi or php? something like getting the data that guests key in and then reflect them ...more >>

Music player
Posted by xfiles_wolvie at 9/21/2007 4:43:45 AM
Hi all, Newbie to this AS so seeking advice. I have seen a lot of tutorials on loadsound but none of them actually solve my issue. What I am trying to achieve is to have a music player playing a list of mp3 songs randomly but hosted in another location/folder. this player will be loca...more >>

URLRequest Question
Posted by Kapilstafidab at 9/21/2007 3:57:43 AM
I'm originally a medium level Flash 5 user, now in the early phase of CS3 (bit of a jump). How would I go about making the attached code for a button open the new page in the same window/frame instead of launching a new browser window each time? Thanks in advance, etc. K -----------...more >>

A dynamic name of variable
Posted by gerraIrkutsk at 9/21/2007 12:24:06 AM
I always name variable manual. And today I'd faced necessity do it by AS3 code. And I couldn't do it. How it's done?...more >>

call function
Posted by bossche001 at 9/21/2007 12:00:00 AM
Hi all I include a .as file in my main movie. There is a function structred like this inside that .as file String.prototype.isEmail = function() ...... } How can I call that function from a movie that is loaded into that main movie. Normally I would use if (!myEmail.i...more >>

[AS3] multi listener on one event
Posted by Marco Mind at 9/21/2007 12:00:00 AM
Hi, is there a simple way to add multiple functions/listeners on one event? Like, if I try this: mc2.addEventListener(MouseEvent.CLICK,mouseClick_handler); mc2.addEventListener(MouseEvent.CLICK,mouseClick_handler2); only the first function seems to be called. But I want both to be e...more >>

setTimeout
Posted by mac89 at 9/21/2007 12:00:00 AM
How do I change the code below to wait a few seconds before going to the next frame instead of the website in the example, Im clueless with actionscript so please be as clear as possible. Thanks for your help! function openWebsite(url:String) { getURL(url,'_blank') } website='ht...more >>

Executable string
Posted by gerraIrkutsk at 9/21/2007 12:00:00 AM
If I get dynamic string, example "var pict:BitmapData = new myPict(1, 1);" can I make it as executable line of code? That is how delete double quotas and start up code? (Certainly, if it's can in AS3...) ...more >>

restrict the string
Posted by AScracker at 9/21/2007 12:00:00 AM
hi i'm passing the operator as String to the textArea Component in AS 3.0 i.e ".,+,-,*,/ mainly i used this one for to make the calculator function if the user enter the data as 25.5 means then user won't again type the Dot opertor Can any one give indea for this one... Thanks ...more >>

keyboardListener in AS3.0
Posted by AScracker at 9/21/2007 12:00:00 AM
hi I am facing the problem in the keyboardListener i.e when ever i typed the number like 123 1) when i typed the number 1 it'll display empty 2) if i typed the number 2 then it display the trace 1. can any one help to display when i typed the number in the text here i am paste my c...more >>


DevelopmentNow Blog