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 > july 2006

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

Timer
Posted by Tim A. Setliff at 7/31/2006 11:28:20 PM
HI - I use Director but have a project that is Flash only. In Director, I can code in go to the frame and the movie is stopped on that frame. I set a timer and once the time has elapsed, the movie will move forward to the proper frame. I've searched the online help and FlashMx2004 help sectio...more >>

link button to local folder
Posted by sachavaca at 7/31/2006 11:28:11 PM
I am trying figure out how to create a flash button (part of CD-ROM presentation) that opens a file folder in windows explorer. I have found that I can use the ?get url? behavior to open file folders in the default web browser using the absolute pathname, but I need to be able to use a relat...more >>

saving a sfw from within a sfw?
Posted by Sarford at 7/31/2006 11:24:49 PM
Hi guys, For a client I have to make a CMS for sfw files. The user must be able to edit the swf-file and save that edited file back to harddisk or server. I know its possible to import a swf-file, i know its possible to user-edit a sfw-file, i know its possible to upload a swf-file... but...more >>

Duplicate MC
Posted by DjSickNick at 7/31/2006 9:51:32 PM
How can I duplicate a movie clip that is already on the stage and set it's x coordinate to 53.8? I know how to do this: my_mc._x = 53.8; ....but I dont know how to duplicate it. Can someone help me?...more >>

Making a FIXED SIZE, blank browser window
Posted by Ares94 at 7/31/2006 9:23:40 PM
Here's the deal. When I click a link that says SPECIAL OFFERS, I need a Flash animation to open up. In a NEW, BLANK browser window. How do I set the width and heigth of that window using ActionScript? Something like 300x300 px. Anyone? THX! ...more >>

Stop and Play at will
Posted by chombeaux at 7/31/2006 8:45:50 PM
This shoudl be an easy task, but somehow, I can?t complete it. I made a small presentation movie for my costumers, and I want to add a both stop and play buttons. This way, if you like, you can stop the movie to take your time watching an image, and whenever you want, you can click on play to ...more >>

very new at this . . .
Posted by jleibowi at 7/31/2006 8:42:44 PM
Hi all. I thought I had this all figured out - turns out I don't. All I want to do is make a timeline effect I put in stop after the first time it runs. I know I'm supposed to put a stop action or something in, but I don't know how. Any help? - Jamie ...more >>

preloader problem
Posted by udikeren at 7/31/2006 7:37:32 PM
i put an preloader on scene1 as follows: onClipEvent(enterFrame){ framesLoaded=Math.ceil((_root.getBytesLoaded()/_root.getBytesTotal())*100); gotoAndStop(framesLoaded); info.text=framesLoaded+"% "; if(framesLoaded>=97){ gotoAndPlay(2); } } it works - however it starts to be...more >>



whats wrong with my movie.onMousedown?
Posted by julieta at 7/31/2006 6:53:15 PM
Hi! Sorry to post this , maybe it is just a very obvious thing, but I just don't seem to work well with flash yet.... I have 3 movies that change the displayed texts continuosly when the user rolls over, and if the user rolls out, they stop. If the user clicks on one of the movies, that movie...more >>

key press listener
Posted by s_mccoy at 7/31/2006 6:50:06 PM
I'm trying to create a presentation player that grabs a series of external .swf files via XML. I got everything working just fine except for a couple glitches that I'm presently looking for workarounds. The slideshow is controlled by the arrow keys with left and right working just as you wou...more >>

onRelease swatDepth issue
Posted by flashingnotallowed at 7/31/2006 4:40:57 PM
Hi, I have a few layers to which I assigned DragStop and DragStart commands. the code looks like this...pretty straightforward... mctree.onPress = function():Void { this.startDrag(); }; mctree.onRelease = function():Void { this.stopDrag(); }; however, i would like to have the...more >>

loadVars("relative.path") question
Posted by invictusBob at 7/31/2006 3:36:05 PM
If main.swf is in the site root and it calls loadVars.sendAndLoad("php/doSomething.php",,) it works. I like to keep things tidy though so I try putting main.swf in a subfolder eg swf/main.swf, and change the call to loadVars.sendAndLoad("../php/doSomething.php",,). This doesn't work. ...more >>

