Groups | Blog | Home


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 wednesday march 24

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

Math question.
Posted by ... James Smith at 3/24/2004 11:08:56 PM
How do you get a percentage for the following. I have a number 156000 and i want to find what percent another number is to it eg 178 / 156000 = 7% of 100% Whats the formula? Thanks in Advance ...more >>


sendAndLoad() problem: Please help!
Posted by grob at 3/24/2004 10:53:58 PM
I have a function which sendsAndLoads variables from a Flash file to an ASP file. It works beautifully the first time, but I can't seem to get it to work more than once. I am wondering if it because something - an object or a variable (?) need to be deleted before reusing it? I don't quite un...more >>

Database access
Posted by kclark85 at 3/24/2004 10:50:13 PM
If I create a "sign up" form in flash and have it do all of the background work (IE: Checking if that user name exists, and adding the new user) will that work on a host site like tripod or will it not let flash edit my database? Thanks! ...more >>

refresh the stage.
Posted by André Heßler at 3/24/2004 10:45:17 PM
Hi! I have got an endless loop (while(1)). Within this loop, I want the stage to refresh its animations after each loopflow. For example: I have a function. anywhere in this function I want to wait, until ball_mc._x is < 10. Then the function has to go on. myfunction = function() { ...more >>

declaring variables
Posted by myckelh at 3/24/2004 10:41:19 PM
Can anyone tell me why my code is not working? I'm not an expert on setting and using variables, but I have done it this way before in flash 5 and it worked. on(release){ //var sAttachMovie = _root.attachMovie("win","newwindow",30) //var xLocation = _root.newwindow._x = 300 //var...more >>

Dynamic Menu Using LoadVars Object
Posted by skaiwayne at 3/24/2004 10:24:51 PM
Im loading an ASP file from the Database and the bringing it into flash using LoadVars object. Im trying to create a dynamic menu the asp file looks like this: &menutxt=ABOUT,CONTACT,PHOTO GALLERY,GUEST BOOK,LINKS, In flash Im using an Array like this: dataObj = new LoadVars(); dataOb...more >>

Simple ActionScript movement question
Posted by michaelam1 at 3/24/2004 10:07:17 PM
I have a box I'm moving across the screen with the following script: onClipEvent (load) { //this sets the initial x position of our clip this._x = 550; } onClipEvent (enterFrame) { //this moves our clip 5 pixels to the right every frame this._x = this....more >>

System.capabilites
Posted by lmckinney at 3/24/2004 9:52:56 PM
I need information on how to set the users monitor resolution to 1024x768 regaurdless of their current screen resolution temporary for just the application and on exit reset thier resolution to what ever they had it. the RIA that I am building requires to use the full screen which we are using...more >>



Loading Form Screens independently...
Posted by xeet at 3/24/2004 9:50:49 PM
I have made a site in flash using screens, but I need to load the individual screens independently. I have tried to set autoload to false access the inheretied properties of the screens (ie. totalBytes) but cannot seem to get anything to work. The hierarchy of my site is one main screen wi...more >>

Tree Component - Get Parent Node
Posted by leojhartiv at 3/24/2004 9:46:15 PM
Hello, I have two questions: [num] [li]Given a particular node on a tree, is there any way to reference that nodes parent? I tried the following: trace(thisNode._parent.nodeName). That didn't seem to work. [li]Is there any way to scroll the Tree window to the currently selected node?...more >>

Forms development
Posted by WyrdMagick at 3/24/2004 9:41:52 PM
I'm trying to make a fairly complex application using forms. The problem I'm immediately running into is that I want one main navigation bar movie clip to control the showing and hiding of screens. Is there a way to tell Flash that when I click this button I want to show this one screen an...more >>

Combo box value or label in else statement
Posted by kwp at 3/24/2004 9:31:16 PM
Hello, I want to require a user to select a choice from my ComboBox component is named Business. I have five values in it. 0 = blank (no label) 1 = business label1 2 = business label2 3 = business label3 4 = business label4 What code place in a button to check to see if a u...more >>

scroll not working when put in MC
Posted by jessicuh at 3/24/2004 9:15:09 PM
Hello all, I am uploading an example of this problem... I found a tutorial on how to make a click and drag scroll. I built my elements on top of the origonal movie's to figure out how it works. It works fantatically UNTIL I out in inside a movie clip on my main timeline. Can anyone...more >>

Right/Middle mouse click
Posted by ArieKo at 3/24/2004 9:07:02 PM
Is there a way in Flash/Actionscript to capture the clicks of right / middle mouse buttons? I desperately need to enhabce the interactivity of my application using this two buttons (or at least the right button). Any help will be most welcome!! ...more >>

Addressing stacked MC's
Posted by Dinghus at 3/24/2004 8:50:30 PM
I have a dynamic menu sorta kinda. :) Anyway, I pull in a list from the database. I want to be able to easily hide the list until it is needed. The easiest way, I thought, would be to put it all in a Movie Clip so I can just change the visibility of 1 MC vice a bunch of them So I have c...more >>

