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 > august 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 31

Can't run transition on movie
Posted by Sekhar Ravinutala at 8/31/2007 11:40:32 PM
In Flash CS3/AS3, if I try to run a transition on a movie clip "PaneB" accompanied by a PaneB class definition, I get the following error: ReferenceError: Error #1069: Property __transitionManager not found on Site.Page.PaneB and there is no default value. However, if I don't associate a...more >>


printjob - can't understand
Posted by shefferh at 8/31/2007 10:51:36 PM
first thing, the user is loading the MC to the stage. the print button is located in the MC. now i want only the MC to be printed. if necessary, the button can be on the main stage. in the following script that I found: this.createEmptyMovieClip("holder_mc", 999); holder_mc.loadMovie("...more >>

Turn off All Sounds
Posted by siney at 8/31/2007 6:06:27 PM
I've got an application that I'm building that uses a variety of sound effects. These are currently sprinkled throughout the app. in buttons, mcs & 1 or 2 on the main timeline. Is there an easy way to add a button to turn off all sounds, if the user doesn't want them? I've tried applying the "...more >>

Slide Presentation in ScrollPane
Posted by erussellatwork at 8/31/2007 5:41:28 PM
I load a Flash Professional Slide Presentation into a scrollPane. Is it possible to figure out which slide is currently being presented from the scrollPane and/or Parent of the scrollPane? If so, how? Thanks. ...more >>

Datagrid works on frame 1, but not frame 10?
Posted by Rusty_B at 8/31/2007 5:31:57 PM
I have a datagrid that loads perfectly as long as it's on the first frame. However, I need it on frame 10 as well, but when I get to frame 10 the datagrid doesn't load. What gives? The weird thing is if I do a test movie it works fine. If I publish the swf it doesn't. ...more >>

gotoAndStop on the Over frame of a button
Posted by brian914 at 8/31/2007 5:29:41 PM
Can I turn a button to its over state by telling the playhead to gotoAndStop on the Over frame? Is there another simple way to do this? Will I have to turn my buttons into MCs? I am hoping to aviod doing that. Thanks a lot! ...more >>

2 action button
Posted by D3rutat at 8/31/2007 5:27:30 PM
Hi guys. I need some help with this code: if (search.text != "" ) { on (release, keyPress "<Enter>") { getURL("http://google.com/search", "_blank", "GET"); search.text = ""; search.setFocus(null); } } else getURL("http://www.google.com"); I have a text input and i want ...more >>

Flash Vid - Pause at 5 secs into video
Posted by myckelh at 8/31/2007 4:57:14 PM
Is there a way to Pause the Flv 5 sec or whatever the time into playing it, so the user sees it, but then has to select Play to play the rest of it?...more >>



Re: selectedIndex won't reset to 0
Posted by Brentwood Video at 8/31/2007 4:14:11 PM
Anyone have any ideas on this? Seems like it should be pretty straightforward....more >>

popup called from flash vs html
Posted by stephan.k at 8/31/2007 4:10:10 PM
Hi Forum It appears that popups called from within html with a onClick event in the anchor tag are less likely to be blocked by most browser popup blockers (safari, mozilla). A popup called from within an swf movie however will trigger the popup alert. That just seems kinda unfair. no ? ...more >>

manually close a window on top of a movieclip
Posted by 3-Putt at 8/31/2007 4:07:02 PM
Anybody, I have a loadmovie function that places a window on top of existing movie. It acts a pop up window to zoom up on the item someone clicked on. I would like to manual close it with a box with a x in it. Do I make a button i the top corner that unloads the current pop up window? ...more >>

check for file existance
Posted by noviceone at 8/31/2007 4:02:08 PM
Here is my scenario: Event website, I case of bad weather, the secretary will upload a text file to the web server. Flash will check for the text file existance when homepage loads. If Exists, it will load a movieclip to explain cancellation of event. I will dynamically use the text fr...more >>

Bad performance using scale?
Posted by - Zapp - at 8/31/2007 3:58:10 PM
Hi all! I'm trying to make a small game in Flash using ActionScript 3. On the scene there is a movieclip that can be moved around with the arrow keyes. Its also possible to zoom in and out. I use [i]scaleX[/i] and [i]scaleY[/i] for this. The problen is that the more I zoom in (scale up m...more >>

xml tags.....
Posted by lostinscript at 8/31/2007 3:45:56 PM
HI, Can someone tell me if there only certain tags in xml that flash recognises, i know this is true with HTML and flash but is it the same in xml? I have an xml file with tags suchs as...'title', 'main', 'thumb'. Im trying to add other tags such as 'description' but cant get flash to r...more >>

Dynamically declaring variables in AS3
Posted by maguskrool at 8/31/2007 3:30:22 PM
Hi. I'm trying to migrate from AS2 to AS3 and have stumbled on this. I can't find how to create dynamically referenced variables in AS3. Can anyone give me a hand? Thanks! Here's the code I used in AS2: //AS2 for (var i:Number = 0; i < 10; i++) { this["myThing" + i] = new Object...more >>

ExternalInterface?
Posted by Tim Dixon at 8/31/2007 3:10:25 PM
Hi, I have a flash file that used the ExternalInterface class to communicate with the html page (with javascript) What I need to do is use Javascript functions to control the flash file... ...this is all working, but i'm just looking for the best way to do one of them.... I need a java...more >>

nextFame(), from timeline
Posted by dorianw at 8/31/2007 3:06:44 PM
ActionScript3: I want the parent movie to go to nextFrame when a movieChild reaches its final frame. in the actions timeline of the Child I added the script: root.nextFrame(); I know this is wrong because it doesn't work :) I think I have to add a listener or so...more >>

Flash to HTML Communication
Posted by Michael Rabone at 8/31/2007 2:01:55 PM
Hi everyone. Project I?m helping develop in Flash CS3 an online soft skills training that involves students viewing a short video than answering a multiple choice question. After viewing several videos and answering the related questions the student is given on overview of how they did...more >>

Show and Hide content on stage with button action
Posted by IndioDoido at 8/31/2007 1:17:54 PM
hi... I created a button to show and hide some content on stage. The button works well, but there's a problem...when i click on the button to show the content and i move to another section of the timeline the content hides again, and i just want it to hide when the button is clicked again ...more >>

Parent Class accessing children movie clips
Posted by petersendidit2 at 8/31/2007 3:16:52 AM
So say I have a class named Thing that extends MovieClip. Then I have a class named Box that extends Thing. I also have a class name Circle that extends Thing. I then create 2 movie clips on in my FLA. One uses the Box class and one uses the Circle class. Both movie clips have a child...more >>

Variable name as object name
Posted by jc_2006 at 8/31/2007 2:44:58 AM
Hi. I'd like to be able to create some variables dynamically in AS3 and then use them as object names. For example, to create the variables circle1, circle2 etc I write: for(var i:Number = 0; i < 10; i++) { this["circle" + i]; } I would then like to create movie clips with the nam...more >>

determine directory content
Posted by Chris McLaughlin at 8/31/2007 2:24:25 AM
Hi, I am working on a project and want to be able to determine what files exist in a specific directory. Is there anyway to do this using AS? I appreciate any help you may be able to give me. Thanks, Chris ...more >>

ActionScript 3.0 help needed: addChildAt grr!!!
Posted by Arran at 8/31/2007 1:59:18 AM
Hi I'm 90% complete on converting my AS2 application to AS3, but now I have hit another small snag. After searching for a while, i'll struggling on swapping depths of my movie clips. Currently it does the following. 1) load the xml file which has the image names 2) move Loader in to MC (lo...more >>

SWF embedded in a PDF - can they communicate?
Posted by Hasenstein at 8/31/2007 12:00:00 AM
I'm trying to build a printable form with multimedia help (this is a free project, I don't get paid). Since I can't create PDF from Flash I instead try to get the Flash into the PDF. It would be very helpful (although probably not essential for this particular project) if the embedded Flash co...more >>