Stopping video from playing
Posted by libguy at 7/31/2006 3:04:22 PM
Looking for a way to stop a video from playing when a button is pressed to load another file. Seems like this should be easy, and maybe it is, but I can't seem to find anything to help....more >>

Actionscript color tweak
Posted by cristi.b at 7/31/2006 2:47:09 PM
Hi I know that for example you can do a simple slideshow by altering the -alpha property in action script in an onEnterFrame event... You can also do this without action script by selecting a movie clip type of object, selecting the Color dropdown inside flash and chosing Alpha. In that dr...more >>

seekToNavCuePoint not working when streaming
Posted by funk101 at 7/31/2006 2:43:13 PM
I'm trying to seek to a nav cuepoint on 'ready' event. *This works locally,* but does not seek when rtmp'ing off live server. /** * seek to cuepoint * on ready event */ var startPoint:String = 'tq_1_start'; var lObj:Object = new Object(); lObj.ready = function(evt:Object):Void ...more >>

Tween class issue
Posted by forums.macromedia.com at 7/31/2006 12:36:43 PM
Hi I have a button which when clicked creates a new tween a moves a car movieclip from left to right: moveCar.onPress = function () { var carTween:Tween = new Tween(mcCar, "_x", Strong.easeOut, mcCar._x, mcCar._x+100, .4, true); carTween.onMotionFinished = function() { t...more >>

sound in slide presentation
Posted by Reggie Bliss at 7/31/2006 7:46:18 AM
Hello, I am trying to use two different audio clips in separate slides of this presentation. For some reason, the sounds want to play in the first slide. Tried a stopAllSounds (); command, still didn't work. Tried calling the sound in the specific slides, still nothing. Is there a way...more >>

Passing args via listener object
Posted by fred_sl at 7/31/2006 3:28:13 AM
I'm wondering if it's bad style to pass arguments in a listener object when loading images with Loader. I have a Canvas class with a method that loads images. It sets an event listener that needs access to the Canvas class data. I tried to get Delegate to work with Loader inside my class but h...more >>

Yet another preloader question
Posted by Hecktic Design at 7/31/2006 3:12:31 AM
I had posted a topic on here a few months ago regarding a preloader problem. I gave up on it for about a month and ahalf, but have since gotten most of it figured out. Basically, I have a preloader that is supposed to load a movie clip which dynamically displays images from a xml file. The ...more >>

Easy question... how do I install/import a class?
Posted by rusty0412 at 7/31/2006 12:35:17 AM
Hello, I downloaded a class named MovieClipLoader6. However, I have no idea how to add it to my movie ( I tried import to library )... I searched google but I only found info on the import command....more >>

targetting movie clip
Posted by gryllsie at 7/31/2006 12:00:00 AM
I have a function on my _root timline like this: function scalefacts() { investfacts.gotoAndPlay(20); trace ("scalefacts function found"); } Now I am accessing this function from a button that is on the forth level deep, and my code is: on (release) { _root.scalefacts(); }...more >>

player 6.0 as not working in 7.0
Posted by srinivasarao at 7/31/2006 12:00:00 AM
i was developed code using plash player 6.0 when i am changing to 7.0, i am getting errors. why its happed please any one can help me to solve this problem ...more >>

one swf to another?
Posted by Dz(00) at 7/31/2006 12:00:00 AM
is it possible to send variables from one swf within a browser window to another swf in another browser window using ASP? I basically have a form within one swf which when completed and the user hits submit, I need to tell another swf that the form has been submitted. any help would be ...more >>

swapDepths difficulties
Posted by flashingnotallowed at 7/31/2006 12:00:00 AM
Hi, Thanks to 'KGLAD' i got the 'draggable objects' issue resolved... however, I am also trying to add swapDepths to my new layer objects, and am having some diffuculties with it. I got the layers to Swap, but i'd like them to swap on a double click and not a single click like it does ...more >>

XML, Classes, others..
Posted by Vladimir Wolfshade at 7/31/2006 12:00:00 AM
Umm, hello folks! I have had a few issue with my actionscripts earlier, either I am not reading em correctly, or I forget a step..but I cannot seem to get it right.. Here it goes: I have designed some interface for some game of mine to create characters, the character files are stored in...more >>

Broadband Actionsript
Posted by immi immi at 7/30/2006 10:15:45 PM
Hi there, I'm a flash novice and not good at coding. I was wondering if someone could give me some code that would allow me to send the site visitor to another page if they didn't have a broadband connection of 256K or above. Thanks ...more >>

myData.load
Posted by jeeepU at 7/30/2006 8:19:30 PM
I have a .swf file on Server 1 that needs to load a form from Server 2. The attached code works when its on the same server, but why not to a different server? Is there a way to make this work? Thanks myData = new LoadVars(); myData.onLoad = function(){ placeTheDataIntoTheRightPlace(); ...more >>

actionscript for Draggable Objects
Posted by flashingnotallowed at 7/30/2006 7:04:52 PM
Hi Everyone, I have a good understanding of Flash (8pro) but only basic knowledge of actionscripting. I am wokring on a project where I'd like to drag certain items from a 'library' on the left hand side of the project onto the main stage. These objects would act like layers where they b...more >>

Flash Button or Actionscript
Posted by Freek75 at 7/30/2006 5:05:15 PM
I am trying to create a similar text box area as per the site http://www.dieselmarketing.com/main.htm In that when someone rolls the mouse over an area down the side it expands out to reveal the necessary text. However when they move off of the area I have set as Hit under Flash's standard b...more >>

proplem with LocalConnection() timing
Posted by Txar?n at 7/30/2006 4:57:58 PM
Hi there, I am doing and hybrid site, i have 2 movie in an htm page, one is the navigation and other will have images , i have use LocalConnection() to let the other movie tell the navigation to go to a certain frame to mark the page is located. Sometimes it works and sometimes it doesn't...more >>

Write on text effect help please?!
Posted by maffpunton at 7/30/2006 3:54:07 PM
Hi! I'm doing my own version of a write-on text effect from a tutorial I found. I am having flash "type" out ten lines of text (all formatted differently) so have had to split the text up into different dynamic text fields and give them different instance names (text1, text2... text10) ...more >>

Embedding SWF in a text field
Posted by charmcityMD at 7/30/2006 2:30:45 PM
Hi, New user to Flash here with a problem embedding .SWF files. I have already existing SWF files that I have called historically from HTML using <object> to embed the object and <param name= value=> also to pass it information. The SWF movie I need to embed basically builds a graph and take...more >>

Quick Question
Posted by gregmax17 at 7/30/2006 2:13:59 PM
Just want to know if there is a way to call a function(s), or _global function(s), from another scene. This was all or most of my code is one scene of the .swf file instead throughout .swf. Is there a way? What is the sytax? Thanks ...more >>

Making gotoAndPlay Global?
Posted by blockmir at 7/30/2006 11:59:08 AM
Hi, I'm working on a simulator that has the main timeline filled with different screens to goto. I'm working with some popup menus that I want to contain in a movie clip. When something form the popup menu is selected, I would like it to goto a location on the main timeline. Does anyone have...more >>

Image Galleries
Posted by Phil Karslake at 7/30/2006 4:23:16 AM
Just got a mental blank. I am creating a flash cd that will contain an image gallery. Once a person has selected the image file I want them to be able to download that file to their computer. The final SWF and images will be contained within the same folder. Any suggestions????????????? ...more >>

passing parameters not working...(Re: detecting mouse over text field..
Posted by julieta at 7/30/2006 4:13:05 AM
Hi! I was not sure if I should open another topic for this, but since I had already marked the other one as answered... I have a little problem... I tried to make the function startTextLoop accept a parameter (because i want to do the same process with some other texts on the screen, and I w...more >>

Loading results of answers
Posted by javichampagne at 7/30/2006 3:03:13 AM
Hello pal! Maybe you can help me with this issue: I have a lot of different questions for a test made in Flash 8, each one in a separate swf file. After going through all the test I need one file to display the results of my choices, showing the percent of good answers that I've had. ...more >>

GIF and loadMovie()
Posted by BernardoLira at 7/30/2006 1:54:55 AM
Hi all. I'm a rookie using Flash, and I need to loadMovie a GIF file. When using loadMovie() with JPG file it works fine, but when file is GIF it doesn't load. I cannot change the file format but need to dynamically load those files. Any hints will be very appreciated. Thanks in ad...more >>

detect mouse over a textfield and out...
Posted by julieta at 7/29/2006 9:41:39 PM
Hi, I am new to flash, and I wonder if someone could help me. I have a dynamic text field on the stage. I want to be able to do the following: when the user rolls over the text, the text changes its content, continuously displaying different texts out of an array that I have populated with tex...more >>

detect if mouse is over a text and out
Posted by julieta at 7/29/2006 9:31:35 PM
Hi, I am new to flash, and I wonder if someone could help me. I have a dynamic text field on the stage. I want to be able to do the following: when the user rolls over the text, the text changes its content, continuously displaying different texts out of an array that I have populated with tex...more >>

Publishing to Flash 8 / 6 differences?
Posted by NoamJ at 7/29/2006 8:28:44 PM
I have created a button that when pressed, moves a picture to the right in a smooth slide (this is for browsing through thumbnails of pics). When published to Flash 6 it works perfectly, but when publishing to Flash 8 it doesn't work. I have to publish to 8 because I have FLVPlayback flash vid...more >>

Stage.rollOut ?
Posted by Fel_911 at 7/29/2006 8:18:48 PM
Hi! I need to know when the mouse leave the stage. I can't put a invisible button in front because all my other clips will be behind and "not effective". Is there a command like I don't know "stage.rollOut" or ... you know what I mean. Any suggestion is welcome. ...more >>

Flash Movie Clip Variables
Posted by tecktalkcm0391 at 7/29/2006 7:53:20 PM
NOTE: This code is in a Movie Clip.. What I am trying to do is use FlashVars. I have HTML like this: <param name="flashvars" value="high=62&low=2"> I want highNumber to be = to the value high from above and if its not there highNumber to be =to 40, and the same thing for lowNumber. ...more >>

variables ---- n+1
Posted by mr.nazarko at 7/29/2006 7:36:51 PM
hello, sorta new to variables, so even the simplest problem seems complicated. i have a external .swf i want to load into a new and higher level each time it is closed and opened.... ive started out by decaring a global var at the begining of my script _global.loadLev = 5 ----...more >>

Really Confused
Posted by herchmer at 7/29/2006 4:25:15 PM
Ok, I am confused. First, this is not a problem when testing the movie in authoring, but it does not work in a browser. Second, this used to work with no problems at all both in authoring and in a browser ... now it doesn't. I have a movie (we'll call it "main") that loads in an external swf...more >>

Sending email to php
Posted by NCSO at 7/29/2006 4:19:32 PM
The flash form has an input textbox for Name (var=t1), email (var=t2), phone (var=t3) and finally comments (var=t4) * each input textbox has no instance name The flash has (2) buttons "Reset" and "Submit" respectfully. The reset button as the following code to clear the input textboxes: on...more >>

THEORY
Posted by yarkehsiow at 7/29/2006 3:25:54 PM
hello, i have a "master" movie which loads another .swf on frame 5. after that each of the movies has a keyframe every 5 frames on the actions layer. i have some script in each movie on each of the keyframes. it has become fairly confusing to try to match them up and remember what is where. ...more >>

Reseting Movie
Posted by chrism59 at 7/29/2006 3:09:59 PM
Help PLEASE!!! I am producing a display screen that displays information. The information is loaded by attaching a movie (single line display) and then loading the data. There can be 1 to ? of these attached movies. The number of entries in an Array decides the total number. See Code: ...more >>

Key press and won't stop
Posted by mr-m at 7/29/2006 2:25:19 PM
I am writing a game where I want to use the key board to fire missiles. When the f key is pressed it keeps firing missiles until another key is pressed. Does the listener store the value of 70 for the f key and keeps thinking the key is being pressed. I tried to only use the listener withou...more >>

how to detect the Collission for duplicated movieclps
Posted by ~aryan~| at 7/29/2006 4:19:40 AM
Hey guys .. i am back with set of query..till now .. key press movement a rocket (mc) is moving left right up down in a defined stage area. and i am able to generate some fire balls randomize falling from top. this is just i am duplicating the movie clip(fireball_mc) .... now i want incase or ...more >>


DevelopmentNow Blog