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 > november 2004 > threads for thursday november 4

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

Repeating code on button
Posted by teddy0bear at 11/4/2004 11:27:15 PM
I am making a little fake scroller that will scroll a movie clip up and down. I have it set up so if you hit the up button 20 is added to the _y variable and the opposite for the down button. This works! and i'm happy. However, i want it to work so if you hold down the buttons it will continua...more >>

_currentframe problem
Posted by sejohnson57 at 11/4/2004 11:12:35 PM
I am designing an online training module and have been asked to provide a 'quit' button. At present, the quit button is on every page, and when click goes to a one frame scene that asked the student if they really want to quit. I want to give the student the option to return to where they left...more >>

Not seeing formatting with htmlText
Posted by radiac at 11/4/2004 11:10:28 PM
I am publishing a flash movie for Flash Player 7 and actionscript 2.0 with the following code: this.createTextField("txt", 1, 0, 0, 230, 200); txt.type = "dynamic"; txt.autoSize = "left"; txt.align = "left"; txt.multiLine = true; txt.wordWrap = true; txt.html = true; txt.htmlText...more >>

combobox attachMovie problem
Posted by brettjason at 11/4/2004 10:13:57 PM
I'm having a problem with attaching movies with comboBox components in them. It's best if I explain in code: To simplify, I have 2 movieClips, 'one_mc' and 'two_mc'. Both movieClips have a combobox in them. Here is the first code. attachMovie('one_mc', 'mycb', 1); This works great but t...more >>

Auto tabIndex Problem !!! Pleas Help Me !!!!
Posted by eddymilner at 11/4/2004 9:28:36 PM
I have a form with TextInput Component from FlashMx2004 . I want to know if i can Select a texinput component with out press <TAB> button on my KeyBord .I want user will be notified when he did mistake and mistake in specific TextInput will be selected with out press ing a tabIndex !!!! For e...more >>

Loading text
Posted by mandycool at 11/4/2004 8:52:47 PM
Iam doing a catalogue like app which is meant to be a standalone using flash. .. This app is supposed to display a series of tables in which some table items should have links to finer details of the same. . One way i suppose is to use buttons below the static text and when clicked tak...more >>

Variables passed to child movie
Posted by alamoe at 11/4/2004 8:50:10 PM
How can I get variables passed to a flash movie in a query string to a child movie. I can pass them to the parent movie but not the child....more >>

Making a sign-up list
Posted by Jax31 at 11/4/2004 8:10:06 PM
Hi, I have a Flash question I hope someone can help me with. I am a novice programmer and actionscript user (to say the least) and I was hoping someone could point me in the right direction. I am making a just for fun kind of site that I will send to just my friends getting them to sign ...more >>



Variable not able to access methods available to direct reference
Posted by Whittaker007 at 11/4/2004 7:58:54 PM
First of all let me apologise for terminating each line with a horizontal rule but otherwise the stupid forum strips out all my carriage returns making my posts one unbroken block. Lets hope they sort that one out sometime soon... Here is some background to my problem: I have extended the fun...more >>

Stoping all swfs and restarting them
Posted by Ganthur at 11/4/2004 7:27:39 PM
Hi I am reposting this again, but this time with code that is simulating my problem. What the fla does is that there are two animations, when you start it, there is a circle sliding around the screen. When you hit stop, the function located in the code mc gets called and all MC's stop. ...more >>

Pass variable data from Flash to an HTML page
Posted by ski_geek at 11/4/2004 6:42:38 PM
I am trying to create an interactive form in Flash that will then pass the varaible data to an HTML page. Any thoughts on how to pass a varaible from Flash to an HTML page (with embedded JavaScript)? ...more >>

how to load swf file into present movie clip
Posted by suthat22 at 11/4/2004 6:35:58 PM
I really need your help.Now , I try to load swf files into my first movie clip in order to reduce the file size and load time .because there are many swf that I have to load them into my main movie clip(swf). and the second problem is I can't point the position of the load swf file to show on ...more >>

