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 2004 > threads for tuesday august 17

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

how to make this an array
Posted by Ally at 8/17/2004 11:34:39 PM
I have a series of images (1-9) that I want to line up and slide to a new x position when a button is pressed which I've accomplished by using the code below. My questions are: 1. How can I create an array so I can use a "next" button to continually advance to the next picture in succession...more >>


Loading jpgs and then tweening
Posted by dpaultaylor at 8/17/2004 11:20:18 PM
Hi, I'm trying to load two jpegs into separate moveiclips on two separate layers. The objective is to alpha tween to top layer from 0 to 100 and then back to 0 again giveing the appearence of the jpgs fading between one another in a looping fashion. The bit I think is not working is when I...more >>

Easiest way to program buttons?
Posted by HannaB at 8/17/2004 9:24:21 PM
I can't seem to find any tutorial that shows something as simple as how to tell a button to go one frame forward and stop. Every tutorial I try has different menu options under the "+" in the Actions panel from what I have in MX 2004. I need something that shows a list of mouse events etc. and...more >>

i need help on this
Posted by imlazuli at 8/17/2004 9:05:47 PM
i have created a test with multiple choices its working fine now if a user has to make 2 selections for an answer and he has only marked one yet, then how to tell him that plz select one more choice any code for it??? any help would be appreciated ...more >>

Button keeps returning to "UP" state
Posted by mleonard77 at 8/17/2004 8:39:03 PM
I'm working on a portfolio page using Flash MX 6.0, pictures are scrolled by clicking a number within a box which is to the bottom right of the current picutre. You can view the page by navigation to the "Portfolio" section at: http://www.the-scenic-route.com/ The trouble is the bo...more >>

Catch and Ignore Enter Key
Posted by JanM at 8/17/2004 8:29:25 PM
Hi I try to ignore that flash plays and goes to the next frame. With code a, catching the enter key isn't posible, why? Code b would work, but the function runs in the background, that's why I prevere a. Or is there a possibility to disable the function play of the flash player? Tha...more >>

pixels/per frame question
Posted by yofof at 8/17/2004 8:25:20 PM
i have a movie clip(f_mc) with 5 pictures (one by one like a camera film). the pictures are masked so in swf is shown only one of them. i want to use two buttons(over state) to continously change them (moving left and right). i've seen it on many sites but i couldnt hadle it. somene advice...more >>

2 issues
Posted by TreeC at 8/17/2004 8:14:39 PM
I'm building my first flash site. :) But, as expected I've run into a couple road blocks. Here are my issues. I appreciate anyone who can help. http://www.grapevinez.net/site.html 1. I need the film strip on the right to pause on roll-over. Then resume on mouse-off 2. For some ...more >>



scrolling pictures
Posted by ankethaton at 8/17/2004 7:55:53 PM
hello, I aml trying to make a scrollbar with pictures, located behind a mask. when mouse goes right, bar goes left and visa versa. I have all done and actionscript too but scrollbar doies not want to move. Any ideas or links where a tutorial is? thanks ...more >>

text fade automatically as playhead leaves frame
Posted by gooskimo at 8/17/2004 7:36:57 PM
I want a text box to fade away automatically everytime the playhead leaves the frame... How do I do that? Please help! Thanks!...more >>

