Psst! Did you know DevelopmentNow is a mobile web site design agency?

Contact us for help mobilizing your site, or to sign up for our beta Mobile Web SDK!


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 > april 2006 > threads for monday april 24

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

altering text color dynamically
Posted by jak418 at 4/24/2006 11:52:13 PM
hi I searched the forums and found a few people have asked this question before, but no one answered them it might be impossible, but i'll ask anyway Is there a way to change the text color of a certain part of a text field using the setNewTextFormat function? I'm trying to create a fu...more >>


addressing nested objects
Posted by aa at 4/24/2006 10:58:42 PM
I have a movieclip in a library called "menu_item_assembly" (which is empty) as well as two other clips called "red_ball" (picture of a ball) and "display" (dynamic text field) Then I populate "menu_item_assembly" using code: attachMovie("red_ball","red_ball",1) red_ball.attachMovie("displa...more >>

dynamic textboxes
Posted by Jimmathy at 4/24/2006 10:20:51 PM
I can't figure out how to make it so that when a user types into a text input box and presses enter that the text appears in a dynamic text box for about 3 seconds and then disapears. Also if it is possible, have it only appear in the text box if it is under about, say, 50 letters long. please...more >>

URL in flash both from hardcoded and parameter
Posted by prgiceland at 4/24/2006 9:55:12 PM
Hi! We are creating a flash player for ringtones, and obviously we want to hide the main part of the URL within the flash file itself. First can you modify this line so that it reflects this: if(_root.file) { var file:String = _root.file; } else { var file:String = "sound.mp3"; } and a...more >>

Trouble with duplicated movie clips
Posted by Oni RAMEN at 4/24/2006 9:35:09 PM
I am trying to develop a simple application which allows users to scroll through the timeline to see a new duplicated movie clip on each new frame. I have two scroll buttons, left, and right. left has prevFrame(); attached to it, and right has nextFrame();. Basically, I have a movie clip, of s...more >>

Mac OS X Dock Menu
Posted by icarusdown at 4/24/2006 9:13:21 PM
I found this nice Mac OS X Dock Menu effect on http://laco.wz.cz/tween/?page=examples (the second example from the top), the thing is, it only works when it is published for flash player 6??? can someone take a look and tell me why it doesn't work when it is published for flash player 7 or...more >>

SendAndLoad data retrieved, but unevaluatable
Posted by HuntressRush at 4/24/2006 9:12:22 PM
Hello all, sorry if this is a repeat, I did not find a similar post in an 1/2 hour of searching I'm using sendAndLoad, everything seems to work fine in that I get all my variables and can trace them and put them in text fields. When I try to evaluate them or convert them to numbers, its lik...more >>

Frameset on Mac
Posted by LaurelRose at 4/24/2006 9:10:39 PM
Here is the URL: http://www.alvinsflowers.com/index2.html The site is a frameset of top and bottom. The top menu buttons in the top frame open up new pages in the bottom frame. It is not working on Mac. The framesets are named topFrame, and mainFrame. The getURL in Flash looks...more >>



Buttons...
Posted by chris_knows at 4/24/2006 8:53:38 PM
I've recently purchased Flash Professional 8.0 and I'm working on a project, but I need to make it so that a button (gas pedal) is clicked and a movie clip of the RPM needle moving starts, and when the button is released the needle slowly goes down...Could someone explain this to a total noobi...more >>

clear interval
Posted by fahnesjh at 4/24/2006 8:09:44 PM
I've ran into a snag with clearing an interval when certain parameters have been meet within the function that the interval is calling. It won't clear. It will clear when I put the function on a button or something and I get a trace when the parameters have been met, so what is up? Anyone ...more >>

clear interval
Posted by fahnesjh at 4/24/2006 8:09:21 PM
I've ran into a snag with clearing an interval when certain parameters have been meet within the function that the interval is calling. It won't clear. It will clear when I put the function on a button or something and I get a trace when the parameters have been met, so what is up? Anyone ...more >>

Calling Images & dynamic text not incrementing
Posted by ShootingStar at 4/24/2006 8:00:18 PM
Greetings: A second set of eyes here would be helpful. I am calling external images and test files from a subfolder in my Flash folder. For some reason only the first image and text file are showing up. Help and/or suggestions appreciated. Code below: --------------------------------- onE...more >>

Listener Naming
Posted by fahnesjh at 4/24/2006 7:51:20 PM
I have a for loop that places external images, each image is loaded with a move clip loader that is created each cycle. I set them up generically like you would for the move clip names. var ListenerName = "LName"+i var mcLoaderName = "MCload"+i // It works if I do this or just use the sa...more >>

Continuous Play Video CD
Posted by amspeidel at 4/24/2006 7:39:08 PM
Hi all, This issue may have been already addresses, but I can't find reference. Anyway, I have a video CD with nav on the left. The user clicks on the section of the CD they want to view, and the video begins to play. Now, the client is requesting the CD be self-running, so when one FLV is f...more >>

HTML Form converted to Actionscript problem.
Posted by PayBas at 4/24/2006 7:33:03 PM
This is my HTML form that I have been trying to reconstruct in Flash 8 Pro. <form method="POST" action="http://nonsense.html"> <input type="hidden" name="action" value="create"> <input type="text" name="user"> <input type="password" name="pass"> <input type="text" name="email"> <i...more >>

Input text fields
Posted by hutch-diggens at 4/24/2006 7:19:14 PM
I am trying to make a request page with a few input text fields and I am having troubles coding them.. Does anyone have any suggestions thanks, hutch...more >>

Theoretical question
Posted by mballom3 at 4/24/2006 7:14:14 PM
Hi, I am trying to build a quizz game, where i show a picture to the player, they have to guess where on the picture i have made some changes (ex a house where i removed on window etc). To achieve this, i simply record the coordinates of the spot where change was applied. When the player c...more >>

removing movie clip
Posted by weanderson at 4/24/2006 7:10:38 PM
I have a "content_mc" on the main timeline that is created by .attachMovie (). Inside the "content_mc" i have a button that I would like to close (removieMovieClip ()) the content window. Here is the code I have. Maintimeline: function buildContentBox () { this.createEmptyMovieClip("con...more >>

Text Arcing in flash tool
Posted by jjco at 4/24/2006 6:29:18 PM
we are trying to make a flash tool that is similar to the one that is found at uberprints.com they allow you to put a tshirt in the tool and then add text and images when you add text there is a feature that allows you to arc the text. does anyone know the code for that ...more >>

ExternalInterface.addCallBack
Posted by ChrisMelvin at 4/24/2006 6:20:42 PM
In most cases, I get the following: ExternalInterface.available returns true while ExternalInterface.addCallBack returns false As I must have JavaScript to/from ActionScript to make my website work, I instead I used SetVariable and played the Flash movie. This techinque works on comp...more >>

flash and submitting text to database
Posted by macron at 4/24/2006 6:13:57 PM
hi all, i've been asked to make a flash site with a component on it that uses a form to submit text to a database on the server. knowing nothing about forms or back end stuff, i'm wondering where to start. is this something that will require SQL? and do i use actionscript to submit the...more >>

Automatically retrieve date
Posted by majonsey at 4/24/2006 5:38:11 PM
The user must fill in the date in a specified text field, but it would be nicer if I could have it retrieve the current date that the flash page is accessed and put it in the text field automatically. Is there a way to do this? Is there a certain command that retrieves the current date? I've...more >>

Global array - doesnt work, then does
Posted by Andy Williams at 4/24/2006 5:09:18 PM
I have a global array on a movieclip that passes info to a function in the first frame of its slide. When you mouse over the MC the info for the array comes back as undefined, but if you mouse over a second time the function gets the correct info. I'm guessing that it must be order of events o...more >>

getURL not working off CD
Posted by BristowJoe at 4/24/2006 4:32:52 PM
I have this simple code on a button and all seemed to be working well until I cut the movie to CD. From the CD I click on the button and nothing happens. I am not sure what additional information to provide so please ask me for the whatever you may need to assist. Thanks in advance. on...more >>

generic loader freezing animation
Posted by nak5ive at 4/24/2006 4:23:29 PM
here goes... I have written a few class files to handle movie clip loading into the flash movies that i author. one of which is a generic loader that holds a loading queue, another is a listener for a MovieClipLoader that has been initialized in the class file. here is my problem... I ...more >>

Using setTimeout to call an imported class function
Posted by DuhChamp at 4/24/2006 3:42:57 PM
I'm trying to call an imported class function using the setTimeout method. Here is what my code looks like now: setTimeout(myTex.getAction, 5000, seat); It is not working, though. Anyone know how this should look? ...more >>

parsing a partial XML list
Posted by BanComicSans at 4/24/2006 3:42:22 PM
Ok, so I have a news section on a site that looks to an XML file to load the news. And there are about 20 news headlines in there, and the scrollbar is getting way too tiny. So, what I would like to do is have it display 10 of the headlines and then stop, but I will have a button to open an ar...more >>

I got a question
Posted by hollywoodbb at 4/24/2006 3:38:24 PM
Kglad are you based in usa?...more >>

Required Fields
Posted by majonsey at 4/24/2006 3:35:17 PM
I am trying to have certain text fields be required to be filled in by the user, and if they do fill them in, then they should be taken to 'question1' frame. If they do not fill in all the fields, they should be taken to 'redirect frame.' This is my code: on (release) { if (_root._req...more >>

ACTIONS IN FRAME
Posted by xJaNx at 4/24/2006 3:35:04 PM
i have an MC on frame 1 i have the same MC on frame 5 what i need to do is script it out so that i can have it fade from 0 opacity in frame to 100 opacity in frame 5 this is what is in the actions frame a_mc._alpha=1; but now i just dont know how to code it so it will fade in comple...more >>

Making a complex button with the Tween class...not sure why this isn't working.
Posted by Scruffpuff at 4/24/2006 1:57:32 PM
Hi all, I'm trying to make a button which scales up on rollover and scales down on rollout and I wanted to use the Tween class to do it because I'm going to be making a bunch of these buttons and I want the code to be as efficient as possible. So right now I have a circle in a movie cl...more >>

Besoin d'AIDE !!!
Posted by a.oxygene at 4/24/2006 1:40:23 PM
Alors voila, j'ai un trombinoscope anim?; en fait a chaque fois deux photos tournent ensemble et les animation sont faites en separ?es (une par photot) et je voudrais que lorsque ma souris passe sur une photo celle-ci s'arrete et a cot? apparait une phrase; Le truc c'est que je n'arrive pas a ...more >>

Tree Componet Help
Posted by bluesquid at 4/24/2006 1:13:46 PM
Hi, Is there any way to open nodes in a tree component through scripting.It should work just like when we use arrow keys and tab to traverse through the tree. Please help,...more >>

Preloader not working from server
Posted by aniebel at 4/24/2006 12:07:06 PM
Is there anything I should change about how I'm targeting instances? Here is my code on the same frame as the MC I'm loading: this.createEmptyMovieClip("audioHolder_mc", 1); this.audioHolder_mc._x = 590; this.audioHolder_mc._y = 180; //PRELOADER var mcLoader:MovieClipLoader = new Mov...more >>

help me
Posted by Abyu at 4/24/2006 11:41:30 AM
:( HI, friends iam new to flash i am Not familiar with actionscript can any say what is command for exitin flash that is when i click the button we should exit what is code for it ? please say me mail to abyu.kishore@gmail.com ...more >>

dynamic drop shadow
Posted by Richard Ragon at 4/24/2006 10:16:20 AM
Does anyone know how to create a dynamic drop shadow? It's accessed using the dropshadown method on the flash.filters. var myDropFilter = new flash.filters.DropShadowFilter(); Ok, but how the heck to work it? The reason is that I've created a fully XML dynamic drop down menu system (lo...more >>

Dynamically creating cuepoints at RUNTIME.
Posted by Christopher Hayes at 4/24/2006 9:44:35 AM
I'm working on an application that I want users to listen to an audio file and be able to create a cuepoint while listening to it. I know I can manually enter in cuepoints, but I want to do them programatically. Anyone have a suggestion? I haven't looked at the Flash debugger much yet, ...more >>

createClassObject 's problem! help!
Posted by emicky at 4/24/2006 3:04:26 AM
Flash 8. status1? draw a figure at root stage, change it to MovieClip. at frame 1 of this movieClip: /// import mx.controls.Button; this.createClassObject(Button, "button2", 5, {label:"Test Button2"}); button2.move(100, 100); this.createClassObject(Button, "button3", 6, {label:"Test ...more >>

Help ... path loading problem
Posted by diork at 4/24/2006 2:13:03 AM
hi all, have u ever experience this problem? I wrote a swf which loading bunch of external files (swf that contains sound file) like below: function soundSetup() { for (i=1; i<=numItem; i++) { for (j=1; j<=subItem; j++) { var obj = eval("core.set_"+i+"._"+j); str = "1_2...more >>

loading a movie to a particular frame of that movie
Posted by gse at 4/24/2006 1:25:13 AM
hello all, i am trying to load a movie and make it stop at a frame number 3, so i am using this script on (press) { loadMovie("pressLarge.swf",_level2.gotoAndStop(3)); } so i would load my movie presslarge.swf on level 2 and make it stop at frame 3 of that movie, what am I doing wrong?...more >>

setInterval or setTimeout returning values
Posted by DuhChamp at 4/24/2006 12:33:41 AM
Is it possible for setTimeout or setInterval to use functions that return values? If so, how would it look code-wise?...more >>

LoadVars() w/ Dynamic Text
Posted by beevyarr at 4/24/2006 12:00:00 AM
OK. My text file is: Who_txt=<HTML><BODY> yadda yadda </HTML></BODY> First frame code: --- var txtWho_lv = new LoadVars(); txtWho_lv.onLoad = function() { who_txt.htmlText = Who_txt; } txtWho_lv.load("../folder/folder/Who.txt"); --- When tested, I am only getting the followin...more >>

controlling the time/loop of an if statement
Posted by complexity at 4/24/2006 12:00:00 AM
Hey all I have a basic if statement that is looping, now no matter how many frames I put the script across in my timeline when it repeats itself it messes up the animation that it is telling to come on. (obvisouly telling it to go back to the start) Where should I put the if statement ...more >>

Text arrays (variables) and Dynamic Text Box
Posted by kaboom862 at 4/24/2006 12:00:00 AM
Hello everyone. I have a text file (let's call it sample.txt) that has numerous variables or arrays in this format: &info=This is some information &stuff=This is more stuff &whatever=Even more stuff again.... Anyway, I need to load a particular variable via individual buttons from thi...more >>

moving things
Posted by thedecline at 4/24/2006 12:00:00 AM
Hi there, I'm using Flash MX, and I got four circular buttons side by side. And when rolled over one, others move aside. I can make this using motion tweeds and stuff. But Just to reduce he movie size and make the controls easier I'd love to do the same thing using action scripts. I got too ma...more >>

XML not Loading
Posted by Barjas at 4/24/2006 12:00:00 AM
i did a small flash application that loads XML from an external domain the xml data is coming from: http://beta.search.msn.com/results.aspx?q=keywordz&format=rss the problem that the XML is not loaded when running it in an html page.. (there is no problem upon testing in the Flash 8 ...more >>

Small ActionScript 2.0 Email Validation Class
Posted by FlashMX.US at 4/24/2006 12:00:00 AM
Hi All, i am not sure if there is a similar thread posted already (i couldn't find one). This is a new class i just put together for a commercial project and i fugured it would be useful for anyone who needs simple email address validation. Its very small (2kb) and appears to be working p...more >>


DevelopmentNow Blog