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 > march 2005

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

paging a TextField
Posted by grayooze at 3/31/2005 11:39:11 PM
I have a bunch of htmlText that is too big too fit in a TextField and I want to move all of the leftover text into another TextField (I need to have multiple "pages" of text, no scrolling). I can figure out the bottommost visible line in a TextField (TextField.bottomScroll) but I don't ...more >>


How to control what the Media controller
Posted by fasterthanlight at 3/31/2005 11:37:20 PM
I'm making an mp3 player that reads song information from a database created by perl, utilizing the MediaController component. My question is, how can i control what the previous and next buttons do? i have variables set up that contain next and previous song information, and want to link th...more >>

Duplicating a movie clip and setting instaqnce name
Posted by adrianTNT at 3/31/2005 11:14:38 PM
I have a clip and I want to duplicate it by "uplicateMovieClip". When I do this I have to give ti a new instance name to new clip: asd.uplicateMovieClip("asd2"); But I want part of the the instance name to be taken from a variable so the instance name is dynamic, how can I do this? /...more >>

Detect Window Focus using ActionScript?
Posted by MasterZorlak at 3/31/2005 10:19:12 PM
All right, so I started a project that so far is coming along well. What I need to know now is whether or not you can use ActionScript to detect the locus of a browser window. Something like if window.focus = true(); or if window.focus = false();. Thanks in advance. :) ...more >>

kglad - shouldn't you get a life?
Posted by Rothrock at 3/31/2005 10:08:31 PM
Congratulation I just noticed that your posts have gone past 10 grand. Shouldn't you be getting a life by now? :) I can't speak for everybody, but thank you for all the inspiration and help you've given me in these forums. ...more >>

Quick Question
Posted by davidprovost at 3/31/2005 10:00:57 PM
What actionscript would go in the main timeline to make an mc move when a certain key is down....more >>

Arrow y movement is reaching a restriction?
Posted by elviskat at 3/31/2005 9:03:42 PM
lo guys and dolls, I wonder if you might be able to shed some light on my problem, I am using two bits of code to move an arrow down a list of text items, when the text items are clicked the code is updated with the new value and the arrow moves down to that. However it is hitting a po...more >>

Putting Movieclip names into variables
Posted by g_como at 3/31/2005 8:59:44 PM
Hello all, I have a 9x9 square gameboard set up in flash. I have a movieclip over each square, with the instance name of each clip ranging from 1-89. 1st row=1-9 2nd row=11-19 ..... 9th row= 81-89 Now the distance from square 76 to square 45 is...1 square left...3 squares up. Now if I use...more >>



Postin variable data to an url
Posted by Genfors at 3/31/2005 8:32:29 PM
Hi, I'm working on a project where i need to post data to a database via a php url. Is there any way to call a webpage without viewing it and storing the returned html code in a variable? If i view the php page in a browser, example: http://myphpdb.php?var1=1&var2=3 it will show somethin...more >>

Disable Space bar?
Posted by rabblerouser at 3/31/2005 6:56:16 PM
Is there a simple way to disable a space bar when a user is entering information into a text input field? I have a field where users are supposd to enter their email address and I want to prevent them from putting a space inside that field. ...more >>

Actionscript and php
Posted by shar1if at 3/31/2005 6:40:08 PM
http://www.mix.ee/loosimine/Loosimine.swf Does everyone knows hou to start it? I don?t know how make an Actionscript and php.sender. can somebody help me....more >>

linking a button to a scene
Posted by boxer82003 at 3/31/2005 6:06:45 PM
i am trying to link a button to a different scene using this script goScene_btn.onRelease = function (){ gotoAndStop("Scene 15", 1); }; but i keep getting this error **Error** Scene=Scene 15, layer=Layer 2, frame=1:Line 1: Statement must appear within on handler goScene_btn....more >>

Loading Quicktime with loadMovie() tag
Posted by sevnthsin at 3/31/2005 5:43:43 PM
I've heard it is possible to load in Quicktime Movies into flash just like you load a SWF file with the loadMovie() tag. I've done it with jpegs and am pretty sure it can be done with a Quicktime, but i've had no luck executing it. Anyone know anything about this and/or have any ideas. ...more >>