E-Mail
Posted by IronTreads at 8/31/2007 12:00:00 AM
What is the script I would attach to a button to make it an e-mail link? Thank you....more >>

text selection problem
Posted by zibber at 8/31/2007 12:00:00 AM
Hi Wondered if someone could put me out of my misery here:| creating a flash application that has a menu system, with different forms. The problem i seme to have is that say u r on a form wiuth mutliple inout fields. If u populate 2 fields, say the first has four characters placed in i...more >>

Stop Movie
Posted by amv5520 at 8/31/2007 12:00:00 AM
I'm new to Flash...I have a Home page with nothing but a top and side border. When it opens it loads an Invitation page which has a movie that runs, then six buttons appear. I can then click any of the buttons and go to a different page. When I click the Home button to return to my Home pag...more >>

It's impossible to shuffle music?
Posted by motiejuss at 8/31/2007 12:00:00 AM
Hi, I have created my own Flash website using "Flash Slide Presentation". And when people go to site, it's playing a song. For example "Song1". It's any script, that can play several songs each time I am going to site? var Song1:Sound = new Sound(); Song1.attachSound("music/Song1.mp3");...more >>

masking problem - not sure what code to use
Posted by zoenoble at 8/31/2007 12:00:00 AM
hi, I am designing something which has 4 buttons, linking to 4 seperate animations. the buttons are hairspray bottles and the animation is a image which fades up, as if it were being sprayed. The way I have designed it is for each bottle to have this code: on (release) { section1....more >>

Page transitions without an "outro"
Posted by Shaman4200 at 8/31/2007 12:00:00 AM
This is the site Im messing with.. www.brewbus.net/cfab The site is currently set up using external .swf files called into a master file. I have page transitions set up, but I would like to have the new page the visitor clicks on to come in OVER the current page no matter what it is.. ...more >>

ScrollPane not scrolling
Posted by CG at 8/30/2007 11:56:37 PM
Hi, Basically I have a movie file (in html text) generated from an xml file. Then when I load this movie into another movie using an AS3 Scroll Pane component I see the movie but I have no option to scroll. I then adjusted the scrollPane's properties to force a vertical scroll bar, however t...more >>

help with repeated keydown
Posted by ominah at 8/30/2007 10:50:57 PM
I have 2 swfs - in these, on any keypress, it advances to the next frame. I have a setInterval delay on each frame so it doesn't go too fast. Both files work fine on their own. I then load each swf into 2 different frames of a container swf. If I press keys fast on one frame and then swit...more >>

allowDomain
Posted by BSciascia at 8/30/2007 10:49:34 PM
HI There, I'm not sure if I'm understanding this feature correctly. I'm trying to get a banner ad hosted on the advertisers site to retrieve a movie hosted on our server. Do you have to assign the allowDomain code to the load target, or can it just sit in the first frame of the ad? Th...more >>

closing a popup movie clip in firefox
Posted by melissa_v at 8/30/2007 10:14:11 PM
I am still using AS2.0 (I will get with the times eventually), and I have a series of links on my webpage that create empty movie clips and load SWFs into them. I have a button (a typical little "x" in the corner) that should close these clips, and it works when I preview it in Flash, but when...more >>

please help a newbie
Posted by teepee at 8/30/2007 10:08:21 PM
Can anyone see anything wrong with this dreamweaver generated embed code? It's not working - although the filenames are OK. It worked previosuly then some unknown change stopped it. Any ideas gratefully received Many thanks tp <tr> <td colspan="5"><script type="text/javascript"> A...more >>

Definition _ not found 1172 Error
Posted by butcherBaker at 8/30/2007 10:05:38 PM
I've put this to Tech Support, but I might as well post here. import fl.controls.ProgressBar or import fl.controls.* does not work for me anymore. all files are AS3. All fl.controls packages are where installer put them. I have one program where the progress bar works, no problem im...more >>

Finding files
Posted by Rigo2000 at 8/30/2007 9:14:55 PM
So I'm working on a multiple xml picture gallery, in which an xml file will contain on gallery. What I want to do is check how many xml files a directory contains, to check how many xml files I will have to load. But I can't figure out how to do this, I guess it possibly has something to do wi...more >>

dynamic text property
Posted by madmac66 at 8/30/2007 8:37:33 PM
i have a dynamic text box with the name 'prodName' in the actions layer I have set prodName.text = "something"; prodName.textColor = 0x000000 When I test it, the color code works fine, but the dynamic text doesnt. I have tried htmlText on and off. Tried embedding and not embedding. Cant...more >>

Button Layer Issue
Posted by Xodus6 at 8/30/2007 8:02:59 PM
Hello, Having trouble figuring out what the correct actionscript for a button that is trying to access a labeled frame within a movie that is part of a larger movie. It works if I play it by itself outside of the larger movie, but I'm not sure how to get it to work within. This is what I...more >>

Later SWF version loaded inside earlier version SWF
Posted by journeydude at 8/30/2007 8:00:36 PM
I'm trying to find out if there are issues with loading a SWF movie clip using: onClipEvent(load) { this.createEmptyMovieClip("empty_mc",9);' empty_mc.loadMovie("compiledwithgreaterversion.swf"); } If you compile the swf that this is created with to a few versions behind, say F...more >>

