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 > january 2007 > threads for wednesday january 31

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

loadVariables issue
Posted by SymTsb at 1/31/2007 11:31:19 PM
I have a text field i created. I am using loadVariables to load the file i want to show inside this text field. After loading my new file, the formatting rules i applied to the box when it was created (tested that they were being applied already - success), are being replaced by default crap...more >>

slide accrondign to mouse
Posted by pablo scillia at 1/31/2007 11:03:57 PM
hi im trying to modify a .fla flife that i found and it consist in move the background based on the mouse movement this sample i got is only moving at _x position (horizontal) and i want to make it only for _y (vertical) i try to modify the script but im not so good on that can anyone he...more >>

global variable does not work
Posted by Listat at 1/31/2007 10:46:12 PM
Hi, I'm trying to set the content of a global variable but it does not work; this is the code: //Declaracion de variables y constantes var carga_variables = new LoadVars(); //Objeto para cargar variables desde el archivo "concepto.txt" _global.lista_conceptos = new Array(); //******...more >>

Re: get class name
Posted by freedomsun at 1/31/2007 10:33:41 PM
Sorry. I need to identify components and objects on stage from Actionscript: TextField, Button, etc.. Or be able to identify their class path's: mx.video.FLVPlayback, mx.controls.Button, etc... Thanks ...more >>

ActionScript SubMenu
Posted by 72dolphins at 1/31/2007 10:27:19 PM
Hello- I have received a Flash file that contains some ActionScript I cannot decipher. In a nutshell, there is a navigation menu whose content and links are loaded via an XML document. To see the menu in question, view this link: http://www.itsonmessage.com/folio/portfolio.html You can s...more >>

