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 > april 2006 > threads for thursday april 20

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

Dynamic Text Box - I want to change the background color
Posted by jr819 at 4/20/2006 11:54:40 PM
Hi. I want to change the background color of my Dynamic text box. And please. I'm just learning ActionScript and I'm not used to it yet. So please - treat me like a 2-year-old. Step-by-step. Do I have to assign a variable name to the text box? An instance name? Does the text go on the fram...more >>


Importing a Class
Posted by MediaMisfit at 4/20/2006 11:44:50 PM
So what I'm trying to do is import a class in action script. Right now I'm using import actionscriptbible.drawing.DrawingUtilities; Any it's saything that it can't import to the variable for some reason. My global classes folder I'm assuming is in the /flash/en/firststart/classes direc...more >>

Local and on line testing
Posted by Zorin NO[at]SPAM escape at 4/20/2006 11:32:39 PM
I've made a site in flash. It has a default.fla that loads everything (other swf and xml files). The problem is that when I test it localy (ctrl+enter :)) everything works but when I start the default.swf or test it on a server images wont load (list of of images is loaded from xml file - that...more >>

MovieClipLoader
Posted by codescodescodes at 4/20/2006 11:26:29 PM
Hi everyone. I'm having trouble finding the size of an image after I load it. Here's my code: _root.createEmptyMovieClip("movieHolder_mc", _root.getNextHighestDepth()); var mcLoader:MovieClipLoader = new MovieClipLoader(); var mcLoaderListener:Object = new Object(); mcLoaderListener.on...more >>

Re: duplicate movieclip into another parent
Posted by blemmo at 4/20/2006 11:05:27 PM
Do you mean same _level or same MC? I don't want to change levels, just have the copy of mc1.mc2 not in mc1, but on _root (same level as mc1). It seems it's not doable, or is it?...more >>

duplicate movieclip into another parent
Posted by blemmo at 4/20/2006 10:51:14 PM
Hello there, is it possible to duplicate a movieclip, so that the copy isn't a child of the same parent as the original? I want to have a copy of an MC inside another MC, but I need the copy on the root level and not inside the other MC. Is there a way to do this (besides making a bitmap c...more >>

How do I start one swf file from another?
Posted by aa at 4/20/2006 10:44:46 PM
How do I start one swf file from another in the same window of Flash Player? ...more >>

xml and line brake problem (\p <br>)
Posted by lseba at 4/20/2006 10:23:23 PM
im populating dinamic textfields with data retrieved from xml document. but wen i assign the text to the field, it doesnt render as html. the html property of the textfield is true. if i trace the variable it looks like html, but i doesnt render well if i debug variables within preview win...more >>



loading problems
Posted by tkdlj at 4/20/2006 9:48:09 PM
I am trying to get my mc to play after the preloader but nothing is happening. My preloader just keeps playing any ideas out there. Thanks...more >>

Re: load movie and make clickable
Posted by codescodescodes at 4/20/2006 9:21:33 PM
ok. Thanks for the advice kglad. I've changed my code to use the MovieClipLoader class, but now I have another question. What I'm trying to do is to pull information from an xml file and load the info into a movie clip and make that movie clip clickable. I have a loop that will retrieve the...more >>

Trying to access a specific movie clip with a string
Posted by DuhChamp at 4/20/2006 8:40:49 PM
Ok, what I am trying to do is create as many movie clips as I need and then access those movie clips using string values. These string values are stored in an array and coincide with a given movie clips instance name. Check out the following code: private function createHoleCards():Arra...more >>

Actionscript works only in 5 or lower
Posted by D Herrick at 4/20/2006 8:01:06 PM
So I'm using some code for eye rotation that follows mouse movement. This code only works when I output for Flash 5 or lower. Does anyone understand the math enough to help me with coding in Actionscript 2.0 for Flash 8? Thanks in advance. Dave I have a graphic and instance name for ey...more >>

Button Help
Posted by F-0-X at 4/20/2006 7:51:49 PM
iv made 2 texts 1 saying "with music" and one "without music" i then converted them into symbols(buttons) and did the over, down, hit on both but when i try giveing it a comand i get this "Scene=Scene 1, Layer=Image, Frame=3: Line 1: Statement must appear within on handler" i entered "goto...more >>

Stop command
Posted by swh0221 at 4/20/2006 7:08:55 PM
I am new to flash and I am needing some help. I am creating a short frame that will have buttons across the bottom and when you click on them a quote will pop-up. How do I set it up so that it stops on frame 1 and doesn't go on until you select a button. ...more >>