Component Loader resizing external swfs
Posted by StxMichael at 8/30/2007 8:00:04 PM
Hi. Fairly new to Flash. I'm putting together my first full Flash site. The tutorial I'm following along with for some assistance is written for Flash8, but I'm using CS3. To try to minimize differences, I'm doing my files in Actionscript 2. I've used an instance of the component Loader t...more >>

Incrementing in frame labels
Posted by EdmundG at 8/30/2007 7:55:54 PM
i have frame labels set1, set2, set3, set4 I essentially want to do: on(release){ gotoAndPlay("set"s+1); } How would i do this....more >>

how do I create a "download file" button?
Posted by tanktery at 8/30/2007 7:51:09 PM
with AS2 i would like to know how to get a PDF file when i click on a button...more >>

Need help with Buttons with ActionScript
Posted by Singerchick20 at 8/30/2007 7:28:27 PM
I am trying to create a button that will go to a different scene in my flash project using on (press) { gotoAndPlay(about,1); } I have done this several times before, however, for some reason every time I try to put actions on my buttons it says that actions can't be applied to it. I ha...more >>

Problem with different languages. PLS help.
Posted by motiejuss at 8/30/2007 7:10:07 PM
Hi, Pls help, what I have to do, or which script I have to use, that I can see another language letters? I am from Lithuania and I can't see all letters. When I simple write a text on a stage it's all right. But I have created a New Font and I am using it for buttons. Can somebody help me...more >>

