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 > november 2005 > threads for tuesday november 8

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

can i open one swf from another in flash player?
Posted by ol.. at 11/8/2005 11:13:22 PM
the idea is to have a button in a swf in a web page which is my desktop. I can have hot keys to open swfs for presentation quickly in flashplayer, not internet browser. (Infernal IE blocks flash content - SP2 sux! How can I get firefox to open swfs by default?) answers greatly apprecia...more >>

Can I create a pop-up window within a movie?
Posted by celuloyd at 11/8/2005 11:07:13 PM
I have created a movie that starts playing when a button is clicked in the original movie...I figured out how to do that. ;) What I need to do is to have a window pop-up (or I would prefer it to "zoom up" but at this point, I'll take whatever I can get) on top of the second movie that is...more >>

XML.sendAndLoad isn't working
Posted by s007767 at 11/8/2005 10:51:41 PM
I have been using static XML files in Flash for some time now. Cake. I'm working on a project now where I need to dynamically generate XML from a database. The only way I've been able to discover that this might be possible is with XML.sendAndLoad. I have a PHP page which should catch the XML ...more >>

Express Install without admin access
Posted by epsnowden at 11/8/2005 10:39:55 PM
I need help with redirecting the express install for users on pc's who don't have admin access. I can redirect if the user hits no or cancels, but if a user doesn't have admin access they get a canned Macromedia error, but I need to redirect them to a specific page on the site. Is there a way ...more >>

TextField RoolOver... any way ?
Posted by majkinetor at 11/8/2005 10:24:27 PM
I want to do some actions when mouse is over TextFields on my form. As there is no RoolOver event for single TextFileds, and it would be to complicated to create button wrapper for them all, I am asking you is there some known way to do it. Is it for instance possible to obtain name of th...more >>

changing mouse icons
Posted by JF213 at 11/8/2005 10:21:19 PM
ok this is hard for me to explain, so bare with me. I have a drawing board, and I want my icon to change depending on the icon that the user clicks. ie. brush_on change to brush, brush_off restore mouse. here is the code that I have: //enable scribble function scribble() { onM...more >>

xml in flash
Posted by evil_genious at 11/8/2005 9:55:01 PM
Can somebody tell me how to create an XML object in Flash and then save it into an external xml file. Is this possible? Please help.:evil;...more >>

Writing to a text file
Posted by Kate Wray at 11/8/2005 9:51:45 PM
I'm a beginner at this, so my question might be confusing- but here goes- I have an interface that allows a user to select boxes from a grid. The boxes are buttons, and each button instance is associated with a movieclip instance, so that the box will "light up" & stay lit when selected. ...more >>



Maksed Images Through ActionScript
Posted by Spot3313 at 11/8/2005 9:34:13 PM
Hey ive been trying for quite some time to load in images, give each image a mask.... i have this code here of what is happening, it doesnt seem the mask is being loaded but it should be... also ive attached my file to my site if someone could look it over, it would help a great ordeal! thank...more >>

_root variable
Posted by mb63 at 11/8/2005 8:25:12 PM
I'm loading an external swf file that I want to reference a _root variable (_root.pa_lsnTtl) from the parent file. This works fine when I run the program in Flash but when run it in HTML or run the swf outside of flash the variables return "undefined." I've tried this w/ and without the _loc...more >>

LoadMovie to specific X/Y coords...?
Posted by G_Swank at 11/8/2005 8:16:30 PM
I'm stumped (but then you knew that or I wouldn't be posting) btn_OpenInterface.onRelease=function() { _root.mc_screen._x=200; _root.mc_screen._y=150; loadMovie("LoadMovieTest.swf",20); } This code works fine in a simple movie with only one layer and a hidden mc_screen movi...more >>

Quiz Template - Timer modification
Posted by dkrothjnj at 11/8/2005 8:12:20 PM
Is there a direct way to add a 30 second timer to the Flash Quiz Templates which results in an incorrect result and then goes to the next question? Any reply welcome - I'm willing to share my work so far with interested developers. ...more >>

