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 thursday february 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

Scroll Text with mouse over
Posted by leighRing at 2/24/2005 11:52:11 PM
How can I make the contents of a text box (that includes buttons within the text) scroll up and down with a mouse over action?...more >>


Passing Variables To Loaded SWF
Posted by =Slayer= at 2/24/2005 11:42:43 PM
Hey, I have a main swf file which loads a seperate swf into the stage using the loadMovie() script. How do you, if it is possible at all, pass variables to that new swf file? Thanks...more >>

Copy & Paste
Posted by TX IMAC at 2/24/2005 11:17:50 PM
:confused; I am using Flash MX 2004, on an Imac G5. I am trying to Copy & Paste code in ActionScript, I am following a lesson in Studio MX Book, it says to copy & paste, but it won't work. What am I doing wrong? ...more >>

Change BTN frame with AS?
Posted by ONE_MASTERT at 2/24/2005 10:58:18 PM
is there a way to do this? I know there is a way if you change it to a graphic and say stay on that frame but i need it to function as a button still...more >>

Dissapearing MC......
Posted by bderber at 2/24/2005 10:33:30 PM
In my fla I establish a movie clip at level -1500 off the root to hold no more than a color fill created using the drawing API. this way I can change the background color of the swf at runtime. It works great - until i return to a screen I have been at before, and suddenly the mc with the b...more >>

How do we go into a movie and move playhead
Posted by paul-dall at 2/24/2005 10:19:27 PM
Hi! I want to assign action script to a button so that it will go into a movie clip on the present stage and move the play head to a specific frame. I know its something like this.. on (release) { gotoAndplay("movieclipname", 2); } Paul ...more >>

Dynamic text field in the mask?
Posted by juan gringo at 2/24/2005 10:06:34 PM
Hello to everyone, excuse my question, it might be some basic one but: Is it possible to put a dynamic text field into a mask? I use MX and I tried hard to figure out how to do that but without any success ... there still blank field ... Does anyone know? Thanks for any help. juan ...more >>

Private arrays in a class changing across all objects
Posted by Raldon at 2/24/2005 9:46:30 PM
:confused; Hope someone can help with this OOP problem which is really confusing me! I've created two private variables in a class - a number and an array. I've created accessor methods to set and retrieve data for both of these. The number variable works fine, and each instance of the class ...more >>



scratch off help!!!!!!!!!!!!!
Posted by ToffeeCrisp at 2/24/2005 9:33:12 PM
someone was kind enough to point out this .fla example to me earlier on: http://www.flashfugitive.com/scratch.swf http://www.flashfugitive.com/scratch.zip now this is the action script below. the actionscript creates an empty movie clip which i understand to be the green color which y...more >>

[fla mx] fonts in dinamic txt fields dont appear
Posted by Yamid
Hi flashers, I, ve been using the dinamic text fields to display diferent kinds of things like numbers or song titles dinamicaly loaded, but when I see those works in a pc different to mine the dinamic text fields are displayed in their default pc fonts. Why this happend?, how can I embeb...more >>

Stop Cache
Posted by imanru at 2/24/2005 9:11:22 PM
I got a question, are you able to stop the site user from storing the swf file? any help is welcome thanks....more >>

can you distort/transform shapes with actionscript
Posted by Budonk at 2/24/2005 9:05:29 PM
Put simply, I am trying to create a movie in which a series of rectangles move around the screen and are distorted to random shapes and then back to the original. I know I can do this with tweening in the timeline, but the shapes will represent dynamic content, so it must be done through AS. ...more >>

