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 > january 2005 > threads for wednesday january 5

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

Mask Flash
Posted by Lark16 at 1/5/2005 10:46:04 PM
I am trying to dynamicaly load a swf file into the one that I am creating, I then want to put a button over the top of it. I have figured out how to load the movie by: loadMovie(unescape(_root.swfURL),"_root"); I want to put a button over the top and have: on(release){ getURL(unes...more >>


Continuous script on stopped frame
Posted by DyFuCA at 1/5/2005 10:22:36 PM
Does anyone know how I can have a block of code in a frame run continuously when the movie is stopped?...more >>

Undefined error
Posted by Lark16 at 1/5/2005 10:15:19 PM
I created a button called btnMain. I would like to resize the button when the flash lodes. Can someone tell me how to get a reference to the object? Here is my script: loadMovie("http://localhost/Test/test.swf","_root"); _root.btnMain._width = 2000; trace(_root.btnMain._width); t...more >>

Localization in Flash 5
Posted by Saurabh at 1/5/2005 9:28:48 PM
Hi, I want to create some files using Flash 5. I wanted to know if we can do this using XML. I tried to do all kind of weird things but no success. Please let me know... Thanks in advance Saurabh ...more >>

Unloading Movies Upon Moving Frames
Posted by davidkraliknam at 1/5/2005 9:15:28 PM
I have a SWF file that loads movies externally, its a timeline where each decade is a frame. Eeach frame has 10 swf files that users can load if they press the right button. The problem I am having is that the same movie is kept on the screen even after I move to the next decade. t...more >>

Dynamically Generated Data Via XML
Posted by tbufano at 1/5/2005 9:04:44 PM
I'm a front end designer trying to get more involved in ActionScript dynamically driven sites. This might be a very simple solution, but I'm having a hard time finding a tuturial that will help me. Follows are the pages I'd like to update: http://www.spencerstuart.com/about/offices/philadelph...more >>

constructing classes
Posted by dnk NO[at]SPAM canada.com at 1/5/2005 9:02:11 PM
Hi there, I am reading a book on mx 2004, an I am just starting to learn actionscript, and I have been following the code examples in the book. I am just in a section about constructing classes. Now the code snippet I am posting below is just for refernce, and not meant to be working in anyway...more >>

How to start slide presentation on slide3
Posted by Freddie Farkle at 1/5/2005 8:40:11 PM
What is the best way to have a MX 2004 Professional slide presentation start with a slide other that slide1; for example, slide3? I can use gotoSlide() to jump from one slide to another, but I need to programmatically have a loaded movieclip start on a slide based on a passed argument. A curre...more >>



How do you make image move slightly with cursor
Posted by Don Pacino at 1/5/2005 8:29:58 PM
Hi, I hopr you lot know what im talking about. I've seen sites where the flash image moves left or right as you browse around! I dont want the whole page to move around exaclty with my cursor, just slight mov ments? I hope this makes sense and would be grateful if someone could enli...more >>

Playing Movie Clips
Posted by Dennis S. at 1/5/2005 8:23:54 PM
VERY dumb question. I'm loading and playing external movies, using a next and previous button to navigate between movies. What I really want to do is to string several external movies together (overview) and not have to have the user click a "next button" to move between movies. The code I'm u...more >>

loadMovie loads graphic, but doesn't display it
Posted by Michael Lunsford at 1/5/2005 7:51:33 PM
I'm probably going the long way around with this code, and maybe that's the problem. I have _root.onEnterFrame check a variable to see if it has changed -- if so, it runs some code, otherwise, it does nothing. Here's the problem: the function loads a bit of text to a text field (which alwa...more >>

mp3 player
Posted by kimber01 at 1/5/2005 7:21:20 PM
Hi all, I was wondering why the john mayer site (http://www.johnmayer.com/flash/index.html), doesn't have a loading screen or an obvious delay. Is that done using xml? Did they just choose not to do that, and decide not to concern them with the loading time of each mp3 file? What is the best...more >>

Alpha Mask
Posted by krl at 1/5/2005 7:06:22 PM
Hello all, I have this idea twirling around in my head. Has anyone seen G-Force's visualizations? They use black and white 'pictures' and underlay a color that shows through the respective b/w 'picture' as though it's were transparent and the transperancy was dependant on the gray scale. H...more >>

Passing parameters to PopUp, urgent!
Posted by hyper-danne at 1/5/2005 6:58:30 PM
From the swf-file I call a javascript that pop-up a new window, works fine. Now I want to pass the values from the flash-form to that javascript, I have tried: 1. getUrl("javascript: popWin(name,email,comment)","","POST") Returns javascript-error 2. getUrl("javascript: popWin('name','ema...more >>

Trouble accessing _global variables
Posted by chrscote at 1/5/2005 6:51:28 PM
I am working on a flash file that loads other files into it using the attachMovie function. The loaded movies have some code to check a _global variable to determine what to do when you click it. The problem I'm having, though, is that these loaded files are not getting a value when it check...more >>

Flash XML parsing problem
Posted by flashphpdev at 1/5/2005 6:42:35 PM
I have a flash piece that loads data from php in the form of XML. The following is what comes back. <Response> <Reply trigger='done' /> <Info value='This is the text from the database it contains Enter Key returns and paragraphs of text.' /> </Response> Now if you traverse the xml with th...more >>

Alternating Content
Posted by designdog at 1/5/2005 6:38:18 PM
One of the nice things about the MM site is the Flash header at top which displays content that changes from visit to visit. Any idea how to do this without manually changing the SWF file in that DIV? My goal is to have, say 6 different SWF files, that randomly play upon loading the home pa...more >>

Aaargh ... this is killling me
Posted by Anth2003 at 1/5/2005 6:15:33 PM
Can anyone see what is wrong with the code below? I am using a bit of code I have addapted from earlier work to do the layout of newPic but it isn't working the way it usually does. I was hoping for a clip loaded for each position in the preceding array and them all laid out in a nice 3 column...more >>

Side Scrolling Interface
Posted by eklemen at 1/5/2005 6:06:07 PM
Hello All, I was hoping someone could provide me with a tutorial in MX or MX 2004 that would help me achieve the side-scrolling interface found at http://www.skaen.com/ (click past the home page and you'll see it). Thanks very much. ...more >>

EXE files! HELP!
Posted by Matt Crigger at 1/5/2005 5:51:15 PM
I am trying to use a Flash Projector (exe) file to open (initialize the opening of) Word docs on a CD. But I am not finding success doing it. HELP! Matt ...more >>

Stealth Classes
Posted by designdog at 1/5/2005 5:35:33 PM
Flash MX 2004 ships with a slew of Classes that are not mentioned in any documentation that I can find - even 3rd party books, etc. Why does MM do that? What good are they if no one knows about them? If anyone knows where documentation for these Classes is, please let me know! Thanks, -ddo...more >>

MM DataSet/Datagrid: forcing update/refresh programmatically? Debug methods for Datasets?
Posted by Ken Fine at 1/5/2005 5:18:09 PM
I need to know how to update my MX2004 DataSet programmatically: to force it to "reset" or "refresh" based on a filtered view. I originally had an XMLConnector --> Dataset --> DataGrid combination, and I was able to figure out how to make a combobox filter the dataset. The grid would update au...more >>

DataGrid File Size?
Posted by theblessedone at 1/5/2005 5:15:05 PM
Hello, I have a datagrid in my movie, and I used a data connection wizard to connect it to an xml file. Now I have several components in my movie (DataSet, DataBindingClasses, XMLConnector), which are adding to the file size. Is it possible to use actionscript instead of these compone...more >>

Flash Projector as an application
Posted by JimSingelis at 1/5/2005 4:38:48 PM
Lets say I want to create a kind of greetingCard maker. I create a Flash Projector that lets the user insert his photos and greeting text. Having created a card he likes he can then 'export' that card as a self contained projector and email it to friends. However, the friends should not be abl...more >>

Trouble loading XML in using an AS class file
Posted by sawyerct at 1/5/2005 3:33:20 PM
I am trying to load an XML file with in a AS class file and can not seem to get it to work. Here is the output window contents: Error opening URL 'file:///C|/Inetpub/wwwroot/WebRCM/Source/Flash/[object Object]' undefined Here is the class file: class WebRCMApp extends mx.screens.Form { public...more >>

ASP scripts in different domain
Posted by mikkis at 1/5/2005 2:54:56 PM
Hi, I have a problem calling ASP scripts from flash if the ASP scripts are located in a different domain than the calling SWF. If the movie and the ASP are in the same domain, everything works fine and information is transferred into both directions. If the movie and the scripts are in diff...more >>

Importar fuentes en flash?
Posted by Jose Lorenzo at 1/5/2005 1:00:48 PM
Alguién sabe, como incorporar tipografías raras a una pelicula de flash para que se vean los textos que utilizan esas fuentes, sin convertirlo a modo gráfico(sin separar)? Gracias de antemano! Feliz año! ...more >>

Duplicate Movie Clip Increment
Posted by joeyrabbitt at 1/5/2005 12:46:50 PM
I need help with dynamically making duplicateMovieClip work in Flash... I have a movie clip that I want to duplicate enough times depending on an amount of records called in from an external source. (i.e 5 records, = 5 movie clips)... I have some code to sort out calling in records and s...more >>

display the quote sign at runtime
Posted by Dtads at 1/5/2005 12:08:17 PM
How do I display the quote sign " at runtime, e.g. trace(" " ") --> to display the " at runtime Its a silly question but, I simply can't remember how to do it....more >>

Problems with streaming sound
Posted by Markus Ernst at 1/5/2005 10:59:38 AM
Hello For a Flash intro I need a background sound. As the sound file is quite big I load it as an external file. I can stream and loop it with this syntax in the actions layer at _root level: musik = new Sound(this); musik.loadSound("soundfile.mp3", true); musik.onSoundComplete = functio...more >>

setting defaultgateway in cfset???
Posted by stebennettsjb at 1/5/2005 10:48:19 AM
Hi, im trying to set up my default gateway in my cfm page so i can change between my test and real server without having to change every single page.... i found an article on how to it: http://www.flash-remoting.com/notablog/home.cfm?newsid=71 but i cant get it to work???? could someone ...more >>

Flash and PHP, variables in the buffer
Posted by ultranol at 1/5/2005 10:35:25 AM
Well, I don't think this is an easy question, but let's see if someone can help me. I'm building something like a chat in PHP, with Flash. Trying to prevent to generate hundreds of HTTP requests of a PHP page that checks if there are new messages to download, I wrote a PHP script that checks ...more >>

Slider with the sound playing
Posted by Manoj vn at 1/5/2005 8:58:39 AM
Hi forum, I want a slider (like the one in win. media player), which can control the sound file embedded in the fla. ie, a slider showing progress and having the options for forwarding by dragging forward the slider thumb and the other functionalities. Now the progress bar is functioning fine....more >>

Export for Action Script
Posted by Chris J at 1/5/2005 8:48:27 AM
Can anyone answer this? So is selecting export for actionscript a bad thing? What is it for? The only purpose I know of(and have used) for 'Export for ActionScript' is to give it a 'linkage identifier name' which can be used with attachMovie() I've never needed it for anything besides that. ...more >>

Local connection
Posted by robla99 at 1/5/2005 7:38:23 AM
Hi all I would like to run 2 flash files as swf (not downloaded from a url), each swf running on seperate computer. Both computer are connected to the same network (workgroup). Would it be possible to talk (send messages) from one swf to the other, using the local connection object? ...more >>

Independent screen resolution
Posted by FlashAmit at 1/5/2005 7:35:41 AM
I am making a course that is running in windows environment at resolutions 1024X768 and 800X600. PNGs are being used in the files. When we run the course in 1024X768 mode it runs perfect but in the 800X600 images gets distorted. I have gone through with following options: 1) Removing allow ...more >>

flash projector minimize button
Posted by Ajay Vyas at 1/5/2005 6:35:02 AM
Hi All, i am developing a cd based presentation. I want the CD should open in full screen mode and also the minimize, restore and close button should be visible all the time on upper RHS. this is windows based CD. i tried using fscommand("fullscreen", "true"); it hides these buttons, and ...more >>

Displaying Text From A Database?
Posted by brandon_haslip at 1/5/2005 5:00:58 AM
I have a fla of a state map and when you rollover the countiies they display a percentage that I want to draw from an Access Database, currently when you rollover the county it turns blue and in a box in the upper right hand corner it displays a graphic containing the info, the graphic is in t...more >>

Adding text in a textfield
Posted by maulia at 1/5/2005 4:27:10 AM
If i have a textfield (txtA) and a button (cmdHello) for example. What I want is, when a user puts a cursor in the textArea and press the cmdHello button, a text 'hello' will be added in the position where the cursor is. What's the actionscript for that? ...more >>

Load linked clips from external SWF
Posted by Raiden at 1/5/2005 4:23:17 AM
Is it possible to load an SWF into the root timeline and use whatever contents that are linked in that SWF. Idea: flash1.fla: Publishes as flash1.swf Attaches flash2_lib.swf as a movie. flash2_lib.fla: Publishes as flash2_lib.swf Contains linked symbols. Now, when flash1.swf needs somethin...more >>

Why does the parent movie size change?
Posted by pwp69 at 1/5/2005 3:37:01 AM
I am relatively new to flash mx 2004 actionscript and am experiencing some unexpected results. Specifically can some one give me some ideas why the size of a parent mc changes when I change the size of a child mc? I have two movieclips with associated class files (menuBar and menuItem). ...more >>

Scale Movie Clip
Posted by Lark16 at 1/5/2005 3:28:28 AM
As you can probably tell by the Message Title. I am a complete novice. Lets say I create a flash file is 100x100. There is a movie Clip that is 100x100. Everything works fine. But in HTML if they create like: <object>.....width=200 height=200.....</object> My movie plays at 100x100 ...more >>

External Var
Posted by darrylfrith at 1/5/2005 2:34:39 AM
Im creating a flash file where the user can drag and drop objects on the screen. the locations of the objects are limited to numberd positions. No problem. But what I'm interested in is saving the positions of the objects so that the file opens next time in the new state. Does anyone know...more >>

Urgent! need help with fscommand code!
Posted by JLynnF at 1/5/2005 1:34:29 AM
I am making a CD-ROM and have created a main interface using flash. I have also created a number of other flash files that I link to with buttons in the main interface using loadMovieNum code. I have added the following code to the first frame of each scene of my multiple movies as I want the ...more >>

Isometric game
Posted by Rob_jones732000 at 1/5/2005 1:27:15 AM
Whats the best way to approach it? Should i use a isometric grid? In terms of www.2ddepot.com: How was the character constrained to the area? How were the collisions detected? How was the movement done? ...more >>

fading sprites
Posted by jimmy_milk at 1/5/2005 12:44:09 AM
How can you get it so each time you roll over a sprite, it fades by about 10% Thanks for your time Jimmy ...more >>

Timer weirdness in flash
Posted by castanza at 1/5/2005 12:38:17 AM
Just curious if anyone has had problems in Flash MX 2004 with setInterval and clearInterval ? Especially when using them inside of movieclips loaded with MovieClipLoader.loadClip(). I don't know if it's race condition or what, have been troubleshooting for days.. but sometimes it seems like...more >>


DevelopmentNow Blog