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 > october 2006 > threads for tuesday october 17

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

exporting library or timeline as seperate jpgs
Posted by stephan.k at 10/17/2006 11:44:25 PM
Dear Forum I have a timeline that contains about 1000 frames. Each frame is a different image. All the images are also represented as individual bitmaps as well as movieclips in the library. How can I easily extract each individual image (export as image) in one action? I tried highlig...more >>


Button problem
Posted by Mikeb88_69 at 10/17/2006 11:08:31 PM
I have 2 movie clips (photo1_m, and photo2_m). Inside of these movie clips are 1 button (photo1_b, photo2_b) What I want is, when you roll over the button, the entire screen fades to back as a picture fades in. When you roll out, they both fade out (using a rewind function). The code...more >>

Dynamic Text Box not working
Posted by seran127 at 10/17/2006 11:04:06 PM
This is my code in in the actions layer as you can see it should update every second and it does because when I do a trace it shows in the output box that the counter increases. The problem is that I also have a dynamic text field with the var = cliptime and the instance = cliptime. When ...more >>

Manipulate xml data
Posted by Detonate 2004 at 10/17/2006 10:42:24 PM
From a XML file, I can retrieve the content and display in one single column. This part works perfectly! But when it comes to seperate my xml data in 2 columns... no luck. Can anyone guide me and split my items in a new row when 10 items are achieved? function attachSubMenuItem(me...more >>

Sizing Dynamically loaded images
Posted by baycydeufl at 10/17/2006 10:30:52 PM
I've loaded images into a project at runtime they show, but when I try to resize them they are set as a percentage of the original size and not the pixel size. I've tried using setProperty and object._width= and object._height=. Every place I've read anything about the _width and _height pro...more >>

Load FLV into SWF from URL string
Posted by dummy at 10/17/2006 10:01:11 PM
I would like to load any flv I have on the server into a an SWF, with a URL value or FlashVars value. What I don't know how to do is get the actionscript setup to read the value and put it into something like this: ns.play(myVideoName); instead of the normal way: ns.play(...more >>

sending a form mail through flash
Posted by bso_71 at 10/17/2006 9:55:28 PM
How can I send a mail with different text fields in flash. I want the user to fill certain info and that info be sent by mail in a flash form without using the users mail program. Is there a web page where I can download an example? Thanks a lot! Brenda S. ...more >>

Is there any limit on number of variables?!
Posted by Zal at 10/17/2006 9:31:15 PM
Hi everybody, I'm currently in the final squash bugs phase on my one-year, one-developper project. Sneak-peek at: http://www.showeaver.com/testDrive/ I'm experiencing some strange things. I have a canevas where you can build room setups. I can select one or multiple elements (chairs, t...more >>



Flash web site
Posted by Stevew at 10/17/2006 9:12:08 PM
Flash 8 I am trying to create a simple flash web site. I need to do the following: Have a list of button links along the left hand side When I click on a button play a swf within the screen to the right. What is the syntax to load and play a swf in a certain position? Cheers Steve...more >>

Show all Target Paths??
Posted by sl4ppy at 10/17/2006 8:47:03 PM
I'm looking for a way to show (or dump) all the target paths for every node in an entire project. Surely there's an easy way to do this?? Thanks in advance!...more >>

Can't access movieclip...
Posted by Sanctified Design at 10/17/2006 7:04:38 PM
I created a script that duplicates a movieclip several times based on the number of nodes an external XML file has. It seems that I can't access the movieclips or change their properties or instances or the properties and instances of subsequent movieclips within them. When I try to access the...more >>

Playheadtime and totalTime
Posted by seran127 at 10/17/2006 6:50:37 PM
OK i am really stuck, I have a flv file in flash I am using the FLV Custom Component. I need to be able to display the running and total time of the video in two seperat text field on the scene. I can't seem to get this to work. My video is a converted flash swf file to QuickTime then I creat ...more >>

reference in function?
Posted by castten at 10/17/2006 6:32:02 PM
Hi, I just was trying to do something simple I thought: _global.setIfEmpty = function(vari,val){ if (vari==undefined) vari = val; } // variable background should set to the value if it is undefined setIfEmpty(background, "background.jpg"); This does not seem to work. So I thought ...more >>

Navigation Not Working
Posted by SmileyGirl23 at 10/17/2006 6:03:08 PM
I have a frame.swf that contains my navigation bar on the left side. There are 5 links on this navigation bar which correspond to 5 other swf files. The links work fine in the frame.swf...however, whenever I actually click on it and load one of the other swf files to the holder movieclip tha...more >>

flash slide show problem
Posted by ricky1980 at 10/17/2006 5:18:27 PM
Dear All, I have the attached code , i want to move 5 photos form right to left. But it does not work. What is the correct way to write this action script if i want to load the photo dynamically. Regards, Ricky var spacer:Number=50; for(var i=1; i<5 ;i++) { var mc:Mo...more >>

Placing images with AS
Posted by maxelcat at 10/17/2006 5:16:05 PM
Hi Can I use AS2 to re/place an image on the stage? Thanks in advance Edward...more >>

Graphing y=bx+a
Posted by creativkook at 10/17/2006 4:58:39 PM
So I have a graph that I need to make that is graphed from y=bx+a. I've looked through the forums, and the only graphing equations I can find involve sin and cosin, which this does not. Does anyone have any ideas? ...more >>

select a file
Posted by jonnybennett at 10/17/2006 4:49:17 PM
This isn't really a questin about actionscript, but it doesn't really belong in any forum I could think of and I am creating a site using flash... soo..... If I have a directory with 20 billion images in it.... and a directory with only 1 image in it, would it take longer to display the imag...more >>

asfunction in text area component
Posted by Ian.S at 10/17/2006 4:34:36 PM
Does anyone know if asfunction can be used in the text area comonent? I have always use it successfully in text field components, but i have found that for some reason it doesn't work in a text area. ...more >>

Require Email
Posted by parkeast at 10/17/2006 3:37:27 PM
Hey all, We've just completed adding extra video on http://www.behindthevelvetropes.tv and they are wanting to make it so people can't view the videos (on the videos page that is) unless they enter their email. They want the entered emails to be "dumped" to a file, and then if someone ha...more >>

passing variable value with button or MC, that acts like a button
Posted by rohai at 10/17/2006 2:44:15 PM
Hi, I have a system.swf, that coordinates which MC should be loaded into container. I'm trying with IF statement... if (scene == "VALUE")) { load ... My question is, how can I pass a variable value from loaded swf to the system swf, where this value is read? THX ...more >>

insert image in textarea or text field
Posted by nismo337 at 10/17/2006 2:42:16 PM
while i try to insert an image in text area or text field using html code. textArea.html = true; textArea.text = "some text<img src='smile.jpg'>"; or textField.htmlText= "some text<img src='smile.jpg'>"; the result i got was: some text grin; izit possible to make it this way: s...more >>

Send variable from loaded .swf
Posted by rc3rdmd at 10/17/2006 2:40:54 PM
I have a textfield with the date on the screen. I want a loaded .swf file to change the date on the screen (send the variable back from the loaded .swf to the main .swf). Thanks! Rob Childress...more >>

Checking dublicate valuess in Arrays
Posted by gregmax17 at 10/17/2006 2:30:40 PM
Just like the title states, 'How do you check if an array has dublicate values?' The reason for me asking is because I am developing a game where the player/user colletects items, and is stored in an array. But how do I check to see if the player has 3 blue potions, or 2 red potions , etc ...more >>

Quiz Template - Template_Feedback
Posted by angelina28 at 10/17/2006 2:27:43 PM
I'm using a Quiz Template inside Flash MX 2004. There is a dynamic text field with the instance name 'Template_Feedback' that gives feedback after clicking the a Control Button that is the Check Answer button. The instance name on this button is 'Template_ControlButton'. What I want to know...more >>

How can I find the children of a movie clip?
Posted by jgeorg at 10/17/2006 2:19:29 PM
Hi all, I wander if there is a clever way to get a list or an array with the children of a movie clip. i.e. this._children Thanks in advance...more >>

XMLSocket Security Problem?
Posted by HardCorey at 10/17/2006 1:25:22 PM
Hello everyone. I've programmed a client and server side bandwidth testing system. The server side accepts socket connections on port 1234. I have a client side flash application which connects to the server side and uploads a stream of data. The server calculates the time is takes to r...more >>

setInterval not working properly
Posted by DJ James at 10/17/2006 12:53:55 PM
I have a swf file that is loaded into some courseware that is the navigation for the entire lesson. It has a dynamic menu system that I want to close if the user rolls out of any of the buttons in the menu for more than a second. Here is the code for the function on the root timeline of the...more >>

Protecting the SWF from decompilers.
Posted by QFla at 10/17/2006 11:52:43 AM
Hello all, How are you all doing? Does anybody have any idea about how to protect the swf's from the decompilers, without the use of third party tools? In case do let me know. Thanks.:smile;...more >>

Iam not able to take and display numbers..Plz help
Posted by fastRider at 10/17/2006 11:46:33 AM
Guys I am a beginner and have landed into trouble cause of it.. I know the basics but a typical situation has arrived.. I want to take user entered number and display it back!!!! but here I get two types of error 1. NaN i guess which means not a number and the other 2. which Says undefined... ...more >>

playheadtime
Posted by seran127 at 10/17/2006 4:22:03 AM
In the code below when the user presses the button it set the video back to the start I just need it to go back on second //Rewind Rewindbtn.onPress = function (){ biz_need.playheadTime = 0; } Next question how would I displaty the biz_need.playheadTime and biz_need.totalTime in m...more >>

rotate blend in createGradientBox
Posted by whatthef*ck at 10/17/2006 3:51:20 AM
In the parameters set for the createGradientBox the help says "public createGradientBox(width:Number, height:Number, [rotation:Number], [tx:Number], [ty:Number]) : Void" but setting a rotation number to 90 does not change the blend from horizontal to vertical. Anyone know any means to do th...more >>

how do i make a hyperlink?
Posted by DZ-015 at 10/17/2006 3:17:49 AM
I'm not talking about using getURL() to load content from a web location into my flash document - i just want to know the actionscript to make a hyper link. For instance: mcThing.onRelease = function():Void { //SOMETHING GOES HERE } What do i put in there to make the browser go t...more >>

Video
Posted by radmidland at 10/17/2006 3:17:04 AM
I am VERY new at flash I have built loaders and what nots and made them go away after playing, but how do you do the same for a video. Do you have to embed it? What I want to do is play a 30sec. video on my home page then make it disapear and not restart every time the user goes back to t...more >>

Code not working
Posted by prachis at 10/17/2006 12:00:00 AM
I want that whenever I click on the E-mail button, It should open the outlook to send an E-mail to "abc@xyz.com" this address. for this, I have added the following code in my application. [b]Code: [/b] public function handleClickHelp(event):Void{ var cp:String; var w:Number; ...more >>

Progress bar - please help
Posted by tull_italo at 10/17/2006 12:00:00 AM
Hi there, I have desperately trying to solve a problem with a progress bar in my animation. I have got a button on my progress bar which shows at what stage the animation is. I would like to have the button controlling the animation in the way that I could drag it to any place on progress ba...more >>

Can I take some of your time
Posted by fastRider at 10/17/2006 12:00:00 AM
Guys I am a beginner and have landed into trouble cause of it.. I know the basics but a typical situation has arrived.. [b]I want to take user entered number and display it back!!!![/b] but here I get two types of error 1. NaN i guess which means not a number and the other 2. which Says unde...more >>

duplicateMovieClip
Posted by tegnegi at 10/17/2006 12:00:00 AM
hi . i m trying to load a jpg image(1.jpg) frm the same folder where i ve my fla file throught MovieClipLoader Class. But the problem is that once the image has been loaded into the swf i cant duplicate it. I m trying to duplicate it onLoadInit event listener. Please help me . The code is as...more >>

datagrid iconField
Posted by Knut Nidelven at 10/17/2006 12:00:00 AM
Hey folks, I can't seem to get the iconField property of the datagrid compoent to work, which would seem the most obvious and straight-forward way for adding little images to a datagrid. The same codes that works beautifully for a list-component, fails with a datagrid. Googling on it ...more >>

Components
Posted by aparna.ap NO[at]SPAM macromediaforum.com at 10/17/2006 12:00:00 AM
Hello, Please helop in Component Development from beginner to Advance. Thanks ...more >>


DevelopmentNow Blog