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 > december 2005 > threads for tuesday december 13

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

Variable Reference within Class
Posted by Michael Gioffredi at 12/13/2005 11:34:31 PM
I?m trying to create a simple progress bar but have run into a problem. Within a class, how do I reference a variable defined in one function in another? For example the following code in a .fla and in an .as class respectively (posted separate) outputs the following error: **Error** Scene...more >>

scaling in proportion please...
Posted by krustafarian at 12/13/2005 11:04:32 PM
can anyone help me adapt the following script to allow my background image (bg1) to scale proportionately whilst filling the stage, at the moment it fills the stage but stretches unproportionately. startingSizeX = Stage.width; startingSizeY = Stage.height; Stage.scaleMode = "noScale"; ...more >>

Actionscript for XML tree menu
Posted by S_anctified at 12/13/2005 10:04:12 PM
I have a working xml tree menu, but I just want one menu to close when another is chosen instead of all staying open. It shouldn't be too hard to change, but this code is above me. MovieClip.prototype.moveMenu=function() { var py=this._y; var pos_y; var lastpath=eval(this.lastPat...more >>

Drag a still object around its center
Posted by HughisHere at 12/13/2005 9:32:59 PM
Using movie clips and animation it is easy to set an object rotating around its center. And Action Script movie clip class allows you to start drag and stop. That causes the object to be dragged across the screen with the mouse movement. Neither method meets my needs. I need to hold the ...more >>

load variables and PHP, help!
Posted by TonyDevin at 12/13/2005 8:57:53 PM
How do I load variables into Flash from a PHP page WITHOUT saving it to a DYNAMIC TEXT FIELD? I want to use/call it as _root.variableName or something similar. (Sorta like FlashVars) It seems in order to load variables dynamically; I would have to know the name of each and every variable ...more >>

Navigation Issues
Posted by Tyler Roehmholdt at 12/13/2005 8:35:51 PM
Afternoon everyone, I'm having some issues with a slideshow I'm making for a professor at my university. The navigation of the slideshow is a row of buttons in the lower-right corner of the scene which you click on to get to the various frames of the slideshow. The first frame consists of ...more >>

Window UI Component
Posted by rhouck at 12/13/2005 8:31:07 PM
On the UI Window Component. How do you get the close button to close the window?...more >>

fscommand to open a VBScript file
Posted by Mehring at 12/13/2005 8:28:10 PM
Okay, here's my dillema...I want to open a VBScript file located in the fscommand folder from a projector file. Here's the code I have... on (release) { fscommand("exec", "WMF95Setup.vbs"); } It doesn't work. I have read that I can open another executable like this, but was wanting ...more >>



sound problem
Posted by wdolek___da_real_one at 12/13/2005 8:18:11 PM
so i have some mp3 samples on page and i want to create pre"wiev" for that.. i created swf, load mp3 .. everything's ok in ff or o, byt that comunistic ie doesn't play anything (i tryed streaming false either true).. second problem is with "preloader" - i want to show user loading progress.. w...more >>

onLoad Success Problem...please help!
Posted by Peefoo at 12/13/2005 6:54:31 PM
Hi, I'm performing a very simple sendAndLoad to a ColdFusion page. It works fine when the ColdFusion page is on my local host, but when it's on another server, the LOAD doesn't seem to work...(Flash never gets a response back form ColdFusion). In the onLoad() function, when running from ...more >>

Global Pause button?
Posted by mheddle at 12/13/2005 6:54:13 PM
I have a Navigation buttons on the main timeline. Each frame on the time line contains a new movieclip that plays. I would like to code the buttons so that no matter what fram of the main timeline I'm on, it will pause the movieclip (ex. whatever.Child.stop(); or something like that) witho...more >>

How to autoPlay 3 swf movies in one swf movie?
Posted by JoMama509th at 12/13/2005 6:25:25 PM
:confused; I am always getting a scripting error... This should be simple, right? I am making a single swf composed of three swf files which will loop when finished - a full screen looping movie. Turns out one cannot drag three compressed finished .swf movies into the library and put them into...more >>

Loading External SWF
Posted by Mikeb88_69 at 12/13/2005 6:21:07 PM
I have never loaded any external swfs into flash before so Im new to this... I have an swf that is 600x300 pixels (called gallery.swf) and I would like to load it into my site (called site.swf). The gallery is just a slideshow of a bunch of pictures and to save the filesize of my site.swf, I...more >>

