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
all groups > flash actionscript > november 2004

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

Load Jpeg Image loop?
Posted by .....James Smith at 11/30/2004 11:04:13 PM
I know this is possible but not sure how to do it. What i need is i have a head of thumbnails in a folder which are in jpeg format. Now what i want to do is load the jpegs to the stage. I want it to be dynamic so that i can just keep putting more jpegs in the folder and not have to change my code...more >>


equivalent of a "cookie" for flash?
Posted by (_seb_) at 11/30/2004 10:35:08 PM
Hi all I'd like to know if there is anything equivalent to a cookie for flash. My goal is to open a new window with a flash movie that will behave differently depending on which previous page we're coming from. That is, I'd like to pass a variable from a flash movie in one page, to another fl...more >>

same frame on back button
Posted by TripapHoniC at 11/30/2004 10:06:03 PM
I have a movie with a few scenes, 3 to be exact. I master scene where two other scenes can be navigated. I am having a problem finding the right actionscript to make the FLASH movie return to the frame it was on when the surfer navigates to another part on my site. I want the FLASH mov...more >>

Sizing a flash movie in a browser
Posted by GrandmasterB at 11/30/2004 9:35:04 PM
Could someone point me in the right direction for this? I created a few graphing movies with Flash (MX 2004). These create pie graphs, bar charts, etc, and load their data by pulling an XML file from the server. These graphs have worked well, so now the people in charge & the customers ...more >>

Get frame total
Posted by sideburn at 11/30/2004 9:10:25 PM
Is there a way to get the total frames of a movieclip? ...more >>

fading buttons
Posted by neddyoats at 11/30/2004 8:58:37 PM
my code is like this on (rollOver) { tellTarget("MCcarl") { gotoAndPlay (2); } } on (rollOut) { tellTarget("MCcarl") { gotoAndPlay (11); } } - navbar on www.imaginationbrewery.com ...more >>

Sending from Flash to mysql
Posted by jaminPitt at 11/30/2004 8:46:13 PM
I have a small form that populates a MySQL database using a PHP script. Everything works fine except after you click Submit, you are sent to the PHP script page. How do I keep it from going there. I've included the actionscript that is called when you click submit. This is driving me crazy. Y...more >>

UnLoadMovie
Posted by Barney... at 11/30/2004 7:27:00 PM
I have a keyframe that unloads a movie on level 1(unloadMovieNum(1);) , however it does seem rather unpleasant to the eye...is it possible extend the action to give a brief fade out or something? Many thanks ...more >>



zoom in external jpeg
Posted by (_seb_) at 11/30/2004 6:48:29 PM
Hi all I am loading external jpgs in a MC holder. As they load, when their width and height are known, they are dynamically centered relative to the mcHolder. Now, I want to be able to zoom in the image, onPress, in such a way that the center of the zooming is wherever the mouse is pressin...more >>

Flash Player Crash
Posted by Zimbo Waro at 11/30/2004 6:33:21 PM
I am using a Flash Standalone Player (developed with MX2004 Pro) as a demo screen and jukebox for a plasma screen in our company's reception area. Basically I have written code that dynamically imports and plays music tracks (MP3) from a specific folder (local to the EXE file). The program p...more >>

Scipt for cursor movement
Posted by anitasoderbaum_MTA at 11/30/2004 6:13:48 PM
I'm doing a flashlight effect that is looking at a scene with a flashlight ( I'm using a masking effect ). I want to be able to move the flashlight with/through the mouse but I don't know the scipt. Can anyone help me? Thanks ...more >>

Animated Buttons
Posted by neddyoats at 11/30/2004 6:04:29 PM
how do you place 'rollover' commands on a movie clip to treat it like a button?...more >>

Resising movies with ActionScript
Posted by wolverine4277 at 11/30/2004 6:03:12 PM
My question is: can i set de size of a movie (.swf) with ActionScript???. For example, with parameters coming of scripts... Thanks. ..:: wolverine ::....more >>

