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 > july 2006 > threads for friday july 14

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

Possible to pass a 'case' value?
Posted by swim4it at 7/14/2006 9:36:06 PM
Is it possible to pass a 'case' value from one layer to another? One of my buttons on level 300 is trying to pass a 'case' value to level 100. Here is the code on the button: pizza.vbut.onRelease = function() { _level100.pizza_slice=2; tellTarget("_level100"); } Is this correc...more >>


dynamic button action
Posted by yogi b at 7/14/2006 9:33:55 PM
I've created a dynamic set of buttons from an array that works fine. It also passes a variable in one function. My problem is that when I try to dim the picture (pix) on a button action it picks up the last [name] in the array and not the specific [name]. How does one pass the right item in...more >>

How call Bat files with parameters?
Posted by MaksiZavrrr at 7/14/2006 8:41:22 PM
sabj Later MX version i can`t call bat files >:( fscommand("exec","sgf.bat"+st.text) This not working in MX version and Later :( help pls ...more >>

Number Multiplying Issue...
Posted by al_zaharia at 7/14/2006 8:30:34 PM
Hello everybody. I have a problem when I try to multiply a variable - a Number variable with two decimals, to be more exact - with another Number variable with just one decimal. The thing is sometimes ActionScript multiplies the two variables ok (i.e. the result has three decimals), but so...more >>

getURL With Text File Variable?
Posted by Thatnickname at 7/14/2006 8:25:42 PM
I'm trying to make dynamic URL's on a site. The user can enter the name and URL of each link which is a dynamic text transformed into a button. Now my question is, is it possible to do such a thing? Can the animation go get the URL in a text file and apply it on a particular button? Exa...more >>

Song loop from particular time
Posted by Andrew20 at 7/14/2006 7:54:44 PM
Ok, I think this is something easy, but I dont know what to use. I got a song that I cut at 54.4 sec and after the first complete play I want this song to loop from 11.95 sec to the end! Is there a way using action script or using a movie clip with the song inside(cause I tried to put...more >>

Button Navigation & Highlight Problem
Posted by Tjisana at 7/14/2006 7:23:55 PM
I have I believe, a simple button highlight problem. I have a group of buttons I created on a page and want when button 1 is clicked it stays highlighted (each button is a MovieClip), and when another button is clicked the last one clicked gets cleared. All buttons have this initial AS to st...more >>

Dynamicaly naming an object
Posted by Sophdan at 7/14/2006 7:08:17 PM
Let's say I have a class named MyBox and I want to create a certain number of objects from that class in a loop. How do I do it ? for (var i:Number = 1; i++; i < 4){ var ["b" + i]:MyBox = new MyBox ("box" + i); } I was hoping that the above code would create 3 objects (b1, b2 and b3)...more >>



tween problem
Posted by criminill at 7/14/2006 6:38:20 PM
I have posted a simplified version of a problem I have been having at http://www.milestoneadvertising.com/functionTest.fla. The problem is that I have a tweening symbol that once a function is executed that specifies the x position for the symbol. I cannot get the tween to start again even t...more >>

probelm with listeners for components in a dynamically loaded swf
Posted by SPGAnne at 7/14/2006 5:57:19 PM
Beginner here, so be gentle. I have created a .swf which has some button components on it. I have the following code on a .fla stop(); import mx.controls.*; var layout:MovieClip = this.createEmptyMovieClip("layout",1); var my_mcl:MovieClipLoader = new MovieClipLoader(); my_mcl.a...more >>

Crazy levels, assistance please.
Posted by Zylozeer at 7/14/2006 5:12:00 PM
Ok I have a menu component on _level0 i'm feeding with an xml file. Depending on what is chosen it may load a swf on _level1. I've tried swapDepths and other things and just can not get the [b]menu component[/b] on _level0 to appear [b]over[/b] the swf movie on [b]_level1[/b]. Any ideas ...more >>

Help with wav file, stop and play buttons
Posted by jfishman03 at 7/14/2006 4:35:39 PM
Hey everyone, I'm new to actionscript, and flash for that matter. I created a new flash file, and a new layer. On that layer I put 2 buttons, btnPlay and btnStop. I found some code on this forum, and tried it, but it isn't working. The code is below. I get no errors, but when I test ...more >>

Firefox oes not upload a file
Posted by eduera7 at 7/14/2006 3:42:00 PM
Hi, I have a swf that uploads files without problem in IE but it does not work in Firefox Any help?...more >>

Movie Clip loading buttons require double clicking on the first attempt
Posted by anne f. at 7/14/2006 1:35:35 PM
I have created a number of buttons that load move clips into an empty movie clip. The problem is that it takes several clicks to activate the first clip button then the buttons behave as they are supposed to and load properly. Is there a reason why the first time you must click several times t...more >>

A simple for loop question
Posted by The 350Z at 7/14/2006 2:21:39 AM
Hi Lets say I have an array with boolean values in it: my_array = [ false , false , false ] My question is: How do you make a function to check, if the value is all false, than do this (not only one but all false than trigger a function) thank you ...more >>

Turn off certain mc's and then check if they were done correctly
Posted by twistedpancreas at 7/14/2006 1:48:12 AM
Hi there. I have a small job where a student has to select any commas in a "dummy" sentence and remove those commas that they think don't belong there. Then they click a check button to see if they removed the right ones, and then are given feedback (eg how many they got correct) Any...more >>

Loader.scaleContent not working
Posted by Ben2 at 7/14/2006 12:00:00 AM
i have a loader which loads jpeg images, and the scaleContent is set to true, yet sometimes when the pictures load, especially if its the first time you try to load them (they are not cached) it loads them full size and you can only see the top right corner of the image. if anyone has encoun...more >>

Movie Clip button to Scene Frame
Posted by Lady Epona at 7/14/2006 12:00:00 AM
I need help. I am trying to make my menu as a seperate movie clip for simplicity and less key frames. I can not figure out, though, how to get my menu buttons to go to the frame label in scene 1. If I could get some advice on how to fix this, I would greatly appreciate it. ...more >>

Protect swf from cash
Posted by tay shk at 7/14/2006 12:00:00 AM
I want to protect my swf from cash , means when we embed swf in web page it should not load in cash. because no one should copy it from Temporary Internet Files....more >>

component initialization delay?
Posted by Timothee Groleau at 7/14/2006 12:00:00 AM
Hi all, This must be a common question: I'm building a movieclip that I need to associate with a class. Within that movieclip, there is a button component (I'm using Flash 8 basic). In the constructor of my class, I'd like to immediately register a listener to the click event of the butt...more >>

Class problem
Posted by Tolk at 7/14/2006 12:00:00 AM
I wrote this simple class which i hope to develop into a tool tip class when i get it working. I'm not sure why this isnt working could someone help. Thanks! class com.utils.ToolTip extends MovieClip { public var mc:MovieClip; public var tip:String; public function ToolT...more >>

GotoAndPlay immediately after content is loaded fails
Posted by NilsB at 7/14/2006 12:00:00 AM
Hello, I'm trying to do a gotoAndPlay in a complex movieclip structure from the main timeline. The following code works perfectly: function doSomething():Void { mc1.mc2.gotoAndPlay(2); clearInterval(intervalId); } var intervalId:Number = setInterval(doSometh...more >>

Flash Movie Path
Posted by panell at 7/14/2006 12:00:00 AM
Hi How to get current flash movie path? ex. C:\Movie1.swf? or http://www.test.com/Movie.swf?...more >>

Next/Back buttons
Posted by langlois123 at 7/14/2006 12:00:00 AM
Please forgive the elementary nature of this enquiry but I am relatively new to this actionscript venture. I am currently creating a Pics page and want the user to be able to flick back and forth through the numerous images in my gallery. The 'next' button is not a problem, however, I want the...more >>


DevelopmentNow Blog