Rollover with Actionscript
Posted by collegeu at 3/31/2005 5:38:44 PM
Hey everybody- I was looking for an MX tutorial about using actionscript for a rollover effect. Here's what I'd like to do: When the button is rolled over, the graphic begins to scale up and once it's rolled off, the graphic starts to scale back to it's original shape. I would also like the s...more >>

Job - Jr AS2.0 Programmer - Houston TX
Posted by Chekote at 3/31/2005 5:24:09 PM
Company Information: Frazer Ltd 7219 Rampart Houston, TX 77081 http://www.frazerbilt.com Phone: (713) 772-5511 Fax: (713) 995-0541 Frazer Ltd is an ambulance manufacturer that has been in business for over 46 years.We are a family run company that is constantly growing and alw...more >>

MP3 from an access database
Posted by Creativepointe at 3/31/2005 5:23:13 PM
Ok I'm new to this past of Flash. What I'm trying to do is load in Name, Voice Description, Turnaround Time, Listen Button, and Download button. This would display the Name then a flash button that plays the demo, then a button that would allow them to download the mp3, then a description and ...more >>

Random placement of a movieclip on stage?
Posted by caslon1975 at 3/31/2005 5:14:56 PM
Random placement of a movieclip on stage? -------------------------------------------------------------------------------- What I'm trying to accomplish is to have an arrow graphic float in and out randomly in the background of my presentation. I would like several of them fading in a...more >>

Passing values
Posted by Marge at 3/31/2005 4:47:58 PM
Does anyone know if it is possible to link to and pass values from a Flash movie to a Microsoft Word form, so that when that Word form is opened, the form fields are already populated with information? For example, I have a certificate at the end of an online assessment. The assessment is d...more >>

loading WSDL works only locally
Posted by phattim at 3/31/2005 4:34:29 PM
I have a webservice connecting to a remote domain and it functions perfectly when running locally but as soon as I've loaded the swf into a html page and run it on the browser, it cannot connect to the domain. I receive the following error codes: Client.Disconnected, Could not load WSDL, Unabl...more >>

Problems loading variables from an external text file
Posted by judithC22 at 3/31/2005 4:30:44 PM
I am loading varibles from an external .txt file that are placed as text. The ..swf is in the page header used on multiple pages. It works fine when you go to the first page BUT when you go to another page calling the same SWF & therefor ..TXT files, the field where the varible displays appear...more >>

Overlooked Firefox PRoblem
Posted by icarus666 at 3/31/2005 4:22:21 PM
running mac os 10.3 i have firefox as my defauly browser. projectors using getURL("http://www.yourdomain.com"."_blank"); ______________________ nothing happens, no browser nothing, but if Internet Explorer is open, it responds to the projector. please help me... I love firefox and my ...more >>

call jpg images in flash
Posted by Mike at 3/31/2005 3:57:51 PM
Hello, I have a question. I have a flash movie and I want to have a space in it where I will call random jpg images from a folder. So let's say I have image1.jpg, image2.jpg etc... Every minute a new photo should apear in a spot. How do I do that? Is this possible? I appreciate any h...more >>

HELP:: Using mailto to send a var
Posted by thegameispw at 3/31/2005 3:31:27 PM
Hi, im new to flash and am using the quiz template for one of my projects. My project requires a button that sends the results of the quiz to an email address- the template has a vaiable called QuizTrack.total_correct that displays the total number of correct answers. I have used the following...more >>

a question about MovieClipLoader class
Posted by Porsche_2004 at 3/31/2005 3:16:49 PM
Hi, I have initialized one instance of MovieClipLoader for loading my external swfs. Should I use an instance for each object which I want to load? I mean if MovieClipLoader class is desgined to be able to manage loading several movies or not? Thanx, ...more >>

A little bit of Maths and Geometry
Posted by wieniecomponents at 3/31/2005 3:09:13 PM
I am trying to make a game in which the following are properties of an object are known: x coordinate y coordinate Distance to be moved Object's angle with respect to x-axis assume the Object mentioned above to be any movieclip. Now, I wanted to move my object to the specified dist...more >>