help with strings
Posted by weanderson at 4/20/2006 7:07:36 PM
I'm trying to push data from a series of combo boxes into an array. I name each box a1, a2, a3, a4, a5 and so on. I have been tring to create a for loop to check which boxes were selected and push the label name to an array. I created a varable ("combo") to dynamically change the name of the c...more >>

What happened to the Actionscript crutch?
Posted by Mike Boas at 4/20/2006 7:00:25 PM
I just upgraded from Flash MX to Flash MX 2004. The actionscript area is less user friendly than before. I used to be able to "fill in the blanks" when it came to setting getURL functions like on release and target blank window. I see the same problem with the timeline control functions....more >>

making mp3s reload if loading has failed
Posted by pjjj at 4/20/2006 6:58:44 PM
hey im trying to play 15 mp3s after each other each one is between 30 -60kb big, they are loading in externally in to 15 sound objects. i have a button that plays them all of the mp3s one after another from an array but they only ever get to about the 7th in then wont play the 3-4next mp3s...more >>

Preload 20 External jpegs THEN play auto slide show
Posted by StevenRAN at 4/20/2006 6:50:44 PM
The title says it all..."Preload 20 External jpegs THEN play auto slide show" I want to be able to create a slide show that has 20 images in it, have the images fade into each other. I want all the images to preload on the Main TIMELINE. Then once my custom preloader bar hits 100% the slide ...more >>

Preload 20 External jpegs THEN play auto slide show
Posted by StevenRAN at 4/20/2006 6:50:38 PM
The title says it all..."Preload 20 External jpegs THEN play auto slide show" I want to be able to create a slide show that has 20 images in it, have the images fade into each other. I want all the images to preload on the Main TIMELINE. Then once my custom preloader bar hits 100% the slide ...more >>

Flash Percent Problem???
Posted by delella at 4/20/2006 6:05:28 PM
I am attempting to use a flash header i designed for a new site and i want the header to be full screen width but maintain a scaled height. The movie was made at 1600 x 400 to accomodate almost the highest resolutions. This way the height should always downscale with the width. However when...more >>

input text - limit characters
Posted by antewik at 4/20/2006 5:53:03 PM
Hi. I have a input textfield that is let say 100 px width. Is there any way to limit the number of character so that they fit in the field. I don't want to use maxChars since i want to use the whole field end diffrent characters has diffrent width. Hope you understand what I mean. /Ant...more >>

Button and 'disjointed' rollover
Posted by Andy Williams at 4/20/2006 5:35:07 PM
I have put a button in the first frame of a movie clip and a graphic and the second and third frames. The graphics give the appearance that the button is being highlighted in a way different than when you actually roll over the button itself. I am doing this so that when you rollover a button ...more >>

Loading a swf with sound... now I can't stop the sound.
Posted by ACB at 4/20/2006 5:14:16 PM
I have an mp3 player that works standalone. When I load it into another movie I do it like so... musicHolder.sound_holder.removeMovieClip(); musicHolder.createEmptyMovieClip("sound_holder", 29); musicHolder.sound_holder.loadMovie("radio/mp3player.swf", "GET"); This works great, and the pl...more >>

How is this done?
Posted by WorshipMedia at 4/20/2006 4:47:21 PM
At http://www.blackpulp.com blackpulp.com they use a stackable interface. I have an idea how to create it, but I am not an advanced actionscriptor. Any ideas would be helpful. Thank you, John...more >>

TextFormat to HTML problem
Posted by lmtc at 4/20/2006 4:16:38 PM
Hi. Using the textformat object, Flash uses the "SIZE=" parameter instead of "FONTSIZE=" parameter to indicate font size in regards to a html text field. However, when internet browsers see the size field the text is rendered extraodinarily large. Is there a patch or fix for the Font s...more >>

formatting numbers 1000->1.000
Posted by dasura at 4/20/2006 4:15:59 PM
Hi everyone! Im doing a calculator and I want the numbers readable. Instead of 100000 I want 100,000. I found another post on this forum with the following enclosed code. However the code doesnt work...could someone take a look? Thank you all!! function formatNum(someNumber:Number):Strin...more >>

Listener Proble
Posted by Codeless at 4/20/2006 4:09:28 PM
I have a menu component that uses a xml file, there are two types of links in the xml, one that loads a .jpg into the loader component and one that opens a pop-up window for an .swf file. My problem is how to create a listener that will know which is which. Here is the code I am using for ...more >>

