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

Creating Forms In Flash MX Pro 2004
Posted by Interactive Studios at 11/26/2004 11:24:59 PM
:confused; I can't figure out how to create a contact form in flash. I need help with the action script. One of my clients has a template form templatemonster.com and I need to hook up his contact form. http://www.templatemonster.com/flash-templates/5955.html the input text fields are in ...more >>

bug in #include with AS 2.0
Posted by ggigante at 11/26/2004 10:54:03 PM
steps to reproduce: start with an empty flash movie. in its first frame put: #include "foo.as" and in the text file "foo.as", write: var foo:Array = new Array(); foo["bar"] = 1; you get this error: ActionScript 2.0 class scripts may only define class or interface constructs. ...more >>

Going from one Movie instance to another
Posted by Fatmat at 11/26/2004 9:42:48 PM
I have a fla file that has 2 movies on the main timeline. the first movie on frame 1 the seconf on frame 2. So when the first movies done playing I want it to then jump to frame 2. I've placed stop action in the scene on ?1 and 2 and in movie 1 at the end this code but it doesn't seme to work...more >>

Recieving a parameter from php
Posted by Superjan at 11/26/2004 9:33:26 PM
Hi. I hate to ask this question, but don't have a clue what to do really. I want to recieve a parameter sendt from php and test it in an if/else-statement. This is how I send the parameter: value="calendar.swf?d=<?php echo $date; ?>" Can anyone help me. And explain in the easiest ...more >>

Find Row Number in DataGrid
Posted by mshe at 11/26/2004 9:26:29 PM
Is there a command to find the row number of a value in a cell? For example, my datagrid has: 2 3 4 5 6 Is there a commdn to go DataGird.Find(4) which will return rowIndex 2 (Row 3 - 1 for a zero based index)? ...more >>

setInterval inside for loop doesn't work
Posted by zzdobrusky at 11/26/2004 8:50:44 PM
Hi, can anybody help? Trying to do a simple wait function inside loop so i can control how fast the loop runs, I figured out this code but it doesn't work, any ideas anybody? for(var i=0; i<=10; i++) { trace(i); waitF(3000); } function waitF(hitTime) { trace('inside waitF'); idInt = ...more >>

game area
Posted by g5604 at 11/26/2004 7:53:37 PM
Hi, does anyone know how to define an area for which a object is constrained to? e.g a car can only move within a 400x400px box cheers, G ...more >>

IndexOf action help in Flash 6 (MX)
Posted by Luka at 11/26/2004 7:25:51 PM
Im using indexOf() action in flash to create search. It works fine with one word, but does anyone has an idea how to use it for search with multiple word query? Because when i'm searchin the text about, lets say "Philip K. Dick", if i type any of this words separetly its cool, but there is no re...more >>



