Groups | Blog | Home


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 > april 2004 > threads for wednesday april 28

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

Minimize Flash exe from a button inside it
Posted by SAtila at 4/28/2004 10:31:08 PM
Hi there! I need to minimize a Flash MX swf or exe with [b]my own button[/b] using actionScript. [u]This minimize button must be located inside the Flash movie, which runs fullscreen.[/u] I've tried the chromless window solution, but it doesn?t work fine and also I want the swf or exe...more >>

help with interactive map
Posted by garroyo at 4/28/2004 10:22:55 PM
I?m trying to build a flash page that locates printers in a building. I have a map of the building that is broken up into zones. I want user to click on a zone to zoom into it and display the printers. From there they will click on the printer they want to print to. There will be several Zone...more >>

Simple text data load failing
Posted by SamInLosAngeles at 4/28/2004 8:39:23 PM
This is the first time I have tried using external data and I'm having trouble loading data from a text file. My code is as follows: var alarmData = new LoadVars(); alarmData.load("file:///c:/alarm.txt") alarm_hour = alarmData.hour; alarm_minutes = alarmData.minutes; The text file co...more >>

taking a '%' literally in a LoadVars var
Posted by HardWorkingPete at 4/28/2004 8:22:28 PM
When loading an external text file using LoadVars containing a '%' within a variable, it's skipped by the compiler. Is there a simple way to overcome this so the compiler takes the '%' literally. Many thanks, Peter O'Brien ...more >>

Audio Actionscript
Posted by Peter Fettes at 4/28/2004 8:01:22 PM
Please Help ! I'm wanting to create a audio feature to my movie, which fades-in the audio at the start of my movie. But is also controlled by two buttons. 1. One which fades the audio-out. 2. And another which fades the audio-in. The Actionscript I'm currently using works as...more >>

Opening A New Browser Window
Posted by sebm at 4/28/2004 7:51:30 PM
Im not sure if this is the right place to post this but anyway. Ive been trying to make it so that a button opens up a new Browser Window with options such as no scrollbars, menubar etc. like the behaviour in Dreamweaver, but i cant seem to work it out. Is it possible? Im very grateful for...more >>

