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 2007 > threads for tuesday april 10

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

Variable comparison problem
Posted by symmetricalMan at 4/10/2007 10:54:28 PM
Actionscript newbie. I have three variables that I call as follows: _global johnAlt = false; _global garyAlt = false; _global tonyAlt = false; I also have three buttons, each of which changes the value of each variable, like: on (release) {tonyAlt = true;} Later, I need to co...more >>

Variable comparison problem
Posted by symmetricalMan at 4/10/2007 10:54:25 PM
Actionscript newbie. I have three variables that I call as follows: _global johnAlt = false; _global garyAlt = false; _global tonyAlt = false; I also have three buttons, each of which changes the value of each variable, like: on (release) {tonyAlt = true;} Later, I need to co...more >>

External Actionscript File not being Included
Posted by symmetricalMan at 4/10/2007 10:38:10 PM
Odd problem: Myself and a colleague are working on a project. We're both using Flash 8. We've both downloaded the latest Flash player. The project involves a series of perfume bottles, all lined up in a row. When you press a key on the keyboard, the associate bottle enlarges and some info ...more >>

passing variables to server is not working
Posted by DF7 at 4/10/2007 9:56:28 PM
I am new to action scripts, so I'm not even sure where to start. I have bits and pieces that I know work, but am not sure why the action script and the php file on the server do not seem to be talking correctly to each other. The action script seems to work if I do not pass any variables, bu...more >>

variables passing
Posted by realtime158 at 4/10/2007 8:34:42 PM
I was wondering how do i pass a specific variable name from the parameters to the .swf file. I have supplied the source code with this. The name of the variable is myParm how do i get flash to process the value of that parameter in the swf file . THanks.. <script type="text/javascrip...more >>

external SWF problems
Posted by jessem1985 at 4/10/2007 8:06:47 PM
i have a few SWF files loading into the main SWF. I am using a blank movie clip to load the external SWFs. loadMovie("photos-color.swf", "color"); That is actionscript I use to load the external SWF into the main SWF. I go to one page on my site, download the external SWF, then go to a...more >>

General programming style question re: functions & scoping
Posted by Peter Pawinski at 4/10/2007 8:06:12 PM
/////EXAMPLE CODE FOLLOWS///// function mainFunction ():Void { subFunction1(); subFunction2(); } function subFunction1():Void { // thrilling code goes here } function subFunction2():Void{ // more code goes here } /////COMPARE WITH THIS WAY OF CODE/...more >>