ProgressBar X AutoScrolling Text while Loading Site...(MX04)
Posted by Catarina Fernandez at 11/26/2004 7:22:41 PM
I´ve made a language selector starting on frame 5. Depending on the language selected, it goes to frame 10, 20 or 30. On frame 10, as on 20 and 30, I´ve included in different layers: - UI Component ProgressBar; - UI Component Loader; - A MovieClip with the scrolling text. (The Loader loads a...more >>

reformatting numbers
Posted by rumpelstilzchenlang at 11/26/2004 6:39:48 PM
How can I format a one-digit number to be displayed as two digit, eg. 2 to be displayed as 02 from actionscript code? fast help very apreciated...more >>

keypress question
Posted by pandey at 11/26/2004 6:06:44 PM
Hi Guys, I'm using below script to to assign key "/", how can i assign rest of the keyboard keys to go to certain frame if pressed. I mean if the user press "/" key he goes to nextframe, but if the user press any other key on the keyboard its take the user to the frame "wrong" myKey = ...more >>

Need Help with Loader!!
Posted by Dan-C at 11/26/2004 5:38:26 PM
Hello. I am desparately seeking some help! I cannot seem to get the loader component to work properly, and i hope I can explain the problem clearly. When images first load, they seem to ignore the scaleContent command. I am trying to scale the images down, so I have it set to true. In add...more >>

my big swf doesn't work on 800x600
Posted by nedo at 11/26/2004 4:50:14 PM
I made a site having a 900x500 swf file ,it works really fine in 1024x768. But 800x600 users have problem. In 800x600 Only the first seen parts of the swf is working, when you scroll to the other parts, there is no actionscript working. I don't want to rebuild the whole site again. it i...more >>

swf to jpeg bis > How to generate a jpeg from a movieclip?
Posted by Laure at 11/26/2004 4:44:15 PM
Hello, Do you know how to generate a jpeg from a movieclip? I have been looking on the web for a solution without any success. In the swf, the user drags and drops objects on a map. By validating a buttonon the movieclip, he should obtain a jpeg representing the map he has just created. ...more >>

_blank
Posted by fiverow at 11/26/2004 4:36:21 PM
when I am entering the following code into my flash: on (press, release) { getURL("Features.pdf", "_blank"); } the file opens but launches 2 explorer pages. can someone explain why? there seems the be 2 possibilities, i either get no window (it opens in the same page) if i dont enter...more >>

Curser follow
Posted by rhouck at 11/26/2004 4:36:02 PM
I created a movie clip called follow and I want the MC to follow the mouse on the X axis. The following script is what I have: ball.onEnterFrame = function() { var xMouse = _root._xmouse; if(Math.abs(xMouse - this._x) < 1) { this._x = xMouse; } else { this._x -= (this._x-xMouse)...more >>

Can I use hitTest on lines?
Posted by oekakimaker at 11/26/2004 4:11:26 PM
How do you detect collisions with lines drawn in actionscript ? I want something to happen when a line touches a movie clip. I tried making the line inside a mc, and hitTest-ing that mc, but Flash determined that the mc with the line was always touching the other movie clip, even if the actual...more >>

tabbar ? i bought it and now how it works ?
Posted by CRresolving at 11/26/2004 3:07:36 PM
Hello, i just bought the devnet ressource kit 5 (100 ?) on macromedia ! I bought it for one thing, the tabbar component, and after installing it (with the other components ) i'm not abble to use it because the doc is not clear,. - where can i find the tab class (like in the help doc ?) - w...more >>

Extending the String class
Posted by a_agur at 11/26/2004 2:04:44 PM
I'v tried to create a class Cstring which is a subclass of String: dynamic class CString extends String { } The problem is that ActionSctipt2.0 prompts an error everytime it trys to put a string value in an instance of CString: var s:CString = new CString(); s = 'Hello, it's me, I love you....more >>

PDF File - Opening in background
Posted by vsmk at 11/26/2004 1:09:56 PM
Hi In one of my presentation, I have given link to view a file in pdf format. When clicked, - In some machines it opens properly (overlaps) the current screen - In some machines it opens in background - in some machines it does not open at all This is the script used : on (r...more >>

Stop - Button Script
Posted by vsmk at 11/26/2004 1:03:11 PM
Hi I have developed a small presentation. In the all the screens I have given buttons "Start" and "Stop" for self running presentation (i.e it will be like automatic slide show without user intervention). In some machines it is working fine, whereas few other machines it is not working...more >>

Text input user interface
Posted by the_real_nowherehead at 11/26/2004 12:01:13 PM
Little help? :confused; Ok guys/gals, someone out there must be able to help me out. Not sure if you're familiar with KFC's "Subservient chicken' or the virtual barmaid websites but I'm looking to create something similar - albeit more salubrious... Very basically, a site wherein the user ...more >>

counting until the end
Posted by grahamswift at 11/26/2004 11:55:02 AM
I am about to design a flash movie where you can look at a daily picture. The picture will be loaded into the flash movie. I need to know how I can make a 'go to next picture' button that loads the next picture until there is no more picture to load. All the pictures on the server are num...more >>

scripting fast worward and rewind
Posted by Dan-Ayo at 11/26/2004 11:39:08 AM
I don't know much about Actionscripting, but so far I have the stop, start, and goto beginning and goto end working. I need to get the fastword and rewind working and I need some outside help. I am working with a single timeline and would like the fastforward to advance as long as the user hol...more >>

creating and submiting forms in flash
Posted by shush at 11/26/2004 11:03:20 AM
Hi I have created a Flash website and want to creat a form on a page with a few radio buttons and a text box for name and address, when the user submits the form i want it to be sent to my email address, is this possible? How do i go about doing this, hope someone can help, thanx ...more >>

Looping an FLV
Posted by cubicus at 11/26/2004 10:52:39 AM
Does anybody know how to loop an FLV video. Is there a way to check when a movie has ended and has to start playing again ? need urgent help on this topic... thanks......more >>

Finding the x and y positions of the moveclip running the script
Posted by DaBOMBer at 11/26/2004 10:46:32 AM
I'm not sure why ypos=getProperty(this, _y) doesn't work, but it returns the y value of the entire page, and when I change this figure it moves the entire page around. Thanks in advanced....more >>

Change tween speed of clip?
Posted by Anthony Brown at 11/26/2004 9:58:40 AM
Hello- I either want to change the framerate of a clip, or the tweening of it dynamically depending on a variable. I have a movieclip within my swf that rotates on axis. It is a Windmill. The blades rotate at a certain speed normally. My client would like the blades to slow down dependin...more >>

drag clip into a square
Posted by loressatm at 11/26/2004 8:01:15 AM
I created a movie clip('Parent') which is a square and inside this movie clip I created another movie clip. I want to drag this interior movie clip only inside the parent movie clip. The code for the interior movie clip that I wrote is: on(press) { startDrag(this,false,true,true,true,tru...more >>

Do we need to clean a.k.a delete our object ?
Posted by yaniplay at 11/26/2004 7:22:12 AM
Hi, I just wanna be sure here since I don't know how swf works. After I create an object wether it's an array or anything on the 1st fame like this : [code] var a:Array=new Array() [/code] do we need to delete "a" again to make sure there's no memory leak ? My question is because...more >>

Movie link to another movie of different size
Posted by Pyromancer at 11/26/2004 6:52:19 AM
Suppose I have a flash movie with a movie clip inside. When I click the movie clip, I would like to load another movie of a different size in the same flash player. So, the size of the flash player has to change. I'm having problems with the actionscripting for this. Thanks a lot. :confused;...more >>

How to disable "enter" key?
Posted by lancelott at 11/26/2004 3:43:00 AM
I want to have another key to control the frame, but the 'Enter' key always moves to next frame, no matter what code I write. How can I disable the 'Enter' key? Lance...more >>

Loading an external FLV, determining when the FLV ends
Posted by flasher_too at 11/26/2004 3:26:21 AM
Hi, I'm loading an external FLV into and a SWF and want to gracefully exit the FLV when it ends. Anyone know how to determine when an FLV ends? In Flash MX (I'm using Flash MX Pro 2004), for loading an external SWF, I could say something like "If frames_loaded == total_frames, then clear mo...more >>

HTML render LoadVars() .txt file
Posted by orangenova at 11/26/2004 2:31:44 AM
I have a text box set as a dynamic with a instance name of "content_txt" with no variable. This works just fine, but I cannot get HTML rendering to work. I've tried to use LoadVarible(); but then I saw this tutorial which helped me clear up why that didn't work. http://www.macromedia.co...more >>

Class function name in AS2
Posted by XMLgirl at 11/26/2004 12:58:50 AM
I have a class called A and an AS file called init.as in the init.as I'm trying to call on a function from A. the function's name is init1_2. I'm creating more classes, and in each class there will be a function I'll need to use. These functions names will be consistant: init1_2, init1_3, ...more >>

Fade to Color script
Posted by Catungo at 11/26/2004 12:53:56 AM
Does somebody have an script that fade an mc to a color while rollover...more >>

mapping enter key
Posted by shamou at 11/26/2004 12:43:01 AM
I am building a simple calulator that uses the number pad and I've managed to map the numbers and operators with the exception of the enter key for equals. I have used a listener to trace both the key code and the ascii code but it produces nothing. The documentation says that the ascii code i...more >>

text won't fade
Posted by Anil The G at 11/26/2004 12:17:33 AM
:Q I find that when using actionscript to reduce/increase _alpha on a textfield or on a movie clip containing a textfield the text will not fade even though everything else fades around it. I even read and trace the current _alpha value of the textfield to prove that it is being set. C...more >>


DevelopmentNow Blog