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 > august 2005 > threads for tuesday august 16

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

Same code in on two buttons.One doesn't work.
Posted by LSNsaltlamp at 8/16/2005 11:46:58 PM
I have the following code on two buttons in one of my movies. However one of them only does the first command, then stops. I can't think of any reason for these two buttons to be behaving differently. The only difference is the last line of code on the second one says _root.titlebar.titles.got...more >>

Actionscript v1 vs Actionscript v2
Posted by philzzz at 8/16/2005 11:13:36 PM
I made the movie in Flash 6 but had problems regarding the _root.lockroot script. Then converted it using Flash Mx Pro '04 and saving it in Flash Player 7 and Actionscript 2 and it worked perfectly... but just out of curiosity, I resaved it in Flash Player 6 and Actionscript 1 and it still wor...more >>

Loading external movies
Posted by alanwallace4 at 8/16/2005 10:59:26 PM
Hi there, Im putting together a flash site and for each "page" i wish to load in an external movie. For example when the "Home" button is pressed the "home.swf" movie is loaded onto the page. I have done this before and it worked ok but on this site my buttons are in a movieclip (buttonsmo...more >>

Bizarre preloader situation!
Posted by philzzz at 8/16/2005 10:23:39 PM
This is a weird situation.. At http://www.flip-media.com I have a shell movie with buttons. when I click button A (in this case "Portfolio") a new movie with preloader loads in a movie_clip. However the preloader seems to freeze at around 85%. But when I click on button B (in this case "Backgr...more >>

Passing Variables Help!
Posted by FlashEnthusiast at 8/16/2005 9:59:50 PM
I think I'm close, but it's not working yet. Here's what my project does: 1. User clicks on a button from orginal swf (orginal.swf) that does a loadMovieNum and brings in a new swf file (age1.swf). 2. After the newly loaded swf (age1.swf) finishes, a piece of code at the end of the time l...more >>

getURL when entering a frame
Posted by batsoup at 8/16/2005 9:02:03 PM
Is there a way to use getURL when the playhead enters a frame (as opposed to attaching the method to a button)?:beer;:D:brokenheart;:D:beer;...more >>

This effect
Posted by Cookra at 8/16/2005 8:45:31 PM
Hi All Anyone have any ideas how the flash effect was done in this page? Ive seen it done using Director http://www.hedkandi.com/ Cheers ...more >>

Delaying an onEnterFrame function
Posted by bwm_razel at 8/16/2005 8:35:52 PM
Here's my dilemna (sp?): I have these two frames IN A ROW. On each frame, the user needs to press the 'TAB' key to advance to the next frame. So, in each of the frame's actions I have entered this code: this.onEnterFrame = function() { if (Key.isDown (Key.TAB) ) { nextFrame(); } ...more >>



Problem when getting old Mouse coordnates
Posted by Xx)MaveriK[X] at 8/16/2005 8:07:30 PM
Hello everyone, I want to get two coordinates of the mouse. One old_x, old_y and a new_x, new_y inside a _root.onEnterFrame handler. thx Maverik....more >>

Really Stuck..
Posted by nsbrown at 8/16/2005 7:54:01 PM
I have a movie that loads a series of buttons the buttons onRelease will load a movie into my mcEmptyClip02, but it will only work if I press btnPrint01 first. If I press anything else on entering it wont work. Can anyone sort this code out? _level0.mcMenu.mcPrint.btnMenuBtn.onRollOver = f...more >>

multiple getURL's on 1 button
Posted by jeffpelletier at 8/16/2005 7:49:47 PM
I have this on a button: on (press) { getURL("javascript:openWindow('http://www.mysite.com/','newWindow','toolbar=0,lo cation=0,directries=0,status=0,menubar=0,scrollbars=0,resizable=0,width=760,heig ht=400,left=80,top=180')"); } on (press) { getURL("https://myotherpage.html", ...more >>

Centered popup window
Posted by phi nupe at 8/16/2005 6:23:26 PM
I want to create a window which pops out of a button, which then resizes and centers onscreen. I can do this in javascript/html but with Flash I have not found a method. I attach actionscript to the button and add javascript to the target window. I tried scripts from these boards to no avail. ...more >>

How do I get _totalframes from a loaded movie?
Posted by Rusty_B at 8/16/2005 5:35:28 PM
I trying to access the totalframes property from a loaded movie clip, but it says 1. I know there are hundreds of frames in the loaded movie. How can I access that info and display it in a variable? I'm using the code below to load the movie into a placeholder and then show the totalframes. An...more >>

Could you take a look, please
Posted by MMCO0707 at 8/16/2005 4:14:30 PM
Hi! I've made a flash - http://freeweb.siol.net/miranm07/flash.html - (it's only provisional). The final version will look much different, but will working the same way as this one on the page. When you click on blue and red button the ..swf file is loaded into a movieclip. 1.So I woul...more >>

linking to another scen from within a movie clip
Posted by kenknapp at 8/16/2005 4:07:23 PM
Not sure what the problem is here but I can't make it work. I have created a fly out menu where you roll over a button and a set of menu options rolls out. Made this with a button inside of a movieclip i guess. Everything works great on the surface but when i try to add the code to send it to ...more >>

random color script
Posted by posterboy at 8/16/2005 4:06:05 PM
i am generating 175 random stars across a stage. i want to have them colored between ONLY lite blue and white. however, i can only create a script that creates EVERY color between #FFFFFF and #CCFFFF. here is my script. any help? thanks > mark startCol = 0xFFFFFF; endCol = 0xFFFFCCC;...more >>

How to encode a slah ( / ) in a text
Posted by Ben Baudart at 8/16/2005 3:57:37 PM
Hi, I have this stupid (& probably easy to resolve) problem with a slash (/) not displaying in a text field. Is there any escape character? I guess so... but don't know wich one. Thanks for your help. Ben The code: _root.topnav.txt1.titre1 = "Handbags / Shoulder Bags"; ...more >>

Gravity and random positioning
Posted by lostinscript at 8/16/2005 3:37:43 PM
Hi, i have a game where fish fall out the sky and a penguin on ice skates has to catch them before the fish get to heavy for the ice, the ice cracks and the ice skating penguin falls into the water and freezes. I have all the code but cant work out how to set the random location along the ...more >>

close/exit button
Posted by emayer1 at 8/16/2005 3:21:21 PM
I am developing a flash applicatin that is being used locally (on CD) as well as over the web. I have an Exit button that seems to work fine over the web, but for some users, when they are trying to exit the flash file while running it from a CD or their local PC, it opens a blank browser wind...more >>

movie talking to another in same HTML page
Posted by iekman at 8/16/2005 2:48:53 PM
I want to create two small swf files embedded in the same html page rather than one large swf. I would like to start the second movie when the 1st one finishes. Can anyone upload the code to show how this is done? It looks like the fscommand does the trick but as usual, macromedia documentat...more >>

dynamically resizing input text
Posted by 3Darky at 8/16/2005 1:48:51 PM
i have a single line input field that has a fixed width. what would be best way to code the textfield.onchange event so the field scales down as the text is longer than the field bounds and scales back up when text is erased? is there a tutorial for this around somewhere, i've looked for a qui...more >>

Dynamic text smooth
Posted by boskosh at 8/16/2005 1:26:34 PM
Hi. please see this example. go to this link http://www.johnvarvatosscent.com select in the menu "About John Varvatos". now you see a text in the right side of screen., if you roll over your mouse you will see a cool scroll effect. My question is............... anyone know where i can find a t...more >>

How do I return another date?
Posted by aspidistra at 8/16/2005 1:19:56 PM
Hi Using the datechooser component I have got one date to be selected by the user and input into a textbox but when the user selects another date I cannot get it to display too, instead of overwriting the first selection. Not sure if I have to use an if,else statement but can't get any fu...more >>

Actionscript to make a button stay on it?s down state
Posted by absurd29 at 8/16/2005 12:40:21 PM
I have several buttons in a main navigation bar - & this is a shared library item. I feel sure actionscript could be used to set the button to show it?s down state when the user is visiting the section the button corresponds to. (For example, click on ?section1_btn? & this goes to an html page...more >>

Export to XML
Posted by Egui at 8/16/2005 12:16:15 PM
Is it possible to export data to an XML file? I would like to have an exe file that I can insert data into it and then press a button that accesses an XML file and loads new data into it. Any sample or orientation will be appreciated. ...more >>

Interactive movie NOT interactive anymore!
Posted by Lucy4 at 8/16/2005 12:09:01 PM
Please can somebody help me. I've got an interactive movie that I've put into a movieclip so that it will print in exactly the way I want it to. The problem is that now the interactivety doesn't work. I've gone through all of the code and change everything that said _root to the movieclip name...more >>

Dynamic Text Fields and Roll Over behavours
Posted by nvinod at 8/16/2005 10:27:44 AM
Hi, I am trying to add a RollOver behaviour to a TextFiled created dynamically which is created on a movieclip. But it doesn't seem to work. Please help me on this problem. The code is like this - this.createTextField("test_txt", 15, 0, 50, 100, 50); this.test_txt.text ="Testing";...more >>

Downloading Files?
Posted by stanleyra at 8/16/2005 10:26:09 AM
Hi, I allow people to download certain files from my site e.g. .doc, .pdf. I use the getURL method that targets the file in a blank window. This works reasonably well but with most browsers if I want to allow a .swf to be downloaded it will open the swf in a new window rather than promp...more >>

How do I refrence a frame in movie in a movie?
Posted by LSNsaltlamp at 8/16/2005 10:09:18 AM
I have a frame titled products within a movie named titles that lies within another movie named titlebar, which sits on my main stage. I want to place a code in a frame of my main timeline that will gotoAndPlay ("products") within my titles movie. I've tried the following line and it was unsuc...more >>

Object Relations in Classes
Posted by kaeptn-q at 8/16/2005 9:54:43 AM
Hi. Ok, I?m pretty new to class-building, so maybe you find this dull... But anyway - a little help would be appreciated very much, cause I can?t find anything to this topic in the flash documentations. So, here's what I tried to do: I built a class in an external AS (which I tested ...more >>

Anyone know when onMetaData gets called?
Posted by mattmuller at 8/16/2005 9:08:54 AM
I want to pre buffer some videos in the background. Any idea how to get back duration so I can set dynamic buffer times without using ns.play(); cheers MaTT...more >>

Drag and drop functionality -> datagrid to tree
Posted by scottybowl at 8/16/2005 8:55:36 AM
I'm currently developing a flash application that uses two main components: - dataGrid - Tree I need to be able to click (select) a row in the dataGrid and then drag it over an item in the TreeMenu. When released over a TreeMenu item it will run a listener event on the item that it w...more >>

Please guide me for creating a XML throgh flash
Posted by ccraj at 8/16/2005 8:47:26 AM
Please guide me for creating a XML throgh flash Is there is any software we have to purchase to do this Regards Raj...more >>

problems with the freaking setINterval when called inside a class
Posted by mason phoenix at 8/16/2005 8:02:20 AM
Hi, i have problems with calling setInterval inside a class, the problem is that i use the syntax which i should use for calling it in a class, but it calls the function only once which seems strange to me. _root.target_mc.scrollDown_btn.onPress=function() { panInterval=setInterval(...more >>

sound ctrl
Posted by catforest at 8/16/2005 6:34:43 AM
why it can't working?in F8 var s=new Sound(); s.attachSound("sound1"); s.start(); s.stop("sound1"); s still play!!!! but in MX it no problem. my system install two version.it's the problem? help... ...more >>

Modify script
Posted by xfiretyra at 8/16/2005 5:51:05 AM
I've created a email form but there's some actionscript that I would like to change. Onece you have entered your contact details and press submit it moves on to the next frame. But I have to change that code so it will go to 'frame 86' or label 'submited'. This is the code which is on the fo...more >>

How Can I open an "exe" application in a particular window?
Posted by Creative Ravi at 8/16/2005 5:09:16 AM
Hello Friends, Thanx for all your support, as i got succeed in opening notepad.exe through FSCOMMAND ("exec"). Now the thread is that I want to open this notepad.exe inside swf file (projector), could it be possible? ...more >>

attached handlers .jpg vs swf
Posted by TAGDigital at 8/16/2005 3:31:17 AM
Hi, the attached code has a tutorial offered over at actionscript.org that I modified a bit. The code works great when loading .lpg's but when I subsitute the .jpg's for .swf's the handlers don't work. The swf's load fine but there is no handler attached to them? Is there a limitation to wha...more >>

Random picture change on button click.
Posted by dragonator at 8/16/2005 3:13:51 AM
Ive made a website and In the website when you clck on a link I want the main picture to change randomly. I have 4 pictures i want it to randomly change through. How do I do this? In short basically all I wanna do is make it so when you click a button it makes a graphic or movie clip chang...more >>

drop up menu
Posted by livingwithanangel at 8/16/2005 1:38:09 AM
I need a menu similar to this one: http://www.bayviewvillageshops.com/new_map.html to do the same thing. I'd like it to use an external text file if at all possible, and be easily edited as names constantly change. I'd love it to highlight the store's location when you move your cursor over ...more >>

Dynamic 'function' drop down menu
Posted by LeroyMX at 8/16/2005 12:33:19 AM
Hi there Everybody I am having trouble with a dynamic scripted menu, I cant seem to get the getURL function to work, other than that the menu is working fine but I just cant figure out where to put the getURL code. If you need the FLA do not hesitate to let me know. Here is the code on t...more >>

Using Text on Buttons is a problem?
Posted by GmR at 8/16/2005 12:30:57 AM
I have nearly completed a Flash site. I am finding hat some of the buttons that have text on them are problematic, because as the cursor moves off the lines of the text, it seems to behave as a "roll out", even though I am using a block on my button HIT frame to cover the entire word. Ple...more >>

Problem Using textArea.scroll
Posted by BillG-Chicago at 8/16/2005 12:00:48 AM
I'm using a TextArea component and a variable to display the actual text. My problem is that if the user has used the scroll bar to view the bottom portion of the text and then moves to a new page that contains new text, the scroller stays where it was, rather than returning to the top - where...more >>


DevelopmentNow Blog