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

Problems with loadMovie in to a path
Posted by NewMediaRoc at 12/31/2005 8:50:59 PM
I'm having a problem with actually loading images in with the loadMovie() function. When I try using the following code, only the last of the seven images show up. When I change the path to simply _root, all of them show up... I really need this image to have a certain parent for masking purpo...more >>

Code auto completion - doesn't work for everything
Posted by Norbertofh at 12/31/2005 8:44:16 PM
Hello, I'm using the Tween class on a class of my own. I imported the correct class and package, but for some reason the script editing panel doesn't complete the code for the variable that holds the Tween instance. Is this normal? Shouldn't Flash auto complete every code, including c...more >>

loadMovie from one .swf to another .swf
Posted by motleyfool at 12/31/2005 8:19:18 PM
I've seen loadMovie used in similiar ways on this board, but not from one .swf to another. I have a main.swf. I load two additional .swf's into main, one called navigation.swf (which holds the navigation buttons) and content.swf. I want to use loadMovie from the navigation.swf to change the co...more >>

searching through array? like statment?
Posted by doof moof at 12/31/2005 7:10:21 PM
i have a video play list on a mysql database which i can search with a coldfusion component (CFC). this search is very nice and returns data that is like the value that the user has input which is nice if the user dosn't know exactly how to type what they want: some code from the CFC: S...more >>

