Groups | Blog | Home


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 > april 2006 > threads for friday april 21

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

function under condition
Posted by chulimanga at 4/21/2006 10:25:51 PM
Hi everybody, could you help me with this?: On root timeline I have a button with this script: on (rollOver) {_root.fast = true} on (rollOut) {_root.fast = false} and one movie clip with motion tween inside. I would like to control speed of that tween with described button. Above...more >>


Stage resizing
Posted by codescodescodes at 4/21/2006 9:48:00 PM
Hi everyone. I'm trying to create a photo gallery where an image gets loaded from an xml file and I want the stage to resize to the size of the image because the images are all going to be different sizes. I've looked into the Stage class, but I couldn't find anything that I could use to acc...more >>

for loop attaches one mc to stage instead of 4
Posted by kevmedia.com at 4/21/2006 8:37:55 PM
Hi, thanks in advance. I'm using the values in (a set of) arrays to attach a bunch of movieclips to the stage. At least, that's my intent. In reality, what I get is one movieclip, with properties from the last set of values in my arrays. I doublechecked the array data, it's fine. I used t...more >>

Scroll pane and
Posted by DavidMLevine at 4/21/2006 7:49:32 PM
I am trying to get a handle on the scroll pane. I got the effect I want on a movie clipe, but when I tried to put everything into a scroll pane, I got hung up. The problem seems to be in this loop with the contentPath command. for (var i = 1; i<=IconMap.length; i++) { IconClip = myScr...more >>

Find where two lines join?
Posted by Gionex at 4/21/2006 7:08:57 PM
Hey My guy shoots at a tile, this tile is 30 x 30 and is a square. The angle of my shooting dude's gun is known and the bullet will end at the tile. So far I have found which tile my gun's bullet will end at but not the exact edge/point is know so I need to know... How do I find where to "...more >>

dynamically passing an argument to a function
Posted by aa at 4/21/2006 6:19:13 PM
If I dynamically place a series of movieclips using a loop: for(var i=0;i<myArray.length;i++) { attachMovie("a","b"+i,100+i) eval("b"+i).onPress=function(){myFunction(myArray[i])}; } then as a reult an attempt to Press any of these moviec...more >>

Bizarre BitmapData Bug
Posted by npauerk at 4/21/2006 5:51:14 PM
Hello all, I've run into an odd "bug" with Flash 8's BitmapData Object. If I generate a 256x256 BitmapData object and attach it to a movie clip and then scale the movie clip indefinitely, the BitmapData image will eventually disappear, then eventually reappear, then eventually disappear, ...more >>

Using a simple command...
Posted by gregmax17 at 4/21/2006 5:26:52 PM
I am sure this doesn't belong in this forum, but hopefully no one minds, but I am sorry. In Director you can stop the movie completely by these lines of code: on mouseUp me _movie.halt() end But how do you use this code in flash? I have imported my .swf file just fine, but I don't wa...more >>



Help with Button - Making it a single click
Posted by cahanck1 at 4/21/2006 5:00:16 PM
I have just made a button in flash and noticed that when I tested it in Dreamweaver you have to double click on the button to get it to go to the selected html page. All my other buttons are single click (they were created in Dreamweaver). Where can I add some action script to the button to ma...more >>

Is it possible to set framerate from AS?
Posted by aa at 4/21/2006 4:51:45 PM
Is it possible to set framerate from AS? ...more >>

set CSS class in text field ?
Posted by Sunny at 4/21/2006 4:42:21 PM
I understand setting text formats with setTextFormat like bold, underline, etc.. But is there a way to set a CSS class to a range of text in a text field? I'm fearing that there is not. -- Sunny...more >>

Suggestions on project please.
Posted by ACB at 4/21/2006 4:30:30 PM
I am doing a project for a friend of mine. I do not have any experience with video in Flash but have been picking my through it today. My question is how you would recommend I do this. The final flash movie will consist of an SWF, and XML file and a whole bunch of movies (converted to SWF...more >>

calling setInterval one after the other
Posted by floyd242 at 4/21/2006 4:20:13 PM
Hello, I'm not sure if this is possible but I'm trying to fiqure out a way to have multiple SetInterval functions. what I'm trying to do is have text highlight a sentence using the setinterval function than after the number of chars needed are highlighted I want to be able to clear the int...more >>

NewB help
Posted by jman18 at 4/21/2006 3:51:55 PM
Hi, Im relatively new with flash and don't know much about actionscript i bought a template for a website and it has a contact form on it, i really can't figure out what to do to make it send the form to an email address please help! this is the code that comes standard on the button: ...more >>

BitmapData missing
Posted by Shoudibola at 4/21/2006 3:45:28 PM
Sorry if it is the wrong forum, but I do not have the BitmapData class in my Macromedia MX 2004. Where can I get this class? I am needing it to make some effects on my flash animation. Could someone help me, please? See ya! Augusto ...more >>

Button to open a internet explorer
Posted by SJ718 at 4/21/2006 3:10:41 PM
I was wondering how to create a button that would open an internet explorer window. It needs to be full screen (kiosk mode)...more >>

Can't apply button event to child.swf
Posted by livingcontrast at 4/21/2006 3:06:08 PM
Anyone know how to control a child swf button from a parent swf? I need to have all my code ONLY in the parent swf; so, how would I apply an onRelease, for instance? Here's my code: (what I think should work, but doesn't) All swfs are in same directory, no typos on names. childMenu.swf h...more >>

Button State
Posted by wish7 at 4/21/2006 2:32:44 PM
I want my buttons to have the the state of "over" whenever it is on the particular page that it has been linked to. You know when a page has been reached, the button for that page could be a different color or at the "over" state of the button until that page has been left....Anyone have any h...more >>

More collision problems
Posted by michael novia at 4/21/2006 2:29:21 PM
Alright, this time i have checked to see if my bullets were moving too fast- this wasnt the case. I made sure i was checking for the same amount of bullets and enemies at any given time, this again didnt seem to be the case. However, i do know that after the 3-4th direct shot, it finnaly destr...more >>

Plotting a clips on the stage, based off an XML
Posted by halcyon32 at 4/21/2006 2:24:39 PM
Hi All, I'm having a problem plotting a clip with AS2 onto the stage based off an XML. I think its looping thought the xml fine but for some reason its not plotting all the clips on the time line... So what I'm trying to do is plot a clip on a line based off its <note_position> and <note...more >>

Loaded movie works once, but not the second time
Posted by Asesino at 4/21/2006 2:20:23 PM
I have a page turning movie that is like a book/magazine. This page turner is gets loaded when the user selects a button called "Testimonials" and the book is loaded by the command loadMovie("pageturn.swf","holder2"); Now, I also have an exit but that takes the navigation up to the fir...more >>

Setting _xy coordinates using loadMovieNum()
Posted by westcountryphile at 4/21/2006 1:18:27 PM
Hello, I need some assistance with the following problem. I have a number of SWF files that can be loaded in response to the pressing of a specific button in a dynamic menu structure. This menu structure works ok. However when the movie displays it is positioned at 0,0 with the result th...more >>

openNewWindow
Posted by Dani147 at 4/21/2006 1:13:46 PM
What is the actionscriptI s hould use if I have a button, and I want that when I click on the button it will open another SWF in a new window. ...more >>

Overriding event handlers
Posted by DaveBar at 4/21/2006 5:19:19 AM
newbie to OO and Flash here, so hope not a stupid question! 1. Have created a class that extends MovieClip. The class includes some code for the OnRelease event handler. 2. Create and display new instance - OnRelease event in class works fine. 3. Add to the created instance a new OnRelease...more >>

Moving Movie Clips dynamically
Posted by DuhChamp at 4/21/2006 4:48:37 AM
Here's the deal. I have a function that I call to move the movie clips based on string that holds the movie clip instance name. The function as I have it now can be seen below listed under figure A. Figure B shows my call to that function. It takes in an array of strings and passes the cur...more >>

Why lVars.sendAndLoad does not work!!!
Posted by CAXOnline at 4/21/2006 3:48:38 AM
Hello, I am trying to get a response from a php script, but lVars.onLoad is never fired. I checked the url using my browser and it works fine, but can't get it work from Flash. I will appreciate any help. ---- The code ------- AS: stop(); var lVars:LoadVars = new LoadVars(); ...more >>

How do I change ComboBox color?
Posted by PythonDude at 4/21/2006 2:09:02 AM
I need to change the white dropdown button and scrollbar parts of it to a darker gray. I've looked at their live docs and I still cant get those 2 parts to change. The combo box has two unique styles: openDuration and openEasing. Other styles are passed to the button, text box, and drop-do...more >>

simple noob question
Posted by hushhurt at 4/21/2006 1:43:12 AM
hello - i am new to actionscript, and i may be completely overlooking something obvious. what i am trying to do is access a variable within a different timeline from the main. i create a movieclip, within the mc i create a variable named x, but when i try and trace that variable from the ma...more >>

Button question
Posted by batman10001 at 4/21/2006 1:33:21 AM
I have button that on Over state plays movie. but as soon you click off it stops - is there way to tell Flash that when you click once it plays the whole movie till the end? Thanks!...more >>

AS2 strict type components problems
Posted by Retroboy_mx at 4/21/2006 12:00:00 AM
Hi Flasher: I try to work with the macr. components using AS2 strict type, but allways i get a error message and the final swf dosen?t work. Any idea ????? This is the code & the error message Flash 8 Mac OS 10.4.6 Tks ;-D /* Import the required classes.Includes the Button...more >>

Passing XML Object from Flash to ASP
Posted by kumzlee at 4/21/2006 12:00:00 AM
Hi Buddies..., Is it possible to pass an XML Object/Array Variable from Flash to ASP? If it is, How to get and parse the XML Object/Array Varible in the ASP file? I'm planning to go with ASP to create an External XML file, then i'll feed the XML data in to Falsh. Incase of any Addi...more >>

shared Object for high score
Posted by NutsyNalinda at 4/21/2006 12:00:00 AM
I am using shared Object for saving high score on my game, But its not working properly, not adding high score at right place Please check the codes, i cant find the eror for the 1st frame var local:SharedObject = SharedObject.getLocal("name"); var local:SharedObject = SharedObject.ge...more >>

Bitmap reading
Posted by mr.eddy at 4/21/2006 12:00:00 AM
Is it possible in Flash 8 to get the value of a pixel of a jpeg in coordinates x,y ? Thanks!...more >>

writing in to XML
Posted by kumzlee at 4/21/2006 12:00:00 AM
Hi Buddies, Is there any way in Flash to Edit/Update the External XML file content? I dont want to use any Server Side Scripting, Third Party Tools and Data Connectivity Components... I want to achive this only through ActionScript... Thanks in advance... - kums ...more >>

convert variable to movieclip
Posted by alien4m_mars at 4/21/2006 12:00:00 AM
hi i am trying to set a moveclip name this is my code var selectedColor:String = "green" var mcNew:MovieClip = "_root.mcFigures.mcColor"+selectedColor); mcNew._visible = flase how do i get the moveclip name "_root.mcFigures.mcColorgreen" please help thanks ...more >>

convert string to movielcip
Posted by alien4m_mars at 4/21/2006 12:00:00 AM
hi how do i convert a string to a movieclip say i have var mcNew:String = "_root.mcFigure.mcColor" how do i convert mcNew into a moveclip?? please help thanks...more >>

Capturing Screen and save it as JPG
Posted by Martutty at 4/21/2006 12:00:00 AM
I'm making an exe with flash that will go on CD and what I need is to capture the screen so the user can save the image and send it by email. I've seen that you can capture an image using php but my project will go on CD. Is it possible or I should explain the user how to printScreen on Window...more >>

Stage.onResize
Posted by codescodescodes at 4/21/2006 12:00:00 AM
Hi everyone. I'm building a photo gallery in Flash and I'm wodering how to get the stage to resize to exactly fit the content. For example: if I load in an image that is 500x500, I want the stage to resize to those dimensions. Then if I load in an image that is 800x600, I want the stage to...more >>


DevelopmentNow Blog