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 wednesday april 19

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

how to get fps of a movie clip?
Posted by bhu vidya at 4/19/2006 11:10:21 PM
a bit of a newbie question how do i find the fps of a movie clip in actionscript? cheers bhu...more >>

Hopefully simple question - control mc on frame 10 from root
Posted by ACB at 4/19/2006 9:25:06 PM
I have a movieclip (instance name 'animation') that is ten frames long, each frame is a keyframe containing a single PNG. This movieclip has a stop on frame 1 and frame 10. With an onPress event handler on another movieclip I am calling the movie of 10 PNGs to play forward or reverse depen...more >>

dynamic creation of classes
Posted by bhu vidya at 4/19/2006 9:11:44 PM
hi there i was wondering if it was possible to create an instance of a class (AS 2.0) at runtime, given just a string value for the class name eg, my first attempt was something like var class_str:String = "MyClass1"; var inst:Object = new eval(class_str)(); now, "eval(class_str...more >>

Uploading an mp3
Posted by bob3546 at 4/19/2006 8:39:54 PM
I need a program that will upload an mp3 file and then display the name of the file in a text box. Also, I was wondering how to create a list that will display a series of these names. If this will help, I have a button with an instance name of uploadbtn. This starts the upload. The text b...more >>

Return proper class name with typeof?
Posted by jonwillis at 4/19/2006 8:24:27 PM
When I perform a typeof on any of my custom AS classes, it returns "object." What property or method do you have to add to your classes in order to return a valid type name (for instance, "com.my.classes.ClassName" or just "ClassName")? ...more >>

Dynamic Text w/ Hyperlinks
Posted by clue<0 at 4/19/2006 8:16:15 PM
OK, here's a fun one. I'm importing text as to be read as html with the following text file. --- SoCal_txt=<HTML><BODY><p>Southern California </p> This Guy ? Principal 123 Address This Town, CA 92666 Phone: 555-555-5555 Fax: 555-555-5555 Email: <a href="mailto:t...more >>

can you *copy* a recordset?
Posted by sneakyimp at 4/19/2006 7:23:36 PM
I'm using flash remoting to retrieve a pretty large data recordset from my server. Then, I'm displaying that recordset on two different datagrids which have to be able to sort the data independently. If they use the same recordset, then sorting one will sort the other. I currently have ...more >>

Drgging Blocks, No Overlap (Best Way)
Posted by discb at 4/19/2006 6:54:14 PM
Hi, I have blocks with letters on them (Movie Clips) and I want to be able to slide them up, down and sideways in order to make a word, But I don't want them to overlap each other as I'm sliding them. they are named, LetA...LetB...LetC and so on untill LetZ. Sort of like you need to move on...more >>



movie clip within movie clip difficulties
Posted by Edward Bull at 4/19/2006 6:53:19 PM
Hi there, i have a movie clip animating on roll over and reversing on roll out and i have some more movie clips on top of this being used as buttons, when the mouse rolls over these buttons the first movie clip reverses, i presume this is because the mouse is not in fact on that movie clip but...more >>

Evaluating a string variable
Posted by Owned1Up at 4/19/2006 6:46:08 PM
I am trying to loop through some text boxes I have named txtN0, txtN1, txtN2, etc. But I am at a loss of how to do so. I assigned cubeBox as a variable to hold a string named txtN0... but it doesnt seem to want to use it in _root.names_mc.cubeBox.htmlText. It ignores the line completely. Could...more >>

setting variable on load in a loaded clip
Posted by CastTen at 4/19/2006 6:33:34 PM
Hi, how can I set a variable on a load event. In my case both variables don't get into the loaded movie. Is it because I use lockroot inside the movieclip? onClipEvent(load){ if (this.getBytesTotal() < 1000){ sitemap = "navi2.xml"; this.loadMovie("navi.swf"); }else{ sitema...more >>

Is this done with filters?
Posted by aniebel at 4/19/2006 6:28:44 PM
http://adobe.com/products/indesign/main.html http://adobe.com/products/illustrator/main.html I'm talking about the way the bitmaps fade in. How did they achieve this? Several layers with gradient masks or some filter? ...more >>

