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

Clearing or Reseting movieClip Contents
Posted by kbrandon at 2/9/2005 11:59:23 PM
My objective is to create a fixed area on stage that is populated based on 10 buttons. These buttons are linked to functions which will place various text, shapes, components in the defined area. I am trying to find an efficient way to clear the dynamic items created by a previous function w...more >>


button
Posted by Nojix at 2/9/2005 11:37:59 PM
ok how do i make it so when you click a button it will go from sceen 2 frame 44 to sceen 2 frame 45 and another from 2 frame 44 to sceen 2 frame 74 and on more to sceen 2 frame 105...more >>

PrintJob not available after the playback head moved
Posted by Maestro Gregor at 2/9/2005 11:30:24 PM
I?m trying to print out the resultset of a database query. So I dynamically create some MCs (dependent on the number of recordsets I get) and populate them with the data. I need to make a database query for each page. The code look like this: _global.actualPage = 1; _global.totalPages = 10; /...more >>

Load image library
Posted by artistmab at 2/9/2005 11:06:05 PM
I have asked so many people this question and no one seems to understand what I'm asking. PLEASE help me!! I created a website for a client to show images of their work. Well..they wanted thumbnails that you rollover and the picture appears. So I imported the full size image.. scaled it do...more >>

How to create glowing transitions?
Posted by MacGyver_97 at 2/9/2005 10:56:33 PM
Hi, I'm creating a photo gallery pretty much like the one found http://www.ronmacphoto.com/popup.html. I'd like to use ActionScript to create the glowing/flashbulb/fuzzy blur effect you get when you click on a thumbnail and the larger image preloads and fades into place. I know that you c...more >>

Barrier HitTesting
Posted by eXcessive at 2/9/2005 10:40:24 PM
I am working on a game for my website and trying to figure out ways of programming my Player_mc to no walk throw my multiple wall_mcs. I have tried many approaches such as programming the player to jump back the same number of pixels as he is coming at the object with when he hitTests it, but ...more >>

on handler error? newbie bites the dust. :)
Posted by steve7tx at 2/9/2005 10:22:19 PM
Hi guys.. ok Im addmitting defeat or dead brain. Im on rung two of the learning curve... what is **Error** Scene=Scene 1, layer=details txt, frame=1:Line 1: Statement must appear within on handler loadVariablesNum('variables.txt', 0); Total ActionScript Errors: 1 Im trying to have flash p...more >>