need help again
Posted by Flamebg at 12/31/2005 4:06:49 PM
Hi to all and to Kglad who helped me last time :) I got the same problem which I tought I figured out but actually even very close to solving it I didnt :((((( I succeeded making the code work for two buttons but not for more and I got 7 :( So I will attach pictures for u so you can imagin...more >>

sliding content
Posted by dirkness at 12/31/2005 4:02:35 PM
hi I'm developing a site using sliding content - controlled with up and down buttons. But I'm having problems with the positioning 'degrading' the more the up / down buttons are pressed: You can see this here: http://www.detkendesign.com/detken2/portfolio.htm I'm using the AS bel...more >>

Tween incompatible with Actionscript movement?
Posted by Norbertofh at 12/31/2005 3:24:31 PM
Hi, I'm doing the following test: I have an object on the stage rotating with rotation tween. I also have it moving by changing the _x property via ActionScript (on the onClipEvent(enterFrame) event). The thing is that it neither rotates or moves. In order to animate a particular ob...more >>

build up layers of movieclips then remove them
Posted by IndieMonkey at 12/31/2005 3:22:25 PM
Hello, I was wondering if anybody could help me out with the actionscript to produce a website idea have. The sites navigation consists of a list of buttons down the the left hand side of the page, then once the buttons are clicked I want a movieclip (in the style of a piece of paper) to a...more >>



Random...but not quite
Posted by ireallybwaldo at 12/31/2005 10:10:48 AM
Hi. Sorry for the gross newbie questions. But I'm stumped. Just as an exercise, I've set up a little flash page with a single button (well, actually, a movie clip) on it that, when clicked, randomly generates a number between 2 and 7. That number is then used to gotoAndStop to the correspo...more >>

Button Delay Please Help
Posted by Bryan Krossley at 12/31/2005 9:56:57 AM
Hello, I would like to start off saying I am new to Actionscript and know very little. I need some help with some code. I have a button the on release goes to a url. The button also play a sound when pushed. But because on release of the button the page changes to another url page wh...more >>

Urgent Help needed!!!
Posted by german01 at 12/31/2005 1:56:51 AM
Hi everyone; I am building a kind of matching game. I have 10 buttons, each plays a different sound. I also have 10 pictures that act like buttons too. Each picture matches one of the ten sounds and also has a right or wrong sounds. All pictures and sounds are placed on the main timeline. ...more >>

How I Copy loaded bitmap ?
Posted by Kagada at 12/31/2005 1:56:37 AM
I'm using this following script cena = new BitmapData(550,400 , false, 0x00CCCCCC); var mc:MovieClip = this.createEmptyMovieClip("mc", this.getNextHighestDepth()); clipe = this.createEmptyMovieClip("clipe",this.getNextHighestDepth()); clipe.loadMovie("E:\\Rafel Geral\\Bread\\Gifs\\barrac...more >>

Problem with CheckBoxes
Posted by ZeAugusto at 12/30/2005 10:10:51 PM
I'm working on a .fla with some classes associated to create a real-time graph display. This part works fine, but I needed a CheckBox to activate a window. The idea was to associate the selected state of the checkbox with the visibility of the window. The problem is, when I insert the Chec...more >>

I'm confused...
Posted by Yardgnome at 12/30/2005 9:58:37 PM
So I'm fairley new to AS...oh, I've done some simple AS attached to MC events and such, but right now I'm digging a little deeper. I'm not new to programming, however. I've made some stuff in Pascal, and dabbled a little in C and C++, when I was in high school. Why am I mentioning all this? We...more >>

About fscommand(exec, "main.exe"); in Flash 8
Posted by Sizlaq at 12/30/2005 8:27:52 PM
Hello Again! I have this multimedia cd with some artwork, and i created this button that could call older work "number1.exe" i used fscoomand, and the "number1.exe" and its swf`s are on the same folder, but the "number1.exe" run but just dont call the swf?s. It works perfect when is a ...more >>

Photo Album
Posted by muzna80 at 12/30/2005 6:18:06 PM
Hi all, well i have a problem in building my photo album, i have 20 images, i put them inside the SWF, but iam haveing a problem in adding the action needed for the next and prev> buttons. could any one help me with that???:) ...more >>

"_level" Help
Posted by Zachary Christian at 12/30/2005 5:13:06 PM
I have two different Movie Clips that use the "_root" identifier. The first clip displays a hovering caption over buttons. The second is a navigation bar that can drug to any position on the . When I move the navigation bar - it screws up the hovering caption. I'm guessing this has something t...more >>

Re: MC Help needed Nowhere else to turn!!!
Posted by transam1978 at 12/30/2005 5:10:50 PM
Wanna be a little more specific?...more >>

Dyanmic Text Question
Posted by C-Rock at 12/30/2005 4:46:49 PM
I have a group of dynamic text fields. In my text file I have a variable called date3. If date3 is blank I want to simply hide a movie clip. Here is what I have. Thanks for your help! if (_root.theDate3.text == ""){ trace("worked"); //box1._alpha = 0; } ...more >>

Splash page redirect
Posted by nikerfl at 12/30/2005 4:04:27 PM
Hi folks, I have a splash page with an intro. Now how can i redirect to home page of website after intro is finished? I assume that FSCommand and JavaScript will be involved in such trick but i don't know how to do it exactly. ...more >>

compensating for server delay
Posted by SPOnG Lupos at 12/30/2005 3:30:48 PM
ok so i am trying to make a series of jpgs load in a nice straight row... im using remoting to get a count and list of upc codes that are used for finding the correct images. so i made a "For" that loops, takes the previous images _x + _width and makes that uts _x. simple enough. problem is i ...more >>

loadMovie & unloadMovie
Posted by Kees Kist at 12/30/2005 2:25:38 PM
I'm making a small game with Flash which in turns loads even smaller games. To make it easier to manage all the minigames are loaded from external swf files. this.attachMovie("Placeholder","minigame",1); this.minigame.loadMovie(minigames_list[game]); This all works like it should. The ex...more >>

Navigation
Posted by groovygirlsw18 at 12/30/2005 12:59:00 PM
Hi Hopefully someone can help me. I am currently working on a travel website which has the main navigation in one swf file with a layer of frame labels at the top. The navigation consists of movie clips of drop down menus, which contain buttons which target a particular frame label eg...more >>

Keeping a database
Posted by Graff|ti at 12/30/2005 12:00:35 PM
I want a Flash aplication(SWF) to retreive data, and send data, to a database file, so that if I close my SWF and reopen it later, modifications made to that database are remembered. HOW DO I DO THAT? Is a XML file the right file for a database? Should it be local or hosted on the web? How ...more >>

Destroying a nested accordion
Posted by jleibu at 12/30/2005 9:53:58 AM
I have a child accordion nested in a parent accordion. How do I destroy the child accordion when the user selects another child in the parent accordion? I have attempted to use childAccordion.destroyObject() with various target paths to no avail. ...more >>

Re: class structure
Posted by LuigiL at 12/30/2005 8:54:55 AM
Well, the forum errored on my last post. So, ..... bump it up....more >>

renaming a MC on stage?
Posted by Brian at 12/30/2005 8:50:47 AM
Is it possible to rename an MC on the stage? this.createEmptyMovieClip("mainContent_top", this.getNextHighestDepth()); //swapDepths for mainContent_top //rename mainContent_top to mainContent_bottom Is that possible? Thank you for any help!...more >>

Event listeners in nested accordions
Posted by jleibu at 12/30/2005 8:47:07 AM
I have created a Products accordion with multiple Products children and a Products change event listener. When the user selects a Products child, I instatiate a new Modules accordion for that child with multiple Modules children and a Modules change event listener. However, no matter how I set...more >>

moving loaded content from one MC to another
Posted by Brian at 12/30/2005 8:38:30 AM
I am loading a movie into a movie clip and would like to, once loaded move it to another movie clip. How would I do that? I am not even sure what to look for in the AS dictionary? Thank you for any help! Brian...more >>

Working with Scenes
Posted by mplekrina at 12/30/2005 7:26:30 AM
hi i m working with Scenes and i have a problem first i name my Scenes to S1 and S2 then i place on S1 a mc when that mc rich to the frame 200 to i want to tell my movie to go to and play S2 frame 1 i place that at frame 200 gotoAndPlay("S2", 1); but insted of go to and play S2 i...more >>

SImple Text Formatting Help
Posted by EWN1 at 12/30/2005 6:24:46 AM
I need to format a number to show 2 digits right of the decimal point in all cases, including integers. I figure I can convert the resulting truncated number to a string and append the $ sign. Any help would be appreciated, I have looked and searched and nothing looks straight forward. ...more >>

framescript executes on frame exit
Posted by gfenster at 12/30/2005 6:03:40 AM
I have movieclip1 that is controlling mc2 mc1 tells mc2 to go to prevFrame() no problem, it does. In that newframe of mc2 is a framescript that updates the value of a variable But that variable isn't getting set until the next time mc1 issues a prevFrame() command to mc2. In other ...more >>

Toggle on/off music loop
Posted by tdsilk at 12/30/2005 5:25:05 AM
Hello, I have a music file that places and loops when my site loads. I would like to turn this loop off or reduce the volume when I push play to play another music file. How can I do this? The other music file is controlled using the flash media component. Btw, I have Flash 8. Thanks,...more >>

Simple assignment Question
Posted by EWN1 at 12/30/2005 4:42:14 AM
In the following code, the dayrate is always set to 39 and the wkrate is always set to 209 through the IF statement. I assign the default values on top, also very wierd is "vehicle" traces out as Full Size after the IF statement? Any and all help is appreciated. var ...more >>

mc loader revisted!
Posted by Vee at 12/30/2005 4:17:37 AM
So my mc loader kinda works. I have four buttons that use four different mc loaders. Sometimes they load the content perfectly, other times they just do nothing. Here is two of my loaders and at the bottom are two buttons addressinf eachloader. Maybe there is something missing (i thought i ...more >>

My buttons work but my drag bar doesn't (scroll mc)
Posted by ccesca at 12/30/2005 4:11:35 AM
Hi there, I followed a tutorial that enabled me to scroll an MC with burrons and a dragable bar. The original tutorial was for a vertical scroll, but I changed everything Y to X and modified what I thought were the correct things, to convert it all to a horizontally scrolled MC, but alas,...more >>

text and image in motion
Posted by lesrenee at 12/30/2005 4:10:39 AM
I have created a group of images that I want to continually loop across my stage. I also have text that I want to come in from off the stage and then remain in place while the images continue to loop. How can I stop the text after it is in place and continue with the images looping??? Than...more >>

Figuring out how to use onEnterFrame
Posted by Norbertofh at 12/30/2005 2:28:47 AM
Hello, I'm a Macromedia Director person, and today I began my quest among the Flash/ActionScript realm. I don't know if you all know Director, but in short terms when I want to add a script to an object of my stage, I create a script separately and add it to the desired objects. ...more >>

Dynamic text disappearing
Posted by Vee at 12/30/2005 2:27:08 AM
I have two Dynamic text boxes that keep disappearing. I narrowed it down to one mc thats causing it to. I just dont know why and Im not sure where to look anymore and its drivng me nuts. I disabled all as going to the mc and still nothing in the boxes shows up. I traced everything and al...more >>

How do I...
Posted by nvzak at 12/30/2005 1:58:05 AM
How do I export an app that is windowless and can i change the icon?...more >>

Flash-computer Vision and image processing
Posted by marklts at 12/30/2005 12:58:53 AM
Hi there!This is Mark . I need assistance in my school project.I'm doing flash on computer Vision And Image Processing.I need to design the E-learning web pages from chapter 8.Hmmm...this project requires action script programming.It consist of 6 sections.I need someone to complete at least 2 ...more >>

Loading external wmv, mpg into flash
Posted by gvg451 at 12/29/2005 10:57:29 PM
Hi, I'm quite new to flash, any version, I am using the gallery_tree example for my basis of my project. I need to load ether wmv or mpg into flash and have them play. Much like the the gallery_tree example. Has anyone done t his and can point me in the right direction. I know this is ...more >>

attachmovieclip issue
Posted by vusubhashini at 12/29/2005 10:37:42 PM
When I do the attach movieclip...its not working...can u pls check it out? just teach me step by step...how do i add a movie clip in a loop..? rightmenu_mc = is name of movie clip and name of instance of the movie clip what are the values to be inserted in the attachmovie(instance name,...more >>

Mapping and Flight Animation in Flash???
Posted by RAM357 at 12/29/2005 10:16:55 PM
Would Flash make a good tool for displaying animated replay of airplane flights paths? I am working for a company in the airport noise industry and we have developed software that merges noises recorded around airports with flights. Users can investigate abnormal noise events by reviewing...more >>

Text Area Component
Posted by STTTER at 12/29/2005 8:00:12 PM
I have the text area component in my flash file loading an external .txt file. Currently, when you scroll over the text field in the .swf the cursor changes to allow the text to be selectable. How can I make the text unselectable and the mouse cursor just look like the arrow? One other pr...more >>

Action from flash5 to flash8
Posted by RnV at 12/29/2005 7:29:30 PM
Hello, I have a problem with the thumbnails in the flashmovie. With flash version 5 its working perfect, with flash version 8 it dosent buth there are no errors? Please look at the action that i use: Firts i load the images with: aantal = _root.aantaldir1; soort = "fotos/dir1"; ...more >>

attachMovie from MovieClip frame
Posted by 300thnickattempt at 12/29/2005 7:26:22 PM
Hi guys, I'm still a total idiot with Flash and I've ran into a problem. I have a quiz game that I'm making that has a character in it that does a win, lose and idle animation. I want to be able to call the win and lose animations only once and then have it return to the idle animation once it...more >>

component problems
Posted by c_reed at 12/29/2005 7:18:24 PM
:confused; I have built an interface (menu) that reads xml and uses a loader component to view external flashfiles required by the xml... All works well except the combobox component that is located in one of the external files. when pulled into the menu, the top section of the combobox ...more >>

Different Right-Click functionality
Posted by TPK at 12/29/2005 7:07:36 PM
I create e-learning content (simulations) for my organization. Basically, we show professionals how to use specific software and we use a LMS to track the results. We use standard Javascript and HTML with and without SWF files embedded in the HTML pages to simulate how a program acts. We...more >>

loading external global vars
Posted by Vee at 12/29/2005 6:43:39 PM
I have a .txt doc with global vars written like this: _global.thing1=one&_global.thing2=two&_global.thing3=three Is that written correctly? Are global vars allowed from an external source? This is how Im loading them: globalThings = new LoadVars(); globalThings.load("globalThings.txt"); ...more >>


DevelopmentNow Blog