[AS 2.0] setInterval() in Class definition
Posted by thinICE at 11/4/2004 6:18:28 PM
Hi, if I use setInterval() to call a method that use static vars all work correct, but I don't want that this var is static. If I let this var public or private it doesen't work, if I trace the var the player return me undefined, but var is defined in the class and I assign a value to her in ...more >>

search engine capability
Posted by etg7 at 11/4/2004 5:52:07 PM
Hi, I'm hoping someone can point me in the right direction regarding implementing search engines in flash? i just want to type the search string in flash and retrieve a result...it should be local meaning that i don't want to seach the whole www to get said result. any ideas? is the google...more >>

throw information
Posted by ufitzi at 11/4/2004 5:45:35 PM
I'm looking for details on which functions throw which types of errors. i.e. LoadVars.load() throws what type of error if the file doesn't exist? Thanks for any insight Ben...more >>

slideshow - xml vs. as arrays
Posted by toddde at 11/4/2004 4:43:15 PM
OK. Not being a master of AS (or AS2 for that matter), I have focused on getting better in AS before I branch out into a new language, that being xml. Maybe learning xml isn't such a big deal. I don't know. In any event, I have designed a 'slide show' in AS that uses arrays (please check...more >>

check to see if loadMovie movie is load
Posted by xchristopherx at 11/4/2004 4:39:31 PM
I want to check if a movie has been loaded by loadMovie. ie. I wan to know if movie.swf has been loaded in content_mc. thanks! loadMovie ("movie.swf", "content_mc");...more >>

MediaPlayback
Posted by Mairon001 at 11/4/2004 4:35:19 PM
I have a problem with a component of flash I use the component of flash MediaPlayback I load a file external mp3 and I perform it in streaming the file audio lasts 23 seconds but the component does it listen in 12 seconds. how do I do to change the formulations of the duration of the ...more >>

asp popup
Posted by Rosa-lee at 11/4/2004 4:35:08 PM
I have a flash file connecting to my database just fine, works great, but the asp page pops up every time they click the buton to send data, why is this? here is the code on(press) { var FirstName:String; var LastName:String; var EmplID:String; var Assignment1a:String; FirstName = _root...more >>

Problem with Shared Library Macromedia Text Inputs
Posted by Aware at 11/4/2004 4:25:47 PM
I have noticed in Browsers other than IE that there are problems with the MX Components... I am using a shared library with a bunch of form elements in it. When importing these components into my movie I lose the text I beam cursor. When I roll over the text field I lost my cursor entirely...more >>

creating multiple objects in a For loop
Posted by maugan at 11/4/2004 4:14:45 PM
Hi I've been having bit of problem with creating a listener object when I name with a fixed var I don't get any errors like so: var mclListener:Object = new Object(); of course, in a loop when the clip has loaded the the var mclListener has the value of the last item in the loo...more >>

Stop/Start ALL movieclips at large
Posted by Hey, kid at 11/4/2004 4:14:13 PM
Okay, I've poked around this board for a few hours now and keep hitting the brick wall that is my requirement. I've hacked up one of the Flash Presentation Templates that ships with MX (four frames, each with a stop action and each with its own movieclips shenanigans and forward and back...more >>

Looking For setStyle List Of Parameters
Posted by AwesomeDigital at 11/4/2004 3:51:18 PM
Does anybody know where I can find a complete list of the possible parameters for setStyle? Specifically the name parameter All that help tells me is name A string that specifies the name of the style to add to the style sheet. I want a complete list. Thanks Mathias ...more >>

What component???
Posted by Michael Dunn at 11/4/2004 3:42:57 PM
Does anyone know which component Macromedia is using on this page? http://www.macromedia.com/cfusion/exchange/index.cfm#view=sn120&viewName=Dreamweaver%20Exchange&loc=en_us Thanks in advance :). Mike...more >>

Check what system the user is using
Posted by 2.0 freak at 11/4/2004 3:35:35 PM
Is there a way to check in Actionscript what system the user is using and also if it is PocketPC too?...more >>

What is an array?
Posted by 2.0 freak at 11/4/2004 3:32:39 PM
What is an array and how do you use it through Actionscript?...more >>

What is an Object?
Posted by 2.0 freak at 11/4/2004 3:31:25 PM
What is a object and how do you use it through Actionscript?...more >>

What is a function?
Posted by 2.0 freak at 11/4/2004 3:30:39 PM
What is a function and how do you use it through Actionscript?...more >>

textwidth - an observation
Posted by Steve Bond at 11/4/2004 3:07:22 PM
I've come across what seems to be a bug or at least a weakness in textField.textWidth. This works fine when you have left-justified text, and returns an accurate value for the occupied width of the field. However, when you right-justify the field, textField.textWidth behaves as if the right-ju...more >>

Flash .exe Frame
Posted by I Believe at 11/4/2004 3:00:31 PM
I created a flash movie and published it as an .exe but when I open the movie, the frame is larger than the screen and is also shifted down and right out of the screen. Can anyone please tell me what I must do to force the window to open to fit the screen automatically?? Thanks in advance! ...more >>

V1 --> V2
Posted by TiGGi at 11/4/2004 2:37:00 PM
I would aprichiate some help on this, this works fine on Flash ver6 and AS1, but on Flash7 and AS2 get buch of errors // Include the Required NetService class files #include "NetDebug.as" #include "NetServices.as" #include "DataGlue.as" // connect to the Flash Remoting service provid...more >>

Re: disabling keyboard keys
Posted by kglad at 11/4/2004 2:35:55 PM
use Key.removeListener(keyListener)...more >>

Preloading dynamic content
Posted by loop360 at 11/4/2004 2:22:40 PM
Is there a way to preload content that is generated at runtime in the same way as content generated during authoring as I seem to get slight delay when it loads my content dynamically but doesn't when the content is positioned on the stage during authoring? ...more >>

sorting xml data in a combobox
Posted by ritpas at 11/4/2004 1:41:14 PM
Hey, I have a problem to sort data in combobox from an xml file. I thought and reflected so much about it, that I don't know what else I should do, I wonder whether I am not facing a bug!? So here below is my code followed by the activites_xml file content. My question : the data appear pro...more >>

back button within Flash
Posted by CPettit at 11/4/2004 1:38:03 PM
Hi. I am working on an MX2004 pro project that loads addtional swf files into a level from a collapsable menu. Now the client wants to have a back button that will remember where they have been. So: I need to find a way to remember (in sequence) what external swfs that were loaded in to ...more >>

_quality
Posted by acquestioner at 11/4/2004 1:13:46 PM
why isnt it possible to set different qualities to text and pictures? pictures(low quality) and text (high quality)? would that be possible in a few versions of flash or is that strictly against the concept and there is really no possibilty to integrate that in flash? ...more >>

clearinterval Problem
Posted by ewok781 at 11/4/2004 12:40:51 PM
trying to clear this set interval, for some reason it isnt working [CODE] function gametimer() { //timer._rotation += 1.58; nTimes++; trace(nTimes); if (nTimes >= 10){ clearInterval(nInterval); } } var nTimes:Number nTimes = 0; nInterval = setInterval(gametimer,1000); ...more >>

loadin' vars
Posted by clum at 11/4/2004 10:01:32 AM
I have the following script in a movie with lots of buttons that load text dynamically. What i can't produce is a default text line of code that makes another txt file load into the text box before any of the buts are pushed..... i know i'm missing something obvious, but cat find it. all my ...more >>

Not decreasing the size
Posted by Manoj vn at 11/4/2004 9:36:29 AM
Hi, I had deleted the unused items from the library of my flash file, expecting a decreace in the size of the fla and swf files. But it's not happening. What is the exact relation of library content with the size of the file? ...more >>

Actionscript to save swf as gif
Posted by rhythmofrain at 11/4/2004 9:05:55 AM
There are few swf files merged in my flash application, i want to save them as gif or jepeg or any image format on clicking on a save button. Is it possible from Flash if yes then how? If there any plugins available plz mention them. Thanks. ...more >>

reeli easy
Posted by yumicken at 11/4/2004 8:25:28 AM
how do u edit the action script :( :(...more >>

Protect swf
Posted by Ronak Bhagdev at 11/4/2004 7:39:14 AM
How can I protect my swf file from decompilers? Is there any code for this? :(...more >>

functions
Posted by Calidibriator at 11/4/2004 7:00:14 AM
I have a function that starts an animation seq. I want to change the name of the function but when I do the seq. fails to play. I cannot find any other code associated with this function. Can someone tell me why I cannot change the name of the function and still have it work? Thank you, Jam...more >>

Scenes and Buttons
Posted by Matthew Wright at 11/4/2004 6:12:52 AM
Here goes, I created a button (called Gov) which is then placed into a blank movie clip and placed onto the main scene. This Button now has its own swf file. In my main home page file I have a blank Movie clip upon which I have my buttons (gov) swf file loaded into. I'm trying to have t...more >>

disabling the print screen button
Posted by e_jogendra at 11/4/2004 4:34:53 AM
Hi every body! Could some one guide me how i make disable the print screen button from macromedia flash. Thanks JNS...more >>

xml and portuguese
Posted by notsozen at 11/4/2004 3:34:25 AM
I've searched this site for answers but I couldn't find one... I'm getting data from an xml file where I get some text in portuguese, which contains characters such as ?, ?,? and so on. These characters don't show up, but when I set the same characther within Flash, they show up. I used the s...more >>

Instantiating MovieClip within a AS class
Posted by canuck930 at 11/4/2004 3:31:56 AM
I'm new to AS classes, but what I'm trying to do is create a class, which loads a MovieClip instance as part of the constructor. The problem is that the attached movie clip won't show and it shows the depth as been 'undefined'. Any help would be appreciated. class Thing extends MovieClip...more >>

hyperlink: mailto in flash doesnt work?
Posted by lolipss at 11/4/2004 3:29:47 AM
hi i want to put email hyperlink in my flash but somehow getURL("mailto: yourmeail@hotmail.com"); doesnt work in flash........ it doesnt open the outlook express program when i clicked it..... does getURL support mailto function or it just for opening a new browser window? And if i...more >>

AS 2.0 is too weak???
Posted by fei.yu at 11/4/2004 3:23:30 AM
the definitions below will cause ERROR!!! why??????????????????????????? //file: A.as class A { var m1:B; } //file: B.as class B { var m1:A; } ...more >>

"for" action
Posted by bso_71 at 11/4/2004 2:52:10 AM
Can I exit a 'for' action? Thanks! Brenda S....more >>

Doesn't work in AS2.0 for Player 7
Posted by a little ant at 11/4/2004 1:29:01 AM
Can anyone tell me why this code works when published for AS2.0 in player 6 but not in Player 7 please? Could you point out the errors. It's not my script but it was available for download for education. Thanku. ...more >>

Targeting loaded movies
Posted by Whittaker007 at 11/4/2004 12:30:46 AM
Hi, I can't seem to target loaded movie clips (or the clips inside them). The most basic example I have tried is this: I have a movie which contains a single movie clip symbol on the stage called 'circle'. This is saved as 'circle.swf'. Now I load this clip into level2 in my main movie like ...more >>

Load html in text box, link to named anchor in HTML file.
Posted by Josh Knight at 11/4/2004 12:20:53 AM
Here's what I'd like to do: I have a dynamic text box which links to an external text file. The external text file is quite long (2700 words) so I'd like to use buttons in my main movie to link to certain sections in the text file (which is loaded into the dynamic text box) I thought maybe I...more >>

transitions
Posted by JF213 at 11/4/2004 12:06:48 AM
I figured out how to apply a transition between different loading different movie clips. for example everypage of my site is a movie clip. my site is one frame long. Everytime a click a button a certain movie clip shows on the screen. It automaticly scales from 0% to 100%. Once I click...more >>

can anyone help me here?
Posted by dogcrapblues at 11/4/2004 12:03:17 AM
I am currently creating a new website with Flash, and am sort of stumbling through the whole process. I like the pre-made components that Flash offers, but feel they lack customization. Right now I am working on putting the MediaPlayer component on my site to play a streaming mp3 file. It's wo...more >>


DevelopmentNow Blog