Groups | Blog | Home


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 > april 2006 > threads for monday april 3

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

Preloader doesn't work in version 8
Posted by Biddo Diddo at 4/3/2006 11:47:57 PM
I have designed a number of preloaders that all work great in 2004. But they all freeze up at the first frame in version 8. I have attached the code to this message. Any ideas? I would be happy to email one of the preleaders as a ..fla to anyone who asks. All I ask in return is if you wer...more >>


Can you figure out this simple actionscript ......
Posted by rbr1234 at 4/3/2006 11:25:40 PM
I need mc1 to become mc2 once mc3 gets to frame 11 this is pretty much the actionscript i need. Can you fix it? if(_root.mc3._currentframe == 11) { _root.mc1. TURNS INTO _root.mc2 } ...more >>

localToGlobal problem
Posted by mikeDoh at 4/3/2006 11:14:31 PM
i am dynamically attaching MCs (_root.lasershot) to the _root. I set the new clip's _x and _y to those of a nested MC's child (_root.spaceship.lasergun). There are two laserguns on the ship, so the code attached is called two times, giving the following output each time the laser is shot: ...more >>

FileReference download
Posted by Walloompoom at 4/3/2006 10:51:29 PM
Hi, This code is directly from the help files in Flash 8. It works partly. The download dialogue opens but nothing actually shows up. But thats not even what Im trying to do. Im trying to download from a dir on the server I want to change http://www.macromedia.com/platform/whitepapers/platf...more >>

Need help putting together an if - then
Posted by Angyl at 4/3/2006 9:45:36 PM
I know it's simple, but as I'm learning flash, my problem is getting the syntax in Action Script right. I have two mcs named btn1 and ball2 On press of "btn1" I want it to IF ball2 is on frame 15 (of its own internal movie) ball2.gotoAndPlay(16); ELSE do nothing. How wou...more >>

Make a button drag a movie clip
Posted by kypsul at 4/3/2006 9:45:06 PM
To all, I've been trying forever to make a button, that when pressed it moves a movie clip up or down. I can scroll text and I can get the movie clip to drag using movieclip.onPress with a function that starts or stop the drag. What I need to be able to do to find some code that will allow...more >>

Quick answer to simple question, please
Posted by Angyl at 4/3/2006 7:47:08 PM
I have a movie clip that I want to do something when a user presses a button that will take them to a different frame. Rather than writing the button itself to cause the movie clip to do something (though I suppose tht will work) Isn't there an opposite to on.EnterFrame?? on.ExitFram...more >>

