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 > march 2004 > threads for tuesday march 30

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

mediaplayback contoller question
Posted by paulsakebomb at 3/30/2004 11:58:52 PM
i am using the built in mediaplayback component. i want after the file is finished playing to use a 'gotoandstop' function. anyone know how to do this? thanks paul...more >>


loadmovie works locally / but when uploaded
Posted by fat-jack at 3/30/2004 11:39:26 PM
Any ideas why it would work fine on my local machine (during export/testing) but not when uploaded to my webserver? Seems simple enough... FRAME 1: totalbytes = -1; mclipName = "movieClip.swf"; FRAME 2 (loadtarget): loadmovie(mclipName,loadtarget); FRAME 3 (calculation): ...more >>

Visibility Variable
Posted by Bnuessler86 at 3/30/2004 11:28:13 PM
How do i make it so that... When a button is pressed, it changes if a graphic or movie clip is visible....more >>

On Release... Check Input Text
Posted by Bnuessler86 at 3/30/2004 11:25:17 PM
How do i make it so that.... On Release of the button ---> IF the input text box says (Phrase One) or (Phrase Two) or (Phrase Three) THEN gotoAndStop (wherevever) ThAnKs in advance ...more >>

I need to create a button that can...
Posted by too4flynchen at 3/30/2004 11:23:55 PM
play a scene on release but THEN after the scene is over go back to the first scene on the 2nd frame. I hope that makes sense. This is the script on the button when we're in the first scene ("Scene 1", 1) [b]on (release) { gotoAndPlay("Scene 2", 1); [/b] Now what I need it to do af...more >>

Mail list - It's been a long time!
Posted by alex_house1 at 3/30/2004 10:43:46 PM
Hi, I have been using Flash for ages but had to give it up last year sometime when my computer couldn't handle the amount of data I was storing and decided to die on me. Anyway, to the point, how would one save data entered into a field in flash to a text document situated in the same file...more >>