textArea - making background transparent?
Posted by smplgy at 2/24/2005 8:31:41 PM
I am trying to make the background of the textArea component transparent. Does anyone know the property I can call to do this? Here is what I have so far... _______________________________ this.createObject ('TextArea', 'body', depth++,{_x: 187.3, _y: 192.3, _width: 491.9, _height...more >>

Create dynamic textfield and set value to them
Posted by sadeghi.reza at 2/24/2005 8:10:40 PM
Hi , I want to get an array from external source such as DB or Text File or Mail Server and show them into a table that i have access to all rows and columns , In fact i want to create some text field and then set the ._x , . _y and .text properties for each text field, Thanks , ...more >>

embed actionscript in a string and then execute it?
Posted by grayooze at 2/24/2005 7:38:40 PM
Is there a way to embed actionscript in a string and then execute it? I want to do something like this: var script = "function foo(){var x=10; trace('foo '+x); return x;}; foo();"; eval(script); ...more >>

Media components audio
Posted by Action B. at 2/24/2005 7:20:24 PM
Are flv files supposed to have audio? Using 2004 Pro with Media Display, or Media Playback - I went through the motions of importing an mpeg, embedded and then exported the file as an flv. The video is conveniently located outside the swf for a small projector size. When the proje...more >>

drop down menu. pulling my hair out!
Posted by Kay Poe at 2/24/2005 6:48:17 PM
I am trying to create a drop down menu from a tutorial. In fact, I've tried several tutorials (and samples .flas) and am getting nowhere. This menu should read: 'Menu' Upon rollover, each drop down item should appear and each has a rollover color. I have not applied script to go to new fr...more >>

Cant call my class methods
Posted by shadysamir at 2/24/2005 6:36:48 PM
I created a class with MX 2004. This is only part of the code: function VideoList() { init(); } private function init(Void):Void { loadData(); changeMode("video"); } In the FLA document containg the class symbol itself, i can drag this symbol to the stage and call the methods inside ...more >>

How to load a SWF file from inside a Movie Clip ?
Posted by Nieckarz at 2/24/2005 6:07:09 PM
I got this website, and it is inside a movie clip, and i have to do a PHPform, soh i create another swf file, to put the comands etc, but now i have to load this swf file into the website, witch is inside a movie clip... there is any hope for me ?? ...more >>

Open pdf's in Macintosh
Posted by Bruno Patricio at 2/24/2005 5:48:28 PM
I use this code: on (release) { if (_global.gOS == "Macintosh") { getURL("pdf:ocular.pdf", "_blank"); // to Macintosh } else { getURL("pdf/ocular.pdf", "_blank"); // to PC } } In the PC run ok But on the Macintosh, I can't open de pdf file. ...more >>

external file keeps runing after unload
Posted by Naughty_Boy at 2/24/2005 5:45:44 PM
I am having a problem with an external file that keeps running after its swf has been unloaded. My main movie calls a .swf and places it on a layer (I have also placed it in a movieclip on a layer). The swf that is placed in my main movie is a slide show that calls upon an XML doc to get the...more >>

Flash Form to ASP
Posted by chabian at 2/24/2005 5:32:14 PM
I am trying to build a simple form in Flash that sends info to an ASP page. I know ASP really well, but getting the info to POST to the flash page is giving me all kinds of trouble. Does anyone have a good, simple tutorial that can help me with this? I am really struggling with this concept. ...more >>

mediaPlayback component fullscreen button
Posted by NJHPP at 2/24/2005 5:18:47 PM
Is there a way to disable the full screen button in the mediaPlayback componnent? (the little triange in the upper right corrner) I can remove its fuction by placing an invisible button with no fuction over the corner, but on rollover the cursor changes to a hand. ...more >>

& does not show text in a textfield
Posted by Xccelerant2 at 2/24/2005 5:12:40 PM
Hello, Created a CMS that reads and writes to .txt files, that are displayed in a Flash site. Problem is I put variables through out the text files and now when I go to load the full .txt files into the CMS, the read part only shows the first variable, every other variable that starts with &...more >>

AS2: Data Bind SQL Query Data to ComboBox
Posted by jtehonica at 2/24/2005 5:08:13 PM
Can anyone point me in the right direction - I'm using Flash remoting with CFCs and I'm trying to pull query data from SQL and populate a ComboBox with AS2 components. I have a CFC called "states.cfm" and Flash Remoting is set up and connecting properly (AS2 components). It's pulling 2 col...more >>

Extrenal variable. & as part of value
Posted by epnormann at 2/24/2005 4:47:45 PM
I am loading external variables and am wondering how to make an ampersand ( & ) part of the value of the variable. For eg. if the external file's has the following: &message=I bought apples & oranges& Flash would import the variable as message='I bought apples ' So is there ...more >>

How long is my FLV?
Posted by eSpeed at 2/24/2005 4:32:24 PM
I can load it, check the byte length, get the head position in seconds but I cannot get the video total length in seconds. Sure, I can seek a specific position (in seconds) but that's of limited use as I have to know how long each video is in advance in order to use it fully. I want to create ...more >>

event question: button not working anymore
Posted by josp at 2/24/2005 4:13:05 PM
hello, a beginner question: I have a dynamicly created mc with: curr_item.onRollOver = curr_item.onDragOver = function(){ _root.testText.text = this.itemname.text; }; This works, but the button in the mc doesn't change it's color anymore. Do I have to 'pass' somehow the onRollOver, onDr...more >>

load swf and play at frame 40
Posted by Alikat at 2/24/2005 4:05:04 PM
I want to load a swf and play it at frame 40 I think it's something along the lines of: { loadMovieNum('thecloser_animation.swf',4); gotoAndStop(40); } but that is playing it at the first frame....more >>

assigning scripts to dynamicallly generated mcs
Posted by Stephan alias Holden at 2/24/2005 3:25:29 PM
Hi there, like the message-title suggests I'm trying to add some event-handlers to dynamically -generated movie-clips containing jpgs. My first guess was that it might have something to do with those lines of code being executed before flash has loaded the whole jpg into the movie cli...more >>

SetVariable not working with NN6
Posted by karuna at 2/24/2005 3:11:12 PM
window.document.flashmovie.SetVariable("varname","varvalue");. ... this js code doesn't get executed in NN6. It wors well with IE and NN4.7. i have set the "NAME=flashmovie" and "SWLIVECONNECT=true" attributes in the embd tags! bye, >>> karuna >>> ...more >>

Variables inside frame label quotation marks???
Posted by blondeh at 2/24/2005 2:41:34 PM
Hi everyone, Really urgently need some help here! I'm basically trying to build an incredibly simple slideshow function with actionscript. I have frame labels at the start of each new slide (called "1", "2", "3" etc...etc...). Also, for each new slide, the variable "_global.slideC...more >>

loading and seeing vars while testing movie
Posted by Mark.P. at 2/24/2005 1:45:24 PM
I'm pulling info from an access dB using ASP. The Flash is pretty simple, at this point it doesn't do much more than show the content in the movie. It works pretty well when I view the SWF in a browser, but nothing will display when I test the movie so I can't write any trace scripts. Shoul...more >>

Detect the Mediacontroller scrubbing
Posted by Jovvan at 2/24/2005 12:01:41 PM
How can I trace if the user is moving the thumb of the MediaController? The line "trace(_root.presentation.controller.isScrubbing);" generates "[type Function]" to the output window (which I don?t know what it means). Have a nice day ...more >>

Flash7- slow SWF output
Posted by walahe at 2/24/2005 11:52:36 AM
Hi I hope you can help me with this guys: In our latest job, we like to stack MC's on top of each other using GetNextHighestDepth, which is new to MX2004 and only works when movie is published for Flash 7. We have 6 buttons on the original design with 6 MC's all have heavy jpegs. Here ...more >>

Fill mc with gradient dynamically
Posted by Josh Rolfe at 2/24/2005 11:27:03 AM
I am using setRGB to change the color of one of my movie clips. I am wondering if rather than simply change the color if there is a way to use a gradient fill. I have looked at MovieClip.beginGradientFill but the problem is that I already have a predefined movie clip that is not a very str...more >>

To show selection whiledragging mouse
Posted by Manoj vn at 2/24/2005 11:25:15 AM
Hi forum, I have mcs ( one mc on stage and duplicating it 10X10 times) aligned in rows and coloums, each having a letter in dynamic textboxes. My intension is to select the letters, once i drag the mouse. Cliking on any mc, a mc(circle) from library is to be attach on it. And when i drag the...more >>

Buttons inside MovieClips
Posted by Russ at 2/24/2005 10:31:49 AM
Hello I have a moviclip as a menu with buttons inside it I have this script attached to one of the buttons But It will not take me to the scene first frame what am I doing wrong on (release) { _root.gotoAndStop("About us", 1); } Regards P.s I know this sounds like a simple problem i...more >>

Countdown loader
Posted by sheedy at 2/24/2005 10:19:07 AM
Does anyone know how to get a MC (say a square for example) to resize it's height in relation to a countdown? I want to be able to have a countdown from say 7 days displaying days, hours, minutes and seconds remaining. At the same time I want a square MC to scale on the y axis. Basically I wan...more >>

Tree Directory
Posted by Ashish123 at 2/24/2005 10:18:58 AM
Hi I want to create a dynamic tree directory .. similar to windows explorer navigation wise.... I am using mx 2004 and not professional..so can not use Tree Component.. :( If u can provide any inputs/links on it..that would be really greatfull Thanks in adv ------------- aShIsH ...more >>

Loading .png images
Posted by chappidi at 2/24/2005 9:48:51 AM
Hi All, I have a query!! Does Flash support loading of .png images on fly?? this works with .jpg images but i cant see my images if i try this with .png images. i have user loadMovie only. Any alternates to show .png images on fly?? Thanks in advance Roopesh ...more >>

Text formatting
Posted by gongati at 2/24/2005 9:35:33 AM
Hi, I have a problem in my chat application, I have two text fields one is for message input and other is for message display, here I am giving the user the facility to send formatted text so I have attached bold,italic and underline buttons and color as well. so, when the user select...more >>

Please help me out its URGENT
Posted by Harmeet S. Vohra at 2/24/2005 8:40:59 AM
Hi All, I have to make an uploader using flash which can be upload any file from user's computer to server. File size may be 1Mb to 100Mb. As far as I know if we use POST method after 2Mb it will show the error message. Please provide me some details on this topic. It's Urgent. Thanks ...more >>

The Lost Path
Posted by meeesta at 2/24/2005 8:14:00 AM
Hello. I have a problem accessing movieclips after using attachMovie. I've got the main movie, and within this is an mc with an instance name of holdAll. Into this are loaded a wide variety of clips. All are built the same. The problem starts here in the fact that these movies access all th...more >>

Detect client connection speed?
Posted by Shayne Jackson at 2/24/2005 7:09:19 AM
I'm wondering if there is a way in flash to detect the connection speed of the client?...more >>

movie clip
Posted by microes at 2/24/2005 6:58:05 AM
my desire is to trigger the _down state of my movie clip button onRelease and keep it in _down state whereby my movie clip button plays without being disrupted by its _up state when mouse is released rather than having to hold down my mouse just to see the down state of movie clip button anima...more >>

LoadVars limit
Posted by maulia at 2/24/2005 5:50:20 AM
Is there any limit when passing texts through a LoadVars parameter? I have a lv = new LoadVars(); lv.MYTEXT = myString; // my String say contains 2000 characters lv.sendAndLoad([a_script],lv, 'GET'); It worked only if I reduce the texts that's going to be passed. Is there any limit in loadV...more >>

URGENT ScrollPane problem (flash mx 2004 pro)
Posted by OniLink at 2/24/2005 5:19:17 AM
Hi, I have a scrollPane in my main .swf that loads an external .swf into it. I have made it so that when the external .swf is loaded it sets the vScrollPolicy to 'auto'. All that works fine...the content loads, the scroll bar is set to the right amount....but for some reason the content can b...more >>

movie not 100% of viewport height in IE Mac
Posted by dhandshark at 2/24/2005 4:32:24 AM
I have a movie on top of my home page which fades to reveal the page below. My problem is that in IE on the Mac the movie doesn't grow to 100% the height of the viewport, so a bit of the underlyhing page is visible. Here is the page:http://www.wildturkeyfarm.com/staging/home_with_flash8a.php4 ...more >>

Javascript call w/o using getURL?
Posted by dhandshark at 2/24/2005 4:25:26 AM
I am calling a couple of JavaScript functions from my Flash movie via getURL. The problem is that when the calls are executed in the movie they also trigger that annoying system click that IE employs when a hyperlink is clicked. I can turn it off on my system, but others won't have it turned...more >>

Rotated Dynamic Text - non-populated
Posted by t8ddw at 2/24/2005 3:33:26 AM
Hi All, Does anyone know why when Dynamic Text is rotated that it doesn't display on screen? What is way around this? Thanks, Todd...more >>

Migrating AS1.0 to AS2.0
Posted by denizengt at 2/24/2005 1:48:52 AM
Hmm, I've never used AS2.0. I've moved to mx2004, and now my older program now fails to operate properly, so I've been trying to convert my older AS into the 2.0 class structure. (I'm guessing that's the issue). I've hit a snag in the form of this MovieClip.prototype.move = function (raceTr...more >>

Communicating with loaded swf
Posted by mcam at 2/24/2005 1:43:48 AM
Hi, I have a project that has 14 narriated steps. All of the steps together as one file is 10.5 megs so I split them up into individual swf files that load when you click on that step. Is there a way to have the main time line advance to the next step when the loaded swf file stops or reach...more >>

Date constructor odd problem???????
Posted by C#Newbie at 2/24/2005 1:26:16 AM
Does anyone know why the following happens? when i do : trace(new Date(1999,2,2)); output: Tue Mar 2 00:00:00 GMT-0800 1999 please notice that the date has been changed to March 2, 1999 (it should be Feb 2, 1999) for no reason. Thanks in advance ...more >>

Compiling Classes
Posted by Ryan Jennings at 2/24/2005 12:42:31 AM
If a class isn't imported at compile time like this: import classes.MyClass But you create an object of that class within your code, like this: var newClass:MyClass = new MyClass(); How does Flash know to compile that class? I recently took over another developer's project and he's instant...more >>

mouse drag eraser effect?????????
Posted by ToffeeCrisp at 2/24/2005 12:34:43 AM
right i have been searching all over on a tutorial on how to do this and i cant find one. the best example of what I am trying to achieve is to point you to this site: http://www.kazsh.com if you enter it and click on eraser that is the effect i want to achieve. so if anyone could point m...more >>


DevelopmentNow Blog