help needed on random()
Posted by maine_ho at 3/31/2005 2:54:57 PM
hi, i need help regarding on random().. _root.blank.attachMovie(_root.numm[random(5)], numm1, 0); can anyone tell me what does the "numm1" and "0" for? thx......more >>

How to get rid of line break in text file
Posted by Mor Vimmer at 3/31/2005 2:31:01 PM
Hi, I am trying to read variables from a text file which have line breaks. I can?t delete those line breaks since this text file needs to be user friendly and suppose to be updated by a non-tech person. Here is the code I am using to load from the variables images names: var loadText:Loa...more >>

Question for Experts: Flash movie and system resources
Posted by CougarTheCat at 3/31/2005 1:02:11 PM
Hi, I posted this a while back and didn't get a response. Some of my users are having problems using my Flash movie/application in that for some of them, if they haven't rebooted their PC before starting, the movie stalls at a certain point. I have: -initial Flash movie of 175K -Movie load...more >>

HELP!!! URGENT!!! How do you drag a movie button out of a scrollpane
Posted by paulksb at 3/31/2005 12:44:32 PM
:confused; Hi. At the moment my scrollpane contains the movie buttons and I have been able to drag and drop them. But they only drag and drop inside the scrollpane. I want to be able to drag the movie button out of the scrollpane and onto any other part of the screen. Is this possible??? W...more >>

Button States
Posted by KrisCons at 3/31/2005 12:32:53 PM
Hi, Is there any tutorials or can anyone offer advice on the following: I have 4 buttons each with two colour states. When (for example) button 1 is clicked in my movie, I would like to load an external movieclip, or even jump to a different frame (that part is irrelevant), but what I do ne...more >>

ActionScript Class Problem Calling a Function from a Method
Posted by sstringer at 3/31/2005 12:16:03 PM
I'm relatively new to the wonderful world of ActionScript 2.0 OOP. I'm hoping this problem is an easy one to solve, though I cannot seem to find the answer anywhere. It would seem that you cannot call a method from a function contained within another method. For instance, the following wou...more >>

parseXML returns undefined
Posted by Jeff Schumann at 3/31/2005 11:42:43 AM
I'm having a problem trying to parse a small xml string with parseXML. Here is the code. Code in root: testString = "<?xml version=\"1.0\"?><test><item>one</item><item>two</item><item>three</item></test>"; xmlTest = new XML(); xmlTest.ignoreWhite = true; xmlTest.parseXML(testString); ...more >>

Waht is _level in flash
Posted by Kaushal WD at 3/31/2005 11:01:29 AM
Hey !! can anybody tell me that what is _level in flash and how to use it !!! i messedup with my flash !!...more >>

allow user to stretch images?
Posted by Tony O at 3/31/2005 10:56:20 AM
Excuse the cross-post (no response in the flash forum). Does anyone know of an extension or code that would allow the end user to stretch or squash an image via handles (like in any graphics program) maintaing proportions while holding shift? This would take place in an swf on a web page. ...more >>

Set open window properties?
Posted by Chris J at 3/31/2005 10:23:30 AM
I have the following script to open a browser window. on (release) { getURL("myPage.htm","_blank"); } That opens the link in a new window however, is there anyway to set the window parameters such as the size, scrolling and re-sizing but no tools? thanks, cj ...more >>

Make a pop-up
Posted by sitog at 3/31/2005 9:02:28 AM
I have a movie in flash & need show it in a pop-up without toolsbars. Thanks....more >>

a question about MovieClipLoader class
Posted by Porsche_2004 at 3/31/2005 8:38:42 AM
Hi, I have initialized one instance of MovieClipLoader for loading my external swfs. Should I use an instance for each object which I want to load? I mean if MovieClipLoader class is desgined to be able to manage loading several movies or not? Thanx, ...more >>

Getting a behaviour to only be active in a particular frame
Posted by Michael1981 at 3/31/2005 8:37:04 AM
Hi I have a movie clip that I want to have a roll(over) behaviour associated to it but only in a certain frame in the timeline of the movie. Does anyone know how I would achieve this sort of effect? Cheers Michael ...more >>