Tile Help...I don't know whats wrong
Posted by gregmax17 at 4/10/2007 5:27:45 PM
I learning how to make worlds with the help of tiles and Tonypa. I am in the scrolling tutorial and I believe I am following everything but apparently not! For some reason it will not generate the surrounding tiles around the hero/char when it is moving (it works fine when it firsts builds the...more >>



AS 2.0 Question
Posted by ChrisFlynn at 4/10/2007 5:15:15 PM
Hi all I'm a bit of a newb when it comes to AS 2.0 and writing classes. But I have a question about inheritance. Right now I have 3 classes, Thing, Gravity, and Ball. This is how they're set up. Thing.as class Thing extends MovieClip { //Code } Gravity.as class Gravit...more >>

Global Volume Controller
Posted by SM6601 at 4/10/2007 4:37:03 PM
Is there a way to create a global volume controller in Flash? It's not in the help or online documentation. ...more >>

AS3 TextField
Posted by RandyHowk at 4/10/2007 4:12:03 PM
I am trying to create a text field from a template(_nodeLvl_1:TextField) and then add text for the new instance(interactive:TextField). My thinking was to save some code by just changing what needed to be changed in each instance, I'll have about 3 text fields per plane, namely the position an...more >>

Basic Button
Posted by sbryner at 4/10/2007 3:53:16 PM
Hello, I must be missing something simple. I have a button component in my library. When I drag it to the stage and define the parameters (label) it shows up just fine. When I publish and view the swf the button does not appear just a rectangular white box appears and the white box act...more >>

Targeting Dynamically Attached MC's (2-3 Levels Deep) From Root????
Posted by mmaler at 4/10/2007 2:48:23 PM
I am in the process of building an application where all of the functions will be eventually exported into seperate AS files. I am having issues with a Sub Navigation that is attached and managed dynamically. The Sub Navigation is in an MC which contains a mask (which has a tween animatio...more >>

Problems attaching event handler to MovieClip
Posted by Peter Pawinski at 4/10/2007 2:44:37 PM
I have a bit of thumbnail generation code that looks like this: for (var i = 1; i <= 5; i++) { filename = "Images/Thumbnails/thumb" + i + ".jpg"; curr_thumb = thumbstrip_mc.thumbnails_mc.attachMovie("thumbnail", "thumb" + i); curr_thumb.loadMovie(filename); curr_thumb.onRelease...more >>

Create an html tag to embed in Myspace
Posted by Kevin Susman at 4/10/2007 2:14:08 PM
I have a single fla timeline with unique flv's referenced at different frames. (e.g. myflv1 @ frame 10, etc). I want to generate code that allows the user to embed this movie on Myspace - which I think means that they would need to reference the specific start frame of my swf. (the flv's are s...more >>

Preloader is not working properly
Posted by User-1 at 4/10/2007 1:58:33 PM
I have a preloader that is not supposed to play unless the file hasn't been downloaded before. The preloader is in the first frame, and it functions properly on initial download, but not after the file is cached. Any help will be greatly appreciated. Here is the code on my preloader. ...more >>

List files in folder
Posted by maguskrool at 4/10/2007 1:57:30 PM
Hi. Is there a way to get a list of the files in a specific folder? For example, if I want to build an array with the names of the .jpgs in the "my_images/holidays" local folder, so I can load them orderly in a swf, how could I get them? Thank you in advance. ...more >>

linking to an external swf file problem
Posted by badhams at 4/10/2007 1:52:34 PM
I have one flash presentation which contains a movie clip button with all three events (onRelease, onRollOut and onRollOver) which links to a video which is contained in another swf. The button appears to be temperamental with the onRelease event. It will work sometimes and only when the bro...more >>

Targeting Button Inside loaded MovieClip
Posted by JstMrd at 4/10/2007 1:48:01 PM
Hey there, I think I am loosing it ... Anyways, I have loaded a Movieclip onto the stage with: _root.attachMovie("MCCheck","MCCheck",(1001)); // Attaches the Check Button _root.MCCheck._x = 82; _root.MCCheck._y = 202; and would like to target the button (instace nameis butChec...more >>

Slideshow with Fading Images
Posted by Comp. 792 at 4/10/2007 5:43:14 AM
Is there a tutorial around on creating a slideshow with fading images. I want to drop my images into a folder. 01.jpg, 02.jpg etc. and then have an actionscript automatically fade them in and out. Does someone know how to do this dynamically. I know it can be done. I want all of the .jpg i...more >>

Slideshow with Fading Images
Posted by Comp. 792 at 4/10/2007 5:43:05 AM
Is there a tutorial around on creating a slideshow with fading images. I want to drop my images into a folder. 01.jpg, 02.jpg etc. and then have an actionscript automatically fade them in and out. Does someone know how to do this dynamically. I know it can be done. I want all of the .jpg i...more >>

Camera moves with mouse
Posted by Sterockicy at 4/10/2007 5:34:20 AM
Hi guys, Just a quick post with HOPEFULLY a quick and helpful answer. http://uploads.ungrounded.net/content.php?id=66766&name=66766_ganguro.swf&title= Ganguro%20Girl%201.5&date=1176177600&quality=b&li=1&uj=0&w=600&h=400 which moves the background when the mouse is moved, I would love to kno...more >>

dropTarget in AS3
Posted by KinseyFobes at 4/10/2007 2:53:17 AM
This is using Flash CS3 and AS3.0 When I use dropTarget on symbols that are instantiated at design time, the dropTarget property reports the name as instance1 and instance2 instead of the names that were assigned through the properties panel. Most of the code came from some help files from...more >>

how to target movie from within the event listener
Posted by zzdobrusky at 4/10/2007 2:43:28 AM
I've been having this problem from the very beginning: how to actually target movie clips or functions from another function? If I am on main timeline and call main timeline function from within another main timeline fucntion it works like this: callF1(); function callF1() { th...more >>

Active Script Easing Help
Posted by Soljaboy1906 at 4/10/2007 2:30:42 AM
Okay I have a simple menu that worked great in MX2004, but i have upgrade to Flash 8 now the script doesn't work and was wonder what am i doing wrong. I have placed breaks within the code to see whats failing. It looks as if the button On Release() never fire off now that I am in Flash 8 A...more >>

Loading HTML view
Posted by Heros_Darkness at 4/10/2007 2:23:55 AM
Hi, I was trying to load a webpage within a swf and was wondering if anyone has any idea on how to do this and if its possible. So lets say I have a swf file with links to the left, and just some title text at the top. Then on the rest of the area showing a webpage from within a textbox, movie...more >>

Function that reads and returns a value from an XML file
Posted by Alfonso2007 at 4/10/2007 12:43:03 AM
Hi, I've been able to read an XML file using the following code but the problem is that the function "clientInfo" always returns noting. The issue is that Flash doesn't wait until the XML load is done and continues executing the next line which in this case is the function return. Is there...more >>

callback / scope within a class
Posted by Mr Helpy mcHelpson at 4/10/2007 12:17:34 AM
So this works when I move the function to call outside of the callback method onLoad, trace works inside the onLoad, so I know the function and the onLoad work fine. I was thinking it was a scope issue, but I followed ... http://www.adobe.com/devnet/flash/articles/as_bestpractices_04.html ...more >>

Key.isdown script not working in Fla8 AS2
Posted by OniLink at 4/10/2007 12:00:00 AM
Hi, I am trying to use an old application I made back in the day of Flash 6 and ActionScript 1, but I have come accross a part of the code that doesn't work when changing to Flash 8 ActionScipt 2 (I have attached the code to the bottom of the message). It refuses to indicate when I am ...more >>

windy grass effect
Posted by Anderson11983 at 4/10/2007 12:00:00 AM
hi guys, i have an image of a sign stading in a field and i want to create the effect of the grass blowing in the wind, does anybody know how to do this? this is a link to the image http://www.stockxpert.com/browse.phtml?f=view&id=23430 thanks andy ...more >>

I need help with components
Posted by jonblaze87 at 4/10/2007 12:00:00 AM
I have a project where the user imputs some info and the info is displayed on the next frame. So on frame 1 I have an imput text component where the user typs their name. 4 radio buttons to choose what video game console the like to play. 1 check box that says I enjoy movies. Lastly there's ...more >>


DevelopmentNow Blog