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 > june 2006 > threads for wednesday june 7

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

ActionScript Cue Points
Posted by jayjee at 6/7/2006 11:09:39 PM
Here's what I have so far: Any help? /** Requires: - FLVPlayback component on the Stage with an instance name of my_FLVPlybk - TextArea component on the Stage with an instance name of my_ta */ _root.chart._alpha = 0; _root.chart.stop(); _root.box._alpha = 0; _root.box.st...more >>


Help with hitTest
Posted by TimAndrodney at 6/7/2006 10:28:57 PM
I have a movie clip that drags over several other movie clips. These other movie clips have various names and were not created by an array or any other dynamic means. So here's my question. Is there a way to get the name of these movie clips when I drag the original clip over them. I thoug...more >>

an explosion effect - how does it work?
Posted by aa at 6/7/2006 9:36:30 PM
I have come across a source file with an explosion effect www.upload.front.ru/explosion.fla But I failed to figure out how it works. The only code I managed to find there is in the clip called dynamite which duplicates debris. But I cannot see the code which controls their movement. Could someo...more >>

putting cursor in input text field
Posted by alisonspiegel at 6/7/2006 8:32:59 PM
I'm trying to put the cursor in an input text field as soon as I get to a certain frame. I'm using Selection.setFocus() but it does not seem to work. It returns true but I still can't see my cursor and I can't type to the field until I click in it or tab to it. Does anyone have any ideas wh...more >>