pop up and post
Posted by myckelh at 3/30/2004 10:42:23 PM
this is what I use to pop up a window... on(release){ getURL("javascript:openNewWindow('urlAddress.ASP', 'thewin','height=400,width=400, toolbar=no,scrollbars=yes')") } but when I add the post action it doesent work!!!! on(release){ getURL("javascript:openNewWindow('urlAd...more >>

keyframe animation stops when I set a property
Posted by jm8985 at 3/30/2004 10:02:39 PM
I'm doing the simplest of animations, using 5 keyframes and a MC (labeled o1). I have another MC "button" as well. When I change the rotation of the MC using the button, the animation stops. I tried using UpdateAfterEvent(), which helps some, allowing it to update in 3 of the 5 frames...? I...more >>



Passing variables from swf to main timeline
Posted by arsenio99 at 3/30/2004 10:01:33 PM
how can a passiable a variable from loaded swf's into the main timeline?...more >>

linking to a specific PDF destination
Posted by Crocke at 3/30/2004 9:50:17 PM
Hello: I am having some problems creating script to open a pdf document to a specific bookmarked destination. I can open the pdf using the getURL method, however; when I specify the PDF destination (read bookmark), Flash no longer understands the url. I have listed the code below: ...more >>

link in a text field
Posted by PatomaS at 3/30/2004 9:09:13 PM
Hello I have a very simple movie with a few variables. I have an xml file too. I read the xml file and feed the right content to tthe variables, the information from the xml file is write to a diferent text fields, but one of those variables have to be in a text field and have to be cl...more >>

Extend class
Posted by ED_R at 3/30/2004 9:08:39 PM
Can I use multiple hierarchy in ac 2.0? ex.: dynamic class ClassA extends MovieClip{ function ClassA(){ trace("constructor"); } } dynamic class ClassB extends ClassA{ function ClassB(){ Super(); //exec. constructor from ClassA } } ...more >>

Ok I forgot the answer
Posted by JustVincent at 3/30/2004 9:03:16 PM
How can i activate the special character like ? or ? or ?. I use a CSS file of course with my textfield or textArea component. I load a simple html in flash styled by a css stylesheet. I forgot how it works. Must add some little code somewhere but how?? Thanks in advance. Vincent ...more >>

_x, _y & relative coordinates?
Posted by grob at 3/30/2004 8:42:09 PM
Are the getproperty _x and _y values always ...more >>

Sound position actions
Posted by lanemyer at 3/30/2004 8:29:57 PM
If anyone could be of assistance that would be great. I am having trouble with this script. I am trying to have a Movie Clip (indicator) play via telltarget when the position of the loaded sound is past the 5 second mark. The telltarget is working, but it is stopping on the frame indicated "ac...more >>

File Output
Posted by Andrew Hannon at 3/30/2004 7:48:52 PM
Hello, I've just started using Flash MX 2004 (Pro), and I would like to output data to a file every n frames. Essentially, I have an animation and would like to output the (x, y) coordinates of the object every frame. I'm new to ActionScript (although, I'm an experienced programmer). I'm l...more >>

HTML Frame to HTML Frame .swf control
Posted by dCsAitek at 3/30/2004 7:48:29 PM
I am having a problem with control... I have a frameset with a top (banner.swf), a center (main.swf), and a bottom (nav.swf). I want to be able to control the "banner.swf" (top frame) by a command that is in the "main.swf" (center frame). Basically, I have curtains that open when the home page...more >>

loadvariables question
Posted by Roy at 3/30/2004 7:14:24 PM
Hi group I'm having a little difficulty getting an asp page to load into flash, here's my asp code <% var rsTscroll = Server.CreateObject("ADODB.Recordset"); rsTscroll.ActiveConnection = MM_conn_loy_STRING; rsTscroll.Source = "SELECT * FROM t_scroll"; rsTscroll.CursorType = 0; rsTscrol...more >>

How do make a button that opens seperate window?
Posted by Juno_Styles at 3/30/2004 7:07:46 PM
i know, dumb question, but havent used flash in a while. so what actions do i put on a button that will make it open a seperate browser window that does not show the address bar??? thanks in advance...... ...more >>

Actionscript 2.0 class questions
Posted by epsnowden at 3/30/2004 6:59:09 PM
1. Is there a way to attatch a class in Actionscript 2.0 to a movieclip with actionscript instead of through the library? 2. Is it possible to call a function that is defined in the main flash movie from within a class? Thanks in advance from the help. Eric ...more >>

Random Number
Posted by iam bennu at 3/30/2004 6:30:22 PM
How can I get my song player to play a random song from and array? I want it to play a random song each time it is loaded. This is my present code. SMArray = new Array(); SMArray = SiteMusic.split(","); SMCount = (SMArray.length/3); _global.MusicDesc = ""; _global.MusicNumber = ""; Music...more >>

Fading Rollover Glow Effect?
Posted by Weecutz at 3/30/2004 6:27:58 PM
Hi there people, I am new here and I do not know Falsh to well but I am getting the hang of it, Anyway I was wondering if someone would help me out? I am making a Website and I would like to do a "Slow Fading Glow Effect" behind some text on Buttons and I think its done by Action Script... I...more >>

Print Dynamic Text 'big problem!'
Posted by eric_bort at 3/30/2004 5:36:47 PM
Why is it so hard to print dynamic text fields in Flash and have them print properly? I understand that I need to embed fonts for each text field, and I've done that. The problem is, that every time my user testing group prints score sheets recorded from flash activities, the scores/te...more >>

How start movie stopped (simple Q from newbie)
Posted by cathigatmac at 3/30/2004 4:04:55 PM
I've made my first little movie and set the play value to false. On two of three machines that I've check, this worked. but not on the third. I never want the move to go from slide to slide on its own. Exactly what do I click in order to add what to the script so that it only responds to user ...more >>

movie Name + i
Posted by TheScarecrow at 3/30/2004 4:03:29 PM
I have this scirpt where I have a MC called button0 through 5 and I want to use the following scipt to assign the buttons a text value However, I get an error on the line 6 (last line) and I think has to do with adding the movie name "button" to the i. Does anyone know how to do this? Thank...more >>

A listening preloader?
Posted by ezzangelgirl at 3/30/2004 3:25:52 PM
Hi, I am wondering if someone could help with this one? I've got a portfolio section which has a blank movie clip called 'photo_mc' and a next and back button. Everytime I click on a next or back button it would load an external jpg +/- into my blank clip. What I wanted to add was a...more >>

Programming HELP!
Posted by XFlashmanX at 3/30/2004 3:25:06 PM
Hello. I would really like to know if there is any possibility to run a CMD batch program, when timer gets out?...more >>

attachMovie Problem
Posted by javman at 3/30/2004 3:16:05 PM
I have used the following code to create an instance of a movie clip from the library with a linked identfier of "Linked" I named the movie clip MC_1 and everything seems to work. The movie clip appears as it should , where it should when the movie clip named MovieClip_Image is clicked. ...more >>

What exactly is timeline._width?
Posted by grob at 3/30/2004 3:02:29 PM
Is it the same as _totalframes? Geoff ...more >>

removeMovieClip() - How do I...?
Posted by grob at 3/30/2004 2:28:17 PM
I want to delete some move scripts using the removeMovieClip() method. I have a series of created movie clips which all are named uniquely (using a "myMark"+r naming convention, where "r" is a complicated string). Note that all created clips begin with, "MyMark"... I need to remove them so ...more >>

Checkbox Variable
Posted by vegasdodger at 3/30/2004 1:30:20 PM
Ok, relatively new to using components. I thought it might save me some time :( How do I assign a variable to a checkbox component?? eg. check1 = true or false I know it must be pretty simple but I can't find the code anywhere Cheers Jimmy ...more >>

Can't hit _root Variables
Posted by hih at 3/30/2004 1:19:10 PM
I'm not sure what I'm doing wrong, or if I'm trying to do something that can't be done. I have a base flash movie and there are 3 parts that loadMovieNum() into the stage. I have variables on the base movie that I would like to reference in the loaded movies. Inthe movies that I am loadin...more >>

To set a timer?
Posted by Manoj vn at 3/30/2004 1:15:09 PM
Hi forum I want to set a timer in flash. While clicking on a button the timer gets started. I know about getTimer(). But it starts while the swf file loads. Is there is any provisions to set a timer that will start with user interactions ...more >>

mouse leaves movie
Posted by turbomerl at 3/30/2004 1:13:12 PM
does anyone know an easy way to trigger an event when the mouse leaves the movie window? many thanks isy....more >>

movieclip moving
Posted by Stephen Savage at 3/30/2004 12:50:28 PM
Can anyone help with this? I presume its straight forward, and if there is a better way of doing it, please let me know! I have 2 buttons and 2 movie clips Each movieclip is 40 frames long with a "stop()" on frame 20. I have the 2 buttons and 1 movieclip on the stage. Let's call the curren...more >>

XML element is an array
Posted by Spen at 3/30/2004 12:37:53 PM
Hello, This is probably a stupid question but does anyone know if I can use an array as the value of a property in an xml document. If so what's the synax and how do I then get the value of an item in the array.This is what I'm trying to do: <?xml version="1.0"?> <NAV> <button id="b3"...more >>

how do i do the "loading..." effect?
Posted by geut at 3/30/2004 10:57:39 AM
Hi, that's right: how do I make the "loading..." effect and if it is not too much trouble, how do i put a percentage of loading indicator? Thanks for your help....more >>

LoadMovie problem (Flash Mx 2004)
Posted by -Fuse- at 3/30/2004 10:30:02 AM
Hi everyone, I have a problem loading external swf's into an empty movieclip. I have 1 main movie with an emptyMovieClip movie_mc. When you start the main movie, pano.swf get loaded into movie_mc. loadMovie("pano.swf",movie_mc) This works perfect. I Have a button in my main movie th...more >>

Scrolling Text
Posted by Hhelp at 3/30/2004 10:26:02 AM
Why would the part of this code which imports text from an XML file not work with a scrollbar component. "contentBox" text scrolls fine but "menu_txt" does not work with scrollbar. I have attached files in case any of you guys have time to have a look. It has been produced from atutorial i...more >>

attachmovie:calling variables from mc attached
Posted by Nieza at 3/30/2004 9:14:31 AM
Hello, I have attached a movieclip from the library like this: qInit = {_x:200, _y:210}; _root.attachMovie("Page1", "ques1", 0, qInit); I've tried to call variable from the movieclip attached like this one: theAns = _root.ques1.ans; trace(theAns); however, this didn't work. What ...more >>

Graphic Designers - Coping Up With Computer Upgrades
Posted by fazlymohamed NO[at]SPAM hotmail.com at 3/30/2004 9:04:53 AM
You know as well as I do that if you don't spend more and more money every couple of months your computer is sure to fall behind. This is a 'built-in' feature of omputers. So we have to buy a new computer or upgrade the computer we use. Both methods kick our pockets. The problem clearly affect...more >>

Run external program
Posted by Dzjoepke at 3/30/2004 9:04:33 AM
Hi! I need to run an extern program (like c:\test.exe ) when I push a button. Can someone give me some script? Thanks in advance! Joepie. ...more >>

Unit testing and Flash.
Posted by Maglez at 3/30/2004 8:56:40 AM
Hello. Does anybody know about unit testing and Flash?, any article or book about it? Thanks ...more >>

Player hangs
Posted by Kishore G P at 3/30/2004 8:43:06 AM
Hi All, I have a cbt running in a player, when I dont do anything for few minutes, say I open another application and run and come back, it doesn't work and hangs. Please let me know what could be the problem , if u have faced something like this before... thanks in advance ...more >>

Using variable as mc name doesn't work
Posted by iwacko8 at 3/30/2004 5:51:29 AM
I am trying to figure out why this code won't work when i try to use the variable bname as the name for the mc. When i re[place the "bname" with one of the 8 "ball1, ball4 .ect" it works fine. Any segestions would be greatyly apreaciated. Thanks for (var i = 0; i<8; i++) { _root.ball.du...more >>

Flash checking browser size: how is this done?
Posted by blowsnow at 3/30/2004 4:26:22 AM
Lately been seeing sites like this: [L=http://www.diesel.com]http://www.diesel.com[/L] where the Flash doesnt just resize, but also moves elements to the edges of the browser upon browser resizing. How is this done? Thanks for any help ...more >>

March of Molecules? How do I describe this?
Posted by stevenjs at 3/30/2004 3:47:57 AM
Greetings all, I have a deadline for a science animation which involves a steady streaming flow of molecules (gradient balls). After several tries I have to give up trying to keyword this into a viable search in this forum, so I'm throwing the question out to those more experienced than I,...more >>

localConnection.allowDomain
Posted by Dinghus at 3/30/2004 2:45:11 AM
I just stumbled onto this and am wondering (before going and beating my head against a wall) if this allows communication between 2 independent computers? Or is this just for 2 Flash movies hosted at 2 seperate sites but still just 1 computer running them? ...more >>

Setting a page "top" at frame enter & anchor tags
Posted by zzmotiv at 3/30/2004 1:06:43 AM
Im building a web prototype demmo and need to figure out how to mimic some behaviour that Im used to doing with HTML. Here are the things Im trying to accomplish: 1) If the user is previewing the flah movie in a browser and has scrolled down the page. When they select an action that leads ...more >>

LoadVars problem
Posted by Myrddraal at 3/30/2004 12:29:34 AM
Hello, this is strange. no one has been able to figure this out yet. I have this function that applies wallpaper to the background on my site. and there is a loader that attaches and displays a loading bar as it loads, etc...normal stuff. Users log in, and then it uses a LoadVars object to...more >>


DevelopmentNow Blog