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 > july 2006 > threads for wednesday july 26

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

preloading a component and an .mp3
Posted by felisan at 7/26/2006 11:35:36 PM
hi everybody here's my problem. on frame 1 i have this code as my preloader: Code: stop(); this.onEnterFrame = function() { var amount:Number = this.getBytesLoaded() / this.getBytesTotal() * 100; loader._xscale = amount; if(amount == 100) { this.gotoAndPlay(2); ...more >>


Rollover effects/sound in a textfield
Posted by tedh7 at 7/26/2006 10:55:29 PM
Hi, Have a large text document (100 pages) that I want to tag sounds and effects to on rollover and then click of the words in the text. Does anyone know how to get started with this? Do I have to href each word in the whole document? Any ideas. Thanks, ...more >>

Moving Characters
Posted by gregmax17 at 7/26/2006 10:04:55 PM
Hello, I am trying to make several computer characters move around the screen. I am successful in making them walk back and forth between two locations, but it triggers all characters at once. I am asking if anyone knows what I can do to the script provided below to make them turn around and w...more >>

Some component questions
Posted by fred_sl at 7/26/2006 9:00:38 PM
I have some questions but I would also like to know if what I've learned is accurate. [b]Linkage Identifier versus Class Name[/b] When you create a symbol, you can set Linkage Identifier and AS 2.0 Class name. I believe the identifier is how you reference a symbol in the Library from A...more >>

There has to be some way to do this...
Posted by MichaelBlum at 7/26/2006 8:46:05 PM
I have a series of tests that are flash movies running in a browser. We cannot allow the testee to refresh the browser by hitting the f5 button. Is there any way to capture this key and prevent it from being passed to the browser window? ...more >>

What script for Zoom in/ out of image?
Posted by sdiuhwer at 7/26/2006 8:44:17 PM
1. I plan to import quite bigger bitmap image and save as a Graphic Symbol 2. Make some Botton Symbols for +(Zoom in, -(Zoom out) and Reset. 3. If I click +(Zoom in) button, image (reduced sized image in smaller window) got magnified. ----> What scripts do I need for this design? I'm w...more >>

Why wont this script work
Posted by hluker at 7/26/2006 8:31:52 PM
Very new to actionscript so I am following a tutorial for a flash form and for some reason the script used keeps giving me errors. I am using Flash Pro 8, here is the script: stop(); var senderLoad:LoadVars = new LoadVars(); var recieveLoad:LoadVars = new LoadVars(); sender.onR...more >>

UPDATING VARIABLES
Posted by yarkehsiow at 7/26/2006 8:29:24 PM
Hello, i have a textField, the height of which i need to update as text is added, or as the size of the text is changed, which makes the textField taller. i am using "onChanged" , plus a listener to the comboBox with text sizes... the problem: the variable "newHeight" does catch the change,...more >>



Pop Up Window
Posted by Adam Deeley at 7/26/2006 7:43:58 PM
Hi ya. Just a quick question hopefully someone can help me as im stuck again. I have created my initial front (index html) page for my website, its a kind of entrance page asking if the user has flash etc. What i would like to happen is when the user clicks to enter my flash site (the main...more >>

Flash aware of mouse outside the SWF?
Posted by gracemp at 7/26/2006 7:38:50 PM
I want to vertically sandwich an XHTML/CSS drop-down navbar in between two SWFs, but I want movie clips in each of the SWFs to track with the mouse as the mouse moves over the navbar. My guess, however, is that there is no way for the SWF to know where the mouse if it's not on top of one of th...more >>

Random Movie Loading
Posted by DYING_WISH_REC at 7/26/2006 6:42:54 PM
Hello, i am using this randomizing code from kirupa: filename = ["track1.swf", "track2.swf", "track3.swf", "track4.swf", "track5.swf", "track6.swf"]; path = "media/"; i = filename.length; k = Math.floor(Math.random()*i); loadMovie(filename[k], movieTarget); view the file, a...more >>

Disable FLV Playback Buttons Temporarily
Posted by muzicman82 at 7/26/2006 6:15:10 PM
I have an FLV Component on stage, controlled by ActionScript. I've got code to listen for a cuepoint, pause the movie, etc. But, I want to disable the use of ALL component buttons until I re-enable them. How? Can I just reassign the buttons to no actions? I don't know what they're called, etc....more >>

Re: Problem with menustructure
Posted by Phladmin at 7/26/2006 5:41:34 PM
When I use onPress than it does indeed works. But than my onRollOver/ onRollOut doesn't work anymore of the menuItem...more >>

how do i use variables for javascript pop up window?
Posted by koomisan at 7/26/2006 5:03:50 PM
hi, i want to open a popup window from flash, as advised before i used this line : getURL("javascript:NewWindow=window.open('imylink.html','title','width=890,heigh t=660,left=10,top=5,toolbar=No,location=No,scrollbars=Yes,status=No,resizable=Ye s,fullscreen=No'); void(0);"); BUT,...more >>

HTML link from external html page to link to a frame in swf
Posted by **marylou** at 7/26/2006 4:27:34 PM
Hi I am trying to set up something to should be fairly basic to do .. but I cannot get it to work. Need a link from another website to link to a frame label or number in my flash movie. Something like this .. <a href="mySwfPage.php?label=labelnamehere&">Click here</a> My guess it w...more >>

Array of Instances
Posted by Robotacid at 7/26/2006 3:27:42 PM
I want to batch create a number of AS2.0 instances of a class. I can do this in any other language by just creating an array or list and populating it with instances of that object. But it seems I can't do this in Flash. And the only way people ever refer to dealing with a number of instan...more >>

Printer Preference Window
Posted by sbryner at 7/26/2006 3:18:32 PM
Hello all, I'm delving into the printing from an .swf and have two questions. 1) Can you print an external text file? (don't see how so doubt it but would like to be reassured) 2) Is there a way to, when printing, skip the printer preference settings alert box? I want my _mc t...more >>