New window within Flash
Posted by rhouck at 12/13/2005 5:56:47 PM
Does anyone know of a book or on line tutorial that walks you through how to make a new window within Flash (not talking about the pop up new browser window). I have seen them on numerous site. It has a close button (usually on the right where you can close the window within Flash. I keep thin...more >>

Scrollpane text limits?
Posted by oilpaentr at 12/13/2005 5:41:39 PM
Is there a limit to the amount of text that can be in a scrollpane? My text is disappearing halfway through the copy and the bottom few paragraphs are doubling up over the copy at the top. Does that make any sense? Here is a link if you need to see what I'm talking about. http://www.doxa.b...more >>

how do you dynamically unload a flash video after it has finished playing?
Posted by posterboy at 12/13/2005 4:53:06 PM
how do you dynamically unload a flash video after it has finished playing? thx > mark...more >>

Creating Flash Navigation Bar to be used within Director - Need Help.
Posted by bobby2156 at 12/13/2005 4:44:37 PM
Hi, i've created a Flash Navigation Bar to be used with a Director project, my problem is how to set the buttons to jump to markers within director.. what i have so far is this (it is wrong.. lol) on (release) { getURL("lingo: jump to marker (credits) "); } If anyone could give me a...more >>

Apply Filters w/Code in Flash 8
Posted by Adamus at 12/13/2005 4:20:22 PM
I have a movieClip already on the stage and I would like to dynamically apply some filters to it at runtime. I can't find a usable example in the documentation. Could someone please give me an example of how to apply a ColorMatrixFilter and/or GlowFilter in Flash 8 to a movieClip on the stag...more >>

Re: active/inactive m.c.btns
Posted by kglad at 12/13/2005 3:59:50 PM
if you're using attachMovie, you must be using movieclip buttons. in that situation you should be using: lastPressedBtn=this; also, because your frame labels are not frame1, frame2 etc you should be using the code from my second message: yourFramesA=['jeoffFrame","stevefr",...]; // ...more >>

if (user_input1 eq "contains the word xxx....?
Posted by Flashuser1113 at 12/13/2005 3:26:34 PM
Hello all, Just a simple question, let's say I have a flash with input text in it and only take the to the next page if the input is correct, it will look something like that quote: -------------------------------------------------------------------------------- on (release, ...more >>

xml data importing issue
Posted by haidem at 12/13/2005 3:23:51 PM
Hi. I have this problem. i have a dynamic text box in which i load data from an xml tag. ( <id>5416581125386329-30502</id> <name>b-10.jpg</name> <title>b-10.jpg</title> <display>u6QKO7BW</display> ) Can u please tell me how can i "tell" flash - if the <title> has more than l...more >>

customMenu hassle
Posted by Barryon at 12/13/2005 3:19:41 PM
Hello, I'm having a real problem getting a set of custom menus to do what I tell them, please help! Here's the scenario: I've got a map made up from dots. Each Dot is a class extended from the movie clip. Each Dot has a custom menu which will eventually display varying options. For...more >>

need help... please
Posted by locs at 12/13/2005 2:43:20 PM
ok, i have tried everything i can think of and still nothing. All i need to do is have a parent movie clip, or just a movie clip on stage that can be moved and rotated + or - by keypresses. This part is ok. What i need help with is this it needs to move another movie clip which is on stag...more >>

vertical Scroll Pane
Posted by kamsky at 12/13/2005 1:23:34 PM
How to load the images that has to scroll vertically ? ...more >>

Andding interactivity to Loaded html text
Posted by forumnotifier at 12/13/2005 1:03:21 PM
For a project that I am working on I have the text being loaded into it from an html page. What I need to happen is to add the ability to click one of the words and have it open another little "pop-up" window for information about that word. Is that possible? Thanks for your help in a...more >>

sound
Posted by flatcoat99 at 12/13/2005 11:59:17 AM
Hi. I'm having a bit of trouble with sound playback in flash 8. When I create a new Sound object (within a class file) and attach an mp3 (from the library, and preloaded), I cannot get it to play. If I replace the linkage ID of the mp3 file with one of an AIF, it works fine. Is ther...more >>

Upload: twice?
Posted by Lujunq at 12/13/2005 11:29:05 AM
Hi, I'm using "upload" to send a file to an Apache server running PHP. The file is correctly copied, however it seems that my PHP script is being runned twice! I checked my flash file and "upload" is only called once... does anyone knows what's going on? ...more >>

Save text file from flash 7
Posted by openMiand at 12/13/2005 10:43:48 AM
Hi I need way that save text file from flash The user enters text and the file name in flash then save it to the external text file ...more >>

TabIndex: Can it work with loaded SWF in other _levels
Posted by Forum User, UK at 12/13/2005 10:23:48 AM
Hello World I'm trying to apply tabIndexing to Flash movieClips, some being on other _level's as loaded .swf files. I'm using Flash MX2004 Professional for Windows XP Pro. I've Googled the query only to find this problem existing but on Forum's dated back in 2003. Does anyone know if...more >>

createEmptyMovieClip - assign variable
Posted by lergo at 12/13/2005 10:21:56 AM
Can someone please help me with this problem. What the code does is to create an empty movieclip and, through a for loop, create new empty movieclips which will contain an image each (image path loaded from an xml doc and image loaded through the loadClip function). I want to be able to store ...more >>

Re: Trigger onPress() after 3 seconds of pressing?
Posted by dr_ross at 12/13/2005 10:16:59 AM
have a timer triggered on onPress, and stopped on onRelease , compare the time and if it is greater than 3 seconds exit. Look in the flash help for getTimer(), propbably the easiest way of getting the result in this case. get the time onPress and minus it from the time onRelease, test timeleft...more >>

Detecting Flash Verison browser and downloading latest flash player
Posted by Rajula at 12/13/2005 10:16:49 AM
Hi, Using Flash filter Effects in flash8 just its coooool but wherenever i was running it in IE other systems the Flash 8 filter effects are not showing. i found problem in the latest Flash Player but how can code it for download Latest Flash Player. Thanks Satish Kumar Rajula ...more >>

problem when moving through scenes
Posted by Lirans at 12/13/2005 9:35:22 AM
Hi In my flash, i wanted to move from a one scene to another and got this strange problem. First I'll explain what the exact problem is which i'm not sure you would figure out right away, so read the example afterwards. I used gotoAndStop("Scene Name", 1); and instead of moving t...more >>

changing buttons property
Posted by xyzmitu at 12/13/2005 9:25:15 AM
Can any one help me with the action script req for changing the property (alpha property) of the buttons already clicked while the one's which are not clicked remain the same....more >>

delay function end
Posted by JanM at 12/13/2005 9:10:29 AM
Hi This function will not be delayed while the delay has its own thread, so it returns undefined. Is there a way to check inside the function for data and in the case of true to return it? public function getData():String{ var ref:CheckConnection = this; var intv_data = setInterv...more >>

FLVplayback contentPath control by html links
Posted by oneczech at 12/13/2005 8:59:06 AM
Hi there, I have a simple thing to do, so I hope it is also simple thing to make (for a programmer which Im NOT .. and thats why i ask) Im looking for a way to control the FLVplayback component contentPath from HTML which would allow me to make classic html links which would assign new ...more >>

Re: Trigger onPress() after 3 seconds of pressing?
Posted by kglad at 12/13/2005 6:41:07 AM
yourBtn.onPress=function(){ actionI=setInterval(actionF,3000); } yourBtn.onRelease=function(){ clearInterval(actionI); } function actionF(){ clearInterval(actionI); // your button's actions here } ...more >>

Email Issue
Posted by zabiela at 12/13/2005 1:20:46 AM
Hi all, i posted a message in regard to this topic yesterday but was unable to rectify the issue. Basically, i want to link a button with the users default email editing program (such as outlook) so that when the button is clicked, outlook opens up and automates an email to andrew_richards...more >>

System.Product
Posted by juankpro at 12/13/2005 1:05:25 AM
I was reading about Flash Player Detection using the Express method wich calls an .swf file from macromedia. I decompiled this file to see how installation is done. I did this because I want to download and install the player via this method, using an installer placed in my local server and no...more >>

sendAndLoad Peculiarities
Posted by sowiebinich at 12/13/2005 1:02:02 AM
I'm using sendAndLoad to get some variables to a .php script and then the script should return some values back, but I'm getting some very strange results. I have a script that has nothing but the following: <?php $handle = fopen("test.txt", 'a'); $myVar = fwrite($handle, "test"); fc...more >>

flash scaling & full screen question
Posted by Sai_Zelion at 12/13/2005 12:19:40 AM
I'm in the process of rebuilding my site to be completely all flash and i'd like to build the site with a stage size roughly 1024x768. How do I scale my flash site to completely fill the browser window no matter what size the visitor's window is at that time? I saw this effect on this site h...more >>


DevelopmentNow Blog