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 > december 2004 > threads for monday december 13

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

Changing alpha values with actionscript
Posted by Maurice.Hason at 12/13/2004 11:50:59 PM
Hi, Is there a way to change the alpha value of an instance on the stage gradually using actionscript? I know I can set the alpha of an instance but I couldn't figure out if I can animate it from x% to y% in a given number of frames. Thanks Maurice ...more >>


load bar not working
Posted by batorish at 12/13/2004 10:05:14 PM
Hi. I created a flash movie with several MCs, one for each area . My initial intention was to have each MC (and therefor each area) loaded on its own with a loadbar, but I tried differnet things finally satteling for one load bar which loads the entire movie. My question is - how can I cr...more >>

Navigation help!
Posted by dougsanto at 12/13/2004 9:47:40 PM
Working on a menu that has 5 main buttons. each main button plays a movie clip with the 2nd menu. each 5 buttons has a unique sub menu. issue is I cant get the submenus to reverse off before the new ones play. I was trying to use IF, then. ive been looking for a tutorial or post but have com...more >>

Class: Variable in a function
Posted by alphabit at 12/13/2004 9:40:23 PM
Hi everyone! I have tried to call a variable (i) in a function but that doesn't work and I don't know why. I have placed this part of the code in a Class and this one have been placed on enterframe of my main movie. By example: for (var i = 1; i != 9; i++) { if (i ==5) { ...more >>

complete noob
Posted by knew-bee at 12/13/2004 9:29:42 PM
I am attempting to teach myself actionscript and I've run into a problem that just isn't making any sense to me. You can see my project here... http://www.geocities.com/sevenxthree/dot_line1.swf The idea is that when you click and drag the red dot the line will curve to the dot's position. ...more >>

using createTextField in a Flash class
Posted by descin at 12/13/2004 9:24:00 PM
Hello! I am trying to get the hang of actionscript 2.0 and was attempting to run a simple test in which I have created a dynamic text field in an external Class file to display the text in my fla file. What am I missing or doing wrong? Your thoughts would be appreciated! Thanks, descin ...more >>

getting audio to start play as soon as page loads?
Posted by beema at 12/13/2004 8:45:47 PM
I have a mostly html website with a small flash audio player on it. The audio is linked to the flash player from external mp3 files, and when you click on a button, it plays the file. I was wondering how to make it so that as soon as the swf loads, one of the songs will start playing automat...more >>

duplicate text as it is typed
Posted by Tony O at 12/13/2004 8:21:21 PM
Can't find this anywhere. How would I have text that is typed into one textbox automatically duplicate in another as soon as it is typed? It must delete if the first is deleted also. ...more >>



How to build flash preloader for html website????
Posted by zzdobrusky at 12/13/2004 7:53:10 PM
Hi, I just built html website that uses independent swf files as buttons (embedded into html) and those buttons either call another html page or load into itself another swf file (it can contain sound or image), just to get the idea http://65.100.216.223/Robert , the thing I want to do now is ...more >>

Movieclips switching instance name?
Posted by Tim Robertson at 12/13/2004 7:39:24 PM
Hi, I'm using AS 2.0 Is it possible to have a scenario where: You have two movieclips on your screen say mc01 and mc02 ... Only one is ever visible at one time... I would like to have it so when your playing the main movie you see only mc01 on the screen and it's instance name is "instance...more >>

music stops
Posted by yaniv73 at 12/13/2004 7:34:52 PM
hi i have one scene with a button and a music and second scene with just a button (no music). what i want to do is when i click on the button it goes to the second scene without the music (shouldn't it stop the music???)and when i 'm clicking on the button in the second scene it will t...more >>

Cancel an event handler
Posted by Simon Hooper at 12/13/2004 7:04:32 PM
How do I cancel an event handler of the following structure? What I want to do is turn off the onEnterFrame event handler following an onRelease event (as shown below). Thanks for your time. myClip.onPress=function(){ this.onEnterFrame = function() { // statements go here ...more >>

Forms for Buy Buttons to send to Cart
Posted by Muse Style at 12/13/2004 6:55:27 PM
Hi, Having problems with a form for a Shopping Cart. The Cart itself is held by Roman Cart (www.romancart.com). All I need to do is make the buy buttons. Here is the button in HTML: <form action=http://www.romancart.com/cart.asp> <input type=hidden name=storeid value...more >>

how to change the theme color of menu bar component
Posted by krishnakishore at 12/13/2004 6:42:26 PM
hello every body im getting only three colors with the themeColor property for a menubar component they are "haloGreen", "haloBlue", and "haloOrange".If i want other themes colors what should i do some body please help me.i need black ,pink and yellow what should i do? kisshore ...more >>

Re: problems with scroller and layer loaded movie - HELP
Posted by honestnotes at 12/13/2004 5:59:21 PM
the gallery movie is loaded into level 1. the other buttons have an unload level 1 movie command. the scollers are all flash UI components from flash mx. frame 287 is just whatever is in the background ( from the mail movie ) while the gallery is displayed. I've tried to display the galelry on...more >>

Tweening & Moving Dynamic Text
Posted by phej at 12/13/2004 5:57:07 PM
I am working on an animation that has a very long list of names that slowly scroll up the screen. This list will be updated on a regular basis so I want to dynamically import the list from a text file. I am able to import the file simply by using the LoadVars function, but I can not get the...more >>

How to load external jpg or swf files into browser cache???????
Posted by zzdobrusky at 12/13/2004 5:53:27 PM
Hi, I just built html website that uses independent swf files as buttons (embedded into html) and those buttons either call another html page or load into itself another swf file (it can contain sound or image), just to get the idea http://65.100.216.223/Robert , the thing I want to do now is ...more >>

Putting button script in a Class
Posted by Michele Wickham at 12/13/2004 5:47:46 PM
Hello all, I'm building a custom class that extends MovieClip. Everything is working just fine except for the button script. I have a submit button that gets placed on screen dynamically by the class. Normally, if I wanted to write button scripts from the timeline, I would do: myButtonIns...more >>

Forms and components
Posted by mickyfikticky at 12/13/2004 5:05:26 PM
Hi I could really do with some help on 2 issues that i have, now the first probly seems stupid but is there a way of clearing input text fields once the form has been sent??? And the second i have some components in the form but I haven't got a clue as to how you would send the info se...more >>

images and links from xml
Posted by mfunk at 12/13/2004 5:01:01 PM
I have some xml code that pulls text into mulitple variables and text fields in flash. my xml looks like this: <?xml version = '1.0' encoding='UTF-8' ?> <ourEvent> <!-- openhouse 1--> <where?>Some location data here. </where?> <when?>Event time and date </when?> <what?>Type of the...more >>

Double Clicking
Posted by jones4rl at 12/13/2004 4:42:40 PM
I am trying to create either a movie clip or a button that when double clicked will take the user to the next scree. Does flash recognize double click. Thanks in advance for your help....more >>

shaking screen
Posted by sanjG at 12/13/2004 4:13:26 PM
Hi there, i have seen this done elsewhere, but does anyone know the actionscript code that will make a html screen (or flash move) shake for a period of time? i'm sure its a simple task, but im new to actionscripting! many thanks sanj ...more >>

How to print a SWF
Posted by Catarina Fernandez at 12/13/2004 4:01:04 PM
Please, how can I make a button to print the entire SWF loaded into a ScrollPane?! I´ve tried many combinations, but results on printing the ScrollPane with the scroll bars or even ALL the 70 frames of the movie! But from the loaded SWF, only what is visible on the ScrollPane at the printi...more >>

Button Navigation Help
Posted by darpachief at 12/13/2004 3:52:44 PM
Hi, I'm not too actionscript-savvy, so bear with me. I have a series of buttons that sit 3 levels up from the main timeline (button within a movieclip within a movieclip within a graphic). when released, I'm looking for these buttons to go to named scenes on the main timeline. Now the simpl...more >>

get largest number in array?
Posted by LB Back at 12/13/2004 3:21:12 PM
What is the easiest way to define the largest number in an array? thx in advance...more >>

Help with fscommand "exec"
Posted by Jim Foy at 12/13/2004 3:20:09 PM
All, I'm really stuck on this one. I've got two exe's I created so that I can use the fscommand "exec". I used them to launch bat files that in turn launch a powerpoint show. It works perfectly on one, however, the other one it launches the bat ( you can see this window for a brief sec...more >>

optimisation (frame rate)
Posted by OniLink at 12/13/2004 2:46:20 PM
Hi, Im having trouble with the frame rate of my .swf. When quick-viewing it, or opening up the .swf on its own.. it works perfectly...but as soon as it is in a browser...it becomes sluggish. Is there any way, to counter this? Thanks. ...more >>

srolling images horizontally
Posted by madij at 12/13/2004 2:04:53 PM
Hi, I started off my 'i what to learn AS by myself' study a few weeks ago. But i can't find how to scroll images in an horizontally way so it looks like a long stroke of images. I can make external text to scroll normal so that's one step but i hope someone will help me doing the next.. ...more >>

.as files
Posted by susarasus at 12/13/2004 2:02:46 PM
The tutorial specifies saving a file (Drag.as) as a .as file using Notebook or 'any other word processing' file. My problem is that every application I have access to requires a .txt or a . rtf extension. I don't know what to do. I'm stuck. ...more >>

on clipevent() fails
Posted by monsieur fred at 12/13/2004 1:26:41 PM
Hello how is it possible to know if an on clipevent(load) fails?? fred...more >>

popup window
Posted by Shadow_prince at 12/13/2004 1:22:57 PM
Dear Friends, I m working on a presentation and its Flash MX 2004 projector file. ( exe. ) When I try to open a popup browser window through this Java script code: on (release) { getURL('javascript penNewWindow('http://www.macromedia.com','thewin','height=400,width=400,toolbar= no,scrollbar...more >>

Controlling a sequence of movies using one actionscript (MX)
Posted by Saywell at 12/13/2004 12:27:46 PM
I am new to actionscript, and have being trying to this for while now. How can I get the main timeline to stop on a frame and play the sub movie held in that frame, but then continue once the sub movie has completed, without putting any actionscripts within the sub movie. I'm trying to keep ...more >>

successful database write
Posted by Dave at 12/13/2004 12:01:44 PM
Is there a way of knowing if the database write has been performed successfully using loadvariablesnum? Is there anything returned to the flash movie. If not, what method could be used that does give some confirmation? Thanks ...more >>

Dynamic text does not work under a mask
Posted by brad c at 12/13/2004 11:55:51 AM
I have dynamic text in a symbol that I wish to mask. The text works fine above the mask, and all elements below the mask show ok. However , when I place the text below the mask, the text does not appear. How do I resolve this? Thanks ...more >>

change stroke color using action script
Posted by akashmenon at 12/13/2004 11:36:50 AM
Hi The following code removes the stroke color. var haircolor = new Color(_root.CA); haircolor.setRGB(0xffcc33); How to keep the stroke color without any change OR is there a way to change to stroke color? thanks Menon ...more >>

selection objects
Posted by e_jogendra at 12/13/2004 10:25:45 AM
Hi everybody! I am facing a problem which i think very common for others? Could some one help me to solve my problem. I want to set focus on a inut text field on 'onLoad' event. Which is working fine but when i open it through a browser it doesnot work. Selection.setFocus('_root.mtxt'); P...more >>

Acessing XML elements directly
Posted by Valandil at 12/13/2004 10:24:25 AM
I am using xml created by another company, so I have no choice about the format of it. I only need to access certain elements in the XML, and it is written with virtually no attributes, just elements. I want to be able to access specific elements,preferably by name, rather than having to u...more >>

comboBox problem
Posted by AFXRephlex at 12/13/2004 8:12:34 AM
hello guys, i create an empty movie clip. attach a movie clip and a comboBox component to the empty movie clip. and then populate the comboBox: _root.createEmptyMovieClip('block',_root.getNextHighestDepth()); _root['block'].attachMovie('box', 'box', _root['block'].getNextHighestDepth()); ...more >>

Binding XMLConnector to Dataset thru AS
Posted by kevinwong12345 at 12/13/2004 6:34:16 AM
At the URL below, Apineda wrote about having trouble creating an XMLConnector and a DataSet using only ActionScript. (Not using the visual editors). I want to do exactly this , and then connect up the data to a DataGrid. Apineda didn't post his/her ActionScript. Can anybody help me out ? h...more >>

Fade Out AS
Posted by mm-sverige at 12/13/2004 4:52:49 AM
How do I fade a movieclip after a set amount of time (say, 20 seconds) with actionscript? I have a MC that it already has a random movement AS assigned to it, and I want it to fade after a period of time. Thanks for your help. ...more >>


DevelopmentNow Blog