Flash MX form sendAndLoad issue...
Posted by EktoEkbat at 3/24/2004 8:43:18 PM
Hello, The elements on my 'form' are: Input Text, with instance name: 'e_mailInput' . The variable name is: 'e_mailpre' the Send Button, with instance name: 'send_Button' . The event handler is 'onClick' This is the Actionscript on the same frame, different layer as the 'form' ...more >>

Double click
Posted by JudyAnne at 3/24/2004 8:35:03 PM
Hi, Has anyone been successful in creating a double-click action within a movie clip? Judy...more >>

How to Control volume of Embedded Video?
Posted by cheka42 at 3/24/2004 8:31:42 PM
How can you control the volume of an embedded FLV video clip in Flash? I'm using the NetConnect & NetStream classes to load an external FLV into a Video Object on the stage. thanks! -Jesse...more >>

downloading files (zip, pdf, jpg)
Posted by jhdwstudio at 3/24/2004 8:30:54 PM
What is the actionscript to download a file to a persons desktop from a flash projector/player? I am burning a presentation onto a cd and I have a couple of files that go with the cd that I would like the user to simply click on a button in the flash projector and it begins downloading the...more >>

Using a microphone in Flash MX
Posted by James O'Reilly at 3/24/2004 8:21:26 PM
Has anyone seen a good demo/tutorial on using a microphone in Flash MX to record audio and save it to a server? -- James ...more >>

help help help!! actionscript to move to frame
Posted by Kay Poe at 3/24/2004 8:06:26 PM
aaargh. I have two layers, one named main, the other philosophy. The button "philosophy" on main, i want to link to philosophy of course. i don't know what i am missing--i have made them buttons, symbols, named instances...i have tried several codes including: on (release) { gotoAndSt...more >>

Make Button Start Flash Movie - New User
Posted by janeinpa at 3/24/2004 7:44:32 PM
I am new to Flash and I read the tutorials, but I'm still having trouble. I have a small flash movie called movie.swf. I want to add button to play the movie. I stared a new flash file, imported movie.swf. Then I got a button from the common libraries. I clicked on the movie and gave it t...more >>

sliders for editing ra,rb,ga,gb,ba,bb,aa,ab value
Posted by JuanBobo00 at 3/24/2004 6:57:33 PM
I have a flash page with vertical sliders that I want to control the color percentages and absolute color of another movie clip. For code purposes, let's say the "slider" movie clip (the actual object that moves up and down adjusting the values) is nested in the "slide_rule" movie clip (that ...more >>

duplicateMovieClip onto a LAYER
Posted by mxMIke at 3/24/2004 6:31:40 PM
Is there a way to make the duplicates that emerge from this script spawn on a specific layer. for (x=0; x<10; x++) { duplicateMovieClip("_root.flake2", "flake2"+x, x); } __________________ ...more >>

Play, Stop & Rewind animations in different scenes with a slider and a drag bar. [URGENT]
Posted by Lye Yin at 3/24/2004 6:21:18 PM
Hi.... I got a fla with a few scenes. I want to have a controller panel that consists of slider, drag bar, pause, play and rewind. Something like a video controller How do I go about doing it? Thanks. LY ...more >>

