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 > march 2004 > threads for friday march 12

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

Help with preloader
Posted by wildman7362 at 3/12/2004 11:51:51 PM
I have a preloader that loads with a percent bar with the following comments as below. The percentage bar shows as ie 10.000000000% instead of ie 10%. What have I done wrong and how do I rectify it iBytesTotal = _root.getBytesTotal(); iBytesLoaded = _root.getBytesLoaded(); iBytes = (iB...more >>


What is the actionscript for identifying a keyfra
Posted by wadezone at 3/12/2004 11:45:41 PM
I can not find in the help what the keyword or code is I need to identify on a key frame 83 call my webpage (to use the geturl)...more >>

HELP! Flash goto's - low priority?
Posted by mr.tibbs at 3/12/2004 11:09:58 PM
If someone could provide an explanation for this behaviour, that would be absolutely fantastic: Follow these steps: 1) Open a new Flash Document 2) On Frame 1, open the ActionScript panel and type this in: function deferredGoto() { gotoAndPlay( 5 ); trace( "frame 1 trace" ); ...more >>

mc.loadMovie("c:/image.jpg") error flash <= 6
Posted by jtopland at 3/12/2004 11:05:44 PM
movieclip.loadMovie(url)... movieclip.loadMovie("http://www.site.com/image.jpg"); // this works fine movieclip.loadMovie("c:/images/image.jpg"); // this works fine with flash 7, but NOT with flash 6. I'm trying to adjust my flash application to work with flash 6. mc.loadMovie("c:/ima...more >>

Streaming mp3s will not play
Posted by Telescreen at 3/12/2004 10:01:33 PM
I'm trying to get streaming audio to work within my flash movie. The code I wrote works when using the local version 6 flash player, but when I open the flash movie in an activex container ie. Internet Explorer, the streaming audio does not work. I have the latest version activex flash playe...more >>

please help with this simple "if" statement
Posted by artane at 3/12/2004 9:54:08 PM
hey guys, I'm grabbing 2 variables from an ASP page and trying to use them in my flash actionscript with a simple "if" statement. It doesn't work and I'm wondering if the script is wrong. If not, then I'll know the problem is somewhere else. Does the following look correct? username...more >>

[mx] drop an object onto diff. drop locations
Posted by shangrula at 3/12/2004 9:28:18 PM
Hi I am trying to make a draggable object have two drop locations, but it will still only drop to one. Please if anyone can help me or notice my mistake it would be really appreciated. on (release) { if (_root.DragMotor._droptarget == "/Socket1") { _root.DragMotor._x = _root.Socket...more >>

get instance name
Posted by SuperFunHappyGuy at 3/12/2004 9:06:20 PM
Hi, Is there any way to get a movie clips instance name. For example, if I click on a movie clip, is it possible to have it's instance name outputted in, say, a text box? Thanks....more >>



Opening in another frame
Posted by chris_fill at 3/12/2004 8:18:34 PM
what would the script be to get a button to open its link in another frame heres an example [L=http://www.soogreyhounds.com]http://www.soogreyhounds.com[/L]...more >>

How to remove trailing zeroes in decimal numbers?
Posted by corneliabrodahl at 3/12/2004 8:13:47 PM
I need to remove trailing zeroes in decimals. For example: 7.10 -> 7.1. Please, can anybody help me? ...more >>

Movie clip opacity control via slider or buttons?
Posted by sourhaze.com webmaster at 3/12/2004 7:45:51 PM
Hi. Is there anyone who can tell me how to control the opacity of my movie clips using a slider? Or if not, using simple on / off (opaque / transparent) buttons? My site plays several movie clips which are all synchronized (images display along to music) and the idea is that while all of t...more >>

test
Posted by theropodx at 3/12/2004 7:43:25 PM
test...more >>

getNextHighestDepth
Posted by 7stones at 3/12/2004 7:03:07 PM
Just made a really bizarre discovery (AS 2.0). First, I have a call to a class file: var myT:Table = new Table(this, pObj); This creates and instance of a new Table movieclip which lives in "this". The Table mc is created with createEmptyMovieClip in the Table.as class. It's dept...more >>

Navigating scenes with a button
Posted by jmath_sf at 3/12/2004 6:55:19 PM
I have a 4 scene movie and I want to control advancing from scene to scene using a single button. I have tried assigning a Go To Next Scene action but it does not work....it just plays right through all the scenes. So then I tried adding a Stop action to the button. It stopped the playing thr...more >>

Need help whith flash & php...
Posted by Pluda at 3/12/2004 6:40:58 PM
Hello there, I'm developing a flash based mailinglist using php. Everything works as I expect, user can add is onw email, and I can send messages to all users. But, what I can't yet do is delete users if they want to. I've two textfields, one is "nome" and the other is "email". ...more >>

How would i go to another screen based on a......
Posted by Wazaba at 3/12/2004 6:36:54 PM
How would i go to another scene based on a certain amount of time elapsed? Also in the game i am making the movie clips keep playing once you have entered the game. I have a menu that you go to once you die and it keeps playing even there. ...more >>

Flash in Director
Posted by Kishore G P at 3/12/2004 6:23:39 PM
Hi I am sorry if I asking the question in the wrong place. Well when I import a flash file with a text field (input) into director, there is no blinking cursor, could someone let me know why it is and how could i solve it Thanks in advance ...more >>

play one .swf from another
Posted by theudog79 at 3/12/2004 6:02:07 PM
Can anybody help me out w/ the code to play one .swf on the same page sequentially after the first .swf is finished? I have a ()stop at the beginning of the recieving movie, but do not know the code to start it from the outgoing movie. I am also using IE5 on Mac so I know there are fscommand...more >>

Go to another scene based on a score
Posted by Wazaba at 3/12/2004 5:56:35 PM
Ok, im using flash mx and i want the player to go to a new scene when he/she reaches a set score. So far this is was i have: <i>if (score>=30) { gotoAndPlay("end", 1); }</i> This does <b>NOT</b> work! I am wondering if the code is right and where in the game i should be putting this co...more >>

problem loading movie
Posted by grace domes at 3/12/2004 5:49:43 PM
I am trying to script a button in the main.swf so that it will load another swf file. I have scripted the button: on release loadMovieNum ("video.swf", 75) but it will not work. I can't figure out what I've done wrong, I am following the tutorial in the HOT training book. any help would b...more >>

Please help: draggable MCs w/ synched content
Posted by sourhaze.com webmaster at 3/12/2004 5:41:17 PM
Hi - can anyone help? I'm creating an interface for an audio-visual EP release that loads in several 'layers' of content - an MP3, a series of photos, some ambient visualisations, etc.... The important part is that all content has to be synchronized (eg: specific photos must display at ce...more >>

ComboBox Component
Posted by Sav at 3/12/2004 5:26:22 PM
I am dynamically generating a comboBox from an array in a loop. The length of the comboBox is correct when created but the items are not viewable in the comboBox list. However when scrolling down the comboBox list and clicking an invisible entry the correct entry is put into the top of the com...more >>

embedFonts + loadMovieNum --> ** bug **
Posted by Niouze at 3/12/2004 4:55:54 PM
I'm having something wired : I'm creating a text box with html text into it, then applying a TextFormat with the font "debussy" (see code below) Making this font available into the library (export for actionScript ) and it works ok. But if I come to load this movie inside another one, u...more >>

loading jpg into a textfield doesnt work!!!
Posted by lagernaut at 3/12/2004 4:40:28 PM
when loading a jpg into a textfield with the script on the first frame of the main movie and the textfield on the main movie stage this seems to work fine!! .......BUT get a little bit more complicated and it all gets abit weird!!! eg: i have a multiple frame movie. On frame 3 i have a MC w...more >>

Flash and Javascript PLEASE HELP!
Posted by oinswerk at 3/12/2004 4:35:55 PM
Can anyone tell me how to control a Flash movie's timeline with javascript. What I want to do is have a mouseover which will force the Flash movie to go to a certain frame or stop etc... I have tried following some examples but with little luck. Here is the code I have got so far to give y...more >>

simple question
Posted by ldebono at 3/12/2004 4:09:19 PM
You know how you can combine events by using a comma: on (release, dragover) how would you do that if you are doing it this way: myButton.onRelease = function () { }...more >>

trouble with text aliasing
Posted by jmast at 3/12/2004 3:54:08 PM
I dynamically create text fields using actionscript, I then populate these and use a text format to set their styles etc. When I export the flash movie, the text does not look very pretty; ie. it is not aliasing. At all. I've tried setting the _quality and _highquality properties of the ...more >>

Dynamically Controlling Multiple Movies
Posted by XF|FatalPixel at 3/12/2004 3:48:58 PM
I am trying to get my script much more compact. I have 72 movies called movie0,movie1,move2 etc I am using Math.random and math.round to give me a number between 0 and 71 (the variable is called 'movieChoice') I have succesfully made a variable 'theMovie' as shown below and it does the...more >>

Movie control Timer
Posted by kafir at 3/12/2004 3:42:11 PM
Hi forum, I'm working on a timer that countsdown from e.g. 100sek. before it goes to the next frame. I have tried setInterval(CountDown(), 1 * 1000) but that does work. If anyone has the answer, please describe where in the movieclip i should place the A.S. Best regards Hr. Klint ...more >>

actionscript in flash 5
Posted by mixindave at 3/12/2004 2:56:00 PM
i need help with dragable objects, i try to insert the script "on" but cannot be selected. i have tried a number of ways....more >>

** button on top of a button
Posted by mireeyum at 3/12/2004 2:52:01 PM
ohboy, i have a navigation bar on the right side of the screen that is 90% hidden. i want this bar to slide open when rolling over the visible corner of the bar displaying the navigation items, which are separate buttons. subsequently, the separte nav items should work as functional button...more >>

writing components for Flash MX 2004
Posted by Mark Redman at 3/12/2004 2:03:03 PM
Hi All, I have written a component where all the drawing is done within it and draws correctly at runtime, how can I get the component to draw itself when placed on the stage at design time. Thanks Mark ...more >>

startDrag
Posted by evilpixel at 3/12/2004 2:01:03 PM
Hi, I have a Flash Movie which I am pubblishing to Flash Player 5. On the left hand side I have lots of body parts which you can drag onto the main area. All the body parts on the left have the startDrag action: on (press) { startDrag(this, true); } And they are all reduced in size ...more >>

Help! Dynamic Images not working - server issue?
Posted by MadJimi at 3/12/2004 1:56:55 PM
Hi all, The (overdue) project I'm working on is an e-learning course developed in Authorware, utilizing Flash for the majority of the content in my piece. The course is (er, should be) fully dynamic to serve all North American corporate locations, and should be able to add new locations w...more >>

can you refer to a graphic in actionscript?
Posted by mike2020 at 3/12/2004 1:48:06 PM
is it possible to refer to a graphic symbol that is on the main timeline/stage with actionscript? i want to have a movie clip that copies it's x and y coordinates from a graphic symbol already placed on the stage. i need the frame with the graphic symbol on to print out, hence i can't just...more >>

HELP! Flash/Javascript communication
Posted by Tyree at 3/12/2004 1:31:44 PM
Is it possible for a standalone flash projector to house or communicate with an external javascript that will open a new html window full screen when a button is pressed? Please help! :-D ...more >>

inverse of tan, rotating mc
Posted by Ackbaar at 3/12/2004 1:22:04 PM
does anyone know how to get the inverse of tan in flash mx 2004? or any solution to my problem, i have a function which determines the gradient between a point and the cursor now i want the angle between the horizontal plane and the line of resulting gradient, i was going to use angle = invers...more >>

Projector Access external swf at url?
Posted by .....james smith at 3/12/2004 1:09:37 PM
My Question is can i standalone projector file access a swf file which is located at a website url ? And load it ? ...more >>

Flash6 AS1.0 to Flash7 AS1.0 or 2.0
Posted by ravexl at 3/12/2004 1:01:42 PM
I have a fairly large AS application built with Flash 6 using AS 1.0 coding. I can publish as F6 AS2.0 and it runs without error, however, if I choose F7 1.0 or 2.0AS it doesn't seem to process any of the mcEntends class objects, etc. The compile/test movie returns no errors. What sort of thin...more >>

create specific number of textfields
Posted by TheBimmer at 3/12/2004 12:13:23 PM
I have a couple of questions... First: how can I create an action in the swf movie ( as to go to a specific frame in the timeline) by using the javascript? I believe that there is a function in javascript which is GoToFrame(); but i did not know how to use it... Second: Lets say that I w...more >>

button.enabled
Posted by evilpixel at 3/12/2004 11:49:22 AM
Hi I am trying to find out how to disable a button, but instead of using the my_btn.enabled action which only works in Flash Player 6 I was wondering if there is a way to do it if I am publishing to Flash Player 5. Thanks Aaron ...more >>

command line paramters for projector.exe
Posted by Torfinaut at 3/12/2004 11:47:49 AM
Hi all! is there a way to pass command line paramters to a flash movie running inside a projector executable? For example, I?d like to start a projector like this: myprojector.exe startauto=1 and want the movie in the projector to be able to evaluete the variable "startauto"... ...more >>

Key.getAscii - English keyboard values
Posted by dsodol at 3/12/2004 11:34:12 AM
Hi all, according to the Flash ActionScript documentation for Key.getAscii, "The ASCII values returned are English keyboard values. For example, if you press Shift+2, Key.getAscii returns @ on a Japanese keyboard, just as it does on an English keyboard." What I want, though, is to get...more >>

About the rotation of dynamic textfield
Posted by NoCache! at 3/12/2004 11:32:19 AM
Hi everyone: I want make a rotation of a dynamic textfield,but I found the attribute _rotation don't work,when I change it I found the dynamic textfield disappeared.Why? Any one can tell me HOW TO MAKE A ROTATION???? THX ...more >>

Dynamically attach movie to a empty movie clip
Posted by tanhy at 3/12/2004 11:26:46 AM
Hi, Is that possible to create an empty movie clip (by using createEmptyMovieClip function), and then attach another movie clips to this empty clip? The number of movie clips to be attached is unknown, so I have to keep track of the number, and then assign a specific name as the instance o...more >>

[ADSL<>56k] GotoAnPlay different work
Posted by chambio at 3/12/2004 10:50:07 AM
in english (Flash MX, AS 1.0) Hi, When itest my application in flash (data coming from lotus), I noted a different work between modem 56k and ADSL. By digging the question, it appears that at the time of the use in 56k, GotoAndPlay is not done, but animation continuous with the following...more >>

Most Interesting Topic EVER in this Forum
Posted by mrism at 3/12/2004 10:47:46 AM
Hey guys, I have never had so much fun reading a thread then this one in my whole life. This is like one of those thriller novels that gets more creepier and intense with each new thread. But unfortunately, the ending seems to be missing. What could have happened of that "wicked" control they ...more >>

Easy Javascript question for somebody!
Posted by submax at 3/12/2004 10:13:03 AM
Hi I'm editing a website authored by somebody else, and created in MX. The HTML page in which the movie sits has this javascript, created so that the page's background colour can be controlled from within the flash movie: <script language="JavaScript" type="text/JavaScript"> <!-- ...more >>

External swf and parent movie Q.
Posted by James Brown at 3/12/2004 9:52:27 AM
Hi there. Pretty new to flash, can someone tell me if a movie clip in an externally loaded swf can 'talk' to a movie clip in the parent move. Basically I have a automatically running slideshow in the external movie and when it gets to certain frames I want to put some action script to tell a...more >>

new line break
Posted by Todd Coulson at 3/12/2004 9:39:24 AM
I tried posting this yesterday, but got no responses. So I will try to describe my problem more thoroughly. \n is supposed to put in a line break. If you open a new file and put the following code into a dynamic text box it breaks at the \n and doesnt print it: myText_txt.text="Some text\n ...more >>

problem with getURL
Posted by jjsand28 at 3/12/2004 9:25:59 AM
hello everyone I've got a flash movie being used as a menu and in it are links. Since I can be, at times, lazy I have created a variable of the root directory: webSite = "http://www.mySite.com/"; There are sections in the site that are stored in folders off the root directory, the re...more >>

html flash, <a href> and goto
Posted by Atomo2003 at 3/12/2004 9:16:22 AM
Hi, I load an external html file to a textarea. Can I refeer an a href tag (of the html file loaded) to some movieclip(gotoAndPlay...)? Thank you very much. Marco...more >>

Creating a Bitmap tile in Actionscript
Posted by Adesso21 at 3/12/2004 9:14:49 AM
Hey all .. I am not new to actionscript but rather new to this concept of bitmap tiling in Flash. After some research I found the normal way of making a tiled background for a MoviweClip. Import, Break Apart, Dropper and fill.... Really easy if you have the time to author a background...more >>

How to plot a graph wih flash and actionscript
Posted by tiwarishailendra2 at 3/12/2004 5:26:11 AM
Hi! can anybody please tell me how can we plot graph with flash and actionscript.Suppose we have : X: 1,2,3,4,5,6,7,8,9. Y: 1,4,9,16,25,36,49,64,81. How can we plot the graph of Y v/s X. Thanks....more >>

Changing Sound Position
Posted by Chizl at 3/12/2004 5:12:09 AM
I wrote basicly WinAmp in Flash, but I'm having problems changing the sound position while a slider bar. I have searched the web and can't seem to find anyone that this, only Volume and Pan. My first try.. http://www.chizl.com/music/mp3 ...more >>

Any idea how they did this?
Posted by henrik_smenrik at 3/12/2004 4:29:53 AM
I like how they scripted the rollovers on this page! I just do not know how to get started on it. Any ideas? http://www.8edge.com/main.html...more >>

overlapping window
Posted by lillymiller at 3/12/2004 3:18:12 AM
OVERLAPPING WINDOW I would like to program a button to open a .swf file in a smaller window. The window would overlap the main page. example: http://www.hillmancurtis.com/hc_web/web_motion.shtml click on any example in the middle column of this website and a smaller window will open ...more >>

interactive menu
Posted by Diego Monzon at 3/12/2004 3:14:19 AM
Hi Does anybody know where to download a code to make a menu like this ? http://www.merkdesign.com/paris/ thanks Diego Monzon ...more >>

Help on video streaming
Posted by yeeshin at 3/12/2004 3:11:29 AM
Does anyone knows whether flash mx 2004 can support video conferencing without going through the flash communication server? For example, can two people , each with a web camera on their pc, communicate with each other through flash without using flash communication server? ...more >>

How to duplicate MC?
Posted by sucen at 3/12/2004 1:28:03 AM
Hi, I have a problem, how to duplicate MC1, but after it is changed to another form. Thank you,,,...more >>

Can I make Rhythm game with only flash?
Posted by hd2dj07 at 3/12/2004 12:57:45 AM
i'll make rhythm game with only flash.... is it very hard? or is it imposible yet? please, must reply.......more >>

Projector Maximise
Posted by .....james smith at 3/12/2004 12:10:15 AM
Can you disable the maximise button on a projector file ? if so how ...more >>

Fscommand
Posted by .....james smith at 3/12/2004 12:09:39 AM
What the fscommand to stop the user from zooming in ? ...more >>


DevelopmentNow Blog