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 > october 2005 > threads for tuesday october 25

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

External Actionscript files
Posted by Ryan Bellerose at 10/25/2005 10:50:00 PM
The code I have on the button to run the code is: on (release){ #include "log_on.as" } The external file "log_on.as" reads as follows: { if (username == "Gina Duryea" && Password == "Duryea"){ gotoAndPlay (80); } else if (username == "Thomas Benzing" && Password == "8192...more >>


text variables inside movie clip
Posted by maltika at 10/25/2005 9:34:50 PM
ok, this is probably going to sound confusing. I'll simplify as much as I could. I have a flash movie called "products" that has a movie clip inside it. I did not give the movie clip an instance name. Inside that movie clip I have a dynamic text box that is given the variable name "dates"...more >>

Help with photo gallery
Posted by brodewald at 10/25/2005 9:18:00 PM
Let me start by saying I don't know much about action scripting and I have been learning as I go. I have been working on getting this photo gallery going for a week now and just can't find a solution anywhere. Anyway, I have some thumbnails that I have turned into buttons. These thumbnails...more >>

Using MovieClipLoader Can You Fade In?
Posted by backpages at 10/25/2005 9:12:15 PM
Is there a way to have an external jpeg file fade in when it is loaded through a MovieClipLoader? Thank you for any advice or information....more >>

Making an email address active
Posted by Jhunt94 at 10/25/2005 9:06:28 PM
In Flash MX, I have created a temporary web page that has an email address that I would like to hyperlinked so that it will open the user's email after clicking on it... Can you help me? Thank you!...more >>

CLASS to load clips problem
Posted by pickle jar at 10/25/2005 9:00:36 PM
Hi all, I have been following a tutorial in colin moocks as2 book and adapted an example to load external swf's into movie clip holders. I am trying to get with the standard oop practice and stick with CLASS building. Here is my script with 2 issues I seek help with please: 1. onLoa...more >>

Passing data between screens in a Form App
Posted by gatorjoe at 10/25/2005 8:52:02 PM
I would think this should be pretty simple, however after searching the Internet for hours I can't find the answer. If I have two screens, A and B, how do I pass variables between the two? Also, can I call a function in screen A from screen B, passing it a parameter? Thanks! ...more >>

Very Strange ComboBox Problem
Posted by George Carey at 10/25/2005 8:25:26 PM
My application loads various movies from the library via "attachMovie...". Some of these have v2 ComboxBox components. The combobox components seem to work ok. I can fill them with data; select items etc. BUT, after accessing a ComboxBOx (even just dropping down the list) other parts of in the...more >>



fscommand differences in V5 vs. v6
Posted by ProductShawn at 10/25/2005 7:41:04 PM
So, this is odd and I can't find anything out there to assist so am throwing out a net. Have a flash autorun done in v5 r30 with the following code Install Button: on (release) { fscommand("exec", "setup.exe"+chr(9)+"CLIENTLANGUAGE=EN"); fscommand("quit"); } As you can see ...more >>

Flash Compiler
Posted by steveb12 at 10/25/2005 7:37:48 PM
The code below returns "1" because I misspelled clap in the second line. Is there any way to make the compiler catch this kind of thing? i.e. force it to require all variables be defined? I come from a C++ background where the compiler catches everything. var clap:Number = 100; clap =...more >>

How to remove KeyListener?
Posted by hitparader61 at 10/25/2005 6:32:21 PM
Hello, I'm having trouble removing a keyListener object. Code is like this - it maps certain keys to different game functions: function punchKeys() { var keyListener:Object = new Object(); keyListener.onKeyUp = function() { stuff }; keyListener.onKeyDown = function(...more >>

Component Setter Issue
Posted by MTempsSD at 10/25/2005 6:20:41 PM
I have created a ASV.2 component which has a couple of simple set/get functions. This issue that I'm having is that I can't access the set function from the _root timeline where the component resides. Here are the functions: [ChangeEvent("changeText")] [Inspectable(defaultValue="")] ...more >>

Target movie clip with enter key
Posted by cgulotta at 10/25/2005 1:08:22 PM
I am creating a movie clip that I want to start and stop when the enter key is pressed. Can I do this? I'm new to this and very confused. any help or point in the right direction would be appreciated. I'm on a very strict timetable(I was given this assignment last night and it's due by...more >>

Tweening Trouble
Posted by Ken Bruggeman at 10/25/2005 1:03:04 PM
Is it possible to tween 2 symbols together? What method do I use?...more >>

Targeting member of button instance
Posted by KevETC at 10/25/2005 12:36:25 PM
I've created a button in the library, that contains a dynamic textfield called 'txt'. In my movie I create 3 buttons with attachmovie. I can set the _x and _y properties of the buttons, but when I try to set the txt.text-property, it returns 'unassigned'. How can I fix this? ...more >>

How would you make a draggable spinning disk?
Posted by d33jayedwards at 10/25/2005 12:05:15 PM
Hey, Ive created a circular object and what I want to be able to do is grab it and drag it around its fixed center point, and leave it in any position. Similar to a circular volume control or something. Could anyone post an Actionscript which would allow this in the movie? Thanks in advance,...more >>

Buttons need to be clicked TWICE before they work?
Posted by Andra Veraart at 10/25/2005 11:40:15 AM
Hi everyone, I just started using Flash 8 instead of MX, and I've noticed something strange (and mildly annoing). Every new button that I make with for instance a on(release) handler, needs to be clicked TWICE before the handler is activated. It's the same with rollOver's and the likes. ...more >>

How do they do that?
Posted by FayeC at 10/25/2005 11:00:39 AM
Can anybody explain the following effect to me? http://www.mambobrothers.com/mambo/ The one with ther + signs moving at random speeds? Thanks FayeC...more >>

Control 2nd swf from 1st (on HTML page)
Posted by James Brown at 10/25/2005 10:54:54 AM
Hi. I want to separate the navigation and content of a webpage using 2 flash movies. So, can I control the content swf using the navigation swf ie timeline control etc. Thanks a lot. James Brown ...more >>

adjust speed of this animation
Posted by smrdo at 10/25/2005 10:48:25 AM
i have the following code, which loops between frames adjustion the width of a mask unitl a cetain value is met, Does anyome know how i would add a speed variable to this, bascally to control the speed of the animation if (counter==myWidth) { this.gotoAndStop(3); } else { this.Mas...more >>

resize video dynamically at runtime with stopping play
Posted by MOLOKO at 10/25/2005 10:40:47 AM
Hi all, strange video problem here: I've got some video which I'm playing as a SWF exported as flash 6. I need to the user to be able to switch between two video sizes while the video is playing (one is normal size, the other is 150% scaled). Using this code: function resizeVideo() { ...more >>

FileReference.Download
Posted by ERNYNAP at 10/25/2005 8:36:20 AM
Hi to everyone I have an application what save more data into shareObject and I'm asking if is possible to use the new FileReference.download Flah 8 method to save my data into the client hardisk , it will be great if possible thanks .. and have a great day Erny ...more >>

wonder if flash can open File Dialog window?
Posted by Staria at 10/25/2005 7:36:48 AM
hi all, my flash application requires to browse local files in user's computer... but i don't know how flash applications open File Dialog window allowing users to browse their file. if flash can do this, would anyone please tell me how. i hope flash can do >_< thanks ...more >>

Flash MX 2004 Help
Posted by bryancounts at 10/25/2005 7:33:38 AM
I am creating a Beta Video showcase and I am using the MediaPlayback component to view the videos in. However I wouldlike to disable the little grey arrow in the top right hand corner of the component which allows the movie to blow up to the size of the screen. Is there and actionscrip...more >>

Using tween classes witih custom classes
Posted by Jarrod Castaing at 10/25/2005 7:26:22 AM
Hey, Would anyone be able to advise on how to use the tween class and methods like ..alphaTo and .colorTo within a custom built class? For example: class Box extends MovieClip { public function Box() { this.alphaTo(50,3); } } This returns: There is no method with the na...more >>

bookmark/anchor?
Posted by iamsleepyman1 at 10/25/2005 6:23:40 AM
i want to know how to simulate html bookmark/anchor in flash. my problem is that i have a website that is in pure flash and i have a FAQ page (frequently asked questions). so i made it so each question is a button and when u click one writing comes up in a box at the top. however, when i scrol...more >>

Disable click in accordion
Posted by jedhu0920 at 10/25/2005 5:55:40 AM
i am using the accordion component. i have a multiple panel checkout with continue buttons on each panel, and i don't want the end user to be able to skip ahead by clicking on the header of a panel. does anyone know some code to disable the click areas on the headers of panels in the accor...more >>

actionscript help
Posted by razx at 10/25/2005 4:50:23 AM
hi everyone, i just wonder if it?s possible through actionscript install fonts.... i just that i made a page using a special font but i want the user to click en install the font, u know for inexperience users.... ...more >>

What's wrong with this syntax?
Posted by Elizabeth Batten at 10/25/2005 4:25:45 AM
I'm having problems. This is so simple but it never works for me. the buttons are named correctly. Any ideas? Thanks. //stops the playhead at Frame 1 stop(); 2Food_btn.onRelease = function (){ gotoAndStop("2Food", 1) }; 1Ocracoke_btn.onRelease = function (){ gotoAndStop("1O...more >>

Problem with spinning
Posted by apusey at 10/25/2005 3:46:10 AM
I am making a game where you spin around where e spins you right and q spins you left and for some reason both turn you left. I have the MovicClip that I am turning called gimli and I have 72 frames of the degrees around (each increment is 5) and each frame has the action to stop. My code l...more >>

Flash popup menu won't let me add 5th submenu
Posted by artscreations at 10/25/2005 2:32:22 AM
Klagd or anyone familiar w this code, I just added another drop down button called family_but, and when you roll over it, (its the last button on the end, but it just dissappears. I used the same code as the first four (same naming scheme), and butted the button against the others in the ...more >>

css problems
Posted by kf_w-l-media at 10/25/2005 2:28:00 AM
Hey, Heres the intro... I am Setting up a FlashShout (remake of shoutbox) as a small project. Anyway I have been stuck in a few places but the one that hurts the most is the css. To keep it all simple almost every variable is set from an imported .as file, along with my css colors and what ...more >>

string to instance v2
Posted by dbento at 10/25/2005 2:20:15 AM
In a topic below i asked how to use a text string as an instance. Someone said a solution: pathToObj[objString] ex: _root["helloKitty"] is the same as _root.helloKitty this["football"] is the same as this.football So, if you had a movieclip, this.clips.happyClip, you might have: ...more >>

Load XML replaces '&' with '&amp;'
Posted by Jason Huff at 10/25/2005 12:21:41 AM
I am loading an XML document which has links. When I trace the node, flash replaces '&' with '&amp;' Is there a work around for this? Jason ...more >>

Loading an external .txt file
Posted by amyinbrooklyn at 10/25/2005 12:00:00 AM
Sorry.. I know this is probably very easy but I've searched this forum and several tutorial sites but none seem to have the same script for loading an external text file into a dynamic text field. So, here's what I have: Instance name on dynamic text field is "eventsText_txt" Name of...more >>

Re: Tweening Trouble
Posted by Ken Bruggeman at 10/25/2005 12:00:00 AM
I have all three layers. Layer 1 is my logo_mc. Layer 2 is my halo_mc. Layer 3 is my action layer. I copied the code that you had in here and pasted it exactly as is and ran test movie. Nothing happened. Do I need to alter the code in anyway? I checked out that mosessupposes link and downloade...more >>

MovieClip Subclasses
Posted by supdun at 10/25/2005 12:00:00 AM
when I use the gotoAndPlay in my InterfaceBorder class, it seems like it is treating my timeline as a gotoAndStop. How can I get around this. In other words it is not playing the length of the timeline. It is only going to the frame label and stopping there. Below is the code: public...more >>

Getting a url in a function
Posted by mlihc at 10/25/2005 12:00:00 AM
Hi there guru's, i have a nice fla file with buttons with an animation on it when you click them, (release them actually). How can i tell the script beneath to also go to a url for instance content.html and target for instance _blank. The script beneath triggers an animation, and when i at...more >>

Scene Play By Local Time
Posted by Cell-uk at 10/25/2005 12:00:00 AM
I'm trying to finish of a small detail within a new web design and I'm at a loss on Action Scripts, only been using flash a few days. I'm wondering if anyone could point me in the correct direction. I have created two scenes, one for day time and one for night time. What I'm trying to achve ...more >>

FileReference.download - download HTML file
Posted by Alex J at 10/25/2005 12:00:00 AM
I am trying to use the new FileReference.download feature to download an html file. I can see that the download is in progress (onProgress kicks in) but no matter what the settings are it always returns IO Error (onIOError). Is it not possible to download an HTML file? Why? :confused; ...more >>

disable/unable a mc acting as a button
Posted by davepla at 10/25/2005 12:00:00 AM
Hi: I can use "delete" to disable a MC acting as a button, but how to enable it again? b1.onRelease = function() { _parent.changeImg(this._name); delete this.onRelease; } Thanks, Dave P. ...more >>

MovieClipLoader Question
Posted by XCOLDFUSION at 10/25/2005 12:00:00 AM
Can the MovieClipLoader Object load swf files into pre made empty MovieClips? or just levels or both pre made emptyMovieClips and Levels? //--------------------------</myMCL>--------------------------------\\ var myMCL:MovieClipLoader = new MovieClipLoader (); var myListener:Object = new ...more >>

Load Movie Question
Posted by ski_geek at 10/25/2005 12:00:00 AM
I am working on a website for work and was wondering if it is possible to load a GIFor PDF files using the load movie action like one does for SWFs and JPGs?...more >>

changing videos in a video component with actionscript
Posted by bso_71 at 10/25/2005 12:00:00 AM
I'm using flash 7 and I want to change videos depending on what the user clicks on, so I want to change the videos with action script. I have a video component and I want to load a video with action script. I used the example code but I ony get audio and I can't see the video. What am I missin...more >>

loading shared fonts for dynamic textfields
Posted by somaboy mx at 10/25/2005 12:00:00 AM
I posted this in the main flash group a couple of days ago, but received no replies. I'll try my luck here... Can someone please take the time to explain to me, step by step, how to work with shared font symbols, or otherwise direct me to a correct tutorial? What I want to accomplish is: I ...more >>

Background Image Stretch
Posted by Wietie at 10/25/2005 12:00:00 AM
Dear Friends, I have a background image that I want to be able to resize from 800x600 to 1200x1600 depending on the viewers sreen resolution... is it possible to resize a background image in Flash to match screen size, or else make it that I create the flash at 1200x1600, and that it autom...more >>

Flash & Tracking in a SCORM LMS
Posted by yinyang042 at 10/25/2005 12:00:00 AM
Hey Guru's, I have been asked to create an online quiz via flash in a very short time period. I have religously read the tutorial/walkthrough from Macromedia and called "Using Macromedia Flash MX Learning Interactions" Here is the link: http://www.macromedia.com/support/flash/applicatio...more >>

Motion tween stopping when property is changed
Posted by kalikilum at 10/25/2005 12:00:00 AM
I have an object named "data" that is moving from point A to point B, about half way between point A and B, in another layer I change the _xscale. When I change the _xscale the object changes size appropriately, but stops moving. Why is "data" stopping motion? is there a work around? T...more >>


DevelopmentNow Blog