Video with Custom Pause & Play
Posted by shojinate at 8/30/2007 6:00:17 PM
Hi, I would like to control a video file with my own buttons. Here is what I have: an imported video file using "Progressive download from a web server". The main stage has some buttons (Play & Pause) within a movie clip and an instance name of: "MusicControls". The Video is located in anoth...more >>

Weird code problem
Posted by Bob Robertson at 8/30/2007 5:36:19 PM
I'm trying to create a hotkey of sorts. The idea is that the user should press Crtl-Shift-T to make the movie jump to a special frame. The code attached works correctly when put onto an empty frame in a fresh movie. However, when I use the exact same code (literally a copy-paste) in the intend...more >>

How do I create a "download file" button?
Posted by tanktery at 8/30/2007 5:05:09 PM
I would like to know what the action script would be that would allow me to download a PDF file...more >>

yet another but in AS3 combo-box component
Posted by eRez at 8/30/2007 4:51:45 PM
only yesterday i faced one bug with the combo-box component, which i mangaged to overcome (with some help from Luke867), and today i have another one. to remind you - i have a swf containing combo-box which i load into the main movie behind a mask. it works fine, except for one minor thing...more >>

How to create a button
Posted by neno_ned at 8/30/2007 4:50:04 PM
I want to create a button that will open a certain file can someone tell me what Action Script must I give to the button to open it and also with the opening of that file to close the flash(I need a command that will not open a new browser window just the file) also I need an AS that will ...more >>


DevelopmentNow Blog