AS from one swf to another Question
Posted by WebIslands at 11/8/2005 8:09:47 PM
Hello All. Ok heres what I am looking At: I have 3 SWF's: (main.swf, showCaseMenu.swf, showCase.swf) loaderMC & loaderMCSub both load within main.swf (click a Btn in main and showCaseMenu.swf loads in loaderMC (or loaderMCSub) - Simple enough, right? ok my quest is how can I: ...more >>

Call timeline function from a class
Posted by diversity at 11/8/2005 7:48:34 PM
I'm building an api which will use remoting and some cfc. I need to make it as simple as possible for someone to develop on. All my remoting methods from my cfc will be in the class. Im trying to make it so that a developer can call a remoting method via the class like this: myClass = new ...more >>

problems with hierarchy
Posted by anja77 at 11/8/2005 7:21:22 PM
I am still somewhat of a beginner and not quite sure whether I am trying to do something that is more advanced than I anticipated or I am just making some stupid mistakes. I am trying to set up my portfolio site. I have a main timeline, in which I have a movieclip with an instance name of my...more >>

Help! What am I doing wrong here?
Posted by keithb at 11/8/2005 3:20:27 PM
I need to call a function from within a function which itself is called from a setInterval statement. The following code snippets illustrate the problem I have enountered: This code prints the trace message and executes the other steps in the callback function each time setInterval raises a...more >>

geturl prepends host url to external urls
Posted by Donkikong at 11/8/2005 12:13:13 PM
(AS1.0) using: geturl("http://www.amazon.com" "_blank"); works fine in preview, but uploaded to the server it links to: http://www.mydomainname.comhttp://amazon.com (I'm updating an old file (MX2004))geturl("http://www.amazon.com" "_blank"); ...more >>

the automated man
Posted by evilgoldfish at 11/8/2005 11:41:13 AM
Hi guys, Was wondering if someone could help? I have created a character that I move around with cursor keys, I have also created a character (an eventual enemy) that walks on the spot, I have also created "hit test" barriers that prevent my character and hopefully this enemy from walking th...more >>

download the file when the other files have downloaded
Posted by Haahoou at 11/8/2005 9:09:55 AM
4 swf files are loaded using loadmovienum command when a button is pressed (files alongwith names, level and size are given below). how is it possible that emp_login starts downloading when the firs 3 files have been downloaded ??????? bg........................(1 KB)........at level 1 me...more >>

How is this done?
Posted by pong_gr at 11/8/2005 8:27:44 AM
Hi all Please check www.in.gr and see the balloons on the top right. How is this done? Tha balloons are flash movies but are unframed, moving and and going over non-flash areas of the page. I sucpect that javascript is doing the trick but whats the deal? Are they quite cool progr...more >>

Problem Rendering HTML in Text Area
Posted by Dratsum at 11/8/2005 7:51:04 AM
Hi, This is the strangest error I've seen in flash. I've buit an app for a client that dynamically loads HTML into a Text Area and it's ignoring some of my </a></u></font> close tags. Which makes 1/2 the text 1 giant link. The error is random and not constant. Is there any file encodin...more >>

Mouse Wheel in scroll pane
Posted by Krede at 11/8/2005 12:46:16 AM
Hi How can you use the mousewheel to scroll in a scrollpane?...more >>

Multidimentional array in Flash Help!!
Posted by danlip at 11/8/2005 12:32:44 AM
Ok - here is the problem. I have a 2 dimentional loop that I need to populate values into an array with, but I can't seem to declair it properly. Please help, here is the code (simplified): var q:Array=[[],[]]; for (i=1; i<7; i++) { for (j=1; j<9; j++) { q[i,j] = "a"; ...more >>

