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 > october 2005 > threads for friday october 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 31

setFocus()
Posted by ezd_macromedia at 10/7/2005 10:46:03 PM
I wanted to use setFocus to put the users cursor into a TextInput on frame one. The input has the instance name user. I tried user.setFocus(); but it doesn't work, until the user clicks on the flash movie. Seems like that sort of defeats the purpose :| Any Ideas? ...more >>


Pixelate text - [b]Flash 8[/b]
Posted by GellyBean at 10/7/2005 9:53:30 PM
I am looking for help with text sharpness. Where can I find it in Flash 8?...more >>

Variable definition using variables?
Posted by danlip at 10/7/2005 8:25:43 PM
Ok - I had a similar topic on code optomization, which was solved by setting a Flash object to a variable that can change names by using a for loop: var i:Number = 0; for (i=1; i<6; i++) { var me = this["q" + i]; me.text = "Daniel"; // this sets all dynamic text fields named q1, q2...more >>

swf to swf communication
Posted by Rob Cruise at 10/7/2005 8:12:35 PM
Hello, I have a very simple problem but can't seem to find any GOOD...more >>

Use LoadVars to load a random txt file
Posted by bennettwaxse at 10/7/2005 8:02:58 PM
Hi all, I am wondering if there is any way to load a txt file by random. I am trying to give the client the ability to load many text files or many parts within a text file and each time the site is loaded. Can the LoadVars load a different text file or does it have to load the same one e...more >>

accessing VARS from an external file
Posted by blst at 10/7/2005 7:47:48 PM
i am trying to do what seems to me used to work, but i haven't used flash for awhile and maybe i am wrong. i am simply trying to load in a variable from a PHP file that looks like var1=this+is+the+var1 then either use the var1 in an array (which doesn't seem to work) or to set another var ...more >>

shake, vibrate, bounce, stretch
Posted by posterboy at 10/7/2005 7:28:29 PM
is there some kind of script, website, resource out there that shows how to make instances shake, vibrate, bounce, stretch realistically. i've played all day with tweens and ease and sure you get something close but not like alot of those better flash animations i see. thanks > mark ...more >>

Generating AS 2.0 with PHP (or some other server-side language)
Posted by ezd_macromedia at 10/7/2005 7:10:47 PM
Ok, I know that I can LoadVards.Load, etc...but is there a way to generate AS with PHP, and then execute it when it arrives? I have an Image Gallery. I've been trying to decide how to set up the admin section (man...planning an app in a language you don't know is hard...I've taken for grante...more >>



Preloader of dynamic swf not working. Please help!
Posted by Spindrift at 10/7/2005 7:05:16 PM
Hi all, Thanks for checking my post out. I have an external swf in a containerMC in my main movie...the external swf has a preloader... The preloader is a movieclip with a dynamic text box in it (instance name on the text box is 'status'). The movieclip has these actions on it: ...more >>

