all groups > flash actionscript > january 2004 > threads for wednesday january 14
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
Can't get form to submit or reset
Posted by randean at 1/14/2004 11:39:05 PM
I am a first time flash form creator and I am having problems getting the form to reset and submit to an email. I followed the book to the letter and I have had no luck. I have spoken with my webhost company to insure that I had the necessary things in place there. My code is pasted below.
To ... more >>
Could someone please tell me why this script will only work once?
Posted by Adam Bragg at 1/14/2004 11:36:20 PM
I have this script in a frame that I call when any of my navigation are
clicked. But, it will only run the first time. All i can think is that
the 'fullyLoaded' variable is not being reset when flash reenters this
frame. Is that possible?
fullyLoaded = 2;
if (fullyLoaded<=100) {
while (f... more >>
help: using xml to load images into flash MX
Posted by echopixel at 1/14/2004 11:11:52 PM
thanks for reading,
i am trying to create a little application that reads an xml file and loads the information into flash mx. ideally, once the movie loads, the user should be able to see a series of images (one beneath the next) and then click on the image to take them to a specific URL. (all ... more >>
objects snap back after moving them with actionscript
Posted by Adam Bragg at 1/14/2004 10:45:25 PM
Do objects moved with _x automatically snap back to their original
position when a movieclip stops?... more >>
Updating code to ActionScript 2.0 Help pls.
Posted by D&DFreddie at 1/14/2004 10:30:07 PM
I just upgraded to Flash MX 2004 and a couple scripts I have been using stopped working when I try to publish for Flash Player 7 and actionscript 2. I am a little confused on how to update my scripts to make them work. Can anyone help or let me know where I can find comprehensive online resources th... more >>
loadMovieNum problem help please?????????
Posted by MAXMENDEZ at 1/14/2004 10:27:07 PM
HI
I want to load a swf like below
This works
loadMovieNum (dbArray.link+".swf", 2);
However if i try to pass in a variable like below it will not work
loadMovieNum (dbArray.link+".swf?n=true", 2);
Can anyone help me please?????????????
... more >>
help with loadVariables with embedded MC
Posted by goddamthissignin at 1/14/2004 10:06:17 PM
I have read through almost every posting to the forums on this with little success so I figure I will try and give my specific situation and see if I can get a detailed response.
Here is the website structure
background.swf.......................................................................... more >>
Please Help... reffering to duplicate using names in array
Posted by exorÂș at 1/14/2004 9:38:14 PM
ok... i really need help on this one.
this is what i'm trying to do. i have a MC that i duplicate on stage, and i want to refer to the duplicates' name using an Array so i may pass it values. but it's not working.
my code.
dupArray = new Array();
tempYAxis = header._y;
for (i = 0; i < s... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Bad idea to use While() loop for a preloader?
Posted by Adam Bragg at 1/14/2004 8:56:18 PM
I have a loop running until a movie is fully loaded but I keep getting
errors saying that there is a script making my movie run slow. Does
anyone know if it is a bad idea to use a loop rather than the standard
technique of using the timeline to loop a preloader?
There is some code below to ... more >>
Importning text problems
Posted by PEKA at 1/14/2004 8:35:48 PM
Trying to import text via an external .txt file.
Following problems:
1. It works when i test it but not after uploading. The .txt -file is in the same directory.
2. All local characters "å, ä and ö" becomes squares.
I did post one of the problem in the general forum but i guess it should... more >>
scrolling text MC
Posted by RobbieRobot at 1/14/2004 8:35:48 PM
I have one scrolling text MC that works. when i duplicate everything (linkages, instance names and clip parameters) and make another with different text, it displays the correct new text, yet it won't scroll.
i've been working on this for 2 weeks. i've double checked everything and can't figure ... more >>
Expand or Collapse Tree branch?
Posted by LI Jedi guy at 1/14/2004 7:45:31 PM
I am using the FTree component that came with the "Flash UI Components Set 2" component set...
Is there an actionscript command to "remotely" collapse or expand the tree at any given branch in the tree? (without you actually clicking on the tree)
... more >>
saving information onto a hard drive
Posted by ajlohman at 1/14/2004 7:14:06 PM
Help!
First off, I'd made a flash movie with different text fields.
I'm planning on running the flash movie as a .exe offline and saving the information that people enter to a folder on that computers hard drive.
Is this possible?
... more >>
Trouble with arrays from external text file
Posted by userid at 1/14/2004 6:45:31 PM
I'm trying to display an image from an array that is stored in an external text file.
For example, I have an image directory that has 4 jpgs, named 1.jpg, 2.jpg, 3.jpg etc..
my textfile, imagelist.txt reads as follows:
&txt= 1|2|3|4
My actionscript is:
loadVariablesNum ("imagelist.txt... more >>
Change a sounds tone (Ex. E to F) with ActionScript?
Posted by theSquares at 1/14/2004 6:05:54 PM
Hi!
For a project of mine, I'd thought of a plan to assign sounds to a lot of keys on the keyboard, so that you can play a sound when you press a key. It requires a lot of space to import various different sound files - one for every key - so I was wondering if you could change the tone of a soun... more >>
The "&" character problems
Posted by abeconnally at 1/14/2004 5:38:00 PM
I am trying to read a text file into a flash movie. Unfortunately, if the text file contains the "&" character, it will not read it in. What do I do?
... more >>
flash menu calling asp file
Posted by shadow0314 at 1/14/2004 5:23:53 PM
I am just trying to get a simple flash menu that has links to my normal pages. But one of my links is an asp file and it returns the page code and does not load the page.
here is what i havwe in the action script:
here is one of the normal links for the consulting service
getURL("Servicescons... more >>
HELP changing component focus border color
Posted by Alejandro Ramos at 1/14/2004 5:09:47 PM
Hello,
I have a datagrid v2 component that I have been able to customize changing
the scrollbar skins and some styles... But I can't find the way to remove
the green border that appears when the datagrid gets focus.
This is what I have so far:
dealersgrid.setStyle("rollOverColor", 0x43455... more >>
RANDOM MOVIE HELP !!!!!!!!!! ahhhhhhh !!!!!!
Posted by misscox at 1/14/2004 5:00:14 PM
Please can someone help me?
I have a flash movie. In that flash movie I have a blank movie clip positioned at x: 206 y: 242. I have named the movie clip instance "container".
I also have a folder called externals in which I have 6 .swf files that I am trying to play randomly into the movie cl... more >>
cannot omit a comma from user input on AS.
Posted by Koozilla04 at 1/14/2004 3:54:43 PM
Hi,
I have been (unsuccessfully) trying to build a calculator that only accepts numbers in the text fields. I have been using:
article.restrict = "0-9"
article.restrict = "^$"
article.restrict = "^%"
article.restrict = "^,"
the code omits the $ and %, however, the comma is still working - an... more >>
Special Characters in Component's String-type variable
Posted by drailer at 1/14/2004 3:00:58 PM
Hi,
I have a component that has a string variable which I put text in, using the parameters window... I would like very much to be able to go into the parameters window of the component, type THING\rTHING or "THING"\r"THING" etc, and be able to have two lines stacked on top of each other. Is this... more >>
Training separate swf's together
Posted by Screenweasel at 1/14/2004 2:52:17 PM
Hello everyone.
I have two separate files; one an introduction movie and the other being the main movie. When the intro finishes, I want to tell Flash to go play the next movie. Any advice as to how to do this?
Thank you.
-screen
... more >>
Opening an HTML page into a frame
Posted by Helen_Hackwell at 1/14/2004 2:49:38 PM
Hi, this is probably quite simple, but any help would still be appriciated.
I have a SWF menu in a frame, when a user hits one of the buttons I want it to load another html page into a different frame on the same HTMl page.
Can't get my head round it?
Thanks
Helen.
... more >>
Can you make list boxes wrap text so information goes onto the next line?
Posted by GrahamStudio21 at 1/14/2004 2:04:01 PM
Can you make list boxes wrap text so information goes onto the next line? instead of keep going past the outside of the width of the box.
cheers 4 any help.
... more >>
placeholders within placeholders
Posted by Mhunki at 1/14/2004 1:31:47 PM
My main movie loads a new movie into a placeholder using the loadmovie command, the movie that is loaded also has a placeholder and a movie loads within that. I can see the first movie, but not the second when I publish. Can you use nested placeholders like this or does it only work with one off the... more >>
Swap Depths of Target Loaded Movie Clips
Posted by dprovidenti at 1/14/2004 12:51:58 PM
Can anyone help?
I'm using buttons to load external draggable mc's into the movie where the buttons are located. I'm trying to swapDepths of these mc's with no luck. I've tried coding the external mc's root timeline, the mc's themselves, I even tried making the mc's buttons and coding them, and n... more >>
Time delay in timeline??
Posted by jparkandschweppes at 1/14/2004 12:17:37 PM
Dear all,
I'm new to this forum and need help. I'm making a webpage in Flash MX (I don't know html) and have the intro and the webpage saved as separate files. I have copied the intro into the webpage file so they're both in the same file, on the same timeline. This is where my problem comes in: ... more >>
Export in first frame destroys my preloaders! - component problem
Posted by fullyarmed at 1/14/2004 12:05:55 PM
Evening all,
Does anyone know of a way I can get around the fact that any movieclips that
display inside scrollpane components in Flash MX load into my movie before
anything else? This is breaking my preloaders, since x hundred Kb of movie
clip appears before anything that I put into frame 1,... more >>
geturl in dreamweaver- help
Posted by toehold at 1/14/2004 11:42:38 AM
please help
I have produced serveral flash movies with buttons on each - then placed these onto a page into dreamweaver.
The problem I have is what action scipt to use so that each button goes to a specific page (within my site) in dreamweaver - I have tried e.g
on (release) {("http://my ... more >>
how do i put a mask layer ABOVE dynamically created objects?
Posted by sneakyimp at 1/14/2004 11:03:45 AM
i have created some actionscript and a couple of symbols that create a very pleasing sparkle effect. i would like to modify my FLA so that these sparklies ONLY appear on a dress (like sequins or something) on a character on my stage. these characters are going to be some unusual curvy shape and wil... more >>
Communication between SWF files
Posted by MartinHill at 1/14/2004 11:01:40 AM
Hi, wondering whether anyone could help me?
I have two SWF files running on the same html page, when a user clicks a button on one of them I want the other to move to a different frame.
I have looked at using LocalConnection, but I really need it to work on Flash 5 player.
Any advice would ... more >>
actionScript tutorial?
Posted by geut at 1/14/2004 10:54:06 AM
where can i find some kind of a tutorial about actionScript? pls. thanks
... more >>
SWF fails to externally load JPGs from Internet!!!
Posted by tuyle at 1/14/2004 10:14:15 AM
Hello all,
I have a page contain a SWF. This SWF will externally load JPGs, step-by-step, load this JPG and display for a while, then users click next to load another. Because the size of JPGs are quite big, about 150Kb/JPG so when I run from local (HDD or local webserver), it loads and display a... more >>
button: fade in/fade out
Posted by iota at 1/14/2004 8:50:28 AM
below are the actions i've been using to do a button fade in/fade out.
action on frame 1:
McName.onEnterFrame = function() {
if (fade) {
this.nextFrame();
} else {
this.prevFrame();
}
};
stop();
action on button:
on (rollOver) {
_root.fade = true;
}
on (rollOut, dragOut) {
_root.f... more >>
Is there a way to + number in a shared object?
Posted by - = v i p e r = - at 1/14/2004 8:48:23 AM
If you have a textfield like a scoreboard with the number 10 you can use:
btn1.onPress = function() {
_root.scoreboard += 5;
};
to add 10 points to the scoreboard.
Is there a way to do the same if you have a shared object?
Thanks.
/Andy
... more >>
hashtable
Posted by martinhof at 1/14/2004 8:26:44 AM
is there a kind of hashtable in Actionscript? Or an key, value Array?
Thanks for help
Martin
... more >>
Keep radio button state/value across frames?
Posted by atomicslr at 1/14/2004 7:10:27 AM
Hi -
This is probably stupid/easy, but I can't figure out how to save the state/value for radio buttons across frames. I've found posts mentioning that this can be done using setValue, but no examples of how to do it within the radio button component, and I'm stuck.
I need to modify the Flash... more >>
Script to invoke html "mailto:?" for a button
Posted by Simm3 at 1/14/2004 6:51:07 AM
I have a button (no text, just a graphic) in an .swf movie to which I want to attach the html "mailto:"
behavior when it is pressed so a blank e-mail form (from a browser) is presented to the user. I can
achieve this desired behavior using a line of dynamic text as a "link" with Actionscript , ... more >>
Slideshow help!
Posted by Drmres at 1/14/2004 6:12:02 AM
Hi,
I have read through every post I can find regarding automatic slideshows but none have provided any solution. In Flash MX Pro, how do you make a slideshow which pauses between slides using the actual slideshow functions of MX?
As an example, if you open "presentation_finished.fla" which ... more >>
Dynamic textfield "refreshing"
Posted by media_muse at 1/14/2004 6:05:06 AM
Hi, I'm fairly new to actionscript, really need help with the following problem:
I have a ListBox on stage with hard-coded items, when the user clicks on the item, the text is displayed from the database in the dynamic textfield, also on stage. The textfield has a scrollbar, but if someone scroll... more >>
help with objects facing other objects
Posted by Dark Lightning at 1/14/2004 5:49:00 AM
Hi
I have two objects in my flash and i want one of the objects(object2) to follow the other(object1). i've set object1 to move around (with the arrow keys) in a "car style" fashion that you see from a birds eye view. I am having trouble getting object2 to look where object1 is. here is the sourc... more >>
Loading external action script
Posted by h NO[at]SPAM ppy at 1/14/2004 5:11:22 AM
Hey,
I was just wondering if its possible to load and run actionscript from a text file
Many thanks in advance...
smile :)... more >>
swf file does not play like the test movie
Posted by sillyboose at 1/14/2004 2:55:10 AM
I have a really simple four slide slide show I am using to learn about action scripting, etc. In frame one I have the action gotoandplay(46); . It works as expected when I do the test movie or test publish, but ignores the gotoandplay command when I publish the movie and run the .swf file. Any id... more >>
Automatic Slide Show
Posted by mimpoz123 at 1/14/2004 2:46:22 AM
Hi there Flash Guru's!!
I got this from a tutorial and it works great. It flips through a folder of images and they fade out one at a time. The problem is that I want it to automatically play (and continue to play forever) when the movie starts. But this code tells it to play if you press a bu... more >>
can i stop sounds from everywhere?
Posted by carissa NO[at]SPAM asria.org at 1/14/2004 2:43:22 AM
i've got a sound problem in my flash animation, i have put sound in the movie clips and buttons in different scenes, there are many scenes in the animation, they will run one by one.
i want to control the sound (sound on/off ) only by pressing the button once at the very beginning, i tried the a... more >>
get a variable from the command line?
Posted by sillyboose at 1/14/2004 1:03:17 AM
I want to to pass a number to a movie by appending it to the command line that invokes the player. For instance, I want to the movie to start at frame 101, so I would call the movie from html as:
<a href="movie.swf?101>
How do I get that variable once I am in the player? Is there an action s... more >>
Use maximum framerate?
Posted by Silverline at 1/14/2004 1:02:27 AM
Hello,
I was wondering if there is any reason *not* to use the maximum framerate (120 fps) in game development. (bugs, unexpected errors etc.)
This post by Colin Moock got me thinking:
fps is like a speed limit: you can tell a movie not to play faster than the specified fps, and all machine... more >>
Email contents of a form
Posted by clkent22 at 1/14/2004 12:30:02 AM
Greetings all!
Just wondering if anyone knew of a way to take data gathered from a form and email it out. I have the form all set up, but am just trying to figure out how to email it to myself when the user clicks "Submit". I'm still developing my ActionScript skills, but if someone could just ... more >>
scrollpane doesn't scroll enough
Posted by Stuart Hume-Lipinski at 1/14/2004 12:28:02 AM
Hi
I'm using Flash MX 2004, and so far am getting along OK, but have come across a problem that I can;t seem to solve.
I have a scrollpane, into which I've loaded a swf file - a simple 10 frame thumbnail gallery, with frame one as the index, and each of another 9 frames as full size pictures. ... more >>
|