Dynamic Text w/in a movieClip
Posted by beevyarr at 4/19/2006 6:13:57 PM
OK, so simple test I loaded a text file on the first frame of my movie: LoadVariableNum("Houston.txt", 0); This text file begins with Houston_txt="yadda, yadda..." Then I created a text field: rep_txt this text field is dynamic, variable is vRep_txt. First tests with button actions ...more >>

_rotate not centering
Posted by Phomari7 at 4/19/2006 6:04:15 PM
I have created a movieclip in AS. It is centered on the stage and its parent mc. When I rotate it, it is clear that it is rotating around some origin point not in the center of my stage. How can I rectify this? How do I know what point a mc will rotate around? Many thanks for resp...more >>

Problem with getting a variable to display proper value
Posted by DuhChamp at 4/19/2006 5:42:58 PM
Ok. So now I have the proper value stored inside of my class variable, but when I use my getRules() function, it returns an undefined. The only way I can get it to return the proper value is to use it inside an onEnterFrame = function() and then trace it out each frame, but I only want to tr...more >>

guest books in flash sites
Posted by batgirl_Sa at 4/19/2006 5:32:23 PM
how do i put a guest book in my flash site... is there anythign ready made out there??? thanks...more >>

loading a new page, with same swf file..
Posted by micheal_newby at 4/19/2006 5:30:03 PM
Hello, Does anyone know or reconize this problem? I have a html page with an swf file in it. It is a movie that plays from keyframe 1 to 30. In this movie i have a button that tells to go to keyframe 40. This swf file is placed in more html pages at the same position so it looks ...more >>