How do I trigger a function
Posted by Oggie at 4/28/2004 7:32:30 PM
How do I get this script attached to a button component on(click){ _parent.calculate(); } To run this script attatched to a key frame in the time line function calculate() { totalX = 0; totalY = 0; averageX = 0; averageY = 0; totalZ = 0; averageZ = 0; for ...more >>

using "on press" for scrolling text
Posted by triboj at 4/28/2004 7:19:03 PM
There is probably a much better way to do this and I am a beginner, but - I have a box of static text that I want to be able to scroll. I made it a movie clip and called the instance "scrolling". I then made up and down buttons. For the up I added the action on(press){ _root.scrolling._...more >>



getBytesTotal() returns bigger value than swf's file size.
Posted by Krondor at 4/28/2004 7:08:02 PM
I'm using flash mx 2004 pro and trying to make a preloader. The problem is getBytesTotal() method returns a different value than swf's file size. Sometimes this difference reach to 30-40 KB. What can i do? ...more >>

so where are my breakpoints?
Posted by JPI at 4/28/2004 6:31:51 PM
I set some breakpoints in my code, but when I run the debugger they are simply not there. I even tried adding them while the debugger was running to no avail. Any help would be appreciated. Thanks....more >>

help: load random images into animation
Posted by ps98104 at 4/28/2004 6:28:51 PM
the big question: can you randomly load jpegs from the server into a mc that is animated on the main movie timeline (pans left to right behind a mask)? the scenario: Client wants homepage with an image window. Upon visit, 1 of 10 possible images (set A) randomly loads into the window. Then ...more >>

Change Flash icon into a custom one
Posted by SAtila at 4/28/2004 5:16:13 PM
Hi there! I?d like to turn the Flash icon into a custom one, when I export my movie as ..exe projector. So the .exe will show my own icon when it is distributed. Can it be done when publishing the project or through actionscript somehow ? If so, any help will be appreciated! Thanks in ad...more >>

rotate a textfield
Posted by Murali.j at 4/28/2004 4:57:09 PM
hi, it is very urgent how to a rotate text field. pls need help or sample program thanx in advance with regards murali.j ...more >>

rotate a textfield
Posted by Murali.j at 4/28/2004 4:56:06 PM
hi, it is very urgent how to a rotate text field. pls need action help or sample program thanx in advance with regards murali.j ...more >>

Smooth, dynamic text, like in www.cv-e.com
Posted by JuliusKiper at 4/28/2004 4:50:26 PM
Hi, anyone knows how can I create smooth, dynamic text, with alpha parameters like the one in this site? (www.cv-e.com/flanimator) Thanks!...more >>

Interval
Posted by MiniMurderdoll at 4/28/2004 4:04:11 PM
Can anyone point out whats wrong with this code: if (auto == 1) { if (estop != 1) { if (floor != 1) { } else if (distance<=320) { distance = distance+2; } } } if (auto == 1) { if (distance == 320) { auto = 2; } } if (auto == 2) { if (distance != 0) { ...more >>

Buying an action script book
Posted by marcelozep at 4/28/2004 4:00:17 PM
Hello iam looking for a book that teachs action script, and with it some examples, resuming a good book for learning. Anyone knows about a good book of teaching action script??? Or maybe the best one. Many thanks. ...more >>

Dynamic Clickable Text Field
Posted by Mr Tomo at 4/28/2004 3:48:48 PM
Hello there, I'm trying to create a set of dynamic links ie textfields and associated buttons on the fly. I plan to attach an external array, but the basic code is below. Can anyone help? Thanks in advance, Mr T for (i=0; i<10; i++) { x = x+0; y = y+20; _root.createEmptyMovi...more >>

asp to flash - it seems so easy... but
Posted by Irish Laura at 4/28/2004 3:44:33 PM
I have a database with a table inside it called thought. with the fields username, location and thought. I want my flash movie to display the results of an asp page in a dynamic text box when a button is clicked. The asp page calls the field 'thought' from the database. The asp page ...more >>

Help with tabIndex inside a movie clip
Posted by charleuts at 4/28/2004 3:27:23 PM
I am developing a form that has input text fields on the main timeline. I have the tabIndex working no problem here. The issue I am running into is when I load a movie clip with different input text fields and a 'Submit' button, I cannot get these fields to tab properly. I am using MX 2004 ...more >>

Close window upon launching Windows Media Player
Posted by tiredagent at 4/28/2004 3:13:05 PM
I have a popup window that plays Flash Video. As an alternative to the site visitor, I have created a flash button in the movie that launches a Windows Media Version of the same video. Unfortunately, the original popup window stays open and the audio continues to play. So I introduced: sto...more >>

XML - a list of attributes
Posted by PDRG at 4/28/2004 3:01:33 PM
I have an XML document that contains nodes with multiple attributes that change depending on the node. Is there a way to get query a node and find out what attributes it has? example <XML> <Node name="paul" phone="555-1212"/> <XML> in AS: myXMLDocument.childnodes[0].attrib...more >>

how do you pass variables to an outside program o
Posted by Concept Guy at 4/28/2004 2:45:17 PM
I have a flash movie that has simple rollover buttons and you can choose one or multiple buttons within flash, I then need to be able to pass that information, which button is (s) are clicked to a vb program... whats the best or simplest way to do this..? any help is greatly appreciated ...more >>

Submit Form Button
Posted by smada at 4/28/2004 1:32:22 PM
Hello Could anyone tell me what is wrong with this Action script. It is for a very simple form (POST METHOD). send_btn.onRelease = function(){ form.loadVariables("email.php", "POST") }; Thankyou in advance :) ...more >>

Please Help: Send Data From Flash To ASP via Post
Posted by RedEyeWeb at 4/28/2004 1:27:12 PM
I can access Flash variables in my ASP page's Request.Form object when I do a getURL(targetURL,0,"post"); in the Flash actionscript. The syntax I use in my ASP code is Request.Form("NameOfVariable"). This will get me the value of NameOfVariable inside my ASP code. What I am unable to do is to ...more >>

Actionscript and XML (MX2004)
Posted by bacardibo at 4/28/2004 1:26:32 PM
Hi, I have a question. Suppose i have the following information in a XML file, Sweatername: susanne color: green size: 1 Sweatername: Erica color: blue size: 2 Now i've made two small (custom) buttons each pointing at one of the sweaters, now i want flash to show me the...more >>

Does SetVariables trigger an event?
Posted by droopcat at 4/28/2004 1:17:16 PM
Whoa, this drives me crazy. I'm sitting here all day trying to figure this out, but still haven't found the solution! I am calling movie.SetVariables("myVar","whatever") from javascript. If myVar is a dynamic text box it will work when i call it like this : movie.SetVariables("myVar.text",...more >>

sharedobject
Posted by Adream at 4/28/2004 1:10:48 PM
hi everyone, is there a way to put an movieclip, wich loads an jpg-file into an sharedobject? so that the next-time the user commes to the swf-file he doesn't has to load the jpg-file again. So that the Flash apllication becomes faster? thanks Adream ...more >>

How to make an MC Button Stay Down?
Posted by ecsurfer at 4/28/2004 12:36:54 PM
I created an MCButton with 2 frames 'ON' (up) and 'OFF' (down). I want the swf to default load with the MC Button 'ON' (music playing) but when you click, the MCbutton it will turn the music 'OFF' and vise versa... Can someone please hook me up with AS for MC buttons/music load? ...more >>

loading movieclip, don't want it to loop
Posted by robin at 4/28/2004 12:31:41 PM
Hi all, I've been working around with my Flash thingy and I got this far. I have a presentation in which I start a movieclip (an external .swf file). It all works fine, except that I don't want the swf to loop, which it does. It has to run just once. This is the code which I use in slide 1...more >>

Scripting Fades
Posted by Rusherific at 4/28/2004 11:35:13 AM
I'm attempting to make a rollover action fade in a rollover image on a a button as opposed to simply switching, kind of like the buttons here on the Macromedia site do. If there's a way to do this w/o Action script, I know not of it, and im new to scripting so its been hard. The script i wro...more >>

Integrar Flash en un mail como cuerpo del documento
Posted by Jose Lorenzo at 4/28/2004 11:09:58 AM
Alguién sabe como integrar un fichero flash en el cuerpo del mensaje. Ya que voy a integrar una página como html y esta a su vez contiente ficheros flashes. Pero cuando le llega a la gente no se visualiza. Y pone un mensaje algo de que "Los controles ACTIVE X" no se pueden repoducir. Sabéis ...more >>

Set variables and properties only once, how?
Posted by amzd at 4/28/2004 11:09:15 AM
Hi, my .fla has only one frame (code below, example from colin moock). My question is only to understand a principle: The properties of Rect_mc and myVar are reset every time (since the fla has only one frame). How can I make sure they are only set once? I would need a kind of init pro...more >>

Button Actionscript
Posted by Peter Fettes at 4/28/2004 10:00:47 AM
Can you help please, ( I am using Flash MX 2004) What actionscript would I write for a button - so that when the button is pressed 'THE PLAYHEAD' jumps to frame 10? (for example). Regards, Peter ...more >>

simulating a click on a List component
Posted by _c_ at 4/28/2004 9:14:34 AM
Hello, I'm using a List component in an MX2004 application I'm doing. The data in the list is filled in dynamically and and event handler handles clicks to do something. somewhere in my code, I need to jump to a certain item in the list and have the event handler kick in as if the user...more >>

non-streaming sound will loop only 1 "set"..
Posted by trave801 at 4/28/2004 8:59:23 AM
if (_root.bgMusic.length > 10) { stopAllSounds(); my_sound = new Sound(); my_sound.loadSound(_root.bgMusic, 1); my_sound.onLoad = function() { my_sound.start(0, 3); } } Will loop the proper amount of times the first time it is loaded, but not play anything if that nested m...more >>

load sound isnt working
Posted by jogsoid at 4/28/2004 8:14:15 AM
i am trying to stream an external background sound just like many books and website tutorials say, but it is not working when the page and .mp3 is online.. my code in frame 1 is: sound = new Sound(); sound.loadSound("sound.mp3", true); and yes my .mp3 is in the same folder as the .sw...more >>

Splice a two-dimensional array
Posted by ashish912 at 4/28/2004 8:13:13 AM
I'm using the following code to splice a multidimensional array. //-------------- _level0.tempArray.splice( [ i ] [ j ], 1); //------------- Is there any other way to splice the array? If I use //------------------------ _level0.tempArray.splice( [ i ] [ j ], =" "; //----------------...more >>

Help with 'chasing' objects
Posted by dburman NO[at]SPAM sandc.com at 4/28/2004 6:06:52 AM
Hello all, I'm new to Flash, so please bear with me. I need to create an effect and I haven't been able to figure out the best approach for. The best way for me to describe the effect is 'chasing objects'. The animation will demonstrate voltage flowing through a circuit. The shape of circui...more >>

markers
Posted by etg7 at 4/28/2004 4:36:32 AM
hey, anyone know of a way to get the marker text (label) of the frame you're on? thx...more >>

>> movie control help <<
Posted by Mr. Geek at 4/28/2004 4:28:32 AM
It seems like every1 would like help and there arent many people who want to, but here is what I can't do. I have no actionscript expierience and I am not sure what to do. I would like my movie to play through the untill it comes to a keyframe, where it can be advanced to the next by a key. I...more >>

includeing variable in an absolute path - How To
Posted by pixel engineer at 4/28/2004 2:51:33 AM
I am trying to create a function that will clear label component text in my movie. I pass the instance names of the labels to the function as arguments and use the arguments array to loop through. I want to include something like _root.application.form1.<variable or array instance>.text ...more >>

pop-up perplexity
Posted by Will Y. at 4/28/2004 2:51:19 AM
Hi, I've created pop-up windows containing a movie using the following code: on (release) { getURL("javascript:window.open('http://www.willyurman.com/work/pages/bestof2002. html','POPUP','width=770,height=550,top=2,left=2,toolbar=no,scrollbars=no,resiza ble=no,menubar=no,status=no,direct...more >>

can getURL be used to set a variable in flash?
Posted by sleezy at 4/28/2004 2:42:31 AM
Hi, I'm trying to find a solution to be able to start playing a flash movie on command from a href link. The kicker is that it has to work on IE5 on the mac as well. so I was thinking if I can set a variable in JavaScript in the page and then use setInterval to constantly run a funciton ...more >>

Using LoadVars to display ASP page in dynamic text field
Posted by craigloosenth NO[at]SPAM hotmail.com at 4/28/2004 2:41:59 AM
Hello, I'm trying to get the results of the url "http://domain.server.net/articles.asp?journalID=5" to be displayed inside of a Flash 5 dynamic text box. To keep in simple, Let's say I have a new .fla and on the main stage I've created a dynamic text field on the only frame. I know I will...more >>

stringToInteger() ?
Posted by trave801 at 4/28/2004 1:06:09 AM
If I have a string value of a number (from PHP per say) ie: "123" that I actually want to be the integer value, is there a toInt() or something like that? would Math.round() change it from a string to an integer for me? I am having problems allowing users to enter the number in a textfield,...more >>

Problem adding x and y to movie clips
Posted by Flash_Ghost at 4/28/2004 1:02:44 AM
function addSWF():Void { for (i=1; i<5; i++) { this.attachMovie("SWFHolder", ("mc"+[i]), this.getNextHighestDepth()); this._width=100; this._height=100; this._x=100; this._y=(i*80)-80+20; } } for some reason the width and height are just fine for all 4 movie clips but...more >>


DevelopmentNow Blog