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 > march 2005 > threads for tuesday march 29

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

Loading External JPGs via nodes from Tree Component.
Posted by JeremySeda at 3/29/2005 11:37:11 PM
Hi there, I have a tree component (instance name = myTree) that is loading an external XML file (treeXML.xml) via the AS2.0 below: var myTreeDP:XML = new XML(); myTreeDP.ignoreWhite = true; myTreeDP.load('treeXML.xml'); myTreeDP.onLoad = function() { myTree.dataProvider = this.firstChild; ...more >>


I've created several flash files
Posted by tmaxwell32 at 3/29/2005 11:36:34 PM
I created several different "pages" for a website in flash. They are all saved as separate flash files, is there a way I can link the pages?...more >>

_xscale trouble
Posted by darrylfrith at 3/29/2005 11:08:44 PM
I am loading images dynamically into my flash movie. They are loaded into a mc called target. I have another mc that I want to use as a frame for the images this has an instance name of border. How do I change the _xscale of border to match the _xscale of the images I'm loading. Each ima...more >>

buttons underneath a MC still work!
Posted by (_seb_) at 3/29/2005 10:12:28 PM
And they shouldn't, OF COURSE! Why is it that way? Why is a button completely covered by another MC, still active? My MC has some mouse actions on it, and as long as it is in front of another button, the other button is OBVIOUSLY not supposed to be active, has anybody in their right mind wo...more >>

textFormat and targeting loaded movies
Posted by icarus666 at 3/29/2005 10:07:23 PM
I need to create a text format object in my main movie which i have done like so: //TEXT formating.... var myFormat = new TextFormat (); myFormat.font = "Arial"; myFormat.size = 12; myFormat.color = 0x006699; I want to have the formating done on root movie so i can alter the fonts an...more >>

Scaling a loaded swf (image)
Posted by gungus at 3/29/2005 9:50:20 PM
Hi All, I think I'm close to having this work. Just a quick question I have two combo boxes that load different images into the same empty movie clip. Everything works fine, but I'm having problems with the scaling after I've loaded an image from the first combo box and then try to load ...more >>

change button state on release
Posted by Timothy Tolman at 3/29/2005 9:49:22 PM
on release I am launching a new movie over a menu. I would like to change the button state to the over state of the button on release so that it appears selected. Now, I'm linking to a named frame with a graphic instance but the menu gets changed around on the site and this is becomming a lot ...more >>

this code won't work in Flash 5? any ideas?
Posted by elviskat at 3/29/2005 9:30:31 PM
I am building a project in Flash 5, and have am trying to use a scroller from flash 6, it's a very simple piece of code driving the scroller, it's not UI components, and i can't see anything in the code that should not work in Flash 5. Could someone have a quick look and see if they can se...more >>



Searching Text in Flash
Posted by nielsent at 3/29/2005 9:04:27 PM
Hello, I am making a presentation in Flash to run in a CD. I would like to have in this presentation the option for the user to search words through the whole text in the CD. There are lots of Dinamic Text Boxes with a good amount of text and I would like the user to search through it and have...more >>

Re: Why are my MP3s playing too fast!?
Posted by AllerGale Design at 3/29/2005 8:58:32 PM
I am having the same problem using speech compression of 44khz. Have you resolved this problem yet? Please let me know....more >>

how to hide a dynamic textbox at runtime?
Posted by (_seb_) at 3/29/2005 8:44:54 PM
Hi all I have a dynamic textbox with the instance name 'my_text'. This text box is in front of a bunch of buttons, and blocks access to these buttons (even when the text box is empty). So I figured I should hide the textbox all together when I don't need it there, so that I can access the...more >>

XML Menu help
Posted by flurbis at 3/29/2005 8:07:07 PM
I'm trying to get a Flash/XML menu to load .swf movies into a holder MC. The contents of the XML file are posted below. It looks like the FUNCTION attribute can be used to accomplish this. I'm just not sure exacty what the syntax would be to load a .swf file. Clearly, there's work to be done...more >>

LoadVars broken when using Windows Projector?
Posted by GeeAtPATH at 3/29/2005 7:46:54 PM
I have a Flash app that uses a file compiled as a Windows Projector to load swf 'chapters' on the fly. These files are run off a user's C: drive or from the local network. It looks like the LoadVars.onData() function simply isn't running when viewed through the projector. Example code (on f...more >>

Re: center menus in menuBar Component
Posted by AkronNick at 3/29/2005 7:22:49 PM
I fiddled with this for a good 3 hours last night, messing with alignment, styles, fonts, text sizes, stretching the component itself... all kinds of things, but I never found any proper way of doing it, I just tweeked things out enough to get it to fit right. But it would really be nice if t...more >>

removeMovieClip() stopped working
Posted by eyezar at 3/29/2005 7:10:40 PM
I've been devoloping a game that uses a lot of attaachMovie()'s. Everything has been working well until this morning. I added a few simple things to the game and suddenly none of the removeMovieClip() functions worked any more. After pulling my hair out for a while I searched through thes...more >>

Play multiple swfs consecutively
Posted by Shutchinson at 3/29/2005 7:03:52 PM
I just want to play one mc and when that is done (I have a stop action at the end of each mc) go to the next mc. The actionscript I currently have is: this.createEmptyMovieClip('clips_mc', 1); this.clips_mc.loadmovie(q1.swf'); this.clips_mc.loadmovie(q2.swf'); this.clips_mc.loadmovie(q3.swf...more >>

what's wrong with my function?
Posted by (_seb_) at 3/29/2005 6:22:30 PM
I have this code in the first keyframe of my Main timneline: function appear() { this._alpha = 20; } this.top_left.onRollOver = appear(); What I thought would happen, is: when I roll over the MC "top_left", which is in the main timeline, this MC ("top_left") should change its own al...more >>

actionscript for presentation
Posted by caslon1975 at 3/29/2005 6:03:58 PM
:confused; I am creating a presentation in Flash that will consist of many photos to be displayed one at a time, with the photo title underneath. It will run more like a movie, with no interactivity needed. The photos will need change out about every 10 seconds or so, along with the photo ti...more >>

function names not registering with the system
Posted by greg brant at 3/29/2005 5:29:51 PM
iv got some functions that i defined as the prototype of a class. i did this last friday. iv come back to the file now to add some more but they arnt executing. if i do trace(this.newFunction); i get 'undefined' but if i trace an old function from last friday i get [type Function] ...more >>

createEmptyMovieClip instances not visible
Posted by finalist at 3/29/2005 5:16:52 PM
[Flash MX 2004, PC, ActionScript noob] I am making my way through Moock's Essential ActionScript 2.0 to get a handle on it before I attend FlashForward next week, and am running into a basic snag, i.e. the new clips aren't appearing on an otherwise empty Stage. I created a Rectangle cla...more >>

Using classes in subfolders
Posted by chrscote at 3/29/2005 4:44:12 PM
I have the following file structure on my system: TopLevel FileSet ----viewer.fla ----images --------file1.fla --------file2.fla --------file4.fla --------state.as //This is a class definition ----XMLFiles Now, I am loading in the state.as file properly from within th...more >>

New Actionscript Coding Standards
Posted by Christopher Hayes at 3/29/2005 4:10:52 PM
Just building a new app in MX2004 Pro and just wanted to refresh my naming convention guidelines so I opened up the ActionScript Coding Standards - March 2002, which is obviously way before AS2.... Just wondering if MM has updated the standards at all to account for all of the new AS2 funct...more >>

wont startDrag??
Posted by Richard Ragon at 3/29/2005 3:27:12 PM
Greetings Everyone, No matter what I do, for some odd reason, I can't get my movieclip to drag?? I'm building a FLV player. Here's part of my code. // ------------------------ code ----------------------\\ _root.buttonBar.progressButton.onPress = function() { myNS.pause(); delete _...more >>

Creating an Mp3 Player
Posted by GeorgeChr at 3/29/2005 3:15:54 PM
Hello, and i want to congratulate you on your forums. I ahve a question though abut something i wanna do. I am using Flash MX 2004. I want to create an MP3 player in a project i am doing (offline on a cd) using XML playlists (which i heard is easier to do and i also heard that it plays ran...more >>

open window J/s
Posted by david_diesel at 3/29/2005 3:00:46 PM
i am trying to use the following script to open new windows in my flash movie {if(command=="openWindow"){ openNewWindow()}} function openNewWindow(){setTimeout( window.open('http://www.macromedia.com','newwindow', 'height=200,width=300,toolbar=no')),0} it works when i just want to open...more >>

How Do I Talk To The External Swf?
Posted by Rob_jones732000 at 3/29/2005 2:32:46 PM
I need to add some script on my loader that accesses the external swf it's loading in, what script do i use to talk to it? To talk from the external swf i've been using _level0, but how do i talk from the loader to the external swf? Hope this is clear. Thanks ...more >>

querystring not displayed in the addressbar - HELP
Posted by DespoVin | at 3/29/2005 1:39:03 PM
Hi, When i add this script : getURL("mypage.asp?cat=1078", _blank); the query string is not taken by the browser and only the pagename(i.e mypage.asp) is displayed. but when i put the whole url (i.e http://mywebsite.com/mypage.asp?cat=1078) then the query string is taken by the browser. Why t...more >>

Dynamically Load (and cache) Series of Images
Posted by SirajKhan at 3/29/2005 12:36:45 PM
Hi Friends :) Intro: I am developing a slideshow kind of project with all heavy images. If I embed it, the movie becomes deadly heavy to download n play; and when i am reading the images everytime from outside (thru LoadMovie) customer is not liking it :( ... so that's the background. ...more >>

Playback with currentframe and previousframe
Posted by Rahlavrac Solrac at 3/29/2005 12:17:07 PM
Hi, I have a movieclipe that has shape and motion tween. It stops on the first frame, if the user press a button, the mc will play till find the next stop(); In this new frame there are two buttons, one need to make it play forward and the other play backward. I can't fix it, can any...more >>

script problem
Posted by laurelhardy at 3/29/2005 10:29:51 AM
:confused Hi I am trying to get a simple addition actionscript to calculate total cost of a service from some input fields. I am new to action script so I am finding it hard. What I am tring to do is : on the site the customer inputs the total fare then when you hit the calculate button it w...more >>

dynamic variable name
Posted by ant0 at 3/29/2005 9:37:03 AM
Hi All Hi All I'm trying to get this working as part of a larger script and cant seem to get past it. Any help would be greatly appreciated. Example script (theoretical): constantText1 = "not working" variableIndicator = 1; outputVariable = constantText+variableIndicator; /...more >>

a definitive reverse mc script to live with please
Posted by a little ant at 3/29/2005 9:13:22 AM
Having typed in the word `reverse' in the search facility there are many scripts for reversing movieclip timelines. That's great. Because I do this scenario a lot - maybe you have a definitive, setInterval or something I should always use for similar scenarios please. A typical scenario woul...more >>

Move text objet with mouse
Posted by borix69 at 3/29/2005 8:26:12 AM
Hi all, I?ve got next dude: I want to display some text moving with the mouse when it gets into an objects (an square for example) and make it invisible when I get out this objetct area. I have try to do with onclipevent but I can?t make it move only for an objet area... any idea ?? Th...more >>

is it feasible to use _enabled = false as an argument?
Posted by a little ant at 3/29/2005 4:41:18 AM
Is it ok to use: if btn1._enabled = false then do something? Is that feasible to use instead of always trying to use currentframe to determine the state of things for example with my button mc? (always use enabled = false, true etc but never in an if statement) ...more >>

How to attach classes to a dynamically created MC
Posted by Elangovan at 3/29/2005 4:30:11 AM
Hi, I have created a MovieClip at runtime and I need to attach a MovieClip extended class to be attached to it. How can I do that. Please any one help on this. ...more >>

onRollOver to make fimstrip graphic move left or right with inertia
Posted by a little ant at 3/29/2005 3:16:50 AM
Objective: To have a long rectangular graphic with 8 website logos on it. If the user rolls over any of 8 buttons(which are not near the graphic), the graphic scrolls left or right to center that particular logo. However, ideally it would have a little inertia or something to give it less ...more >>

loadmovie
Posted by genieworx at 3/29/2005 2:57:26 AM
hi .. i am pretty new to flash.. i am trying to load these movies on to my main flash doc.. and this is the code i am using video1but.onPress = function () { createEmptyMovieClip("container",1); loadMovie("gscreen1.swf", "container"); container._x = 300 ; container._y = 0 ; ...more >>

using keyboard to move a sprite
Posted by Hopyang Munggo at 3/29/2005 2:32:52 AM
Hi there.. i am making an "ASTEROID" type game in which the "SHIP" is controlled by keyboard. W - move forward, D - rotate clockwise, A - rotate counterclockwise, S - face opposite direction. i want to make it that when i press "W" it will go forward AND if i press "D" WITHOUT releasin...more >>

Flash QUIZ: I want feedback to appear as soon as a user make a selection
Posted by FreeMan04 at 3/29/2005 1:09:21 AM
Hi guys, I am creating quizes using flash mx. the default layout requires the user to click the CHECK ANSWER button to activate the feedback. Is there a way that the feedback will come up as soon as i make the selection? thanks ...more >>

Using Loader and preloader components
Posted by sickness_in_me at 3/29/2005 12:55:00 AM
Hi, I have a menu on the main timeline and each menu button when clicked, load their respective movieclips into a common loader component. The problem I am having is applying the progressBar component to my loader component thus each seperate movieclip when loaded. I am using polled and the ...more >>

AS2 BNF/Grammar?
Posted by vladimir_dyuzhev at 3/29/2005 12:41:08 AM
Is there a AS2 BNF/grammar for any parser generator (Yacc/Bison/ANTLR)? If no, why doesn't MM make it public? It would greatly simplify support for AS2 in IDEs like Eclipse....more >>

Making the frame stop for a few seconds
Posted by Anders^ at 3/29/2005 12:39:51 AM
Hi I am making a flash intro for my website and i want a frame to stop for 20 seconds so that the visitors can read the message on the flash. How can i do this?...more >>

dynamic jpg loader
Posted by zcan at 3/29/2005 12:06:31 AM
I'm loading jpg's dynamically into my flash movie and I'm looking for some code that works similar to a loading bar that will display the percentage of the jpg file that has been loaded. Thanks for any help. ...more >>


DevelopmentNow Blog