it's about "get URL" problem
Posted by I_am_Ryan at 4/19/2006 5:20:16 PM
:( I have a urgent problem. My english not good, hope everyone can understand what i said... well, i have made a flash icon for other website show out... when other user click that icon it should be link to my website. so i added the code as the follows. ---------------------------------...more >>

using the same actionscript on many items?
Posted by Andy Williams at 4/19/2006 5:01:01 PM
I am a very very big noob when it comes to actionscript. I have designed a few things adding behaviors to items and screens, but just dont understand actionscript. What I am wanting to do is use the same action script on many items. I have many 'buttons' on a page that I want to all act th...more >>

Custom Accordion
Posted by sean-o at 4/19/2006 4:42:44 PM
Hokay so... I'm creating a menu nav using an accordion component and have a couple questions about customizing the look. First Issue: I need each main menu item to be a different color but I can't seem to use the color property in the initObj param or by using setStyle() on the header onc...more >>

external text formatting hell!
Posted by raverdx at 4/19/2006 4:26:46 PM
I have text loading from an external UTF-8(also tried saving as UNICODE and ANSI) text file into a dynamic flash text field. the text loads fine, but the formatting of the text file doesnt match what shows up in flash. Whenever i edit and hit ENTER in the text file flash displays it as double ...more >>

Loader start at 90 %
Posted by binary_manee at 4/19/2006 4:24:30 PM
I have a flash file in which there are aroung 175 layers on main time line, Now when flash file load, initially doesnt seems and after some times loader shown with 90 %. i dont know what is the problem. Someone tell me to keep all frames into one single movie clip so loader will see only...more >>

Draggable buttons
Posted by iConvict at 4/19/2006 4:03:23 PM
Hello, currently I'm working on a draggable movieclip and in it I want button that will open a new window. The movieclip is tweended and follows a path (circles). The button moves along inside the movieclip and that's why I made a graphic out of the whole item inside the movieclip. ...more >>

DataGrid
Posted by Harbourton Mortgage at 4/19/2006 3:54:00 PM
Here's the deal, I'm using datagrids throughout a broker application in order to save space. In some parts of the application the user needs to provide multiple data such as states they are licensed in, license numbers, exp dates, etc. I have a datagrid set up so they can add as many rows as n...more >>

HELP ASAP - external swf's
Posted by Travman at 4/19/2006 3:29:36 PM
HI, we have a situation which has done our heads in for two days non-stop, We have a pre-loader loading the area's and then have the loadmovienum to load in additional swf's now when we use the nav bar at the top of the page, it opens the right file but when it loads the page it moves onto t...more >>

Generationg JPG file from Flash Movie (in script)
Posted by babo_ya at 4/19/2006 3:06:39 PM
Somehow, I need to able to create a JPG (From Movieclip) and save it in somewhere in script(When user presses a button) Is this possilbe? if not any other way? for example incorporate Fireworks or PhotoShop? I don't know. Please anyone!! Help me. ...more >>

Assign a function to multiple buttons
Posted by quethenoo at 4/19/2006 3:01:49 PM
Can i assign a function to several buttons at once? Like this but working obviously: this.rightPanel.busBut0.onRollOut, this.rightPanel.busBut1.onRollOut = function(){ fadeButOut(); trace("trying to fade"); } Cheers chris ...more >>

message of failed load
Posted by gdmt at 4/19/2006 2:43:06 PM
hi everybody! well, i got this code... and i'd like to personalize it more... 'cause it shows a message only if .css file fails... what about the .htm file, how can i do it? it could be better if someone knows the way the make a link in the "load failed message" to load again those files.....more >>

Listning radio in flash?
Posted by Pluda at 4/19/2006 1:57:29 PM
Hello, I've Flash 8 pro, and one client asking me to build one radio stream. Is this possible to do in flash? Can you point me to some how to, some tuturial to something that can help me untherstand what it will be needed to build this app? Many thanks, Pluda ...more >>

Movie Clip mouse drag at angle
Posted by audiotek10 at 4/19/2006 1:45:02 PM
A have a working fader. I can make it move up and down and give a value 0 - 100. This works great. I would like to have it move not up and down but at about 30 degrees. I have tried using motion tweens but i think they only work when you're doing a pre made animation. I can change the X and...more >>

Calling another Swf File in a swf file
Posted by amithjnt at 4/19/2006 1:17:34 PM
I m tryong to Call another Swf File in a swf file through Localhost but its not running properly..... I have given script on press.... on(press) { loadMovieNum(http://localhost/games/blackjack.swf,0); } is there any problem due to Localhost or should be any other script on b half ...more >>

Sending email with gertURL
Posted by Martutty at 4/19/2006 12:50:55 PM
I created a button to send an email. As I usually work on Mac I didn't have any problem, but the client called me to say that the button doen't work, and it do not work on windows if he has installed the outlook express. Does anyone Know how to do this. Is there another way than getURL(mailto:...more >>

Saving XML to a local text file
Posted by JesperBisgaard at 4/19/2006 12:12:08 PM
Hi, Can anyone tell me of a method i can use to save XML to a local text file in the same directory as my swf file? Jesper...more >>

loading two different movie clips in an interval
Posted by Greg Wilker at 4/19/2006 11:47:07 AM
So far, I've created a loader swf that just has the action script below in the first frame. I do not get a script error, however, it is not loading the wanted swf files either. I think it is because I do not have an action to load - I've created a variable with the loadmovie and then an ...more >>

Class Discussion (AS 2.0)
Posted by Marghoob Sulemaan at 4/19/2006 4:25:07 AM
How to access the stage movieClip objects from the class? I want to set the text value of a textBox called 'myLable_txt' from the class file. Please help....more >>

Unabe to get startDrag to work as desired
Posted by Jadeivy at 4/19/2006 1:32:37 AM
O.k. - Issue... I want to confine this to a menu area of the screen... myMovieClip.onEnterFrame = function () { startDrag(this,true,20,0,300,0); }; This actually ruins all other mouse funcitons on the screen and provides an error: **Error** Symbol=InterfaceMain, layer=MouseCons...more >>

Loading Variables in a Class Function
Posted by DuhChamp at 4/19/2006 12:48:51 AM
I am having problems loading variables from an external text file inside of a class function. The text file has been created properly, and the code that I use in the class is as follows: _root.createEmptyMovieClip("texRules", -100); loadVariables("texRules.txt", _root.texRules); m...more >>

load movie and make clickable
Posted by codescodescodes at 4/19/2006 12:44:40 AM
Hi everyone. I'm having trouble loading a movie into a movie clip and making it clickable. I'm not sure if this is even possible. Here's my code: // I have a movie clip on the stage with the name pictureHolder_mc. pictureHolder_mc.loadMovie("picture/imag1.jpg"); pictureHolder_mc.onRel...more >>

Flash communicating with .html frames ?
Posted by EBagg at 4/19/2006 12:37:43 AM
Ok basic .html page set up, three frame layout, the left frame has a flash .swf embedded that is the menu. What is the simplest and fastest way to actionscript/javascript etc etc in order to allow the flash buttons to cause the .html in another layer to change. Is there a quick solution to thi...more >>

Detect if a level/MC is empty
Posted by davepla at 4/19/2006 12:00:00 AM
Hi: Is it possible to know if a level/MC is empty before loading a movie into them? Thnkas in advance, David P....more >>

How to resize stage dynamically according to the screen resolution
Posted by Debamoments at 4/19/2006 12:00:00 AM
Does anyone know any technique by which I can give a flash movie behaviors like a html table. I want to resize the flash movie according to the resolution without compromising image quality and size. In other words I want my flash movie behave like a html table with 100% width. Can w...more >>

"XMLConnector.URL = variable" problem
Posted by PayBas at 4/19/2006 12:00:00 AM
Okay here is the deal. Situation: Using Flash 8 with XMLConnector, DataSet and DataGrid components. XMLConnector with instancename: myXMLConnector I want to let the URL for the XML file be defined in an external text file system.txt The textfile looks like this: &xml_location=C:/...more >>

how to capture events for movies before they load
Posted by sneakyimp at 4/19/2006 12:00:00 AM
I'm looking for some advice from an experience action scripter here....am i going about this the right way? i have a MAIN.swf that has two movie placeholders on it, MC1 and MC2. Depending on the context, I load different SWFs into MC1 and MC2. They are usually datagrids and stuff. In on...more >>

Use variable in target path
Posted by quethenoo at 4/19/2006 12:00:00 AM
Hi Im sure this is no sweat for a lot of you guys but as im new to using arrays and stuff its still escapung me. I nees to use a variable as part of a target path inside a for loop so it populates a series of dynamic text boxes with instance names busName0, busName1 etc. can this be d...more >>

If Statement Bug
Posted by SherazIqbal at 4/19/2006 12:00:00 AM
I have been trying to compare a _y property of movie with a number which ends with .6. But the if statement doesn't work. The movie has no realtion with anyother code. But if I change the decimal point to any other number e.g .5 or ..4 it starts working. Is this an IF statement bug or I'm doin...more >>

quitting the flashexe
Posted by huuhuu at 4/19/2006 12:00:00 AM
hello everybody, quitting the flashexe without a button... i mean when the playhead is some frame for example number 50, then exe should quit. i tried fscommand("quit"); without results...so someone could help?....thanks ...more >>

Subtitles ontrolled by cue points in flv
Posted by Turisten at 4/19/2006 12:00:00 AM
Hello I'm makeing a videoplayer for a company - they need to display numerous subtitles at specific time in a flv-movie. I would like to use cue points containing the subtitles and a function to display them in a textarea. Is there any good tutorial on this issue. /Tejs ...more >>

list component turns white on first load
Posted by rudgr at 4/19/2006 12:00:00 AM
Hi, We're using a list component that gets populated with list items from a xml file. When the list component is loaded the first time it turns completely white (we're setting backgroundcolor using setStyle() and it seems that the listitems don't get loaded or there's just a white sur...more >>

Dynamic Text and HTML/CSS troubles
Posted by allAboutFlavour at 4/19/2006 12:00:00 AM
Hey all, Old skool developer here just got back into Flash after abandoning it for various issues. Seems like the first thing I try is giving trouble. I link and external HTML file using a CSS into a dynamic text field which works quite well. HOWEVER, if content that is linked ( <a></a> ) ...more >>

URGENT !! HELP NEEDED
Posted by 13 Nello at 4/19/2006 12:00:00 AM
I have a movie that works out a formula and generates a number based on another input entered by the user. Uptill now it works fine. What I want now is to have another input field, where the user enters the number (the automatically generated number) into it. The script has to compare the gene...more >>

Random Ball Rotation
Posted by amithjnt at 4/19/2006 12:00:00 AM
I created a movieclip through actionscript and loading the images randomly. When I use one movieclip with alreadly loaded images and rotating it , using the properties given in the movieclip. It is working finely. But in the same movieclip if I try to load another image in the same movi...more >>


DevelopmentNow Blog