Page URL - ExternalInterface.call("location")
Posted by mcshaw at 6/7/2006 7:32:36 PM
I assumed that the following would get me the location of the page: tmptxt.text = ExternalInterface.call("location"); I also assumed the following would make an alert box tmptxt.text = ExternalInterface.call("alert()"); Well I assumed wrong (: How in the world do I get the location v...more >>

multiple text selection in single text field
Posted by the fleece at 6/7/2006 7:13:01 PM
done a search but couldn't find anything is it possible: ie blah blah <font color=white style="background-color: 3E3E3E;">didy blah blah </font ft>blah blah blah didy blah blah blahblah blah didy blah blah blah blah <font color=white style="background-color: 3E3E3E;">blah didy </font ft>b...more >>

Slideshow, Thumbnails& MovieClips Oh My!
Posted by champion25 at 6/7/2006 7:06:12 PM
I would like to create a thumbnail scrollbar where there is a panel of thumbnails (SlideShow1, Slideshow2, Slideshow3, etc) which are MovieClips populated from external jpgs. The Movie clip also needs to be able to display a description of the thumbnail. I want to be able to click on the thu...more >>

enter frame event
Posted by tylerbryanj at 6/7/2006 6:45:36 PM
what actionscript would I use if my movie has many different scenes. I am about 3 scenes into my movie and when a certain frame is entered I want Scene 1 to go to a certain frame. I cant seem to get the actionscript right. ...more >>



Flash Actionscript On A Button
Posted by imjustabeginner at 6/7/2006 5:34:40 PM
Hello, I was wondering, what actionscript would to open a local file on my computer? For example, when I click on the Flash button, I want to open a text file that is stored on my machine. The complicated part is that there is javascript on the button as well... My code is attached,...more >>

Re: How to decrease music volume?
Posted by xinaroyall at 6/7/2006 3:38:41 PM
Where do I define fps? Sorry, I'm just not familiar with this code sequence, so your help would be greatly appreciated. And that frame doesn't play more than once, so I don't know what's up with the garbbled song, but I'll figure that part out later. Thanks! ...more >>

dynamic name for new color object?
Posted by forums.macromedia.com at 6/7/2006 3:19:32 PM
Hi Is it possible to create a dynamically named object? e.g. this["colorBtn"+sectionArr[x]] = new Color(mcMenu["btn"+sectionArr[x]]); Thanks in advance Shaun ...more >>

PrintJob (k)
Posted by W. Kirk Lutz at 6/7/2006 3:16:58 PM
I am having a terrible time trying to get the PrintJob class working. I have read tutorials I have tried everything I can think. I know there is an issue with Safari on the Mac printing Flash pages, so I am using Firefox. I have been able to print using the old method: on (release) { ...more >>

setInterval and attachMovie
Posted by laura_shears at 6/7/2006 3:14:28 PM
I'm using setInterval to attach a variable number of movies. When I input the code below, the call to the function works by itself and within set interval, but the trace gives me: _level0.blocksHolder.randomNumberDisplay undefined undefined undefined with undefined produced the c...more >>

Pathing issues (Really need help here!!)
Posted by herchmer at 6/7/2006 3:14:03 PM
I have a web page containing a section that parses in some XML information. The SWFs are located one level outside of the XML: html / all_swf_files_and_html_index The XML is located here html / transactions / xml_file When I test this locally everything works. I use this path var n...more >>

Advanced Action Script Help
Posted by Hot4Mustangs at 6/7/2006 3:00:28 PM
HELPPPP! Can someone please go to the link below... view the animation and site... and please tell me how they created this site. I have a good idea already based on my knowledge but i could use some clarification on my plans to develop a site like this for me. <a target=_blank class=ft...more >>

while the mouse button is still pressed
Posted by gmerrilllee at 6/7/2006 2:58:51 PM
How can I keep a particular action going (say an object moving across the stage) while a button is being pressed, then stop when the button is released? thanks...more >>

Keeping an object level to the floor at the end of a chain
Posted by scotty71 at 6/7/2006 2:52:22 PM
I have a chain of two lines. One rotates from a fixed point on the floor, the second rotates from a fixed point and the end of the first. At the end of the second line I have an object I'd like to swing freely. I'd always like it to stay 'level' to the floor, regardless of the position of t...more >>

ScrollPane - scrolling headache - need asprin
Posted by beesOnTarmac at 6/7/2006 2:46:48 PM
I'm loading a library item into a scrollpane. So far so good, the content is all there and I can use the slider and the arrows to move the content up and down. BUT if I use the slider to go down a bit and then go back to the top with the up arrow the very top of the content is cut off. No m...more >>

_global locator not working
Posted by Edward Bull at 6/7/2006 1:17:07 PM
Hi there i am making a website with about eight pages, all the buttons are on the main page, I have the pages tweening in, when the user clicks a button i would like these pages to tween back out then bring the new page in. I think you do this by using the global locator syntax. I have been us...more >>

Help will be appreciated
Posted by jaci_online at 6/7/2006 1:04:42 PM
Hi, I have used a combobox component and masked it. The label of the combobox is not displayed..I get a blank space.. If I remove the mask ..It works fine..ie the label is displayed properly.. i understand that we need to embed fonts while masking it..but I do not know how to embed f...more >>

Load Movie on MAC (Png & GIF Format)
Posted by Ritzhere at 6/7/2006 12:28:04 PM
Hello All, I am facing problem in using MovieClip.LoadMovie function on mac, The function is not working with png and gif formats on mac (both in safari, mozilla). The same app is working on windows ( IE & Mozilla). can any body please give me any clue for the same. Regadrs, Ri...more >>

Whiteboard App in flash
Posted by Ritzhere at 6/7/2006 12:26:27 PM
Hello All, I am new to flash and trying to create a white board kind of application in it. Can any body please verify the approach which i have taken. Please suggest in case there is any better way for doing the same. Here is the scnerio 1. I need to load a jpg, png or gif file in ...more >>

Movie Clip : Depth
Posted by Ritzhere at 6/7/2006 12:25:44 PM
Hello All, I have one query regarding depth of movie clip object.After reading the document what i could understood is 1. Stage acts as a base in flash movie. 2. On stage we can create multiple movie clips at different depths.[different z factor] 3. next highest depth is retrieved b...more >>

How to make Scroll Pane work with clip's that are Dynamically increasing thier sizes ?
Posted by Saymaad Mansoor at 6/7/2006 12:14:39 PM
[Overview] I have a movieclip which contains some graphics and movieclips that are created during runtime and so the height of the movieclip increases surprisesingly to more then the stage which is 1024x768 (quite much I know) then I decided to use scroll pane so make the clip scrollable. ...more >>

Searchable Strings
Posted by ickymuffin at 6/7/2006 7:59:43 AM
I am working on an e-magazine, and want the users to be able to search the magazine for keywords, and upon searching, they will receive a list of pages within the magazine that are also links to the movie clips containing the keyword. I have looked online for something similar, but most of what...more >>

problem with #include
Posted by actboy at 6/7/2006 5:18:12 AM
Hi Everytime that I use the #include "something.as" I always get the following error **Error** C:\work\flash\tryItOut_listenerObject_2.as: Line 1: Syntax error. ?????? Can someone help me diagnose this error. ...more >>

a little bit of math.
Posted by AnotherRandomFlasher at 6/7/2006 4:35:09 AM
hi i am extremely new to the flash program and was wondering if anyone would be able to give me a URL to learn how to use the Math. functions from scratch? i really need to learn how to use them. also if anyone can help me here i have a problem (most likely math is the solution) i have a...more >>

Help with dragging duplicated MCs
Posted by billbob_ at 6/7/2006 4:15:54 AM
So I made a simple script that duplicates a MC and gives the mouse x + y coordinates to the MC: on (press) { duplicateMovieClip ("box", "box2", 1); setProperty ("box2", _x, _root._xmouse); setProperty ("box2", _y, _root._ymouse); } I now want that duplicated Movie Clip to be dragga...more >>

Emoticons in dynamic scrolling text
Posted by jb_sulli at 6/7/2006 2:58:44 AM
I am working on a forum for my site and want users to be able to put pictures or emoticons in their text that I save in a MySQL table. Right now I take the text from the table and assign it to a dynamic text box ( my_text.htmlText = loaded_vars.user_text ) but the html <img> tag doesn't work. ...more >>

finally made a button, but still no action !
Posted by markymark39 at 6/7/2006 2:35:37 AM
i finally reated a button through this tutorial javascript:Launch('<a target=_blank class=ftalternatingbarlinklarge href="http://www.kirupa.com/developer/flash8/video/creatingMCbuttons.htm') ">http://www.kirupa.com/developer/flash8/video/creatingMCbuttons.htm') </a> but i still have no i...more >>

Flash counting bug?
Posted by matpat at 6/7/2006 2:22:30 AM
This is part of a bigger project, but I've tried to simplify the problem. My basic logic is: Start with a variable (_root.lapZ) and set it to 0 Action 1: If the decimal point is 0.0 then add 0.2 to it. Action 2: If the decimal point is 0.8 then add 0.2 to it. Action 3: If the decimal p...more >>

How do I change the color of a button with script?
Posted by vonblonderbelt at 6/7/2006 12:23:32 AM
I have a simple one-color button that I would like to change to grey once it has been clicked on. Actually, I need this to happen to an array of 60 identical buttons. Is there any way I could write the necessary script for all the buttons at once? Thank you, Eirik ...more >>

what am I doing wrong?
Posted by hushhurt at 6/7/2006 12:00:08 AM
I am trying to call a function on a mouse release handler - but I can't get it to work. help! function btnOver(fNumber:Number) { if (this._currentframe > fNumber) { this.gotoAndPlay("over"); } else { trace("error"); } } work_mc.onRollOver = btnOver(79); ...more >>

PreLoaderBar Error
Posted by gold987987987 at 6/7/2006 12:00:00 AM
I have a swf and I had to start publishing it from FP7 to FP8. I also had to switch from ActionScript 1.0 to 2.0. I get the following error when testing the movie in FLASH PRO 8: **Error** Scene=preloader, layer=Layer 1, frame=1:Line 5: Syntax error. _root.PreLoaderBar.PercentL = Strin...more >>

lift arrow effect
Posted by micheal_newby at 6/7/2006 12:00:00 AM
Hello there, I am trying to make a lift pointer effect. If you press the buttons the arrow wil rotate to a number. <a target=_blank class=ftalternatingbarlinklarge href="http://www.webdesign-cs.com/lifttest/lift.swf">http://www.webdesign-cs.com /lifttest/lift.swf</a> (lift.fla) is the ori...more >>

Simple GET form (input text variable problem)
Posted by llion at 6/7/2006 12:00:00 AM
I'm trying to move some info from flash to another page, it should be really simple. All i have is an input text field and a button, the input text has the instance name search_txt I have this code on the button on (click) {; searchText=search_txt searchON = "OK" getURL("sea...more >>

attachMovie function
Posted by AnotherRandomFlasher at 6/7/2006 12:00:00 AM
i am having trouble with something, my friend typed me out some code but when i try to change the mc name it does no longer work. _root.onEnterFrame = function(){ this.attachMovie("crosshair_mc", "crosshair_mc1", -16384); _root.crosshair_mc1._x = _root._xmouse; _root.crosshair_mc1._y = _...more >>

movieclip accessibility
Posted by veiky at 6/7/2006 12:00:00 AM
HI, I am facing a problem with accessibility of my application. I have a movieclip on stage. It's accessibility name is "movieClip 1" and it has a simpe code on press event of it. This works fine. But when I load an image on it: mc1.loadMovie("cat.jpg"); Browser takes it as ...more >>

How can i create a button with a dynamic picture?
Posted by JimmySlam at 6/7/2006 12:00:00 AM
How can i create a button with a dynamic picture using mcLoader.loadClip ();? I did create one with it doesnt seem to be working. It loses all its functions (eg onPress onRelease) Thanks ...more >>

How To Use a Custom Close Button In Window Component
Posted by JuliaO at 6/7/2006 12:00:00 AM
Hello, I have a window component, with the default close button turned off, and a new custom close button added to the movie clip that is displayed inside the window component. How do I get a click on the close button to close the window? This is the code I currently have to create the w...more >>

Rescue value in datagrid
Posted by Kaliban at 6/7/2006 12:00:00 AM
how do I do to rescue the value of the first column in a line clicked in Datagrid? preferably using the event "on(cellPress)"....more >>

arrange the teams by points
Posted by NutsyNalinda at 6/7/2006 12:00:00 AM
I have to do finish this today, so urgent help please. The team1 to team4 will score point like this team1_mc.point = 100; team2_mc.point = 90; team3_mc.point = 120; team4_mc.point = 70; when the teams score what I need is arrange like this (if teams score like above) . plas...more >>


DevelopmentNow Blog