Why not working in Flash 7?
Posted by devunit at 7/26/2006 3:06:27 PM
I'm a novice AS trying to figure out why this works when I publish in Flash 6 but not 7 or 8. I'd appreciate any insight. Also, I've been looking for a site/source which details the diferences between 6 and 7, any suggestions. onClipEvent (load){ k= 0.95; //springy damp = 0.9; //frict...more >>

Centering Browser window
Posted by Adam Deeley at 7/26/2006 2:47:22 PM
Hi i want the web browser holding my flash site to always open central and at a specific size 800x600 when in the users screen when opened. (its not the publish settings, i can get my site to be central in the browser fine, i just want the browser to open at a sepcific size and central within ...more >>

Draggable/Zoomable Maps
Posted by SageBeckenbauer at 7/26/2006 2:08:20 PM
I'm in the process of making a simple draggable, zoomable map for an update to a website that my company is working on. I'm a new hire, and haven't encountered making a map like this before. I understand the concept, such as making sure the mouse isn't going to snap to center and such, but I c...more >>

Problem with menustructure
Posted by Phladmin at 7/26/2006 12:51:57 PM
Hi, I've got a problem with my menu. When I click on one menuItem, all the buttons are triggered. I've got 3 layers in the root: layer1: actionscript layer2:menuItem1 layer3:menuItem2 For the mousedown(not mouseclick!!) I use in layer 1: m1.onMouseDown = function() { tr...more >>

pop up problem
Posted by koomisan at 7/26/2006 12:44:59 PM
hi, i want to make a costum pop up window that will open up in the size of the image being loaded. the images are called through an array, so i would like to have a function that costumizes the size and opens the pop up window does anyone know how to do it? i have been told its with javasc...more >>

Player 8 help
Posted by The Bliss Factor at 7/26/2006 12:36:09 PM
Is there a way for someone to help me make this code work in Flash Player 8 (Actionscrpt 2: largodemo = 25; myString = this._name; temp1 = ""; for (n=0; n<largodemo; n++) { temp1 += chr(random(42)+48); } temp2 = this.myString.substr(0, i); this.eltexto = temp2+temp1.substring(i, largode...more >>

LoadVars
Posted by rochribre1 at 7/26/2006 12:35:31 PM
Hello; How I do to load and execute many ".txt" in the same var. var cont=1; while (cont <= 5){ var arquivo2:LoadVars = new LoadVars(); arquivo2.load(String("teste"+cont+".txt")); arquivo2.onLoad = function(){ //function to be execute } cont = cont +1; } ...more >>

INPUT TEXT
Posted by yarkehsiow at 7/26/2006 12:10:49 PM
Hello, i have a dynamically created input textField with wordWrap and multiline = true; height of the textField is fixed. when text is entered at a larger size, and <enter> is pressed, one of the lines may disappear, due to the combined height of the two... my question- is there a way to s...more >>

syntax error in " import flash.display.BitmapData;
Posted by srinivasarao at 7/26/2006 12:00:00 AM
hi i made small drawing app with flash drawing api, after drawn any circle , line etc.. i am exporting as jpg using php, when i'm publing in flash one error is coming. this is my error **Error** C:\Inetpub\wwwroot\ds\snap\snap.as: Line 1: Syntax error. import flash.display.BitmapD...more >>

setTimeout/setInterval
Posted by Goo101 at 7/26/2006 12:00:00 AM
Hi there, I designed the following code to return my application to it's Main screen when the user enters an invalid voucher number (note: they need a valid voucher number in order to be able to proceed with their purchase). I want the app to return to the Main screen after a brief 5 second ...more >>

playing a movie using actionscript
Posted by BryanThomas at 7/26/2006 12:00:00 AM
I'm pretty sure this is possible but i'm not sure how to do it. I want a movie clip to play another movie clip on mouseover. I know how to get the movie being mousedover to play... on (rollover) { play(); }. But i want it to play a different video, not itself. Any ideas? ...more >>

Flash button problems
Posted by Ricky NO[at]SPAM Award at 7/26/2006 12:00:00 AM
The company i work for build computer based exams in Flash MX 2004 Pro. We decided to make the dynamic text boxes which displays the exam questions selectable. This is so an external speech software can read the text when copied. After doing this the buttons on the page that load in the new ...more >>

Pan/scroll restriction
Posted by grahamdeuchar at 7/26/2006 12:00:00 AM
Hey guys, I was never the world's greatest mathematician, so there is probably a really basic calculation you can perform to achieve this, but would anyone happen to be able to help with this: I have a Flash map I've been developing, in which users can scroll left/right/up/down/down-le...more >>

Problem Playing Sprite
Posted by dude . at 7/26/2006 12:00:00 AM
Hey everyone, Im having trouble playing a sprite. I made a button in the flash movie and what i want to happen is when someone clicks on it, it plays a sprite in the movie. I dont know the easiest way to accomplish this, but i tried using: play (spritename); and it keeps saying it has ...more >>

problem in taking print screen
Posted by vt_arun at 7/26/2006 12:00:00 AM
hai, i just wanted to know whether there is any keycode or any option to take print screen through flash MX 2004?.. i have problem in taking a print screen.. To my knowledge, i think there is no keycode or keyAscii for the print screen key in the keyboard..... Or is there any exe/tool...more >>

Help needed to develop MESSENGER
Posted by Shrijal at 7/26/2006 12:00:00 AM
Hi, I would like to develope an Instant Messenger with Flash 8. I have linux installed on my SERVER with php, mysql and amfphp and all are working fine. I have also designed the database required, but I do have a problem. Can anybody tell me the concept of messenger chating window....?...more >>

CSS in external scroll text
Posted by Helvetica at 7/26/2006 12:00:00 AM
Hi, I'm having trouble getting my css to apply to my imported scrolling text file. the frame action calls #include "actionscript.as", which specifies scroll parameters and name of text file to import (there are many). I'm, pretty sure the css has to therefore be specified in the .as file,...more >>

Check whether external SWF has finished loading or not
Posted by Sullan_1981 at 7/26/2006 12:00:00 AM
Hi guys, How do i check whether an external SWF which is loaded onto a movieclip (sub_mc.loadMovie("introduction_1.swf")) has finished loading or not. If the loading is done, then an animatoin inside a movieclip will be played, else the preloader continues. Thanks in a...more >>

Dynamic txtfields
Posted by Verstile at 7/26/2006 12:00:00 AM
Hi all, I was wonder how i can change the color of the third charachter in a dynamic textfield, which gets its content from an external txt file. --> all text have this structure: "03: nameoftile". i want the : in a different colour!! Hope anyone can help me thx!!!! V ...more >>


DevelopmentNow Blog