Actionscript to control Z-Indexing of Layers?
Posted by ten4goodbuddy at 11/30/2004 5:48:49 PM
Can I access the layer/div ID in Flash and therefore re-assign it's z-index? I have a wide Flash movie, with intro included, after which I want links to apppear from under neath the movie. I have made the .swf transparent to allow this, and if the z-indexing of the layer beneath the movie) is...more >>

Setting up a mask dynamically
Posted by Pluda at 11/30/2004 4:54:57 PM
Hello, I'm building a kind of portfolio, using draw api to create my buttons and the LoadMovie function to load jpg's into them. The problem is that my buttons have rounded corners, so I need to mask them to make the pictures rounded corned too. This Is not working. Can you plea...more >>

Noise or dissolve effect
Posted by Nixy at 11/30/2004 4:44:00 PM
Hi Go to this link -> http://www.archizen.com/ On the splash page, you can view a small flash animation where you must click to enter in the website. If you wait, the image appear slowlly with a pixel, noise or whatever the name of this effect. How they do that. Any idea? Tanx in ...more >>

Button Rollovers
Posted by neddyoats at 11/30/2004 4:41:58 PM
how do i make a button FADE IN/OUT on rollover? any input would be useful. thanks...more >>

Flash 6 detection w/o invisible splash page
Posted by jip at 11/30/2004 4:26:41 PM
I am using Flash on the home page of a site and I need to include some detection. I want to conditionally display either a Flash 6 movie or a static image. What is the best method w/o introducing the standard invisible redirect/splash page? Publishing for Flash 7 player is not an option. Any h...more >>

transfer a variable to a loaded movieclip???
Posted by scootdeloot at 11/30/2004 4:21:32 PM
I am trying to transfer a variable from the main swf file to a external swf file that is being loaded within the main swf. I want to then execute another loadMovie inside the external swf loaded relating to the variable that would be passed. Follow? I figured that I should use the loadVar...more >>

Pulling data from external file
Posted by Mintyman at 11/30/2004 4:06:36 PM
Hi, I would like to create a simple flash file that will display a number based on an external text file. Well, actually, i'd like to make lots. I have a text file as follows: product 1 : £100 product 2 : £200 product 3 : £10 etc etc I will have lots of flash files, one per page, so o...more >>

Decoding XML created by JSP
Posted by ChrisFlynn at 11/30/2004 3:58:17 PM
Hi all I have a swf thats loading XML that's generated from a JSP page. The JSP (called test.jsp) looks like this: <%response.setContentType('text/xml');%><?xml version='1.0' encoding='UTF-8'?> <root> <field1>This is the contents of field1.</field1> <field2>You specified ID number <%=requ...more >>

Can flash load another html page when it reaches a specific frame?
Posted by t-reilly at 11/30/2004 3:29:54 PM
I am using a flash intro to a new website and want it to automatically take the view to another url address when it reaches the end of the intro. I've tried adding a frame action, but I seem to be missing something as the flash file stops and just sits there. How is this achieved? Thanks f...more >>

Dynamically Setting Text On A Button
Posted by AwesomeDigital at 11/30/2004 2:52:58 PM
I am trying to dynamically set the text of a Dynamic Text Field on a button with the following line, but it does nothing, why? this.buttonInstanceName.textFieldInstanceName.text = 'Put This In Text Field'; It works fine in my Head, but Flash does not agree with me. Thanks Mathias ...more >>

detecting a mouse click over a movie clip
Posted by prislt15 at 11/30/2004 1:31:11 PM
This is my first flash movie!.... This is what I want to do in english- when the mouse is clicked, check to see if it is over a enemy movie clip. if false do nothing, if true, place blood splat over enemy or replace enemy movieclip with dead enemy movie clip. I already have a mouse li...more >>

