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 > february 2005 > threads for friday february 18

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

Drag and drop with limits
Posted by Jak-S at 2/18/2005 11:50:48 PM
Hi Im trying to do a drang and drop with limits so it cant be dragged off the stage, can someone tell me why this dosent work, it just locks the image to the top left corner of the stage and wont move it. It is supposed to be dragable all over the stage but you shouldnt be able to drag...more >>


Pause and Play an External SWF
Posted by alisonBB at 2/18/2005 11:24:45 PM
I have been searching online for hours. I figured it was something that was possible, but who knows. I can't find anything! Is there any way to have playback controls for a loaded movie? I have loaded an external SWF into a movie clip with loadMovie(). Can I make that movie pause and resta...more >>

volume control
Posted by Bellah5 at 2/18/2005 10:07:31 PM
I have one swf (A) loading another swf (B) into itself. I am able to pause and replay B by using tellTarget. I have a volume slider in A that I would like to control the volume of B. It's a slider, not buttons. I am having such a hard time trying to figure this out. Does anyone know how to g...more >>

Local Connection
Posted by Nixy at 2/18/2005 9:59:34 PM
When we create a localConnection, does many movie can communicate by that connection, or it's just between 2 movie? var oDynamicMenu_lc = new LocalConnection();...more >>

Button Linkage
Posted by ebeaz at 2/18/2005 9:51:28 PM
I'm fairly new at Flash, but learning things as I go. One of the things I haven't been able to figure out is how to link a button to a new scene. (if this is even possible) I've set up two scenes: The first one has all of my buttons, making up a navigation menu. All of the buttons hav...more >>

