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 wednesday october 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 31

Rotate Error
Posted by Elad83 at 10/19/2005 10:42:42 PM
I'm writing a simple shooting game of a man that point a gun and shoot on birds. the gun barrel is pointing in the cursor direction, and when ever i move the cursor, the gun's barrel should point to the new postion. how can i do it? i tried to calculate the degrees difference between the ol...more >>

Why doesnt this javascript work?
Posted by PTrice at 10/19/2005 10:18:51 PM
How do I pop-up gloss.html in a new window that is 800x400. This does not work: getURL("javascript:window.open('gloss.html','','width=800,height=400')","_blank");...more >>

Volume Contol
Posted by DJ Sick Nick at 10/19/2005 10:18:22 PM
I need a way to be able to incease and decrease the volume of my background music with a dragging bar. can anyone help? Actualy... is that posible?:confused; I will apreciate all replys. Thak you, -Nick Debergue :) ...more >>

Destroying a dynamic combo box control
Posted by msanders_sscd at 10/19/2005 10:10:14 PM
I am creating an application that creates many combo box components based on a database table. I can create and use the dynamic combo boxes without a problem. The problem is when I want to tell the application to creat more combo boxes, again based off of a database table, I can not destroy...more >>

clearing actionscript
Posted by cre8ive1974 at 10/19/2005 9:27:45 PM
is there a way to clear action script from a movie. I have some code on frame 1 of a movie. on frame 2 of the movie I do not have this code, but the movie still executes the code. this is an example of my code. stop(); aboutUs.onEnterFrame = function() { if (aboutUs.hitAreaMenuAb...more >>

Re: get URL and buttons
Posted by Astonished Man at 10/19/2005 9:14:12 PM
Glad to help. I usually just have problems so it was nice to have a solution for someone. Know anything about using MovieClipLoader to preload a swf?...more >>

Randomly Sort an Array
Posted by JDRives at 10/19/2005 8:15:30 PM
Does anyone know if you can use the Array.Sort() method to randomly sort the array and how to do it? Thanks, JD ...more >>

PHP & FLASH // I NEED HELP WITH THE CODE
Posted by zunskigraphics at 10/19/2005 8:02:21 PM
I have an email form with imput text boxes, the boxes varibles are named: Sname Saddress (1) Saddress (2) Scity Sstate Szip Semail There is a "clear" button, and a "send" button here is the link to what it looks like.... www.lancekorsun.com/FTF/freebibletext.html I not ...more >>



Flash Detection
Posted by idezign4ua at 10/19/2005 7:05:09 PM
I am trying to use the flash detection now built in with Flash 8. However when I do so and publish (following the tutorials on this site) and view the html file, the swf loops at the beginning part and never completely finishes the duration of the swf. When I publish without the detection the ...more >>

scrolling project, need help!
Posted by ToffeeCrisp at 10/19/2005 7:00:30 PM
ok i will try to explain as best i can, i have a movie clip which is the image of a cloud, i want this cloud to move left or right, when it reaches the edge of my flash (going either left or right) file i want the scenery (content) in the background to start scrolling to follow the direction o...more >>

OOP version for event listener
Posted by fromsir12 at 10/19/2005 6:59:25 PM
How would this translate into OOP actionscript? newListener = new Object(); newListener.click = function(evt){ } Thanks! Brian...more >>

button functions 101
Posted by greatone305 at 10/19/2005 6:56:40 PM
Hey guys My problem is I have mutliple buttons inside an mc that controls other mcs. what i want to do is when the button is clicked it plays and mc on the timeline and stops, when another button is pressed it checks to see if that mc has played and if it has and stopped then if will jump a...more >>

use input value as location
Posted by kahkit at 10/19/2005 6:40:04 PM
i have load variable num form a txt which have p1=num1, p2=num3, p3=num2 in my flash i have 3 input box name num1, num2 and num3 the trick is to call in different value for differnt postion if num1 is p1 it will have random number from 10 - 20; if num1 is p2 it will have randome from 20...more >>

WEB DESIGN
Posted by GellyBean at 10/19/2005 5:36:02 PM
Hello, Guys Does anyone know (or know of) a tutorial which will instruct on how to create a Web site putting in separate SWF files? I think that would be a great help with the loading speed and the functionality of the site. Is this correct, or am I mistaken? Thanks in advance G ...more >>

loadMovie question
Posted by riaskaya at 10/19/2005 5:11:25 PM
Hi everyone - I'm a bit of a newbie, so please go easy on me. I am creating a site that loads each section as a LoadMovieNum command. Some questions: 1. When the site initially loads, it seems to need a mouse click just to get "working" - prior to a mouse click none of the buttons wo...more >>

loading a swf file in another swf file
Posted by deerowbear at 10/19/2005 5:09:21 PM
I currently have a swf loading another swf. Here is the script: ------------------------------------------------------------------------ onClipEvent (load) { //_parent.loadVariables(_root.globe.fullPath); this.createEmptyMovieClip("earl", 1); //earl._x = 0; //earl._y = 0; loadMovi...more >>

how to create a button inside a button
Posted by forumnotifier at 10/19/2005 5:02:22 PM
I have a button created and when the button is clicked I would like there to be two more buttons a user can click on. Is this possible?...more >>

sliding preloader
Posted by aesthetix at 10/19/2005 4:39:07 PM
hi guys, i'm working on a preloader, i have a movieclip sitting on the 1st frame of my fla with another action layer sitting on the same frame, what i'm trying to do is to move my movieclip towards the left until 'bytesloaded' equals to 'bytestotal' and then plays scene 2, can anyone help me w...more >>

ActionScript to access movie-clip instances in a class file
Posted by SKGUP at 10/19/2005 4:38:35 PM
Hi, I have created a movie clip for a character "RAChar" that is associated with an ActionScript class object. The character movie clip contains two other movie clips for the left and the right eye. The eye symbol is also a movie clip that is animated to "blink" and is also linked to a cla...more >>

FLVPlayback and attachMovie
Posted by Jaleho at 10/19/2005 4:32:02 PM
Not sure is this is an actionscript problem or a component problem, so I'll post it in here, too... In my library, I have the compiled clip "FLVPlayback", and a movieClip named "videoHolder_mc". On the stage in frame 1, I have an instance of "FLVPlayback" named "my_FLVPlybk3". and an insta...more >>

e-mail window opens blank browser window as well
Posted by spindletop at 10/19/2005 4:18:31 PM
I'm using getURL("mailto:smurphy@dslextreme.com", "_blank"); to open a new e-mail window to contact me. When the e-mail opens, I also get a blank browser window, too. Any ideas? I've taken the "_blank" out...still not working. What's funny is that I don't get the problem in Firefox, I do g...more >>

get URL and buttons
Posted by mkochan720 at 10/19/2005 4:00:15 PM
I put the following in the actions panel for a button with the instance name "clip_btn" clip_btn.onRelease = function() { getURL("clip.html", "_self"); }; and it keeps givng me an error : **Error** Scene=Scene 1, layer=clear, frame=1:Line 1: Statement must appear within on hand...more >>

relative paths on the web
Posted by MichaelBlum at 10/19/2005 3:02:55 PM
I have code that looks like this: var XMLFile:String = testID + ".xml"; testXML.load(XMLFile); which sucessfully loads the xml file. The xml file is in the same directory as the .swf file which loads the .xml. the problem is, when I put these files on a web server, the xml file i...more >>

Do not understand Preloader tutorial
Posted by amyinbrooklyn at 10/19/2005 2:44:59 PM
As briefly as possible, I will tell you what it says: 1. in Scene 1 (top in hierarchy and made for preloader) keyframe on frame 1 siteLoaded = "0"; _root.bar_mc._xscale = "siteLoaded"; 2. in Scene 1, keyframe on frame 2 _root.bar._xscale = "siteLoaded"; siteLoaded = (_root.getBytesLo...more >>

loadMovie and levels
Posted by Astonished Man at 10/19/2005 2:30:57 PM
I have a flash movie that I need to load into my new movie and then layer some new buttons and such on top. All the new functions are in a seperate movie. I can make it work by using createEmptyMovieClip and loadMovie for both and put them on different levels. But I need to load the origina...more >>

about loading mp3 file
Posted by 123lionel at 10/19/2005 1:57:05 PM
Hi, Have two questions: 1. I'm using Flash MX, can I load mp3 file use loadMovie() function? 2. how to use Sound object to play swf file? mSound = new Sound(this); mSound.loadSound("mysong.swf", true); Thanks in advance. ...more >>

How to get Button nav menu n MC drop down to communicate?
Posted by artscreations at 10/19/2005 12:34:59 PM
:D Hi All, How do I get my drop down menu for "Galleries" when the user mouse's over/rollover, so that not only does the drop down submenu work, but also so the slider bar works just like the rest of the 6 main menu buttons? I am real new to Flash, (first flash site n customer, and it h...more >>

Dynamicly changing motion tween speed
Posted by Shipka at 10/19/2005 12:30:25 PM
Hi. My name is.. I need to have objects that are acctually lines that can have little arrows going along them. The problem is that the arrows need to have according speed to some variable. The only way I thought of was to dynamicly put the needed number of frames inside the motion tween, b...more >>

PrintJob() Takes Too Long
Posted by NomadicDesign at 10/19/2005 12:18:59 PM
Hello all, I have and interesting problem this time around. I have created a PrintJob() object which currently prints out 4 pages of information for the end user of my program. The whole process works fine except that, once you press "OK" in the default print dialog (the result of cal...more >>

drag and drop "snap to"
Posted by age6racer at 10/19/2005 11:53:19 AM
Hi all, I'm working on this http://www.bi03.co.uk/couture , and I'd like to make the bar "snap to" certain points along the line. Does anyone know how to do that? p.s.... yeah i know I need a preloader! :) ...more >>

Static Text --> Button
Posted by kko_k at 10/19/2005 11:19:11 AM
Hey guys, I was just wondering... When I make static text into a button, the clickable area is like, ONLY on the letters, which is really thin, so if you have a thin font (or, anything that's not really BOLD), it's really hard to click on. Is making-a-transparent-box-and-grouping-it-w...more >>

Flash and file handling
Posted by Trollhammaren at 10/19/2005 10:19:50 AM
I'm currently using Director MX and a 3rd party tool (Buddy API) to copy file from Cdrom to another location ( disk, network location etc). 1. I was wondering whether Flash has the possiblity to copy files without any 3rd party tool? In flash documentation I've encountered the following: F...more >>

About Progressive JPG in Flash player
Posted by Pal_w_G at 10/19/2005 10:04:10 AM
:confused; As per my knowledge goes i know that progressive jpgs are not supported in Flash LoadMovie action. But sometimes it just not happening. There are some Exceptions. And specially in Flash Player 8. Does any one have any clue? ...more >>

Array Delimiters
Posted by mobiusi at 10/19/2005 9:29:59 AM
Is there a way to change the delimiters in an array to be semi-colon instead of comma? i know the unicode char is \u003b and was thinking there was a funciton or command to change it....more >>

Can someone please explain?
Posted by Matthew Morvant at 10/19/2005 9:26:55 AM
I have been recieving some help here but keep getting stuck because what I expect to happen does not happen. Please visit the following page to see the movie and the code: http://oc.bfrd.biz/map/map.html If you would like to view the data source: http://oc.bfrd.biz/map/xmlMapData.xml I ...more >>

Usage Tracking and FLV
Posted by Chris McLaughlin at 10/19/2005 8:44:52 AM
Is there a way to track usage of a video? Specifically, I want to know how much of a video a user has watched before navigating away keeping in mind that at some point they might pause and then continue playing the video. ...more >>

Further info....
Posted by Kevin Stocks at 10/19/2005 3:25:25 AM
Perhaps this is more than a question of coding and perhaps it's a memory/resource issue? It appears that if I use the: //Button onDragOut for (ivar=1; ivar<=11; ivar++) { this["btn"+ivar+"_btn"].onDragOut = function() { this.gotoAndPlay("play"); }; } ....scripts, flash seems a bi...more >>

Button Script not working - flash 8
Posted by Kevin Stocks at 10/19/2005 2:37:56 AM
Hi, I have everything working but as per a previous post, I still can't get the buttonPress#(); function to work.... can you see something wrong with this code? //Button onPress for (ivar=1; ivar<=11; ivar++) { this["btn"+ivar+"_btn"].onPress = function() { this["buttonPress"+ivar](); ...more >>

Need help with swf files
Posted by WeZona at 10/19/2005 12:00:00 AM
Here's the situation. I am creating an interactive portfolio in Flash MX2004. I have certain buttons that link to .swf files that are on a server. Currently, the links work fine, but my problem is that the swf files open up in a full browser window. I want them to open in minimized windows...more >>


DevelopmentNow Blog