Print Images? Help
Posted by Rai_Kane33 at 3/31/2005 8:09:50 AM
posting again as noine responded to my last post and it goes to the back of the is and no one will ever answer it.. I have created a flash website for some customers however they want to be able to save/print the image in the document (like a html website right click and save as or right clic...more >>

Buttons..Different
Posted by Trish V at 3/31/2005 5:39:46 AM
Hello...I have a movie that has 4 buttons on it, and an animation that goes up to frame 30. What I want is.... that no matter what button you press, it will play up to frame 30, but then (depending on what button you pressed) will go to another scene. Eg. If I press button 1, the movie will...more >>

Rollover Issue with Mouse Detection
Posted by rtrdogs at 3/31/2005 4:34:04 AM
Flash MX newbie here with two quick questions (I hope!). I have a button that is like so (with several spaces in between each element): GRAPHIC Word1 Word2 NUMBER 1. I want the mouse to recognize the whole line as a button. Right now, you have to hover your mouse direct...more >>

Question regarding LoadVars();
Posted by GKFC at 3/31/2005 4:33:29 AM
Hi, Does anyone know if Flash uses MSIE 6.0 to send it's requests? I'll expand upon this issue later but just wanted to get a quick answer regarding the above. Cheers, G....more >>

duplicateMovieClip gotoAndPlay Frame - Error/Bug
Posted by Mr Bridger at 3/31/2005 4:18:57 AM
Hi peeps, Has anyone got an ideas on this error/bug i'm getting. I've tried everything, looked through as many posts as i can to try find an answer, but no luck yet. It's really starting to get to me now, it should be so simple! Basically, I'm duplcating a movieclip which is off stage, ca...more >>

Hittest
Posted by davidprovost at 3/31/2005 2:19:41 AM
What script would I put in the main timeline for a hittest function...so that when a certain object hits another object somehin happens......more >>

Making a mc move using key functions...
Posted by davidprovost at 3/31/2005 2:15:47 AM
Say I have an mc named man, and when I press, a, s, d, or w I want him to move, left, right, down, and up. What code would I put in the main timeline (not on the man) to make him move around?...more >>

target duplicated mc's
Posted by ewok781 at 3/31/2005 1:49:56 AM
(bare with me only venturing into intermediate AS) OK! building a spaceship game where you have to blow up enemy fighters. The enemy fighters are duplicated off a mc with the instance name of 'enemy1'. The following code is used for (i=2; i<=numEnemy; i++) { L1.enemy1.duplicateMovieClip('en...more >>

Button Functions
Posted by davidprovost at 3/31/2005 12:12:06 AM
When writing script for a button to goto and stop on something its something like button.onRelease = function(){ gotoAndStop(2); } what would be the script to telll a button to tellTarget('whatever') to go to and play something....i know u can add the code directly to the button and it would b...more >>

Rubik's cube ... in ActionScript
Posted by David Stiller at 3/30/2005 11:58:52 PM
Not a question, just an amazing example of ActionScript. You can play with the cube, or scramble it and watch the thing *solve* the puzzle. (Not my work. Wish it was!) http://ericlin2.tripod.com/skew/rubicGame5.html David stiller (at) quip (dot) net "Luck is the residue of g...more >>

flowing dynamic text across multiple text fields
Posted by mattmuller at 3/30/2005 10:46:22 PM
Hi has anyone done this, I want to create a wrap effect to wrap dynamic copy around images, magazine style and do not want to scroll, Ive looked at using maxscroll > 1 but dont see a property to get the number of visible chars so that I know where to break it and continue the copy into txtBox...more >>

detecting if a sound is playing
Posted by ShaneHoffa at 3/30/2005 9:59:45 PM
I have a sound playing that I play useing actionscript. How do I detect if it is playing or not? Thanks, Shane this.createEmptyMovieClip("mcSoundHolder", this.getNextHighestDepth()); var sndAudio:Sound = new Sound(msSoundHolder); sndAudio.attachSound("mySound"); sndAudio.start(); ...more >>


DevelopmentNow Blog