trace doesn't seem to work
Posted by Armo_Director_user at 4/3/2006 7:36:33 PM
Dear all, I have included the portion of the frame 1 script that I am referenceing. PLease let me know if it would be handy to see the rest of the script. I know that the function is being called, so that is not the problem. Thank you, Armo function swapPlace(clip,num) { if (p=...more >>



flv question
Posted by speedy33417 at 4/3/2006 6:55:20 PM
I have a series of movies encoded as flv. They're all 60 second long. I have a page created where I list them all with comments. There the user can select the one he/she wants to play. My problem is, I want to avoid creating a different page for each video to play. Can someone explain me t...more >>

close external program
Posted by Johnny_boy at 4/3/2006 6:44:52 PM
I am researching a problem for a client. They have created a training program where one program (Quest) opens a Flash .swf file - the .swf runs the rest of the training and passes some values to a scoring LMS system. What they want to do is have the Flash file close the Quest program. Any t...more >>

Help with masking
Posted by joemacd at 4/3/2006 5:51:53 PM
Using Flash Pro 8 I have created a screen of "info tiles", each of which contains a number of text fields and a background icon clip. The tiles periodically refresh their information and slide up and out of the stage view. The tiles are put together at run-time using action script. The u...more >>

Actionscript for button
Posted by ladyluna at 4/3/2006 5:47:59 PM
I want the animation to finish in current scene, then switch to a different scene. How can I code a button to play the rest of the current scene (from a stop action), then go to a different one? I will have several buttons to choose from, so I want it to play the rest of the current scene...more >>

XML - Add child
Posted by JimmySlam at 4/3/2006 5:42:32 PM
Hi, how can i add a new child to a XML i have created? I tried with: database1 is the main : XML. twElement = database1.createElement("tw"); twElement.attributes.type = "request"; twElement.attributes.modul = "message"; twElement.attributes.action = "ins...more >>

Re: Session Variables Passed to CF Pages?
Posted by EdNeedsHelp at 4/3/2006 5:38:25 PM
I've seen examples of the reverse but none addressing my example. Help, please?...more >>

MediaDisplay properties
Posted by rogz at 4/3/2006 5:28:03 PM
In order to set the x,y, width and height properties of a dynamically created mediadisplay component do i need to wait for the video to load first? if so does anyone have an example on how to detect when the video as completed loading? ...more >>

Textfield, CSS stylesheet external loading
Posted by Flash_Boi at 4/3/2006 5:26:59 PM
Hi Everyone, I got this tutorial from the Macromedia FLASH 8 Advanced book at a local library. It has helped me through some stuff. The example of loading external CSS stylesheet into a textfield works lovely, but they don't have an example of loading an external css and external text file...more >>

Controling height of a movie clip threw code
Posted by josh23gb at 4/3/2006 5:24:17 PM
If i wan to increase the height of a movie clip on a on press event how would i do that with out using a timeline tween. I want to tween a mc from a height of 5 to a height of 10 threw code....more >>

How do you talk to other characters?
Posted by gregmax17 at 4/3/2006 5:10:40 PM
I am following tonypa's tutorial 'more on enemy' and trying to have the hero talk to the enemies instead of being killd. I know where the collison occurs, but how would I make the hero and enemy not walk on top of each other? Furthermore, when you talk to the enemy, how would you make the movi...more >>

URGENT HELP
Posted by neil.w at 4/3/2006 4:33:57 PM
URGENT HELP please. Can anyone help me out with an example of the actionscript for sending a form to my email!! its a simple form: name, address, number, fax, message, send, clear. just can't get it to send to my email! HELP! ...more >>

Copy, Cut and paste like a drawing application
Posted by mikecoleman79 at 4/3/2006 3:23:37 PM
Is there any way in Flash that a user can select a certain area and copy it, then paste it into another application or swf? We have Flash screens with photo?s and video?s and need the user at different stages to select parts then copied to the clipboard and paste it as a jpeg so the copied...more >>

Use a comma as the decimal point
Posted by dasura at 4/3/2006 3:14:02 PM
hi! Im making a calculator to a customer who wants the calculator to be able to use both comma and point as a decimal point in the input fields. I live in Europe and here its more common to use comma than point. Can it be done? thanks Patrik ...more >>

Does AS has regular expression?
Posted by simonkuong at 4/3/2006 2:59:36 PM
I need to do validation with user input, do I have to write the algorithm myself? or is there regular expression build-in in action script? if yes how to use it? also a side question, as Im also working on a PHP search engine, how do I store an HTML file content as a variable in PHP so i ...more >>

iframes
Posted by deadlast007 at 4/3/2006 2:53:13 PM
I have the following scirpt on a button in flash : on(release) { geturl ("index.html"); } i have 5 iframes total. what do i add to the above script to tell it to open index.html in iframe5? ...more >>

Ensuring all images from XML file preload iin swf
Posted by katmew at 4/3/2006 2:02:35 PM
Hi, I hope someone can help me or point me in the rigth direction. I'm trying to load multiple images from an XML fileinto a swf. It works fine locally, but not running off the web. I know The XML is loading on the web- as text to supportthe images is appeaaring, but I'm not sure how to prelo...more >>

Visual C# 2005 and Flash External API
Posted by JLonardoni at 4/3/2006 12:56:04 PM
Hi there! I'm having a problem with data types when trying to pass some values from a Visual C# 2005 application that embbeds a Flash 8 SWF (included using the Shockwave Flash Object ActiveX control). I've just read steve1960's post (in Flash General Discussion), and I'm very sorry I haven...more >>

Fullscreen Projector & Centered Windows
Posted by JP.Harron at 4/3/2006 12:39:41 PM
1. How can I get Flash to autoplay my published movie as fullscreen with a selected color background/border if viewed on monitors at higher resolution? 2. How can I get windows opening on a higher layer using the loadMovieNum command to open centered on screen? Thanks ...more >>

e-mail in flash
Posted by bbagsk5 at 4/3/2006 12:32:18 PM
I'm trying to send out an e-mail alert to a client when there status is showing high. I want it to automatically e-mail the client without me having to physically e-mail them myself. This is the script that I'm running: if (var1 == 1) { setProperty("bill.b1",_visible,true); setProperty("bill....more >>

how to check which scene i'm
Posted by b_pandey at 4/3/2006 12:15:09 PM
Hi Guys, Just to check, How do I know through script, which scene i'm currently on I want to write a script saying that if i'm on scene 2 then do this? but how do i know which scene i'm. thanks in advance ...more >>

Problem with "attachMovie" and "removeMovieClip" and ComboBox component
Posted by Wizzard <|:-) at 4/3/2006 11:49:21 AM
Hi I've found a problem which I could do with finding a work around: 1. create a new movie 2. create a simplemovieclip symbol (say a square) called "Test" and set its properties to "Export for ActionScript" and "Export in first frame" 3. in the timeline create an "actions" 4. in...more >>

Anyone without Flash player 8? Site check, please....
Posted by Brian at 4/3/2006 11:23:27 AM
I just built a new site and it is in flash8. I thought I built the tester right, but just had someone in Nicaragua look at it and see nothing. He looked at some other projects of mine with flash in them and had no problem. Did I do it wrong? Why could that happen? Here is the site I am talk...more >>

Extremely Simple Preloader Script Fix: HELP!
Posted by TeeDub at 4/3/2006 8:01:48 AM
The short question is, what do I need to add to this preloader script to make it display and count up the percentage loaded? ----------------------------------------------------------------------------------------- // Work out how much of the movie has been loaded pcent_loaded = (100 / getBytesT...more >>

Speed control with Action Script?
Posted by Angyl at 4/3/2006 3:55:03 AM
I'm new to Flash but learning new stuff every day. LOVIN' IT! Just learned today how to move something with actionscript: ball1.onEnterFrame = function() { this._x++; this._y++; } Gets my ball moving diagonally across the screen... AT A SNAIL'S PACE!! What do I add to that...more >>

Forum
Posted by indigomontoya at 4/3/2006 3:10:47 AM
In html you can make forms to send data to external files. Can this be done in flash? I want my client to be able to submit information in a form in flash and have it saved to a file on the server for later use. I can only find ways to pass information to scripts for temporary use, not to stor...more >>

Problems with attach movie
Posted by Kagada at 4/3/2006 2:47:12 AM
My main movie have this code: my_ld_mc = attachMovie("mc_player","my_ld_mc",this.getNextHighestDepth()); my_var = my_ld_mc.x; trace(my_var); and the MC "mc_player" x = 100; But the trace command shows "undefined". I tried load the "mc_player" by a Loader Component , it loa...more >>

How do you make a button go away once a mc gets to certain frame
Posted by rbr1234 at 4/3/2006 2:28:53 AM
Can you finish this actionscript to do what the topic says? if (_root.mc._currentframe == 11) { _root.button. IS ERASED } if(_root.mc._currentframe == 1, 2, 3, 4, 5, 6, 7, 8, 9, 10){ _root.button. IS NOT ERASED thank you for trying Sincerly, rbr1234 ...more >>

Referencing components within a movie clip symbol
Posted by sidsevensix at 4/3/2006 12:30:24 AM
I made a movie clip symbol with a combo box component and a button component, and gave each an instance name. The movie_clip symbol is exported for actionscript. Within the class file I initated the component variables; somting like this: class classname extends MovieClip { publ...more >>

SIMPLE OFFLINE WEBSITE!
Posted by burpin_mac24 at 4/3/2006 12:02:20 AM
hey, i hav an online website..where i use the getURL ("www...../project.doc"); to link flash buttons to pages online... simple beginners Q i have is how can i get flash buttons to link to documents on my hardive? i tried doing getURL ("Desktop:UNI WORK:project.doc"); this doesn...more >>

visible buttons & depths & rollover
Posted by DavidMLevine at 4/3/2006 12:00:00 AM
Ok.. lets see if I can get some feedback from this one... I am trying to make a scroll pane with movieclip buttons which change on rollover. I am trying to place 1 behind the other and swapdepth or visible=false them to keep the preload. If there is a better way to go, let me know, but i...more >>

open a centred page
Posted by tacbob at 4/3/2006 12:00:00 AM
Is there a script that opens a centred html page but also closes if another button is pressed that does the same thing? For example: click button "1" - it opens a page 400x400 in the centre. click button "2" - the previous page closes then another page opens. Thanks ...more >>

Loading in scenes
Posted by tacbob at 4/3/2006 12:00:00 AM
I notice that if a movie contains several scenes and is published, each scene is also published seperately as a.swf. Is it possible then, to only have a particular scene load when required, rather than have to wait for the whole movie (which includes all the scenes) to download?? Thanks ...more >>

sound object
Posted by maartmo at 4/3/2006 12:00:00 AM
I have loaded an mp3 using the sound object as described in the flash help. It works just fine. But I want to play the sound straight away. Now I have to press the play button first. Can any one tell me waht script to use to make it play when starting the movie, and still be able to start and ...more >>

drag and drop with swapdepth problem
Posted by digit at 4/3/2006 12:00:00 AM
I am trying to create a drag and drop with the line trail effect and also using swapdepths so when you drag a circle to the other circle, it will detect that it's always in front. But I must be doing something wrong because the circle and lines moving randomly whenever I drop the circle to the o...more >>


DevelopmentNow Blog