.jpg or .jpeg cannot be final argument to swf
Posted by Hofmeester at 2/18/2005 9:03:45 PM
Passing arguments into .swf movie is very useful. I wasted some time today in trying to pass a .jpg filename into a movie because it kept 'crashing' (big white screen with black border). After some investigation it appears that when you pass an argument to a .swf movie (...testing.swf?filena...more >>

trapping function keys in a swf inside a web page.
Posted by goodluckfox at 2/18/2005 9:00:16 PM
I'm trying to have a user press F4 to advance to the next frame of a swf that is embedded inside a web page. When I press F4, Internet Explorer pulls up the Address Bar. I tried putting in a trapallkeys, but that didn't change the behavior. I'm pretty sure there's a simple way to do this. I ha...more >>

Two actions on release.
Posted by llx_Raziel_xll at 2/18/2005 8:51:31 PM
I just need the buttons in my menu to perform two actions on release, is there any way I could do that?...more >>



Flash sound on/off toggle
Posted by dtburdick at 2/18/2005 8:34:12 PM
This can't be as difficult as it seems. I want to toggle all sounds on/off. Sweet and simple. A mute button if you will. I have seen all kinds of explanations of how to load and turn on/off a single sound. But I have sounds on my buttons and sounds on movies, etc. I am not really looking for...more >>

this.my_var or this['my_var'] ?
Posted by bgramling at 2/18/2005 8:19:50 PM
I like to use this.property or this.function() in my classes. Is there any performance difference between using this.my_prop or this['my_prop'] ? Which is better to use if either?...more >>

load movie into target using button
Posted by can joann at 2/18/2005 7:44:28 PM
Please help if you can: I would like to load a swf movie into a target area using a button. I have already created an instance of a movie symbol (& named the Instance) on the main movie (this serves as the target area). I am able to load a new swf movie into another level & I am even able t...more >>

multidimensional array question
Posted by Lujunq at 2/18/2005 7:28:41 PM
Hi, I'm trying to stro data in a 3-dimentsiona array. By following help, I found an example that, converted to a 3-dimensional case, would become: ticTacToe = [[[1,2,3],[4,5,6],[7,8,9]],[[10,11,12],[13,14,15],[16,17,18]]]; If I add a trace for ticTacToe[0][0][2], I get 3 in return as expec...more >>

this.onenter//prev.frame..if..else
Posted by bdflip at 2/18/2005 6:57:13 PM
im trying to make multiple buttons with animation that change the look of the button when mouse over. this is workin fine now i also what the animation to reverse when when the mouse goes away "rollout" at the current frame this is also workin also i wanted if you moused back over the image ...more >>

multiple mailform.php problem
Posted by kimG at 2/18/2005 6:50:53 PM
I am using a mailform I found on flashkit. It works with php. mail.swf is loaded into the main movie on level 1. It was working great until I put a second one in called mail2.swf. I also created mail2.php. Now neither of them work. Other than ajusting the file names and their references,...more >>

Class reference URL?
Posted by silvers2000 at 2/18/2005 6:18:20 PM
Does anyone have a link to a Flash ActionScript class reference similar to the Java API docs? I need something that provides a detailed list of all the packages, classes and methods. I have found the URL below but it does not include Flash Pro classes such as DataSet and WebServicesConnec...more >>

Send Var, Load XML
Posted by andyleese at 2/18/2005 6:04:41 PM
I am trying to send a Varible from flash to a PHP page then this runs a query with the Var sent then echo's XML that contains the query results back to flash Does anyone know a way to sendAndLoad a Variable and return XML. Without having to send XML to load XML ...more >>

javascript:openNewWindow continued
Posted by lplatz at 2/18/2005 5:58:32 PM
David, you have been a big help in helping me dig through this seaminly simple actionscript, THANK YOU! I did a little digging around and did find out that the "on handler" issue was a result of assigning the actionscript to the button instance versus the frame. I am working on moving the ac...more >>

Simple fade out script?
Posted by runmad at 2/18/2005 5:49:12 PM
Hi, http://runmad.web.surftown.dk/flashtest/Untitled-2.htm When going to HOME and PHOTOGRAPHY pages I have a fade-in using the following code: onClipEvent(load){ this._alpha = 0; } onClipEvent(enterFrame){ if(this._alpha < 100) this.alpha +=10; } Now wouldnt there be an...more >>

scale a vector graphic w/o scaling stroke weight?
Posted by scottPadgett at 2/18/2005 5:08:24 PM
Hi folks! I have a movie that programatically scales some elements if chosen by the user. Problem is obvious if you look at the swf I've attached. Click on the 'movie' icon and watch what happens. I want the 'movie' square to scale while the stroke size on the rectangle stays the same size...more >>

problem of too many scene in one movie clip
Posted by juffsy at 2/18/2005 5:02:09 PM
I creat one project which consist of 70 scene , I can't publish exe or swf file when I reach 50 scene .Are there limited maximum scene in mx 2004 version .How to solve this problem.I need your help this fla file only 40 MB. ...more >>

On Letter Key Down?
Posted by GhettoFabFlah at 2/18/2005 4:53:51 PM
Greetings! I have a game im making that has the letter keys as commands. For example instead of using the arrow keys to move, you would us A,S,D,W. I remeber looking through the Flash Help and finding it a little while ago, but now i can't remeber how to do it. I think that each one has a Num...more >>

Load Fonts
Posted by PaulJS at 2/18/2005 4:40:45 PM
Hi all, Im desperate! Is there a way, that i can can tell flash movie A to load in Flash Movie B (which contains a bunch of linked fonts) So that flash movie A can then access those fonts using the embed method Basically looking to load font libaries dynamically, any ideas? Ch...more >>

Disabling movie clips on stage
Posted by chrscote at 2/18/2005 4:10:09 PM
I have a training program in which we load separate swfs into an empty movie clip on the stage called sceneContainer. If the user performs an error, we load an error.swf file into layer 1000, thus over the sceneContainer movieclip, and fade the scene behind the error. However, when the error...more >>

Please Help-- HUGE FILE SIZE
Posted by jess1182 at 2/18/2005 3:59:32 PM
Hello all, I posted a msg. --- I have this complicated animation (b/c it been requested to include a bunch of jpeg's :( ) So its broken down into 4 parts &amp; optimized the best I know (jpeg compression, reused symbols as much as possible, etc). There's gotta be a better way though. the f...more >>

Preload Images
Posted by mercl at 2/18/2005 3:01:07 PM
Hi All, i'm trying to create a Image Preload, in the past i've tried all kinds of things like onData etc. etc.... wich doesn't work... anyway iv'e come across this below from flashGuru: This works fine, except for the on enterframeEvent 'deletion' mclip.createEmptyMovieClip('pic_container',...more >>

sound control for movie clip
Posted by hoopster340 at 2/18/2005 2:57:54 PM
I'm new to Flash scripting but have some background with Lingo. I have a movie clip (animated face). When I put that in my main timeline and add a sound file ....how do I have the clip continue to animate until the sound file ends? I found onsoundcomplete but have no idea how to start. thank...more >>

Getting NaN when adding 2 array values
Posted by g_como at 2/18/2005 1:16:18 PM
Hello All, I have a simple program that randomly creates a shape, along with a starting x,y position, a speed(a number which will be added to x every frame), and a rotation to be added each frame as well. I'm hoping to have the shapes move from left to right across the stage while spinning. ...more >>

TextField.wordWrap
Posted by Ashish123 at 2/18/2005 12:46:09 PM
Hi, I have a dynamic text field in which i want to give maximum 2 line word wrap functionality. In short i want to restrict displaying data more than 2 line...anyone had any success with it....!! -------- aShIsH ...more >>

Is there any functions in ActionScript as the "sleep" funtion in C/C++?
Posted by hongrui at 2/18/2005 12:39:44 PM
while (true){ //do something //sleep ------>How to do that? } How to sleep a fews seconds in ActionScript? Many thanks!...more >>

1st Frame OK, Next Frame Bites
Posted by MikeMedia2 at 2/18/2005 12:05:57 PM
I've double checked the Instance Box and the script of both frames to no avail. Any help is appreciated. Frame (16) THIS WORKS setProperty ("/check001", _visible, false); setProperty ("/check002", _visible, false); setProperty ("/check003", _visible, false); setProperty ("/check004"...more >>

Manipulating lists of items
Posted by pandey at 2/18/2005 11:01:37 AM
Hi Guys, I have a list, var soundsToPlay = new Array("Author", "boy", "camp"); I have three buttons, which have instance name as Author, boy, and Camp what I like to do is once the user have clicked the button Author, the Author should be removed from the list. Then I have a next butto...more >>

Dynamic buttons and text-fields
Posted by Ianog at 2/18/2005 10:04:01 AM
Hi, new user so hope my etiqutte is ok. I am creating a flash MX projector on CD for Windows. The client wants to be able to customise parts of the text on the CD, so I am using dynamic text-fields to read plaintext files. The client can therefore alter the text-files and reburn a new CD - v...more >>

Is there something in Flash similar to Lingo's getnthFileName?
Posted by pegremo at 2/18/2005 9:46:03 AM
I'm looking for a way to get flash to lookup the number of swf files in an external folder in order to use that as a variable in a loadMovie loop that loads them into seperate targets. I know how to do it in lingo but I'm unfamiliar with the syntax in flash. If anybody knows, I'd very much a...more >>

Maxscroll problem with dynamic text
Posted by Stijn de Laet at 2/18/2005 9:43:22 AM
Hi all, I have a problem using maxscroll. When I use maxscroll with text that already is inside Flash, it works fine. I get maxscroll values of 2,3,... But when I use maxscroll with text that is imported from a .txt file, I only get the value of 1 for maxscroll. The text appears, there's more...more >>

how to open pps file
Posted by jungly boy at 2/18/2005 8:29:16 AM
hi friends.... i want open pps file feom flash mx.....so pls help me ty guru ...more >>

Strange import behaviour (Problem with attachMovie)
Posted by Mr.Orange at 2/18/2005 8:08:14 AM
Hi experts ! I'm just working on an emulation of a windows console in flash mx. The style should be as close as possible on the original windows style. Because of that I decided to make some vector graphics for each neaded character. They are stored in the library and have identifier to im...more >>

[FLMX] external jpg loader..
Posted by NETIT at 2/18/2005 8:03:44 AM
Hi everybody... i created an swf that loads an external jpg... my problem is... the jpg is very big... so i wanna make a preloader... is it possible to do? how? thank a lot... Mirko Netit :-) ...more >>

help me with my poor action script please
Posted by Maselph at 2/18/2005 7:10:45 AM
hi i'm trying to get to grips with action scrip in flash - done some tutorials but can't seem to grasp the essentials , i'm try to get a hand cursor appear when the user rollsover my button called CLICK2START , just keep getting syntax errors also would like the user to be directed to frame 80...more >>

Mr. kglad or anyone else who r online now Plz.......
Posted by shivali78 at 2/18/2005 6:25:01 AM
Hi, I m looking to design a similar transtion effect as in dentsu.com which is controlled thru mouse movement.....can u plz guide me for this? Thanks...more >>

disable button
Posted by JF213 at 2/18/2005 1:26:34 AM
I currently have a button on the first frame of my scene and I set the alpha to 0%. I am trying to disable it until the next frame. what is the code for disabling a button. I tried this. prevTrackBtn.onLoad=function(){ this.enabled=0; }; ...more >>

Load Movie problem
Posted by Naughty_Boy at 2/18/2005 12:53:24 AM
I am having a problem when trying to load a movie, it is starting up but in a new window not in the same window where is should be. I want to click a button and load a seperate swf file on layer 3, here is my code. on (release) { loadMovie('portfolio/slideshow_as1.swf','_level3'); } I thou...more >>

buttons in nav bar movie clip
Posted by photologan at 2/18/2005 12:38:36 AM
:confused; I imagine this is very simple but it's got me stumped. I'm building a site where the nav bar is a movie clip. I can't get the buttons to make anything happen in the main scene. Through the actions window, I assign the button the action that says, go to main scene, then go to and...more >>

fscommand , exec
Posted by paul-dall at 2/18/2005 12:17:34 AM
HI! I am having trouble unstanding what the docs are saying here. they mention that you can spicify other folders below the fscommand folder ( or am I wrong) in the bottom on this post. I have tried numersous options and cant get it to work with sub folders underneth the fscommand folder. ...more >>


DevelopmentNow Blog