super and Polymorphism
Posted by DuhChamp at 4/20/2006 4:03:22 PM
I have a class called Player and a subclass that extends player called CompPlayer. Here is my code for the player class (only that which relates to this topic): class Player { //Class properties //Private Members private var m_PicFile:String; //Class Methods public func...more >>

Action Script
Posted by fourkorns at 4/20/2006 3:38:36 PM
I am trying to exec a .dmg file. Does anyone have any ideas why this will not work. If I take the file out of the .dmg it will work. I really need the extra compression. Lorretta on (release) { fscommand("exec", "Adobe Bridge.dmg"); } ...more >>

Can anyone help with apparent random motion, but isn't really random
Posted by GuruSath at 4/20/2006 3:33:30 PM
Hi All, Does anyone have any code examples of apparent random motion, that isn't really random. I need a movieclip to travel down the screen in an apparently random way, but I also need it to end up at a specific point when it hits the floor (Stage.height). The motion needs to be smooth. it'...more >>

easy flash question
Posted by paulmmalone at 4/20/2006 3:02:39 PM
I am sure this is very easy. I have tried a couple of different things with no luck. What I want to do it. When you move your mouse over a certain area of the swf file a see through box apears (alpha at 40%) so you can still read what is under neath it and when you click it takes you ...more >>

Access a component from within own class
Posted by schnizZzla at 4/20/2006 2:52:50 PM
Hello guys, I have the problem to access all methods of a DataGrid instance within my own class. System: Flash 8, AS2 I have two files: http://www.berlinerstrassen.com/!tester/player/mp3Player.as http://www.berlinerstrassen.com/!tester/player/mp3Player.fla The scene is simpl...more >>

Form Stopped Sending Emails
Posted by Slave8 at 4/20/2006 2:32:20 PM
Hi all I am fairly new to Flash so bear with me. I have been learning Flash and on a whim thought downloading a template to do a small project for a client would help me learn some more. We it did! It helped me to learn all the wrong ways to to things. Well, not wrong but seemingly WAY outdate...more >>

age calculator
Posted by Solo27 at 4/20/2006 1:30:05 PM
im trying to make a calcutator that will calculate someones age from their DOB and the current date so that I dont have to keep updating profiles. This is what i have made so far: var year = year.getUTCFullYear(); var month = month.getUTCMonth(); var day = day.getUTCDay() var preage = ...more >>

Movie refuses to load variables from text file
Posted by Please enter a nickn at 4/20/2006 1:12:20 PM
Hi, I'm sure you can solve my newbie problem in less than 1 minute... :) I'm pulling my hair out on a template I bought 2 days ago from templatemonster.com I am using Flash 8 Pro. All I want to do is change an existing textfield that is Static to Dynamic and load variables from a tex...more >>

Unstable html with dynamic text
Posted by jdc59 at 4/20/2006 12:36:11 PM
Hello, everyone. I'm having problems getting the dynamic text function to read an html text. I can get it to acknowledge <u> and <a href=> for links and underlining and even imbed images, but not <em> for italics or <strong> for bold. I have the "render text as html button selected," so I'...more >>

Weird frame appear when I rollover my flash movie on my web page
Posted by jennifer.k.finley NO[at]SPAM gmail.com at 4/20/2006 11:49:41 AM
Anyone know why a frame appears when my mouse rolls over the flash movie i've loaded on my webpage? It dissapears when I roll my mouse off of it. I'm using Internet Explorer as a browser, it doesn't seem to happen in Safari. Thanks!! ...more >>

Code doesn't work in browsers
Posted by jimbobba at 4/20/2006 11:45:50 AM
Hi guys, I am desperate for some help any advice much appreciated! I would be interested to hear if anyone else has had this problem and how they solved it? I am working in MX pro 2004 and Learning Action Script and behaviours and have created a moving character based on these bits of co...more >>

Flash drag and drop
Posted by Astara2 at 4/20/2006 11:45:49 AM
Hi I am making an educational flash movie where I have six movieclips of small maps called(map1, map2.........map6). I want to do it so that after the user has dragged all of those into a box called "mapbox", all of them disappear and turn in to the big map. I am just learning Flash and...more >>

can menu component like a book dir list style?
Posted by jason_chen at 4/20/2006 4:12:22 AM
i want to use menu component to build a book dir list menu. but the it work default like a web menu.how can i change it to like a book dir list?...more >>

While loops & variables
Posted by Soc4me3 at 4/20/2006 2:22:15 AM
Hi, I was having troubl writing some actionscript. My objective is to check all the letters in the alphabet if the letter is a then the movie clip for letter a will be played and so on. So if someone entered bob the movie clip for b should play then the mc for o then for b again. Here i...more >>

While loops & variables
Posted by Soc4me3 at 4/20/2006 2:22:10 AM
Hi, I was having troubl writing some actionscript. My objective is to check all the letters in the alphabet if the letter is a then the movie clip for letter a will be played and so on. So if someone entered bob the movie clip for b should play then the mc for o then for b again. Here i...more >>

dynamic xml
Posted by Vanilla9999 at 4/20/2006 12:08:08 AM
I was able to create the xml jpeg slideshow demonstrated on this site, using the tutorial and everything works fine. But....instead of short captions for each image, I've used an explanatory paragraph for each image, some longer than others. I created buttons to scroll the text box and that w...more >>

Recursive Functions
Posted by doug777 at 4/20/2006 12:00:00 AM
function traceMe(n) { if (n<=2) { trace(n); traceMe(n+1); trace(n); } } traceMe(1); returns the result: 1 2 2 1 Why is the last result 1 and not 2? By the time this second trace line is reached n is already equal to 2. How does it get reset back to 1? ...more >>

Help with HTTP protocol.
Posted by MS2005 at 4/20/2006 12:00:00 AM
Hi every body. How can I get HTML code from some page in the internet with GET data and POST data? OR How can use on the usualy sockets like TelNET? I saw the MXLsocket class, this is the same thing? TNX all. ...more >>

AS animation vs tweening
Posted by aa at 4/20/2006 12:00:00 AM
In terms of performance, speed and computer resources consumption how does AS animation stand against tweening? ...more >>

Load movie clip
Posted by northstar_86 at 4/20/2006 12:00:00 AM
Whenever I load a movie clip into the target and test my movie, the loaded movie clip always loads in the bottom right. I think this is a registration error but I am not sure how to fix it. My target is 835px by 635px, same as the movie clip I want to load. Any help would be much appreciated. ...more >>

dragable object between cursor and button/mc
Posted by Finty at 4/20/2006 12:00:00 AM
I am creating an activity that involves a drag and drop activity. I have defined dragItems and dragTargets. The dragTargets have rollover events that are triggered when the cursor is over them. However, this obviously is never triggered when I am dragging a dragItem on top of them. Is ...more >>

folder access
Posted by Raheel KSE at 4/20/2006 12:00:00 AM
hi plz can anybdy tell me that how to access any file from a particular folder in Flash mx-2004? rgds...more >>

Flash External interface iterprets empty string "" as string "null"
Posted by slawu at 4/20/2006 12:00:00 AM
Hi I'm using ScreenTime mProjector and Flash8 to write some MSWindows application. A have a little plugin writen in C++. When I used Flash7 everything was all right but when I switched to Flash8 string "null" showed up everywhere. I asked ScreenTime support - they wrote: "When we pass or...more >>

resources for flash shopping cart
Posted by gaurav_ch at 4/20/2006 12:00:00 AM
hi, my company has decided to develop a shopping cart in flash. so i need some resources for making it. i am a beginner in actionscript. resources like actionscript code etc. can anyone help me with this? i would really appreciate it. thanks, guarav ...more >>

How can i achieve this full effect
Posted by beyondthebrand at 4/20/2006 12:00:00 AM
Hi, I would like to create a systems diagram that acts like this does: http://www.prodrive.com/menu.asp Can anyone help me with what i need to do with regards to coding this. I gather it is somthing like the ferri wheel but unsure? Thanks, Neil ...more >>

Scrollpane Pain!!!
Posted by kaboom862 at 4/20/2006 12:00:00 AM
Here's the crux of my problem. I have an external SWF when loaded by itself into a container, the interaction between the button to populate a dynamic text box on the stage works without fail...here's the AS for it; on (release) { this._parent.titleHeader = "What is your name?" } Thi...more >>

"SAVE TO ANYFILE"
Posted by deven_delian20031977 at 4/20/2006 12:00:00 AM
Hi Guys! I am new to the Flash ActionScript. Trying to get into it. I am creating the application which has got the command of ADD, DELETE, EDIT, SAVE, ETC... the record in xml format. Is there any Code / Actionscript that would have the command of saving the output data (XML format)...more >>

Using Variable after sending form
Posted by marceldeboer at 4/20/2006 12:00:00 AM
I have a question regarding a form. When the form is send I know you can put the variables to PHP with the $varname, but is there also a way to echo those variables directly to flash after the form is send. For example; a user is filling the form with his First name and Last name, the for...more >>


DevelopmentNow Blog