Duplicate Movie
Posted by rhouck at 11/30/2004 1:13:30 PM
I am duplicating a movie on scene called intro: The following scripts I am providing below: This goes on the movie clip: onClipEvent (load) { scale = (random(100) + 50) this._x = random(1000); this._y = random(600); this._alpha = random(10); this._xscale = scale; this._ysca...more >>

How to develop a continuous timer
Posted by hasanali00 at 11/30/2004 11:51:04 AM
Hi, I have a problem, I hope u can help. Imagine, I want to develop a continuous counter. So for instance, it will start at 0000 then it will start counting (e.g 0001, 0002...). When it reaches 0009, it will become 0010. Similarly, after a minute, it will become 0100. How can I do this easil...more >>

Managing External FLV-s
Posted by Obarc at 11/30/2004 10:48:19 AM
Deer Flas Programmer mates! I would like to ask you a question about managing FLV-s. As the MX 2004 Pro tutorial told me, I have created a movie. It's very important for me, that the movie must read an external FLV, mecause my FLV's size are very large. So I folloved the Help, and created a ...more >>

Need help with actionscript
Posted by gma216 at 11/30/2004 10:40:17 AM
I have a combo box, dynamic text box, and a button. I want to select an item from the combo box and on mouse release i want to display the select item in the dynamic text box. my current code is: on (release) { quantity = quantity.getValue(); message.text = quantity; } This co...more >>

reset timer
Posted by g5604 at 11/30/2004 9:13:38 AM
How can i reset my countdown?? countdown.onEnterFrame = function() { if (!pause) { this.timer = int(20-(getTimer()-startTime)/1000); if (Number(this.timer) == 0) { _root.gotoAndStop(12); } } }; ...more >>

peload off stage help
Posted by Barney... at 11/30/2004 8:24:58 AM
Ive found some script that preloads movies which works fine...however the mc's are visible (for a split second) over the top of the movie. How do i alter the script so that the position of the mc is off the stage? Ive had quite a few gos, but as my actionscript is rather poor ive made a bit of...more >>

Using passed URL var
Posted by Stevan at 11/30/2004 8:23:28 AM
I have seen posts on how to send a variable within the URL... How about "grabbing" the string in the URL? IE - http://whatever.com?status=yes I tried doing it this way: var strStatus:String = status=yes; And then tried to do some feeble conditional statement but got nowhere with it. ...more >>

Is there a way to stop a loop for a certain time interval?
Posted by zzdobrusky at 11/30/2004 4:43:02 AM
I tried those but nothing seems to work???!!!!! Help!!!!!! i = 1; while(i<=10) { // calculates random time hitTime = Math.ceil(Math.random()*5)*1000; trace('hitTime =' + hitTime); // calls a for loop that stops a loop for a hitTime for(startT = new Date(); (endT - startT) < hitTime;...more >>

wait for narration to finish
Posted by smk63 at 11/30/2004 3:10:05 AM
I want my presentation to wait for the narration to finish before going to the next frame. Also, while the narration is going there are animations on the screen that coincide with it. For sound 1 frame 10, I currently have this: var my_sound:Sound = new Sound(this); my_sound.loadSoun...more >>

Writing to a local file...
Posted by dreamweaverhhwinc at 11/30/2004 1:55:56 AM
I'd like to write a flashcard app in Flash for learning vocab words and need to be able to mark the "cards" I've learned and "file" them accordingly. Is this possible with Flash without requiring an internet connection to a remote database? I want it all to be local... Thanks! ...more >>

Search Engine not working
Posted by theblessedone at 11/30/2004 12:57:27 AM
I have built a Flash search engine .http://www.dirttracktrader.com/linktous.htm, so it pops up the search results in a new window....more >>

dynamic screensaver problems
Posted by scriptKid at 11/29/2004 11:10:44 PM
hello all, i'd really appreciate any help you can give me on this problem. i'm not that great at flash...yet...but i'm trying to get better! i broke down my problem in outline form. --kevin;) GOAL: -after a timeout period, a 'randomized' screen saver is called. when the mouse is moved, the...more >>

Loading XML created from a JSP page
Posted by ChrisFlynn at 11/29/2004 11:00:05 PM
Hi all Been struggleing with this a bit. I have a JSP file called test.jsp, that consists of this: <%response.setContentType('text/xml');%><?xml version='1.0' encoding='UTF-8'?> <root> <field1>This is the contents of field1.</field1> <field2>You specified ID number <%=request.getParameter...more >>

How do I make multiple getURL js function calls?
Posted by ajdove at 11/29/2004 10:06:55 PM
:confused; Please help!!! I need to either find a way to add multiple js function calls to a single button instance OR find a work-around. This is really important. Although a simple problem (I think) I need to finish my project at work and this issue is holding up the shift to production. ...more >>

MovieClipLoader onLoadProgress Problems
Posted by SilverDev at 11/29/2004 9:04:50 PM
onLoadProgress doesn't seem to work. Copied the code directly from the Help file and just pulled out what I didn't need. I can get it to work with files referenced with an absolute URL, but I need to have a preloader for files running off of a CD. (Embedded video makes the files fairly...more >>

Listbox Assistance Required
Posted by Lobstah at 11/29/2004 8:39:45 PM
:sun; Admittedly, I'm an ActionScripting Newbie of the worst and most hopeless sort! I need to put into a Flash site a small Listbox where only one item will be selectable at a time. The various list items will each drive the movie playhead to a different frame in the same timeline. A m...more >>

Combobox component
Posted by Muhly at 11/29/2004 8:26:58 PM
I have a flash file with a combobox component in the first scene. I can code to navigate between scenes with this combobox, but If I put the box on say the second scene, I can not navigate from there. I guess my question is, why can I navigate from the first scene, but not back to the first ...more >>

Starting and stopping music
Posted by jp61 at 11/29/2004 8:21:46 PM
I'm trying to place background music in my Flash movie. I can do that easy enough, but commanding it to start and stop using buttons and actionscript isn't working. Does anyone have a suggestion that will help? Thanks. ...more >>

Problem with datatypes
Posted by antewik at 11/29/2004 7:07:16 PM
Hi. I have made a program where I need to send some information between two swf-files, and I am using LocalConnection to do that. The problem I ran into was when I tried to send an array that had the value of 'this'. The other swf-file couldn't recognice that so when I traced it, it said 'unde...more >>

collision detection
Posted by helpmeguru2 at 11/29/2004 7:00:01 PM
I have 2 movie clips one was created by createEmptyMovieClip() the other by attachMovie() when i try to detect the collision i get nothing or rater (UNDEFINED) when i trace the hitTest from one of the movie clips. both objects are dynamically created and both are visible on the screen once ...more >>

Math (!) :-)
Posted by Pluda at 11/29/2004 6:41:27 PM
Hello, I need a function to dynamicaly create buttons or textfields distributiing then acordingly to my needs. In this case I need to create 12 buttons, in 3 rows and 4 columns. Would someone please help me on this, I just nedd the math function for the _x and _y placement, I know al...more >>

need help -> CreateObject Does not work
Posted by binaryatwork at 11/29/2004 6:10:55 PM
I created a class t2.b4 which is a subclass of Button. It is a very simple class. //the parent directory of t2 is in the classpath //the symbol b4_btn is in the library //in the linkage properties of b4_btn, the AS 2.0 class is t2.b4 class t2.b4 extends Button { public static...more >>

Fonts - using createTextField
Posted by MaureenM at 11/29/2004 5:50:25 PM
I have some dynamic text fields for which I have set the font to an embedded font - which I've added to my library. I do this right from the Properties panel. These fonts work across both Mac and PC. I have a second area where I am creating and styling text fields dynamically using the follow...more >>

allowDomain - xml? loadTextVars
Posted by toddde at 11/29/2004 5:47:21 PM
Has this bug been fixed? Can allowDomain be used to access an xml or text document? Thanks, Todd...more >>

Scrollbar or not, that's the question...
Posted by rumpelstilzchenlang at 11/29/2004 4:51:11 PM
Is it possible, perhaps with a method on a textbox, to get a boolean value if a scrollbar is nessercary, i.e. the text is more than the textbox can handle? I want to use this value to decide if I show a scrollbar or not dynamically for each text I am loading into my textbox ...more >>

ski game
Posted by Bellah5 at 11/29/2004 4:43:26 PM
Does anyone out there know how to go about making a ski jump game similar to this one: http://www.freeworldgroup.com/games/StanSkiJump/index.html Are there any tutorials out there for a simple version of this. I want to have the skiier sliding down the jump and when it gets to a point have th...more >>


DevelopmentNow Blog