Adding prototypes to XMLNode class
Posted by Veleek at 10/7/2005 6:41:43 PM
I'm attemping to add some functions to the XMLNode class (more specifically functions to make the calling of XPath functions easier). I've got an .as file which includes this code: MLNode.prototype.getXMLAttribute = function(XPath:String, attributeName:String):String { return com....more >>

Sothink SWF Decompiler
Posted by mufc 1974 at 10/7/2005 12:08:29 PM
Hi, I'm using Sothink SWF Decompiler to convert swf files to fla to help me learn AS. I've downloaded one file you probably all know, it's the penguin game where you have to whack them with a club! Anyway, the .fla itself has nothing in any of the layers and no actionscript that I can se...more >>

movie clip
Posted by np sen at 10/7/2005 12:08:21 PM
hi, i have created a movieclip with 2 color . i want to change a particular color on mouse over and restore to original color on mouse out. how to do that. ? thanks......more >>

stupid bug!!!! Please help
Posted by SteveStall at 10/7/2005 11:54:28 AM
Hi there, =20 Does anyone know about a bug in flash were if you have to many = movieclips inside movieclips flash players starts to give strange bugs = in firefox (pc) and mac? The bug is basically when I give the order: _root.gotoAndStop("myFrame") = or _root.gotoAndStop(82), root simpl...more >>

Actionscript. How to export a vaule of a timer.
Posted by forumnotifier at 10/7/2005 10:27:20 AM
Hi! We're currently in a school project were we are making a flash game. I'm having trouble to make a running timer to export a vaule to another frame when i HitTest two objects. As it is now, the timer just continues to count up. when the obejcts meet and the next frame comes to the scree...more >>

changing the property of a movie clip using combo boxes
Posted by g_viju at 10/7/2005 9:42:52 AM
hi, i am new to action scripting, i am trying to change a property of movie clip using two combo boxes that is one combo box has products list (shirt , cap and bag),other combo box should have the colors.unless a products is selected the color combo box should not be enabled. if a user sel...more >>

setInterval
Posted by d00mc0ck at 10/7/2005 9:34:47 AM
HI all, I have a button on stage that when pressed attaches a movie clip to the stage. The way Im trying to use the set interval is as follows; if the button is pressed once wait for interval time attach clip -------- if the button is pressed 3 times 3 clips are attached at in...more >>

Urgent/Important
Posted by addicted ta mx at 10/7/2005 9:17:25 AM
OK, i did post this on another section of this forum but no-one is going into it and checking out my prob so..... sorry for double posting but this is really important, ok - here is my prob : Ok, i have an image(that i made i photoshop) and i have imported to the library and placed it on t...more >>

Bizarre Inaccuracy of Alpha Reading
Posted by FlashGooge at 10/7/2005 8:27:12 AM
I noticed this yesterday, and assumed that my copy of Flash must have been bugging out, but when i asked around the studio, everyone's was doing the same thing, as was everyone else we contacted outside of the studio (to make sure the studio wasnt infected with a 'bad version' of Flash). F...more >>

isNaN()
Posted by np sen at 10/7/2005 6:32:13 AM
hi, what is the use of isNaN command ?? thanks in advance...more >>

Preloading frames
Posted by knucklenutz at 10/7/2005 12:12:57 AM
I have always wondered this. Is it possible to check for a specific frame LABEL that has loaded with _framesloaded or ifFrameLoaded() rather than a frame NUMBER ? Thanks!...more >>

using * or / to specify frame to play
Posted by uberlame at 10/7/2005 12:00:00 AM
Hi there, I'm working on a way to navigate between 2 scenes, one is twice as long as the other. I'd like for a button press to take the user to the second scene and place them at two times the current frame. One each scene's stage I have an embedded flv video and a button underneath, both ...more >>

multiline textarea bug?
Posted by nesamone123321 at 10/7/2005 12:00:00 AM
Hi, The problem is that the html taged text isn't displayed in multiline textarea. When I use singleline textarea everything is ok. I use simple html tags like <b> <i> or <u>. Anyone has any ideas why this is happening? PS 'Render text as HTML' is on and 'Dynamic text' is on. Thanks ...more >>

Can you use a variable as an array name?
Posted by DaRizat at 10/7/2005 12:00:00 AM
if my variable arrayName is subID how do I get the programming to read pices of this array? subID and every other conceivable notation I can think of fails me at this point. Anyoen know the correct notataion to get AS to recognize this variable as an array name? Thanks ...more >>

load movie but not play until i say so?
Posted by inniki at 10/7/2005 12:00:00 AM
Hi, I would like to know if there's any way to load a movie but not playing it until later? I'm making a website and this si what i want to do: From the main movie i press the button. When i press taht button i see a preloader which i s loading an external swf (that is the next page). But...more >>

Re: _globals global to the player, or to the movie?!
Posted by ivanko_98 at 10/7/2005 12:00:00 AM
Ah, I got so excited for a second when you suggested that I published the two movies for separate player formats, but no... both are published for v.6 of the player, using AS1... so... thanks for the suggestion anyway ...more >>

extrange problem to launch pdf
Posted by Jay Neck at 10/7/2005 12:00:00 AM
I'm making a cd rom, an index of pdfs in flash. Basically, it's a list of documents with buttons, each ones launches a pdf file in the browser, which is Firefox (set as primary browser). When I make click in any button, firefox is opened but it automatically opens two tabs, none of them wi...more >>

Flash and MySQL
Posted by jhutchdublin at 10/7/2005 12:00:00 AM
I'm looking to pull data from a MySQL database -- text and images. I then want to publish this as an exe. Is this possible using fscommands?...more >>

To go to a scene
Posted by Alma at 10/7/2005 12:00:00 AM
Hello: I'm new with Actionscript. I have a button in "scene 2" And I want to go to "scene 1" frame 20 (or label) I have this in the button but doesn't go: on (release) { gotoAndStop("scene 1", 13); } Thank you ...more >>

Refreshing a flash file
Posted by Upriser at 10/7/2005 12:00:00 AM
What would I do to make a button that resets all animations and variables in a ..swf without going back to the loading screen? For an example of what I want, check out http://www.foon.co.uk/farcade/hapland2/ . I want to make that kind of refresh button. Any help would be much appreciated, ...more >>

Passing vars to php
Posted by TiagoRicciardi at 10/7/2005 12:00:00 AM
Hi Maybe this not the right place to post this.. but.. here goes.. I have a mail form on a flash.. and the submit button has this code: on(release){ loadVariablesNum("http://www.pri-sistemas.com/mail.php",1,"POST") gotoAndStop(2) } now.. in one of my servers, witch has php 4.0....more >>

Friends... I need help with sound
Posted by Wietie at 10/7/2005 12:00:00 AM
Hello Everyone! I found this great source for an awesome music volume slider that will act as the sound control for my entire website (the background music)... 2 Problems: oh and let me say I'm a well intentioned actionscript noob!!! 1- If you select the volume box layer, and then click...more >>

if (component exists)
Posted by ezd_macromedia at 10/7/2005 12:00:00 AM
Is there a way to tell if a component exists? I want to dynamically create a few components *if* the user is logged in. I have a function called resizeStage that I use to keep the stage set up properly if the user resizes the window. In this function, I want something like this: if (exist...more >>

How to create progressbar?
Posted by nickadvert at 10/7/2005 12:00:00 AM
:P How to create progressbar in listener object? Can you tell me how to write actionscript for progressbar? How to write code?...more >>

scale
Posted by cptkirk at 10/7/2005 12:00:00 AM
I have an animation in a html page that is a 100% width 100% height, I would like to make its content not scalable when the page is resized... does anybody knows how to do this... Here are some examples of what i'm looking for http://www.kristinadragomir.com/ http://www.lessrain.com ...more >>

MovieClip problems
Posted by mufc 1974 at 10/7/2005 12:00:00 AM
Hi, I'm using a function which draws rectangles, within the function a movieclip is created and within the movieclip a mouseenter clip event is added. The mouseenter clip is a simple trace(movielip). Now when I play the movie and roll over any of the rectangles I would expect the details o...more >>

Scenes and MC
Posted by Alma at 10/7/2005 12:00:00 AM
Hello: I have found this in a Flash forum: "Solution: don't use scenes...they are an archaic holdover from Flash ancient history. Put each 'scene' in a separate movieclip instead. Put a blank frame and a stop() action on the first frame of th...more >>

Passing a setInterval ID to a function help.
Posted by DadrianKaelan at 10/7/2005 12:00:00 AM
I'm just sitting here experimenting when I ran into a problem. You see I have this button type of deal and when you roll over it a nice lil' graphic stretches across it in an eased fashion. I got everything to work just fine, the only problem is I encapsulated everything into some functions th...more >>

if statment help
Posted by weanderson at 10/7/2005 12:00:00 AM
I'm trying to create a toggle button to hide an object on the stage. I have a button with an onPress statement using the if/else action. Below is the button action. This script hides the cir _mc ok and changes the text on the button, but will not change the _visible back to true. The "PO" tra...more >>

Scaleable background image
Posted by corriegerard at 10/7/2005 12:00:00 AM
www.hi-res.net In the above site - when you resize the browser window, the backround image changes in scale but the content stays the same and in the same place. How is this done? I?ve just upgraded from MX. Thanks ...more >>

reversing QT movies in Flash
Posted by Leao16 at 10/7/2005 12:00:00 AM
I want to make my QuickTime movie embedded in a movie clip with instance name mcMovie to loop back & forth. I found the following code that doesn't seem to work. I'm probably doing something wrong... How should I insert the code into my Flash movie? As part of mcMovie's actionscript? cheer...more >>


DevelopmentNow Blog