ActionsScript help!
Posted by andrePT at 1/31/2007 10:00:56 PM
i want to move a movieclip in the stage area from one position to another when i click on another movieclip! i know the theory but i could use some help with the code plz! so it is suposed to be like this (i think)... on(realease) { gotoAndPlay(2); // for example! "moviecli...more >>

Compare X/Y positions
Posted by Horea4 at 1/31/2007 9:30:29 PM
Now, the idea is that it works OK when I test the movie on the computer I wrote the script. When I got home and tested the movie, it didn't work (exactly the same code) and it also doesn't work when I post it on the net. So, something very weird is going on and I don't know what's wrong. Can y...more >>

Flash and PHP
Posted by finalcutexpress at 1/31/2007 9:06:18 PM
I downloaded a Flash file with accompanying php file from the exchange. The actionscript and php seem pretty straightforward, but I cannot get it to work. It consists of an HTML page that embeds the .swf and the .php file called to action from within the .swf. The .swf is an interface that all...more >>



Passing Data?
Posted by brandon_haslip at 1/31/2007 8:57:50 PM
I have a list of options that can be turned on and off. What I want to do is this. Say Options 1, 2. and 3 are on. I want a list that says Selected Options: Option 1, Options 2, Option 3 Anybody know how this could be done. Any help would be greatly appreciated. Thanks. ...more >>

Problem with content: 7 - Bad sound Data
Posted by BobAchgill at 1/31/2007 7:09:26 PM
When I do the following... Voice = new Sound(); Voice.loadSound("test.mp3", true) I get the error... Problem with content: 7 - Bad sound Data AND Problem with content: 7 - The sound data format is not recognized. I am using the test.mp3 files that comes with Flash8. Thanks! ...more >>

Odd variable behavior (PHP)
Posted by mtg169 at 1/31/2007 6:57:05 PM
I have created a PHP script (getVars.php) to generate some variables to load into Flash. I have no problem with this and basically echo something similar to the following: ID=10002&Name=Joe Schmoe&Email=joe@schmoe.com&Check=True What I am trying to do is have a certain movie load based on...more >>

Right Aligning a MC
Posted by Scottie0 at 1/31/2007 6:11:21 PM
Hi! I'm trying to right align a MC that I have exported to runtime. I want it to remain on the right hand side even after a browser resize. I'm using the following code... the MC aligns properly when the browser is opened, but when the browser is resized it begins moving right off the sc...more >>

change size of index.html dynamically?
Posted by luciewong at 1/31/2007 6:02:58 PM
Hi, my original index.html has a size of 752x1250. On Frame 1 it loads certain data (background color and user defined website size) in with asp. When this data is received, I change the website color with an ?getUrl? command as the user has defined the color. This works fine. B...more >>

#include "myFile.as"
Posted by oscmejia at 1/31/2007 5:33:43 PM
Its posible "un-include" a file. I have some function inside this file that at some point I don't want to be active. tks,...more >>

getURL() leading to blank page on IE6
Posted by Newt99 at 1/31/2007 4:38:12 PM
Hello, I have a call to Javascript from a SWF: on (release) { // // Close the World Map container layer getURL("javascript:void(EF_toggleLayers());"); } In IE6, clicking on the button with this code sometimes leads me to a blank page with the URL of the page in the IE addre...more >>

hitTest
Posted by Brian at 1/31/2007 4:36:10 PM
I have an ifstatment, in which I would like to test if the mouse is over one of several MCs which I have set up as buttons in a dropdown. The thing is that I only went to trigger the rollout sequence if the mouse is on either one of the buttons, so I have to make sure it is off all of them. ...more >>

Graphics "Ripper"?
Posted by Rothrock at 1/31/2007 4:30:05 PM
I'm going to do some drawing with the graphics API and am having a hard time knowing where to place the points ? especially for the curveTo(). Does anybody know any free tools for the Mac where I could draw a shape using the authoring tools and then retrieve its lineTos, curveTos and points? I...more >>

To Extend or Not to Extend
Posted by Rothrock at 1/31/2007 4:23:12 PM
I'm doing so work with Hindi/Devanagari text. The problem with Flash and complex languages like this is two-fold. You can't embed the fonts, so you can't count on things looking right. And Flash doesn't seem to know to break words at the spaces instead of just in the middle of letters. So ...more >>

Active X and FlashVars Troubleshooting
Posted by eisenstein03 at 1/31/2007 4:07:13 PM
An swf - Navigation is embedded in an HTML site. The Navigation should receive a status - var from outside, so I used the param and embed tags with the FlashVars Option and its value. Unfortunatly in IE I have now the well-known problem with Active X warnings. So I used the Adobe Template...more >>

testing if the mouse is over a MC?
Posted by Brian at 1/31/2007 4:02:21 PM
Is there a way to test if the mouse is touching a certain MC? How would I do that, and can I have that in the arguent part of an ifStatment? Thanks for the help!...more >>

Trying to tween a colour change on an mc with AS
Posted by RedBox at 1/31/2007 3:18:43 PM
Hi I have a Flash front-end that loads menu data from an XML file, dupliactes an empty movie clip and populates a dynamic text field with each menu item mc and then populates the text fields with the text from the XML. With help from others in teh forum I've finally managed to get the move...more >>

Button Problem
Posted by Diggers34 at 1/31/2007 3:18:15 PM
I have a page on my site that has 4 buttons on each side...movie clip over a button...looks like a bar with a small arrow movie clip on the end. I am sure you know what I mean. When you roll the mouse pointer over the page it obviously is supposed go through its actions and alert user there is...more >>

GetURL doesn't work on live site
Posted by jenpsn at 1/31/2007 3:01:37 PM
I have a flash 8 movie that works fine , with a button that invokes GetURL to open a popup window. It works from our standard URL for veiwing a customer site (like www.ourrealsite.com/default.asp?domain=customerurl), but doesn't work when the url being used is the customer's domain name (like...more >>

Sound.loadSound("MySong.mp3", true)
Posted by BobAchgill at 1/31/2007 2:59:54 PM
I can not dynamically load and play an MP3 file from the directory where the parent is running using the subject line of code. What am I missing? I put the line in my action script for the frame. Thanks! Bob ...more >>

Help with Buttons
Posted by Horea4 at 1/31/2007 2:14:36 PM
So here is my problem: I have a button which I want to rotate an image. It rotates it with a value of 2 every time the button is clicked on. Needless to say, if you want to turn it 90 degrees, you'll have to press the button an annoying number of times. So I'd like to be able to rotate the ...more >>

setMinutes Method Of Date Class
Posted by AwesomeDigital at 1/31/2007 2:14:01 PM
I want to set the minutes of a date with this code, but it does not work, why? var testDate:Date; testDate = Date(); trace(testDate); testDate.setMinutes(5,0,0) trace(testDate); Thanks Mathias ...more >>

Probs with setInterval and programmatic animation
Posted by RedBox at 1/31/2007 2:06:51 PM
Hi all Further to a recent post about using setInterval to create animation on a dynamically created menu item mc; I'm now trying to refine this process but once again not having much luck! The Flash front end is pulling in the menu data from an XML file, duplicating a menu item movie clip...more >>

can I get System Specs through actionscript in flash
Posted by unthank at 1/31/2007 1:24:13 PM
I'm working on a suite of games for schoolkids for an EU project. It has a very wide reach so I want to create a benchmark program that schools in countries all over Europe can visit and email me the results. From this information, I'll be able to decide how complicated the games can be et...more >>

is ie cached swf loaded data plz help me
Posted by sam_fiarOne at 1/31/2007 1:17:26 PM
hi i real can not understand ; i have in same page more than one swf and i entered each one an id this id send to php which load it's data and send it to swf i test it in firefox and it work will each swf show it's won data but in ie all swf show same the data that data belong to first ...more >>

Input not working in Firefox browser
Posted by rkin2k at 1/31/2007 12:02:44 PM
Hi, I have a flash animation and its getting some inputs from users. The input bozes not working in linux firefox browsers. Could you help me out to solve this? Thanks in advance. Regards Ravi Quintegra Solutions ...more >>

taking screenshot and copying to clipboard
Posted by Eric Adriaans at 1/31/2007 10:42:48 AM
Hi, I'm trying to develop an application that can create static images (jpeg's or png) from a part of the workarea, i.e. images of a clock with which you can set time in flash, and the create a jpeg or png from the clock. So far everything's been going pretty smoothly, I've used Zinc to tak...more >>

voice recording
Posted by JSanvictores at 1/31/2007 10:30:01 AM
Is there a way to integrate voice recording in Flash and saving the recorded sound file to the user's local PC as an MP3 or WAV file? Is it possible to do this without using Flash Media Server? tnx! ...more >>

drawing lines
Posted by jonnybennett at 1/31/2007 9:45:31 AM
I am trying to create a pattern by drawing curved lines using actionscript. However the following code eats so much processsing power that whne you add it to the rest of my site it slows down all the animations in my piece. createEmptyMovieClip ("curveLine", 3); curveLine.lineStyle (1,0xCC...more >>

loadMovie("MyMovie.swf", myMovieClip_mc);
Posted by BobAchgill at 1/31/2007 9:25:50 AM
I can not get MyMovie.swf to dynamically load from the directory where my calling swf is running and run inside my main swf. Do I have the syntax right? Here is what I did... I made a symbol/instance called myMovieClip_mc with property Type=Movie Clip and put it on the frame panel. T...more >>

preloader: can I define a custom location?
Posted by SuperRoach at 1/31/2007 5:00:06 AM
Gidday, Like most people writing a preloader, the basis of it is getting the total bytes and bytes loaded so you can get a percentage, and know when to remove the loader. So far I have a function which finds which button has been clicked, and starts the preloader. All of the content is l...more >>

Movie clip buttons
Posted by magic dude at 1/31/2007 1:04:07 AM
How can I make a movie clip button please help me ...more >>

Catching a tree's item
Posted by Listat at 1/31/2007 1:01:51 AM
Hi, I'm trying to catch whe the user selects an item from the tree component but I've tried with onClick event and I couldn't. Somebody help me please, tanks. ...more >>

loadMovie cause problems with onEnterFrame method defined on a class
Posted by Quiltron at 1/31/2007 12:50:39 AM
Hello everyone I have just started to work with classes few days ago and i found this problem on my way. I have defined on a class a method that has to be executed every frame (onEnterFrame), but it doesnt works, the reason for the error is not on the class nor on the way i define the ...more >>

Drag Selection Help!
Posted by blamethatkid at 1/31/2007 12:46:25 AM
Hello All! I am new to this forum and to flash. I have something that may or may not be simple. I essentially want to setup (visually) a grid. Inside this grid the user can click hold and drag through the cells and a color will apply as the user drags across the cells. I have been...more >>


DevelopmentNow Blog