Volume Control of a FLV thru a NetSteam
Posted by djrez3 at 8/17/2004 7:28:21 PM
ok the code is attached .... i can send values and get values .... problem is that the volume and pan never actually change even tho the values say it is ..... any help would be greatly appreciated. bufferText.text = "Buffering Video ..."; netConn = new NetConnection(); netConn.connect(n...more >>

Help creating an array!
Posted by loop360 at 8/17/2004 7:27:42 PM
How do I construct an array like this... myArray = new Array (title:"myTitle",ref:"myRef",value:"myValue"); instead of this... myArray = new Array ("myTitle","myRef","myValue"); so that instead of referencing the index number e.g. myArray[1] I could simply retrieve the value like myArray[t...more >>

Flash to PDF
Posted by carolburleson at 8/17/2004 6:42:48 PM
I'm new to action scripting, and have spent entirely too much time researching a seemingly simple thing. HOW do you link from Flash to a PDF file. I've tried: filename = "overview.pdf"; fscommand ("exec", "start\t" + overview.pdf); fscommand ("exec", "cmd\t/c\t"+overview.pdf); and ...more >>

ActionScript Save
Posted by beyondflash at 8/17/2004 6:36:37 PM
I have an extensive array that I am saving to cookie using SharedObjects. Is there a way to make Flash Save items to a text file and when the user opens it up have something similar to a File:open dialog in windows so the user can choose which saved file he/she would like to open. This wo...more >>

Dynamically targeting un-named Movie clips
Posted by spackmandu at 8/17/2004 6:34:27 PM
I need to stop small movie clips that are within other, larger movie clips. The larger MCs that have the smaller MCs in them are in main movies that are loaded into an interface shell, and need to be targeted from the shell. I need to find a way to do this with one global command. The command ...more >>

Getting a button to link to an external .swf
Posted by apsteingas at 8/17/2004 5:54:09 PM
I don't know the code to attach to the actions on my button to load a different ..swf file for playback in the same web page. What I want to do is easily shown by visiting http://www.capturevideo.net/v6/screeningRoomPlay.htmwithout having to change .html pages. All I have so far for the b...more >>

OnRollOut not working for MC
Posted by rover at 8/17/2004 5:19:30 PM
hello, I have a movieclip that is embedded in a web page and I am trying to tell when the user has moused over/clicked then left. I tried using onRolOver but it will not fire. Any suggestions? thanks ...more >>

creating a link to an e-mail address in flash
Posted by Yohnny at 8/17/2004 5:01:52 PM
I am having great difficulty with creating a link to an e-mail address in a flash. I am using the following action script: on(release) { getURL("mailto:service@mrpcdoc.com"); } I have looked every where to find this answer. Could some one give me a few complete action script scenari...more >>

AS1.0 to 2.0 attaching handlers on fly way to go?
Posted by zephyros at 8/17/2004 4:47:38 PM
In ActionScript 1.0, I used to create a callback handler by assigning a new method on the fly: var myVars = new LoadVars(); myVars.load( myTextFileURL ); // Assign handler on the fly. myVars.onData = function(rawTxt) { //Something happens here. } What is the proper way to ...more >>

Calculate the width of a variable textfield?
Posted by FinsterBoy at 8/17/2004 3:36:19 PM
I'm building a breadcrumb trail style menu bar. Each link on the trail is a button that slides into place as you navigate to that page. The titles of the pages vary dramatically in length. I want to vary the width of my buttons (like in Flash's built in menu component) so that each button has ...more >>

gotoAndPlay() not working as expected
Posted by Sean Rhea at 8/17/2004 3:16:42 PM
Ok, I am baffled. Out of the clear blue, Flash seems to have stopped handling the gotoAndPlay() function correctly. Specifically, I have a library movieclip which I give the linkage identifier of "textObj". This movieclip contains four frames. On the first frame is a stop action, but every oth...more >>

Option Declare/Explicit
Posted by daddyschmack at 8/17/2004 3:15:46 PM
Please pardon my ignorance if this is an unreasonable question. But it seems to me that ActionScript would benefit by having an option that explicitly makes you declare your variables. Does an undocumented option exist? If not, Is such an option precluded by OO principles? I know there i...more >>

Jumping to a frame after MediaPlayback has ended
Posted by Dan at Such at 8/17/2004 3:13:15 PM
Hi, I'm a newbie to Actionscript, and have been trying to figure out how to accomplish the following: I have a main comp called "Scene 1" which contains a Movie Symbol("intro") in frame 1 that has some JPEG's and a MediaPlayback Component (Instance name is "movie_win") that plays a FLV...more >>

sorting arrays
Posted by forums.macromedia.com at 8/17/2004 3:12:44 PM
Hi I have created a script which reads in xml and puts the data into the following arrays below for (i=0; i<numUsers; i++) { _global.arUserID[_global.arUserID.length] = users.childNodes[0].childNodes[i].attributes.id; _global.arUsername[_global.arUsername.length] = users.c...more >>

How can I make my buttons move & spin 720 degrees?
Posted by Spindrift at 8/17/2004 3:08:05 PM
Hi there, Thank you for reading this... In my timeline, I have some buttons and when the user clicks on any one of them to view the requested frame, I want the buttons to spin 720 degrees while moving from the centre of the screen to the bottom right of the screen - allowing space to p...more >>

Stupid Question but........
Posted by DCTHEMAN at 8/17/2004 2:59:46 PM
.....how can you detect whether a user has single clicked or double clicked a button in a Flash Movie. Any help with, much appreciated...more >>

double sided equality
Posted by smatsri at 8/17/2004 2:47:34 PM
is it possible to do the following: i want to make a = b in a way that when i change b, a will update automatically for example: a = 4 a = b b = 2 and now a will be 2 ...more >>

too many levels?
Posted by Rmay80 at 8/17/2004 2:43:38 PM
Is there a limit to the number of levels visible at one time? I have a project where a user clicks buttons to build a picture of a product. each button loads a small movie (6-7K) into a specific level. (using levels to layer each final picture correctly) Everything works fine until t...more >>

Switch off UIScrollbar if no scroll
Posted by elfranko at 8/17/2004 1:46:34 PM
Hi - I'm using the UIScrollbar in the V2 mxpro component set alongside a dynamic text box to scroll loaded in text content. I'm finding that if the text is not long enough (As the text can vary in length especially when language localisation kicks in), the scrollbar defaults to a plain bar wit...more >>

Transferring text from input text box
Posted by arsirantala at 8/17/2004 12:59:07 PM
Hi, I have a simple problem in my Flash animation. I try to transfer data from input text box in frame A, to dynamic text box in frame B. Both controls use a variable. I copy the variable value in frame B, and it seems to copy it Ok, I've outputed it in trace window. But for some odd rea...more >>

XML sendAndLoad Compression.
Posted by Astrien at 8/17/2004 12:35:09 PM
Here's a nice little question. First, the situation... I've got a work on a site that gets about 5 million hits a day. We're implementing something that is going to save a user generated xml document from the Flash client to the server. This document will be replicated to the server whe...more >>

gotoAndPlay not working as expected
Posted by Rik Comery at 8/17/2004 12:20:49 PM
I am probably missing something really simple here, but cannot for the life of me, see what it is. i have created a document with three layers and 15 frames long. Every frame of layer 1 is a key frame, and has the stop(); action on. Every frame of layer 2 is a key frame, and has a text box o...more >>

Newbie Q: programmatic alpha fade-in of element in loader component?
Posted by Ken Fine at 8/17/2004 11:03:32 AM
Help-out-a-newbie time: It is possible to programmatically adjust the alpha of movie clips by manipulating the onEnterFrame method of the movie clip. I'm using the MX2004 image loader Component. Can the content that it loads in also be programmatically manipulated? How do I refer to this conte...more >>

Advice
Posted by Maria M at 8/17/2004 10:46:09 AM
Hey guys, k, do any of ye know how i'd be able to do any of this stuff: How to select a graphic from a list of graphics and drag and drop it anywhere on a screen, how to enable a user to enter dimensions of a graphic and the graphic to be scaled to those diminsions how a user cou...more >>

Layers and function
Posted by Manoj vn at 8/17/2004 10:19:54 AM
Can i define the function and its parameters in the first frame of layer1 and then call it from the first frame of the layer2? ...more >>

deterime distance
Posted by Edwin Merced at 8/17/2004 8:45:55 AM
I want to build a map that calculates distances (where the user clics between two point and a line appears with the calculated diutance. Any solutions around that I can look at to start this project? ...more >>

adding to this
Posted by Edwin Merced at 8/17/2004 8:38:27 AM
When a batch file executes it opens a black windows Is it possible to avoid this? ...more >>

Detect which object being clicked
Posted by Macapeter at 8/17/2004 8:37:13 AM
Hi. I have a file which produces a lot of child objects from an original movie clip. Inside each movie clip there is a frame containing an animation indicating that this object is the chosen one. When a user clicks one of these movie clip instances I need to check WHICH movie clip tha...more >>

Loading long url from database
Posted by Jafang at 8/17/2004 4:14:33 AM
Hi guys. The search not working.. i'm keep getting time out... ok.. for some reason i can't pul long URL's with characters in Flash MX Pro. here is what Flash is Showing: code:--------------------------------------------------------------------------- ----- xww.mysite.com/mypage...more >>

zoom to target
Posted by cire548 at 8/17/2004 4:10:32 AM
I'm using a drag n drop navigation system. When I drop the movie onto the target(called X), I have it zoom way in to that point. The problem I have is that it's only presice at the stage size, because I figured out the point numerically. If the window size changes slightly, it's off. I could u...more >>

Button click to another movie?
Posted by BigDanimal at 8/17/2004 4:09:54 AM
ok I keep looking at this and I dont see the problem. The only thing I can think of is the empty movie clip that I create in my main movie. Here it is: _root.createEmptyMovieClip("portfolio", 1); loadMovie("menubar.swf", "portfolio"); setProperty("portfolio", _x, 0); setProperty("portfol...more >>

multilanguage text input problem
Posted by sashmash at 8/17/2004 4:09:34 AM
I can't figure out how to enable text input in language different from system language. Input field goes blank on enter (if fonts are included) or shows ??????? (if fonts are not included)....more >>

Easy Q- Global Variable not changing??
Posted by DumNewB at 8/17/2004 3:38:36 AM
Hi guys- this (I imagine) Is a ridiculously easy question, but being a complete novice- how do I change a global variables value, say ?_global.x=0;? in mx 6.0 (set at the start of my main timeline), within a movie which is nested within 3 other movies? I want the variable to act as a flag, whe...more >>

ActionScript and XML help needed
Posted by kemz at 8/17/2004 3:37:01 AM
hey all. im new to the programming thing,and i am learning flash. im trying to create a login screen that looks to an xml file for username and password. the xml is called login.xml. on the first frame ive got: login_xml = new XML(); login_xml.onLoad = function (success) {} login...more >>

Shared Objects Questions
Posted by kaiser_lord at 8/17/2004 3:29:21 AM
Just one question When you create a shared object is the shared object only exlusive to the file that it is created in? If you load another movie in a swf than if you create a shared object in that swf is that Shared object for the loaded movie or from the original place(the movie whic...more >>

Bar with a moving background
Posted by Sapal at 8/17/2004 2:18:36 AM
We want to have the background of a bar/button (not the text) which is on our website Fade, Flash or Move three times, each time the page is visited. Could someone suggest a way of accomplishing this? ...more >>

Black and White fading effect?
Posted by maulia at 8/17/2004 1:49:32 AM
Can we do a fading black n white effect? For example like when you click on START Windows button-> Turn off/shut down, the screens in the background will slowly fade into black-and white Any action script to do this when say a button is pressed? ...more >>

beginner/newbie/amateur seeking for HeLP!
Posted by chococrepes at 8/17/2004 1:29:01 AM
Hey, im new to flash actionscripts and i got this error popping up upon testing movie (see below). but the movie works just fine. but i just don understand wat are the errors for. the layer contactus i created has no instance name but it is an instance of another instance ehr. i simply just do...more >>

Picture gallery script DONT go away
Posted by seiern at 8/17/2004 12:01:22 AM
THX for reading : Im just implented a picture gallery script into a movieclip that i have impented into my main movie. The problem is that when i try to leave the picture gallery, its always in the rest of the move, it does not go away when you press any of the other buttons in my movie. W...more >>


DevelopmentNow Blog