Sound doesn't work
Posted by Cloud 9 at 3/24/2004 6:14:36 PM
Hi, I am still new to AC and I need to know what I am doing wrong in the following: hello.attachSound ("night") hello.start (0, 999) hello.setVolume (100) The sound won't play. Yes I have my mp3 file assigned with a Linkage and export at 1st frame. I am using Flash 2004 Pro, Mac O...more >>

Button links to IFrames
Posted by vector_anomaly at 3/24/2004 5:57:17 PM
Well as the topic states my question is about linking to an IFrame. I was told that you can't link an Iframe the same way as a normal frame set. I can't find anything anywhere on how to do this. Thanks for any help. This is what I have -------------------------- on (release) { _root.r...more >>

[F6] filled shape with a hole
Posted by lingoingo at 3/24/2004 5:46:27 PM
Is it possible with the draw-commands in AS?...more >>

change color of movie clip in movie clip
Posted by Ed Siegel at 3/24/2004 5:44:52 PM
I have a movie clip that contains other movie clips. I can control the progress of the internal clips from the root by referencing them as Main.subclip. I need to adjust the color of one of those clips from the root. Using: mcColor = new Color(Main); mcTransform = new Object(); I c...more >>

displaying array list
Posted by palmps at 3/24/2004 5:32:25 PM
I am new to actionscripting and am having trouble getting an array to display an entire set of variables in a dynamic text box. It is only showing the last one of the array list. Any help would be great. text file looks like - v1=apple&v2=cherry&v3=lemon&v4=banana&count=4&loaded=1 flas...more >>

picture motion
Posted by sigtechian at 3/24/2004 4:54:21 PM
Can anyone tell me how to perform the motion effect on the vica picture(click on the vernita link and roll mouse over her pic) at this link http://www.kill-bill.com/vol1/flash/index.html . I am famliar with all of the easing equation but i don't think they use it. ...more >>

Centering mouse on custom mouse
Posted by Heros_Darkness at 3/24/2004 4:37:48 PM
I have been working on a project for a long time now and before it is finished I wanted to add a sutom mouse. I put in the following script for my custom mouse. Mouse.hide(); _root.onMouseMove = function() { setProperty(myMouse, _x, _xmouse); setProperty(myMouse, _y, _ymouse); updateA...more >>

how do I go from expert to normal mode script 2004
Posted by ldeazy at 3/24/2004 4:31:32 PM
How do I switch from expert to normal while actionscripting. Because I think 2004 automatically goes straight to expert mode and I can't find the place to change it. I know how in mx. Plz help. Landon lwilliams@convexgroup.com ...more >>

Keyboard shortcuts in MX 2004?
Posted by JAXIMFLASH at 3/24/2004 4:08:33 PM
Are there any new method to easily implement keyboard shortcuts in MX 2004? I'd like to mimic most of the keyboard shortcuts in my flash movie: i.e. CTRL+C to copy text. My flash movie is currently in Flash MX, and as far as I know there is no built-in actionscript to quickly allow this...more >>

AS2 and classes
Posted by ben_lclc at 3/24/2004 3:39:12 PM
i like AS2 but am having difficulty using classes properly (OOP is fairly new to me as it is!). in AS1 i could do this: //------------------------------------- String.prototype.traceMe = function() { for (var i=0; i<this.length; i++) { trace(this.charAt(i)); } } var myString ...more >>

Random Animation
Posted by lardlad at 3/24/2004 3:29:54 PM
I have a need for animating a comet streaming across a swf file. I want to have one in view every several seconds or so but I don't want the same animation over and over. I'd like to vary the position and possibly the speed. Is anyone aware of any tutorials or FLA files to download? ...more >>

question about contraining draggability
Posted by rediska at 3/24/2004 3:21:48 PM
I want to make a clock and make the hand of the clock draggable. I need to somehow constrain it, so that one end of the hand is fixed, and the other can be dragged in a circle. I've tried so many things, nothing seems to work....... Can you help me, please? ...more >>

How to launch a blank custom sized URL window?
Posted by Inspector71 at 3/24/2004 2:53:18 PM
I was wondering if there's a SIMPLE way to launch a blank, specified SIZE url window from a Flash button? Any help would be appreciated. Please note: the key word is simple. P.S. I'm using Flash MX 2004 standard. Thanks! ...more >>

Can't print dynamically loaded jpegs
Posted by BraveSirAndrew at 3/24/2004 2:45:30 PM
Hi Has anybody had any success printing jpegs which are loaded dynamically with loadMovie. It seems that printjob will only print jpegs that are in the library. Anyone have any ideas? Thanks Andrew ...more >>

how to go out from a MC clicking on a button insi
Posted by Radasca_Man at 3/24/2004 2:37:26 PM
I have a swf with 4 scenes (just for test). in scene 1 is a circle, in scene 2 are 2 circles, in scene 3 are 3 circles and in scene 4 are 4 circles and one MC. In this MC I have a button. What is the action script that I have to put on this button in order to go in scene 4 frame 2 (for example...more >>

Preloader problem!
Posted by foulem at 3/24/2004 2:19:20 PM
I tried this code bellow in a preloader movie. The problem is that this code load the quiz movie not when it is all loaded but somewhere in the first 25% of the byte dowloaded. Do you know how to modify this code bellow to load or show only the quiz movie when that quiz is all dowloaded. l...more >>

Pop Up Window In Front
Posted by Picashi at 3/24/2004 2:11:55 PM
I am using the following javascrip to open a new popup window from Flash javascript:openNewWindow('http://www.mywebsite/index.html','thewin','height=550, width=750,toolbar=yes,scrollbars=yes') Along with this scrip on the HTML page <script language="JavaScript"> function openNewWin...more >>

disable rollout???
Posted by nardove at 3/24/2004 1:59:54 PM
hi, is there a way to disable the on(rollOut) action when on(release) execute?? THANKS!!...more >>

Drawing a filled circle?
Posted by lingoingo at 3/24/2004 1:48:05 PM
Hi, is it possible to draw a _filled_ circle or any other kind of shape with a hole in the middle? thanks for any help...more >>

Why Don't works?
Posted by ED_R at 3/24/2004 12:37:09 PM
Why that don't works? Not even show an error... eval("trace(\"hey\")"); thanks...more >>

Hit Area?
Posted by Manoj vn at 3/24/2004 12:08:25 PM
Hi forum, I didn't get the use of hitArea. How irt works...more >>

Add to favorites in Flash
Posted by Svizec at 3/24/2004 11:28:56 AM
Hi! I have a problem with "Add to favorites in Flash". In dreamweaver is a href="#" onClick='window.external.AddFavorite(location.href, document.title);'>. In flash doesnt work. If any one knowes how to do that in flash i will be very pleased. my mail: aorlovic@hotmail.com Svizec ...more >>

Tree Color
Posted by Aire at 3/24/2004 11:25:04 AM
I, I was asking here several days for the same question, and nobody seems that can help me, some people tell me the solution but it never works. I have a Tree component, and I want that the background color will be transparent or a transparent gradient. I try some thinhs as: myTree.setStyle...more >>

SetMask?
Posted by Manoj vn at 3/24/2004 11:05:19 AM
Hi forum, I have two movie clips of red and green colors on the stage. I can drag each of them. If i overlap the same two, the overlapped area shoud be yellow in color. Is there is any fesility in actionscripting to get the overlaped area. Or can it be possible with setmask . Thanking u.....more >>

detect clicked word in dynamic textfield
Posted by Natalie at 3/24/2004 10:12:53 AM
Hi i m using Flash MX 2004 pro on win XP. Is there a way to detect which "word" the user clicked, on a dynamic textfield? Pls help! thx in advance Natalie...more >>

making macromedia projector(exe)
Posted by cherryyeung at 3/24/2004 10:08:05 AM
why the projector (exe) produced by Flash can't execute without flash player...how can i produce it?...more >>

movie clip problem
Posted by cherryyeung at 3/24/2004 10:02:55 AM
i have made a movie clip which is moving from left to right, and made a clip which can drag between the moving movie clip. i would like to make the moving movie clip hit the drag clip and make sound, i know the method of making sound, but i don't know how can i make the event of "the moving mo...more >>

Javascript Database
Posted by Pantyboy at 3/24/2004 9:51:54 AM
Hi Flash Gurus. Here's one for you. A while ago, I created a website that used some JavaScripting to create a database of properties that users could view. The database included a link to an image and information. I have attached a small .zip file which has image files, a quick and dir...more >>

Radio Buttons
Posted by turboarrow at 3/24/2004 6:39:41 AM
I have searched everywhere and cannot find a simple answer to this. I saw on a website about 5 questions and each question had two selections using radio buttons. Of course one was correct and the other wrong. However if you clicked on the wrong one a popup window would say incorrect and if yo...more >>

system mouse control
Posted by mike1jeremie NO[at]SPAM hotmail.com at 3/24/2004 6:25:27 AM
Is there a way to control the location of the system mouse. I want to click on an object and hold the mouse to the top of it. Like a slider, so the mouse does not fall off the slider. I know I can creat a pointer in flash and hold it to the object but the real system pointer still moves and ends...more >>

MX2004 Pro Slide Show Preloader
Posted by JustinRTPD at 3/24/2004 6:10:24 AM
I have been working with the a feature to the MX2004 Professional...The Slide Show. This feature is awsome. I love the transitions and how easy it is to build what would have normally been a time consuming process of making a bunch of movie clips with transitions and writing the AS to make the...more >>

how to set the depth of a Textfield..
Posted by gv79 at 3/24/2004 5:47:28 AM
hey there... as i m having a dynamic Textfield ( drawn on stage with a instane name : cName )... the problem : there are few movie clips on the stage as small box's when we rollover on a particular movie clip our cName textfield appears, but behind the other moivie clips it apears, can...more >>

Javascript Menu appears below flash movie
Posted by Force10x at 3/24/2004 4:33:17 AM
I have a javascript drop down menu , below which i have a flash movie. the problem is that when the menu expands, the links appear blow the flash movie and are not seen. The flash movie gets stacked on upper layer :(. Any ideas how to get over this issue? thank you :-) ...more >>

dynamic text fields not rendering w/ loadMovie()
Posted by parkerault at 3/24/2004 3:36:42 AM
Hey all, I've run into a problem when trying to load an external swf containing dynamic text into my movie. I am using the loadVars() function to load the body text from an external txt file, and I have an email form in there as well. The input and dynamic text fields work fine when I open the...more >>

access main movie root from ext swf
Posted by ~J at 3/24/2004 3:00:38 AM
Im loading in external swf's into my main movie using loadMovie. How can I use actionscript inside the external movie that will control elements in the main movie? I figured the main movie would become the _root of the external movie after its loaded in but that doesnt seem to work. ...more >>

Creating Non-Visual Component
Posted by Kent_WA at 3/24/2004 12:54:07 AM
I am trying to simplify the work of our Flash Artists by placing all the common ActionScript they need to build our movies into a componet. Currently they have to copy and paste a very large block of code into their new movie and this has lead to problems with the code ending up in the wrong p...more >>

Replacing slash syntax in drag and drop
Posted by greell at 3/24/2004 12:42:57 AM
The following piece of code does not work when the slash is replaced with "_root." syntax in the if statement. Any suggestions? on (press) { var xcor = _root.AAA._x; var ycor = _root.AAA._y; startDrag ("_root.AAA"); } on (release) { stopDrag (); if (_root.AAA._droptarget == ...more >>

p?rdida de valores en listbox
Posted by carceron at 3/24/2004 12:26:32 AM
HOla....el problema que tengo es que estoy llenando un listbox dinamicamente y luego cuando presiono en un bot?n voy a un frame en el cual el listbox desaparece y al presionar en otro bot?n que me lleva donde estaba anteriormente los valores del listbox ya no est?n....como puedo hacer para sol...more >>


DevelopmentNow Blog