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 > june 2005 > threads for thursday june 9

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

problem with slideTo()
Posted by doof moof at 6/9/2005 11:52:05 PM
can anyone tell me what could be wrong with this script: #include "lmc_tween.as" this.my_btn.onRollOver = function(){ this.my_mc.slideTo(30, 30, 5); } the slideto works just on its own but when put into the onrollover method it does nothing. i no this is basic but any help will be muc...more >>

How do you reset a XML document?
Posted by ManinBlaq at 6/9/2005 11:50:18 PM
When the Flash App initializes, it loads it's settings from an XML document. Periodically, it needs to reload for newer information ... Before reloading new information, I'm trying to purge the current XML object. I'm calling docroot_xml.removeNode(); but it has no affect on the object. ...more >>

Adding Button Component dynamically
Posted by Dinghus at 6/9/2005 11:05:22 PM
I'm brain dumping on this. I am doing it like this: for(x=0;x<=max;x++) { var btnName = "button"+x; var [btnName]mx.controls.Button; } It doesn't work. Basically I am trying to make a menu of buttons dynamically. So I get the list of topics from a database and then want to conv...more >>

tellTarget Issues
Posted by GhettoFabFlah at 6/9/2005 11:00:01 PM
yo i know i must sound like an idiot, but im kinda havin issues with tellTarget. i know how to use it with movie clips on the _root timeline and movie clips that are already housing the movieclip or frame with the actionscript. but whenever i try to tellTarget to a movie clip that is not on ...more >>

attach buttons and titles with delay
Posted by dilbertje at 6/9/2005 10:27:12 PM
hello i have this little problem let me draw a picture: i've got 3 categories: fruit, meat, vegies each cat is subdevided in other arrays, created as below projects["fruit"][0],projects["fruit"][1],projects["fruit"][2],projects["fruit"] [3] projects["meat"][0],projects["m...more >>

SOUND CLASS
Posted by ASDFASDFD at 6/9/2005 9:04:12 PM
I am syncing a sound to animation......... Just wondering the easiest way to have someone press the "NO SOUND" and the syncing sound would not play.....but when they go to press it again that it would sync back up.....any ideas....help! ...more >>

