all groups > flash actionscript > january 2004 > threads for thursday january 15
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
Input Text, need help
Posted by BuG56 at 1/15/2004 11:15:40 PM
ok what do i do if say, i have an input box and the user types something. lets say that the box is named 'input', how do i put an action on a button that will save the words in a text file inside my computer, lets say the destination is 'C:/My Documents/Flash Input' (i use flash 5 and MX pro)
... more >>
75% works OK -- Need help ASAP
Posted by 2s at 1/15/2004 11:02:19 PM
I've got two sliders. They should not overlap, but rather push each other. I used HitTest and almost got it to work.
Open file and slide one way and then the other, and you'll see what the problem is, it's pretty obvious. Feel free to tweak the file.
File: Flash MX (not MX 2004)
File in MX 20... more >>
replay
Posted by sonicjam at 1/15/2004 10:53:42 PM
i want to know witch script make the button that i choose to replay my flash movie
... more >>
How can I slide a menu out and then back in again
Posted by lickteig at 1/15/2004 10:20:07 PM
Hi all, I am wanting to have a text box or menu slide out of an area then when the user is done I want them to hit a close button and have the meny slide back in. Is there some code out ther to play a movie backwards or do I need to just do a tween in the opposite direction
Russ
... more >>
playing external swfs with check boxes
Posted by benmaxwood NO[at]SPAM aol.com at 1/15/2004 10:11:56 PM
I'm am a bit lost. I would like to play external swfs when checking a check box. I have about 5 checkboxes that when checked should allow the user to press the submit button and play the movies that have been checked in sequence. So far I have been able to play only the first movie on the checkbo... more >>
Anti-Alias Text from a Dynamic text box?
Posted by lickteig at 1/15/2004 9:33:34 PM
Hey all, is it possible to have dynamic text to show up as anti-aliased?
Thanks, Russ
... more >>
control key in listbox
Posted by Coding Guy at 1/15/2004 9:21:20 PM
Is there any way in a multiple selection listbox to not have to use the control key to select multiple items? Thanks in advance!
... more >>
detecting when the cursor is not within movie
Posted by TomJoeFrank at 1/15/2004 8:41:57 PM
i need some help in determing when the mouse leaves the movie area.
initially the ball is not visible, then when the mouse is over the command_btn, the ball appears, and when the cursor goes outside the movie, i'd like to make the ball become invisible again.
here's what i thought would work, ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
storing local files help
Posted by SilicoNblOOd at 1/15/2004 8:24:57 PM
I need to make a flexible app. To do so I need it to store the SOL file in a specific place (you can tell me one, i'm not picky) so it would not matter where the application is placed. I know that the getLocal command has a path option but i need examples how exaclty do i write , say, the absolute p... more >>
Using variables as target to textField properties, please help
Posted by Gerrard at 1/15/2004 8:23:20 PM
Hi!
I need the variable "scbNr" to be use in another target path to retrieve the length property of a textField. What I want is to create a dynamic name for the myTextField.variable. The trace action shows the name correctly i.e. "scb11", but I fail when trying to use that info i the textField pa... more >>
The class * could not be loaded
Posted by NT at 1/15/2004 6:59:02 PM
Hope this is an easy one, but gettting an answer on this will save an infinite amount of damage to my wall inflicted by my head.
Using AS 2.0, I am trying to use strong typing, as an example:
var scheme_sp:ScrollPane;
When I do this, I receive the following error:
The class 'ScrollPa... more >>
simple mailto in flash
Posted by eschodde at 1/15/2004 5:55:12 PM
I have a United States map in flash with each state as a button with rollovers. The "powers" that be in the office here, want the buttons to open up an email message instead of going to an existing page.
I've tried the getURL command, but that seems to only work for linking to html pages. Any hel... more >>
Array Question
Posted by Sneelock at 1/15/2004 5:47:10 PM
Hi all,
how does one stop this function from attempting to load an array element
past it's length, (+ & -)?
Or, where do I check in the code stack?
Thanks for your time,
Jon
//
next_btn.onRelease = function() {
for (var i = 0; i<clipArray.length; i++) {
if (clipArray[i] == here) {
// Th... more >>
flash detection
Posted by frankie_luccini at 1/15/2004 5:38:17 PM
i've used the flash detection kit that macromedia.com has provided.
my only questio at this point, is how can still use the flash detection,
but make it to where the detection only runs once? it doesn't
matter if the user has installed flash or not. i just want the detection
to only run once.... more >>
downloading data using actionacript
Posted by Jamesb2 at 1/15/2004 5:34:56 PM
Does anyone know if it is possible to use actionscript when building a website in order for people to download something (for example an .exe file or folder)?
I can't seem to find any information on the site. If anyone knows if this is possible could you either give me some idea of the acti... more >>
passing variables from flash to php
Posted by Karina Arias at 1/15/2004 5:22:31 PM
I was trying this:
loadVariables("prueba.php", "", "POST");
but it doesnt work, so i tried
c.sendAndLoad("test.php",c,"POST");
i need to send 3 variables no just one so second option is not so good for
my application... i m doing something wrong with the first one?
tx
karina
... more >>
flaw in flashs design ??
Posted by baEc at 1/15/2004 5:09:04 PM
excuse me for the sensational title. i actually start this thread in the
hopes to gain better understanding of why flash is designed to treat nested
buttions the way it does. what im referring to is, for example, the case of
having two buttons A [the parent] and b [the nested child]. both have an... more >>
advice on options to solve MX 2004 problems (no 'Normal' mode)
Posted by bendrissa at 1/15/2004 4:42:09 PM
Hi there
Like many others posting to this forum, I'm feeling totally baffled by the decision to remove the 'Normal' Actionscripting mode. This leaves me seemingly incapable of completing an interactive CD-ROM that needs to be completed within the next week or two. I was really enjoying
I've c... more >>
Date calculations for a countdown
Posted by Chris at 1/15/2004 3:48:56 PM
I'm trying to display a countdown clock to display H:M:S to go to an event and it needs to be independant of the client's clock. I can send the server date/time and the event date/time to the client via PHP and can then use new Date() to create date/time objects for each:
serverDate = new Date(sv... more >>
decimal to hex and back
Posted by Andrea Corrado Campitelli at 1/15/2004 3:28:02 PM
how can i change decimal to hex and back??
thanxxx
andrea
... more >>
Please help, multiple choice component problem
Posted by Tnadom1 at 1/15/2004 3:24:54 PM
I would like to have a graphic appear after the user selects the ?check answer? button. I have gone through several options but none seem to work. I have done a trace command on the first frame code in the learning interaction multiple choice component in the 1-2 section and a value returns (trace... more >>
HELP! Hairpulling about arrays and external text files
Posted by userid at 1/15/2004 3:01:54 PM
Okay,
I have an image library that consists of 1.jpg, 2.jpg, 3.jpg etc. What I set out to do was to create an array with values 1,2,3, etc, and from that create a number of empty movie clips at the length of the array, and load the images into it.
I got it to work by defining the array in the... more >>
How to disable the mouseWheel on a ScrollPane???
Posted by Neo75 at 1/15/2004 2:42:25 PM
I have this problem:
I load into a scrollpane an external swf, and if the scrollpane has the vpolicy ON and the swf isnt bigger than the scrollpane the mousewhell doesnt work(no problem there), but if the vpolicy is off or auto and the swf is smaller than the scrollpane, if you use the mousewheel w... more >>
Q: how to create custom events
Posted by baEc at 1/15/2004 2:09:58 PM
ok ive been all through the manual again trying to figure this out but i
just cant find it.
how can i generate my own custom event ?
for example : movie clip A moves to the left and when it gets to the left
border of the screen i want it to trigger an event call
I-Got-To-The-Left-Most-Side-Of-T... more >>
FSCommand, execute external program
Posted by Tonio34 at 1/15/2004 1:44:04 PM
Hi,
i have a problem i wish to submit to you.
i have created a graphic application on Flash MX, working on a browser.
My customer use old printers that can't be recognized by windows so he need to use an external exe to send flash generated txt file on the printer.
I need to call from my flash ... more >>
Scrollind loaded text
Posted by Kev P at 1/15/2004 11:20:40 AM
Can any body tell me why the piece of following code does not work:
jobInfoVars = new LoadVars();
jobInfoVars.load("some data")
jobInfoVars.onLoad=function(success) {
//load variable description in to instance of a dynamic text field
description_box.text = jobInfoVars.description;
}
A... more >>
loading x and y co-ordinates from xml
Posted by richardbeggs at 1/15/2004 9:26:50 AM
Hello
I am trying to load images into a flash movie along with their x and y co-ordinates which will be stored in an XML file and I don't know where to begin.
Can anyone please give me a starting point
Thanks
... more >>
Please teach me how to create a flash game step by step.
Posted by chris_yau at 1/15/2004 8:18:31 AM
Halo!EveryBody!!!Do anyone of u here can teach me how to create a flash game step by step,better hav pic to show me how to do.Or can let me know any URL tat consist of create game learning. Coz i kind of dummy in source code even i got the game .fla. So,pls kindly help,thanks.
... more >>
Debuging handlers
Posted by jeclark3 at 1/15/2004 6:15:27 AM
I'm having difficulty debugging a handler. Are there any helpful hints in using the breakpoints/single
step features of Flash MX 2004?
I have set a break point in the main code, but I never see the break point happen in the handler,
although the handler is executed, because the activities which... more >>
In "Test Movie Mode" some of my MC's disappear
Posted by ryanhamilton at 1/15/2004 5:24:47 AM
For some reason two of my movieclips disappear at some point while testing my movie.
They are visible when the movie runs, but if I just leave the SWF window open for a few minutes they eventually disappear. And after a few more minutes they reappear again.
On both of them I have code to bri... more >>
Upgrade from MX2002 to MX2004
Posted by equinox007 at 1/15/2004 4:15:33 AM
Hello, is there anyway i can safely upgrade to MX2004??
My fla files in MX2002 dont seem to be keen to open in 2004... in fact, they dont.
There must be a way...
What is the point of upgrading if you cannot open past works?!
Thanks
A prompt reply would be appreciated.
Chris
... more >>
LocalConnection : to affect a closed window
Posted by Nixy at 1/15/2004 3:05:15 AM
I'm new to LocalConnection function. I need to know if it's possible to use the LocalConnection to affect a closed window.
ie. If the localConnection is use to change the bg color of another window when we press a button. When the second window open, is that possible that the bg color is changed?... more >>
Rounding error in Flash MX Proff (2004)
Posted by earthguy at 1/15/2004 2:40:19 AM
There appears to be a dangerous rounding error in actionscript in Flash MX 2004...
Try the following :
framecounter = 20;
framecounter = framecounter - 0.03;
trace(framecounter);
19.94
19.91
19.88
19.85
19.82
19.79
19.76
19.73
19.7
19.67
19.64
19.61
19.58
19.55
19.52
19.49
1... more >>
Setting scroll pane content
Posted by alisonspiegel at 1/15/2004 2:11:58 AM
I need to set the content of a scroll pane to a movie clip that I build dynamically from a list of thumbnail images. I was doing this in Flash MX with the setScrollContent method. From what I can see in Flash 2004, you can only set the scroll content to a file or a movie clip from the library. Ne... more >>
hittest: nested MCs
Posted by abeall at 1/15/2004 2:07:41 AM
I have multiple dynamically duplicated objects, called "units". Let's say I have 2 at the point this code is executed:
[on stage_mc]
[on each unit_mc]
if(_parent["unit_mc"+i].hitTest(_x,_y,true))
So, all unit_mc are within stage_mc. But I'm pretty sure something is going wrong with how hitTe... more >>
help to add variables to end of url
Posted by mo_mitchell at 1/15/2004 1:08:47 AM
I'm a beginner and I'm not sure how to do this. I'm using the datefield component and with those dates that user picks I would like to send those variables to my asp page for the report. The url has to have something like ....decisions.asp?startdt=12/1/2003&enddt=12/31/2003 These are the parameters ... more >>
|