openNewWindow working on a Mac, but not a PC
Posted by laurenm at 2/9/2005 8:58:12 PM
Hi- I just put up my portfolio website, and it is working perfectly on a Mac (safari and IE) but will not open any new windows on a PC. Here is the code that I put into the Flash (4) file: On (Release) Get URL ("javascript:openNewWindow('homepage.html','home','height=460,width=700,toolba...more >>



trace target
Posted by DonkeyP at 2/9/2005 8:47:24 PM
Hi I am attaching sound in a button on an MC thats loaded into another movie's MC and need to stop the sound from the this clip. I can't seem to target the sound with my_sound.stop(). How can I trace the loaded MC level from pressing the initial button ? I have already tried debug window and ...more >>

diferent becavior on comp from online
Posted by Magusdf at 2/9/2005 8:28:33 PM
so i created a basic scrolbar type thing and when i publish and preview the thing it works fine localy but the second i try it out online it acts completly diferently i don't have a preloader and use an extrnal text could that be a problem? http://darkflameinc.com/beta/t1.htm http://dark...more >>

create a new XML method
Posted by RZN8 at 2/9/2005 7:22:39 PM
OK so I'm trying to extend the XML class using XML.prototype I can overwrite existing XML methods but I can't create new ones! if you have ANY ideas why the code below won't work PLEASE reply! :) XML.prototype.displayText = function() { return 'test completed'; }; var myXML:XML = new XML(); ...more >>

if statement help
Posted by g5604 at 2/9/2005 7:09:55 PM
Hi, i have this code on my mc. onClipEvent (enterFrame) { this.onEnterFrame = function() { this._x+=(_root.one.xpos-this._x)/3; this._y+=(_root.one.ypos-this._y)/3; } and i can call the code using this: on (press) { _root.one.xpos = 60; _root.one.yp...more >>

duplicate movie clips...HELP
Posted by vikta at 2/9/2005 6:49:19 PM
hi guys.... im having another problem.... whats the best way to create movie clips which duplicate once they are dragged... ive got this working but im having a problem because if i drag a clip it duplicates but when i drop that clip somewhere, if i click on the dropped clip again, the...more >>

Building a fly-out menu in Slide-based Flash Presentation
Posted by kitchov at 2/9/2005 6:47:23 PM
Hello, I'm trying to build a sliding menu in a Slide-based Flash Presentation (Flash MX 2004 Professional) and I'm having difficulty getting this code to work. It works fine in a regular Flash document, just not in the Slide presentation. I've tried replacing "_root" with the slide instanc...more >>

Moving parent graphic from child movieclip
Posted by radarguy1 at 2/9/2005 6:28:57 PM
I am building a Flash application that I want to run a short tutorial over it as a movieclip. The important features on main timeline stage are a movable movie clip (I?ll call Delta). It can be dragged anywhere on the stage. The other feature is a simple help button. When the help button...more >>

input text problem
Posted by Marcos Lavorato at 2/9/2005 6:11:54 PM
Hi all. Look my problem. I need to disable the (ctrl +c)(ctrl +v) in my imputtexts. It's possible in flash? tanks....more >>

loadVars - how to convert incoming variables?
Posted by muckpond at 2/9/2005 5:51:53 PM
I am using LoadVars() to retrieve information from a CF page on a server. I can get the data to come back, but I don't know how to cast the variables as the data types I need. For example, I creating a login form. If the login is not successful, the file returns a error ID number. But ...more >>

random playing of sound files
Posted by pandey at 2/9/2005 5:50:41 PM
Hi Guys, I have around 10 small audio clip, I would like to play them randomly in one go, like apple, author, menu etc, how can I achieve this, I'm using the below script but when I use " my_sound.attachSound("author", "apple"); not able to do that, again it will not be in random, but if I ...more >>

fscommand loads .BAT
Posted by kred at 2/9/2005 5:26:39 PM
Ok, I have my fscommand calling a .bat file located in my fscommand file. and all is working great------- but when the bat file executes it opens a DOS window, can I get the DOS window to not appear or 'hide' it without JStart or other 3rd party programs? Thanks, Ken ...more >>

Hooray, problem with an array!
Posted by synckk at 2/9/2005 5:17:01 PM
Hi, My problem is like this: I'm working with an array that has many different values in it. Some of these values are occurring many times in the array. I need to count the number of the repetitive values in the array and then return all the different values and the number of their occurrenc...more >>

count frames
Posted by mrs rowe at 2/9/2005 5:06:56 PM
Hello pretty much what it says in the title I have a video and I have a stop go frame forward, backward go to start go to end buttons on it. I need the viewer to be able to see how far the movie has progressed so I want to put a timer. The movie works at 20fps, so I want to be able to u...more >>

How can I load these MovieClips in this Accordion???
Posted by k10wn at 2/9/2005 4:49:47 PM
After trodding through countless tutorials, examples, and forum listings, I've managed to spill my brains all over my keyboard...and get my Accordion to do almost everything I need it to. But I've hit a wall: Scenario: My accordion consists of 5 Headers that represent initial menu selecti...more >>

changing variables.
Posted by g5604 at 2/9/2005 4:49:46 PM
Hi, anyone know how i can change the var`s begin end and time from my code when a button is pressed?? function care_initalx() { easeType = mx.transitions.easing.Strong.easeOut; var begin = 780; var end = 300; var time = 1.5; var mc = caring...more >>

Need some advice on future project
Posted by Sleek20 at 2/9/2005 3:50:19 PM
Okay here we go... I have a new project coming up very soon. It is going to consist of a search function using Flash MX 2004 Pro. This app will have to search through a number of pdfs for titles and keywords in the pdfs. Also this will be an ongoing project that will change the pdfs and li...more >>

MovieClip Events
Posted by pauland at 2/9/2005 3:29:51 PM
Whenever I create an empty MovieClip and load an external swf into it, I'm unable to use event handlers (onPress for example), to interact with the MovieClip. When I load a symbol, there's no problem. It's not a big deal, but is there some restriction I don't know about, or can someone supply ...more >>

Text dissapears when using textFormat script
Posted by J0NNYrotten13 at 2/9/2005 3:19:02 PM
Well i'll start by saying hello to everyone, i've just joined the community today and i'm looking forward to helping and getting help from everyone. I created a movie clip that will dynamicaly populate 10 dynamic text boxes in this movie clip. using textFormat, i have these set up to become...more >>

HELP QUIIIIIIIIIICK!!!!!!!!!!!!!!!!!!!!!!!!
Posted by vikta at 2/9/2005 2:59:00 PM
i have two variables adn i want one of these two variables to randomly appear in a dynamic text box (var - 'too') when i press a button symbol..... how do i do this...more >>

Real time pitch alterations of mp3 files
Posted by ChuckyLeFrek at 2/9/2005 2:50:39 PM
Hi there I would like to be able to load an mp3 file into a flash movie and let the user alter the pitch in real time. I don't think this is possible but thought I would double check. Ideally an online version is required but if one of the third party apps enables me to do this I would also b...more >>

problem with TextArea component - scroll bar highlights text and malfunctions
Posted by amy123 at 2/9/2005 2:50:23 PM
I am having a problem with the scroll bar in a TextArea component in Flash. I am dynamically populating the TextArea component with content from external xml files (including html, images, and CSS). I have this all working fine, but when I run the application, sometimes (not always), when I us...more >>

duplicate move clip clearing
Posted by vikta at 2/9/2005 2:46:21 PM
ive got a collection of movie clips which automatically drag and became new instances on diffferent depths when i drag them ... i want all these duplicated movie clips to dissappear when i click on a button symbol ... HOW DO I DO THIS??? ...more >>

Flash getting confused with curlys and parens?
Posted by ScottDin at 2/9/2005 2:19:22 PM
Is there a problem with the flash compiler if you use a large number of curly braces and parentheses? The code that I am using is as follows. As you can see, it sets a variable to an empty string, then checks screen coordinants to see what is in a certain area and assigns a value to the variab...more >>

ease a mc
Posted by g5604 at 2/9/2005 2:12:09 PM
Hi, anyone know how to ease a mc to a xy cordinate, but without using a onenterframe function.. many thanks, Gareth....more >>

Dynamically Sized Label
Posted by jazzle at 2/9/2005 1:09:10 PM
Hi everyone, I want to be able to dynamically create/draw a simple label at a given position using AS2. I have seen old examples for how to do this but without setting the size. I need to set the size so it can centred on a given point. I have tried doing it with a simple dynamic text fi...more >>

positioning Mcs and timeline
Posted by (_seb_) at 2/9/2005 1:05:59 PM
Hi all I am having a serious problem understanding how positioning works in Flash. I am trying to build an interactive "game" sort of similar to Tetris. I have a grid and then MCs that can be dragged on that grid, and dropped, and rotated. When they rotate, I want them to rotate relative t...more >>

Player 7 Vs Player 6 - One difference Un-understood !
Posted by karuna at 2/9/2005 12:52:44 PM
One difference (see below) between particular SWF file published for Player 7 and Player 6 (or any other previous version) - Courtesy MM help files. Player 7 When you convert a string to a Boolean value, the result is true if the string has a length greater than zero; the result is false for a...more >>

External Movie Not Loading
Posted by Lon S. Winters at 2/9/2005 12:39:30 PM
And I think it's because when I call it using loadVariableNum(), I am sending variables at the same time. I think this causes the movie to just not load, and maybe if I'm trying to load it into the same level. It just doesn't happen or not happen consistently. I know what you're thinking,...more >>

Output window appear when i open my flash file
Posted by Teji at 2/9/2005 11:48:27 AM
i got a flash file from my friend, whenever i open this file the output window gets open and his name appears in the window... how it is done?? i m curious to know please help thanks in advance...more >>

loading movie onto _level2
Posted by Duk Lee at 2/9/2005 11:26:52 AM
Could someone explain why this code does not load movie onto _level2? _level2.createEmptyMovieClip("test", _level2.getNextHighestDepth()); _level2.loader = new MovieClipLoader(); _level2.loader.loadClip("test.swf", _level2.test); going nuts. ...more >>

MC rotation occurs from top-left corner, not center??...
Posted by (_seb_) at 2/9/2005 11:05:34 AM
Hi I am rotating a MC via actionScript: on (release) { myMc._rotation = 90; } this works, however, the MC rotates relative to its top-left corner, I want it (and expected it) to rotate relative to its center point. When I select the MC with the transform tool, it shows the registratio...more >>

optimise actionscipt
Posted by g5604 at 2/9/2005 10:53:39 AM
Hi, are there ways to optimise actionscript to make flash less cpu intensive? i have this code on 8 movieclips could this be the reason for slow playback??? onClipEvent (enterFrame) { this._xscale += (_root.shell_house.xscale-this._xscale)/3; this._yscale += (_root.shell_house.y...more >>

how can I do that ?
Posted by PDS at 2/9/2005 10:47:08 AM
Hi, I need help to do this : let me try to explain I have 5 buttons or more of persons : btnSteve btnPeter btnDave btnEric btnBob and one button for a picture btnFoto Now, when a btn of a person is clicked, I want the btnFoto, when clicked, to pup-up a html page with the picture of that p...more >>

sound not playing when using attachSound
Posted by danp2 at 2/9/2005 10:38:41 AM
I am attaching a sound and playing in a movie. All is fine until I load the movie into a containerMC, then the sound will not play. script in loaded movie is: var my_sound:Sound = new Sound(); my_sound.attachSound('daveStereo'); my_sound.start(0,1000); Thanks dan ...more >>

Two text colours - one text field
Posted by Macromedia at 2/9/2005 9:36:33 AM
Hello Flash Developers I'm trying to build a page that will change the colour of a particular word in a textfield (using Actionscript) - thereby the textfield would contain two colours. So far I have not found any thing that works. Any expert advice would be greatly appreciated (solutions ...more >>

is this possible ?
Posted by PDS at 2/9/2005 7:01:54 AM
Hi, let me try to explain I have 5 buttons or more of persons : btnSteve btnPeter btnDave btnEric btnBob and one button for a picture btnFoto Now, when a btn of a person is clicked, I want the btnFoto, when clicked, to pup-up a html page with the picture of that person. How do I do that,...more >>

Flash MX Sample (load_images) to Player 7 please
Posted by a little ant at 2/9/2005 6:25:12 AM
Hi, I have the load_images fla from the Flash MX sample files here...http://download.macromedia.com/pub/flash/sample_files/win/samples.zip I'm using Flash MX2004 Pro and need to export this swf for player 7. It works fine if I change the url a little to the pics and then export from player ...more >>

Custom Pull Down Menu
Posted by sickness_in_me at 2/9/2005 4:50:33 AM
I'm interested in building a fully animated, custom pull down menu for quick access to pages. Any help would be appreciated....more >>

Button trouble
Posted by sm57 at 2/9/2005 4:40:32 AM
I have created movie clips that contain buttons. As you rollover the button the whole clip grows, as you rollout, it goes back... my trouble is if you catch the button on the edge it stutters as it hits both the rollOver and rollOut because it's moving... any thoughts? ...more >>

Developer Question
Posted by NomadicDesign at 2/9/2005 4:26:48 AM
Hello all, Just a quick and hopefully simple question. What internal command(s) does flash execute on the "tab" keypress. I need to simulate the button being pressed. I am not trying to create custom actions for the tab button, I just want it to act as it normally would but I need t...more >>

Button functionality lost when using constrained custom cursors...
Posted by num97 at 2/9/2005 4:17:06 AM
I have created a movie viewer to load movies I have made. On the right hand side is a column of buttons that load 1 movie each into an empty container clip named "container". They all work until I load a movie with a custom mouse cursor (a boxing glove). Once that movie is loaded, none of t...more >>

Help with the 'getURL' tag
Posted by skatersully2010 at 2/9/2005 2:58:00 AM
Whenever I try to use the getURL tag with my button with the instance name 'main' and this code: main.onRelease = function () { getURL("http://www.oistudio.com/index.php?id=main", "_parent"); } I receive this error message in the output window: **Error** Scene=Scene 1, layer=Layer 1...more >>

Change "sprite" content - AS noob question...
Posted by Antman1313 at 2/9/2005 2:16:42 AM
Greetings all: I'm a Director guy, so I'm a bit new to Actionscript (picking it up slowly but surely). Here's the deal: I'd like to, based on what button a user clicks, change the background image in a dynamic fashion. Now, I know how to skin this cat in Director, but the solution eludes me i...more >>

root position of nested clip
Posted by ThaNigga at 2/9/2005 1:43:19 AM
Hi, i've got a clip nested like the following: _root.clip1.clip2.clip3.clip4.clip5.clip6.clip7 Every clip can be rotated or moved randomly. How could i know the position and rotation of clip7 in the root? I've tried with localToGlobal, but i can't understand how it works. Thanks. ...more >>

I need Help Reply ASAP
Posted by Boshinator6473 at 2/9/2005 1:11:09 AM
i wanna make it you need passwords for certain things (which you can get from talking to diffrent people and stuff) and you can SAVE and also i wanna know how to make a thing where you need to enter Passwords what action script and other stuff do i need I am using Flash MX 2004 Pro ...more >>

stop images from loading...
Posted by bso_71 at 2/9/2005 1:07:42 AM
Can I stop something from loading... I'm loading some jpg images into some movieclips but I want them to stop loading if the user clicks on a specific button. I'm loading my images through a 'for' instruction because they are like 10 images. But if I click on a button and the images haven't ...more >>

Menu button scroll
Posted by sickness_in_me at 2/9/2005 12:50:40 AM
I have custom menu buttons. There are too many to fit in their allocated space. I would like to know how to make custom up/down buttons so I the user can use them to scroll the menu buttons up and down. Any help would be greatly appreciated as this is a very important project. ...more >>

Calling ASP code from Flash
Posted by donblaylock at 2/9/2005 12:30:13 AM
I'm trying to call some asp code that I've written that will send me an email from Flash. THe asp code works fine when invoking the URL from a browser. THerefore I know my problem is not caused by an error there. THe problem is that it opening the email.asp page I'm calling in the same wi...more >>

Why can't I fire more than one drop?
Posted by eyezar at 2/9/2005 12:12:01 AM
I'm trying to make a simple game whith a character (dude_mc) that runs around at the bottom of the screen with a little eyedropper. When the user presses the mouse button, a drop (movieclip 'wobble') comes out of the dropper and moves to the top of the screen. It works fine when one drop is...more >>


DevelopmentNow Blog