another loadvar problem!!
Posted by SavageMessiah at 6/9/2005 8:33:03 PM
I everyBody!! Im using Flash and PHP to get data from MySQL server. have created a loadvars variable and i can get the data without an problem. But what i want to do is make the manipulation of the dat after the onload function IN THE SAME FRAME. I dunno if its possible see my exemple (note: t...more >>

Detecting the Download Progress of External Movies
Posted by mjpolizz at 6/9/2005 8:25:25 PM
I am working in Flash MX 2004 and I'm using the new MovieClipLoader class to load an external Flash Movie "bigMovie.swf" into another Flash movie. The Flash movie itself works fine, I just don't understand the use of one of the event handlers, onLoadProgress, which is highlighted below. My qu...more >>



How to clear this Interval?
Posted by icarusdown at 6/9/2005 7:47:47 PM
I cant find a way to clear the interval when sound loads! I put question marks in the code. this.createEmptyMovieClip("mcSoundholder", this.getNextHighestDepth()); var sndAudio:Sound = new Sound(mcSoundHolder); sndAudio.onLoad = function(bSuccess:Boolean) { if (bSuccess) { thi...more >>

Activity Level For Playing Sounds
Posted by ziggystar at 6/9/2005 7:12:50 PM
Is there any way to monitor a sound playback like the activitylevel option does for microphone? I want to make a rudimentary volume/sound based activity meter. Like how windows media player has all its neat visuals. :) thanks! ...more >>

AS 2.0 Class Sharing
Posted by NomadicDesign at 6/9/2005 7:12:21 PM
Hello all, I am wondering how you set an swf file to not export any actionscript 2.0 classes but to load them from the parent swf video that it is being loaded into. I am looking to save as much space as possible and to decrease download time for 56k users. I am loading several swf ...more >>

sharedObject Whoas
Posted by exuk at 6/9/2005 6:53:46 PM
I am trying to use the sharedObject class in a comment submit form on my site. However, it is not working. I have tried many things and got it to the basics: //create the local Shared Object var infoObject:SharedObject = sharedobject.getLocal("saved_info"); infoObject.data.userName = u...more >>

Dynamic Button or something
Posted by lordzion at 6/9/2005 5:03:35 PM
ok I have the whole calling variables from a text file down. But I nee to know how to call a target from a text file and use when I push button. For example Step 1: I click on the button I choose Step 2: It opens a link (the link is a variable in the text file) like \windows\programs\test....more >>

E-Learning problem
Posted by AMTCS_GOD at 6/9/2005 1:39:00 PM
Ok. I have a problem with an action script. And I know that it is something simple. I am designing a e-learning section of a lesson where I need the student to enter "NO" and then press the enter or return key on the keyboard. I have the pressing the enter key down pat, but how to I incorp...more >>

XML Data Retrieving and Sending
Posted by Rajula at 6/9/2005 1:18:43 PM
Hi to all I need help on data retrieving and sending in the xml. My concept is I want to make a form that would be connected to xml. When i fill the form or if i want to retrieve the Data to be shown. entered data should be strored in a xml file. Thanx ...more >>

dynamic masking problem
Posted by eRez at 6/9/2005 1:03:01 PM
Hi, first take a look @ that - http://3dmuse.i-code.co.il/users.aspx?user=2 the slide show u'll c is all dynamic - the images r loaded from the server, the MC's containing those images r created @ run-time. there r 24 MC's, one on top of the other, each has an image loaded into it, and i fade...more >>

Stop scrolling menu
Posted by Lord of Limbo at 6/9/2005 12:02:55 PM
Hello. Can anyone help with this? I have 36 movie clips nested vertically within a movie clip called vertical scroller. 1: How do I limit the scrolling action of "vertical scroller" so that the 36 clips don't dissappear off screen? 2: Can I limit the area where the mouse can initiate the scrol...more >>

xml into array from dynamic url..
Posted by sergio t. ruiz at 6/9/2005 11:00:06 AM
i thought this would be trivial, and i am sure it is, but i am just missing the boat somewhere.. i have a php file that generates an xml file (based on a mysql query).. it's SUPER simple.. it goes: http://server/generate.php?selecter=xyz and it returns something like this: <snapsho...more >>

variable in a movieclip
Posted by vinnio at 6/9/2005 10:20:33 AM
Hi! I want to load a variable from a keyframe into a movieclip... how can this be done? Thanks!...more >>

prototype problems
Posted by greg_brant at 6/9/2005 9:08:49 AM
hi all, im trying to make a simple button using Object.RegisterClass and the prototypes system this is gonna be included in a larger project later but im just trying to get this bit sorted on its own... my problem is.. when the sound loads the sound objects onLoad handler is called ...more >>

LocalConnection won't work between Scenes!
Posted by scriptKid at 6/9/2005 8:25:46 AM
hi! a friend of mine suggested LocalConnection to help solve the problem of passing information between scenes. i followed the great tutorial on actionscript.org. instead of puttin two .swfs into an html page, though, i tried putting them in the same scene. it worked! however, what i real...more >>

Flaming animation
Posted by pandx at 6/9/2005 7:34:58 AM
Hi, I recently downloaded a "fiery" animation from here: http://kortlink.dk/flashkit/u3s I was trying to put it behind my button to make it as if the button is on fire. However, the animation always appear on TOP of my button, even if I use the bottom-most layer for it. Anyone with any...more >>

Save text file
Posted by Flashgroups at 6/9/2005 7:14:43 AM
Hi every body, I need String content save in the user selected area like C:\ or D:\ and ".txt" formate I use flash player 7. Its possible or not pls help me Regards Flash groups ...more >>

Flash 5 cannot display any charater in text panel of expert mode?
Posted by stevencif at 6/9/2005 6:53:33 AM
I am using Flash 5 in Win NT4. I select the action in normal mode, the action is diaplay in the text panel. When I change to expert mode, the text panel cannot display anything. I enter the code in text panel of expert mode, the col. No. & Row No. can be changed in status bar of expert mode,...more >>

kglad
Posted by davidprovost at 6/9/2005 1:12:13 AM
Hey, remember a while back you helped me out with some code for a car. It was something like degtoRad = Math.PI/180; speed = 0; maxSpeed = 20; ivar = 0; car_mc.swapDepths(100000); moveI = setInterval(moveF, 20, map_mc); function moveF(mc) { if (Key.isDown(Key.LEFT) && Math.abs(spe...more >>

from button in movie to main time line
Posted by Aus_Scott at 6/9/2005 12:38:44 AM
I have a button in movie clip that when I click on it I need to go to a frame on main time line. on (press) { gotoAndPlay("clients",2); } is the actionscript of button in mc Thanks :confused; ...more >>

Keydown capture not working
Posted by David Mainstreet at 6/9/2005 12:17:11 AM
I want my swf to respond only if the user holds down the shift key and presses the zero key at the same time. But as soon as the shift key is pressed, this code executes: var keyListener: Object = new Object(); keyListener.onKeyDown = function() { if ( ( Key.isDown(48) )+( Key.isDo...more >>

Night or day
Posted by bng09 at 6/9/2005 12:00:00 AM
Can anyone tell me how to something like http://mustardmedia.com/winter.swf. See how it reacts to night and day. If you change your system time to a holiday (such as Cristmas, New Year's Eve, or New Year's Day) it changes. Can anyone help. ...more >>

2 Different ways to fade-in a MC with AS (1 of them is not working...)
Posted by Manare at 6/9/2005 12:00:00 AM
Hi! This should be very simple: I want to fade-in a Movieclip (called MC1) using Actionscript. I normally use this (and it works just fine): this.MC1._alpha = 0; this.MC1.onEnterFrame = function() { if (MC1._alpha <100) { trace(MC1._alpha); MC1._alpha +=5; } }; ...more >>

360 video
Posted by bundas1000 at 6/9/2005 12:00:00 AM
I have a 360 video of an object that I took, now that I converted the video to SWF (using After Effects) I'm wondering how can I use the StartDrag function. The idea is : A) If you drag the object and move it to the right(or left) the image will move B) If you stop dragging the movie shoul...more >>

Magnifying effect when moused over image
Posted by JLD.MX at 6/9/2005 12:00:00 AM
Hi, I have a swf that I'm pleased with, but I have one last thing I need to do so that it's useful. I basically built a custom image displayer like the packaged sample "image loader" that comes with MX. I want to be able to mouse over the image when it's loaded (externally) and it shows a ...more >>

FLV sync w/animation
Posted by .:}x-=V!P=-x{:. at 6/9/2005 12:00:00 AM
I am creating a tute for a client and I have flv loaded externally with simple animation (mouse cursor). While the flv is playing images change in the background of swf and a cursor image moves around and points at areas that the flv is indicating. when I test it in flash it is ok, but .....more >>

Curious about origin of "MyCache"
Posted by lem0nayde at 6/9/2005 12:00:00 AM
Hello everyone, This isn't really a problem, so much as pure curiosity. I'm using a preloader for external movies and jpegs and it calls: function preload(MyCache) This was code borrowed from the internet and, although it works, I like to understand every bit of it so I know how it is ...more >>

Dynamic Text within a movie clip
Posted by phillyj at 6/9/2005 12:00:00 AM
I'm trying to set up a dynamic text box within a movie clip, and it isn't working. I pasted the code and dynamic text box into the _root level, and it worked fine there, but once I go inside a movie clip and try the exact same code and dynamic text box, the text doesn't load. I can tell t...more >>

Looping multiple times then playing
Posted by brandon_haslip at 6/9/2005 12:00:00 AM
I have a movie that is 90 frames long. I want to loop the first 35 frames, 5 times, then play the rest of the movie. Can anybody help me with this? Thanks in advance....more >>

Mathematical equations in ActionScripting
Posted by JMH5 at 6/9/2005 12:00:00 AM
Hello everyone, Can somebody recommend a good resource (book, web site, whatever) on using ActionScripting to solve simple mathematical equations? What I want to create is a Flash file that allows the end user to enter a number in a text field. That number will then be run through two d...more >>

Select Datagrid Row Using Actionscript
Posted by mnmotilewa at 6/9/2005 12:00:00 AM
Hi I'm trying to programatically select a certain row of a data grid component using actionscript. Can anyone help me with this? Thanks. ...more >>

Select Datagrid Row Using Actionscript
Posted by mnmotilewa at 6/9/2005 12:00:00 AM
Hi I'm trying to programatically select a certain row of a data grid component using actionscript. Can anyone help me with this? Thanks. ...more >>

Test yourself.
Posted by M. Syfax at 6/9/2005 12:00:00 AM
Hi all, I'm trying to create a test in my flashproject with 20 questions, 5 checkboxes per question and a score in the end, but I can't seem to get it to work. Do you know how I get flash to calculate the the score at the bottom of the page with the 20 questions, or how I'll make this work i...more >>

Problem With SendAndLoad
Posted by lutenegger at 6/9/2005 12:00:00 AM
I'm not sure exactly what is happening last week there were no problems now when I use a form on the new company site. Now my browser crashes. This happens in both IE and Firefox. Form is on the contact page of getcreative.com if you want to see it. Here's the situation. I'm have created a...more >>

Controlling many swfs in one web page
Posted by mole-boy at 6/9/2005 12:00:00 AM
Hi, I've got lots of individual flash movies that are embedded in a web page. They are passed the url of an mp3 and they are mini-players (like Quicktime has for playing individual sound files, with a small progress track and play/pause button). What I want to happen is that if 1 is...more >>

new window
Posted by SkidOvidiu at 6/9/2005 12:00:00 AM
how can I open a picture ( .jpg or bmp) in another window? I used: on(release){ getURL("http://skid.uv.ro/images/Demon.jpg",target=_blank) } on a button, opens the picure in the same window ...more >>


DevelopmentNow Blog