A mysterious path
Posted by Dario de Judicibus at 11/8/2005 12:31:00 AM
I have a movieclip whose instance name is «outer». Inside «outer» I have another movieclip whose name is «inner». Inside «inner» I have a button called «button». Now, if I associate to «inner» the following as code: onClipEvent(load) { this.anyvar = "whatever" ; this.button.onRelease = func...more >>

learning components
Posted by codescodescodes at 11/8/2005 12:29:19 AM
Has anyone tried to look in the built in classes and components? I've been trying to learn by reading how the makers of Flash set up their class structure and how they build components and I have a couple of questions. First of all what does "intrinsic" mean. I see that every now and then ...more >>

Calculating percentages
Posted by ni9e at 11/8/2005 12:18:06 AM
Hi all, Im probably making this alot harder then it is. Can someone help me correctly calculate some percentages if the number is higher then 100. Lets say we have x = 100 and y = 25. if i divide (y / x)*100 that returns 25. But if i make x = 200 with this formula, i end up with 12.5 and ...more >>

Trying to create a menu button where the surfer will "rollover" and a group of sublinks will slide through
Posted by Lingobeginner at 11/8/2005 12:12:44 AM
ANY suggestions are appreicated, thanks...more >>

Multiple buttons, 1 timeline?
Posted by mcthfg01 at 11/8/2005 12:01:31 AM
Hey all, I've been using Flash for a while, but never really needed to do much programming. Now the fun begins. I've got 2 buttons, and each of them has an instance name. I would like either button, when clicked, to follow a timeline, and then diverge at the end of the timeline. So ...more >>

Learining ActionScript
Posted by Ex Malterra at 11/8/2005 12:00:00 AM
I'm a Director developer with a strong JavaScript background. All I've done in Flash are simple animations. I need recomendations for an online course or tutorial to get me up to speed quickly on Flash in general and ActionScript in particular. I'm hesitant to purchase a book because I'm going...more >>

setting instance properties
Posted by Chris McG at 11/8/2005 12:00:00 AM
Hi Guys, Does anyone know a way of dynamically setting a TextFormat on multiple instances using a for loop? Currently I have a function: function changeMainText(selTextField){ var text_format:TextFormat = new TextFormat(); text_format.font = "Arial"; text_format.size = 10; ...more >>

Mac Projector not launching full screen
Posted by krol at 11/8/2005 12:00:00 AM
I have created a presentation in Flash 8 Pro. I have the following actionscripts on the first frame of the timeline: fscommand("allowscale", false); fscommand("fullscreen", true); When I publish and launch the projector, it launches in a window that fills the screen, but not actually in...more >>

important problem with _root when loading swf
Posted by redragonfire at 11/8/2005 12:00:00 AM
HI, I have a swf named "car.swf", in car.swf On frame 1 to 100 I have an animation and on frame 101 I have a stop() and I have a clip named Clip_Car. The clip play and go to frame 35 and Stop. On frame 35 of Clip_Car, I say "dropzone.loadMovie("section2.swf",2)", everything is ok, section2.swf...more >>

SetInterval on Internet Explorer
Posted by Devendran at 11/8/2005 12:00:00 AM
Hi all, Just test this one. function moveCircle(){ circle_mc._x+=1; } setInterval(moveCircle,1); just test this code in flash stand alone player and Internet explorer in the frame rate((25) what ever may be). In ...more >>

How can I reduce my event registration?
Posted by SBAR_weenie at 11/8/2005 12:00:00 AM
:clock; I have something like 40 buttons that I need to register event handlers for. Every time I create a new object that requires notification I create another 40 registrations. Is there away around this. Can I use a general registration, say from an external .as script file or something els...more >>

need help with action scripting
Posted by Martin Bean at 11/8/2005 12:00:00 AM
hey guys im determined to write my own code for my flash button templates i use. becuase im frustrated when ever importing image seq and having to move them. so the way i have coded it, it will play the movie clips and the text effects on the time on the roll over and on the rollout it will pl...more >>

FFWD to final frame of .swf
Posted by queensryche_05 at 11/8/2005 12:00:00 AM
Hello all... I need a button which, when pressed, would instantly skip to the final frame and stop. Is there a universal command for this? Normally I would insert a framelabel and then a gotoAndPlay command on the button itself, but that is not an option as I do not have access to the ...more >>

escaping strings
Posted by renderPaz at 11/8/2005 12:00:00 AM
I am trying to send an xml doc that contains a quoted string ie(hello it's your birthday) and using sendAndLoad, however everything up the the quote seems to get sent, and nothing else. any ideas? I am sending it to a PHP script that simply writes it to a file. ...more >>

Combo Box Listener Does Not Work
Posted by AwesomeDigital at 11/8/2005 12:00:00 AM
My combo box is named foodTypes_cb I tried this var listenerObject:Object = new Object(); listenerObject.change = function(eventObject){ trace("I've Changed"); } foodTypes_cb.addEventListener("change", listenerObject); And I also tried this on the actual combo box on(chang...more >>

How to Imitate "table" rows from a DB recordset?
Posted by GmR at 11/8/2005 12:00:00 AM
Please, can anyone help? Using a Flash swf on a web page, I need to present records (in rows) from a database, and then put that inside a scrolling text field for the user to browse the rows of data. I hope to have an alternating shaded row. (Am I getting too fussy? ;-) Can anyone show...more >>

Opening a HTML window of 485*700
Posted by Sarford at 11/8/2005 12:00:00 AM
Hello, Im trying to open a new browser window from flash. Im using the getURL command. The thing is, I want the new browser window to be a specific size, namely 485 * 700 pix. How can I do that from flash? My HTML is a little rusty, I hope some of u can help me out... regards, ...more >>

moving with keys problem
Posted by Jimmathy at 11/8/2005 12:00:00 AM
I'm trying to get 2 movieclips to move the same direction, at the same speed, on the same button. Here's what I put on mc#1: on(keyPress"d") { this.onEnterFrame = function() { this._x += 3;}} It works fine. But when I put this on mc#2 and test it only mc#1 moves. Please give sugges...more >>

Help Please someone!
Posted by _HTML_ at 11/8/2005 12:00:00 AM
Hey, I want to create a flash game and put it on my site how do I do it? Will I need to buy the flash player? :beer;...more >>

path finding
Posted by evilgoldfish at 11/8/2005 12:00:00 AM
Hi guys I have an animated character who is walking down and when hits the "down" barrier he stops moving but the walkdown animation keeps playing.here's the code I have... onClipEvent(enterFrame){ _root.man_anim._y -= -2 _root.man_anim.walkdown.play(); } onClipEvent(enterFrame)...more >>

Flash slideshow actionscript question
Posted by chrissietissie at 11/8/2005 12:00:00 AM
Hey everybody, I have a slideshow in flash and on the last slide it has to start again to the first one. You can see the fla en swf files on http://www.glope.nl/flash.htm Please help me! greetz Chris CODE // If not defined yet, if (isLoaded == undefined) { // Ro...more >>

mixing swfs with still images
Posted by Sha8 at 11/8/2005 12:00:00 AM
This is probably an easy question but i still need some help. I have a series of swf files that are linked to buttons and run in a clip in a specific area but i would like to insert an image map inbetween the clips. So when the user clicks the button for swf 1, then swf 1 will play and when ...more >>

XML Flash 8 Problem
Posted by delella at 11/8/2005 12:00:00 AM
After upgrading to flash 8 I noticed two problems with reading XML to an array: 1. var newsArray:Array = new Array(); doesn't work anymore. As soon as I removed the :Array after the variable declaration everything functioned correctly 2. The following code will not work properly anym...more >>

Outer AS file mutes all sounds?
Posted by Shu Xian at 11/8/2005 12:00:00 AM
Hi, so its like this: I have site and there 5 html pages and each has its own swf in it (1.html with 1.swf in it, 2.html with 2.swf in it, etc...). Each swf has one sound in the beginning, and I would like to add MUTE button to each swf but also I would like it to be able to mute all ...more >>

Flicker when loading a movie...
Posted by flashStuck at 11/8/2005 12:00:00 AM
I am creating an empty clip into an object that is already on the stage, and then loading a movie into the clip. Is there any way to prevent the flicker which occurs? the images I am loading, I have already loaded into other clips, off the visual stage, in an attempt to pre-load them, but th...more >>

looking to improve my skills
Posted by codescodescodes at 11/8/2005 12:00:00 AM
I'm a beginner, so I'm looking to see if anyone wants to help me and teach me what they know. I can work with you and help you on some of the smaller tasks. I'll work for very little pay. In return you can show me how to become a professional. I live in the san francisco bay area. Help ...more >>

Dynamically refering to a movie clip or a text field
Posted by d3mcfadden at 11/8/2005 12:00:00 AM
anybody know how i could make this work... for(i=0; i<array.length; i++) { if(array == undefined) { trace("found and undefined title") textField _txt.text = "there is no title for this"; } else { textField _txt.text = array.attributes.title; } } I have those text ...more >>


DevelopmentNow Blog