all groups > flash actionscript > may 2007 > threads for thursday may 3
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
passing variables to flash movie
Posted by DanM. at 5/3/2007 11:37:37 PM
i discussed this in another forum that went dead and off topic, i still haven't
solved my issue.
i have a movie with is loaded with a preloader, an animation, and last frame
is the final layout with a menu. what i'm trying to do is on the index page i
want the movie to play from start to ... more >>
Prevent Consecutive Random Number Dups
Posted by Steelers at 5/3/2007 11:32:18 PM
Hi. I'm generating a bunch of random numbers between 1 and 5 and need to
prevent them from being the same back to back. I don't need a mutually
exclusive array. Duplication is all right - just not back to back. So
1,3,4,3,5,3,1,3 is okay but 1,3,3 isn't. Here's my code:
function insertRand... more >>
scrolling movie clip menue?????
Posted by atlanta_noah at 5/3/2007 9:48:01 PM
i need to find code or a tutorial that can show me the script to make a field
of movie clips (buttons) scroll up and down when a mouse over event happens at
the top or bottom.
thanks so much for your time.
example = http://www.nowconcentrate.com/ menue under "projects"
... more >>
Need help with homework
Posted by kristiehewlett at 5/3/2007 9:04:07 PM
This file can be downloaded from https://lamp.cpcc.edu/~klh46d02/kris/
Here is the flash and text file. In frame 10, I am moving all the object
names(l01-l08) to x_800. and when the 8th item is moved, I want to go to the
next frame. The following is the code entered into frame 10. Why isn... more >>
Windows Frustration
Posted by MA Creative2 at 5/3/2007 8:48:36 PM
Greetings.
About a year ago we did an interactive sales piece in flash that loads and
unloads different FLV files contained within SWFs for each section. It was
recently brought to our attention that you can only watch each video one time
on Windows based machines. Once you leave the secti... more >>
ActionScript that worked in Studio 8 fails in CS3
Posted by bsalles at 5/3/2007 8:40:50 PM
I have three lines in my code that worked just fine using the Flash/Java
Integration Kit when the movies I'm creating were built using Studio 8. I
upgraded to CS3 and now I can't publish. The three lines are:
import com.macromedia.javascript.JavaScriptProxy;
var proxy:JavaScriptProxy = new... more >>
moving variables into a command?
Posted by Douglas Evans at 5/3/2007 7:22:17 PM
Hi,
I could probably find this answer by searching but I do not think I am using
the correct terminology. I hope this is clear enough for some help.
I have set a variable in a movie called myVar
I concoct it on another level and trace it:
trace("_parent._parent." + myVar +"nextFrame())... more >>
flash xml data loading and unloading specs
Posted by animatix-mk at 5/3/2007 6:36:10 PM
hi i am trying to get specification information that i cannot find anywhere
else.
i am working a large flash project
and i would like to load xml data into the same swf object/movieclip
repeatedly.
as i do not want the previously loaded items to unload i need to know if
doing this ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Easy timeline question
Posted by TaylorTay619 at 5/3/2007 6:27:55 PM
Hey peeps! I have a question about the time line. I have two buttons
controlling the time line one makes the time line go one frame forward and the
other makes the time line go one frame back. Now what I want to do is, if you
are on the last frame and you click again it will take you to the be... more >>
Wmode, overflow:hidden, Firefox, help!
Posted by liquidleaf at 5/3/2007 6:04:37 PM
Ok. I have a problem.
I have a video player that I'm creating that can be dynamically sized. The
SWF will reside in an absolute-positioned div that has overflow:hidden. The
SWF is set to not scale, and the viewable area is clipped by the div's viewable
area.
Ok, not a problem.
T... more >>
Resize Image Holder
Posted by ewon15 at 5/3/2007 5:35:09 PM
i have made an image gallery that loads in images from an external file using a
txt file to determine the total number of images. the images are either
horizontal or vertical (800x600 or 600x800). I have it where the images are
just named by number (i.e. 1.jpg, 2.jpg, etc.). How can I make it ... more >>
Number formating
Posted by swodiddy at 5/3/2007 5:12:47 PM
I'm trying to format an input field such that onFocusOut, it formats a number
string accordingly.
Example:
1000 = 1,000
or
50000 = 50,000
Can someone point me in the right direction? I searched the archives and
suprisingly found no references.
Thanks in advance!
... more >>
Complicated preloader problem (movie within a movie)
Posted by Rickard_Robbins at 5/3/2007 5:12:17 PM
I am using Flash 8 with AS 2.0
I have a 2 scene movie
scene 1 is preloader
scene 2 is main movie
scene 2 has a MC on the mains stage in frame 1. This MC loads another .swf in
frame 40 using hte loadmovie command
I want my preloader to determine when the loadmovie mc in sceen 2 is lo... more >>
Random movie clips
Posted by vpolite at 5/3/2007 4:45:06 PM
:confused; Thanks for reading my post. I have a script that randomly displays a
movie clip of a logo. As shown below:
function showLogo(){
var rndNum:Number = Math.round(Math.random()*11);
this.attachMovie("logo" + rndNum, "logo1_mc", this.getNextHighestDepth(),
{_x:0, _y:0});
}
setInt... more >>
Submit Button
Posted by radmidland at 5/3/2007 4:15:10 PM
I guess I do not know how to explain this very well so here goes again.
I have a simple form it only ask for the name, email, and comments.
I use Webhost4life to host my web site. I do not know what this line of script
should look like and they say they do nodo programing?
All I need is to f... more >>
help with loading new image from xml
Posted by dzedward at 5/3/2007 4:05:42 PM
i have an image carousel, images being pulled from xml..right now, when you
click the image, it slides over and some text appears also comming from the
same xml file.. xml set up like this
<?xml version="1.0"?>
<icons>
<icon image="image/Dunne_Lexan.crushed.png" content="Test" />
<icon i... more >>
How do I get connection to a database
Posted by kwartz2 at 5/3/2007 4:01:36 PM
How can I get connection to mySql database which stores movies? Please Help anybody... more >>
boundary for movie clips following the mouse
Posted by NickTheNameless at 5/3/2007 3:13:01 PM
here's my AS...
myInterval = setInterval(KBMOglobal,15);
function KBMOglobal () {
KBMOglobal1._x -= (KBMOglobal1._x - _xmouse)/10;
KBMOglobal1._y -= (KBMOglobal1._y - _ymouse)/10-2;
}
ok, so my movie clip follows the mouse around, with a small delay and the y
axis is slightly low... more >>
Recursion and variables
Posted by adam NO[at]SPAM blueapplestudio at 5/3/2007 2:59:53 PM
Here is my dilemma: I have a function where a handful of variables are set at
the top. Then, these variables are used to make two comparisons with if
statements. Inside each of these if statements, the function is called again
with new arguments. Attached is a simplified version of my prob... more >>
loading jpg via html before flv plays
Posted by ctrent at 5/3/2007 7:40:58 AM
for just 3 seconds before video and have the ability to change the jpg
image with html
thanks
... more >>
Easy way to make a scrolling ticker with clickable buttons?
Posted by Princess Toadstool at 5/3/2007 5:37:44 AM
I need to make a ticker containing lots of logos, they will be buttons as they
will each have a link. Is there a quick way to make this? The thing I am
talking about is similar to the ticker of faces on the top of this website:
http://www.bigbrother.3mobile.com.au/ Although mine will have a... more >>
how do i modify this existing shuffle array / randomiser ?
Posted by wAyStead at 5/3/2007 3:40:44 AM
hello !
some one on this forum posted the below code which has been perfect for my
requirements but i would
like to stop the randomiser from repeating previously played .swf files...
in laymens terms, ONCE this random file is played, do not play until all other
files have been played ... more >>
How do I make a rollover caption for each object in the actionscript?
Posted by gregtrek at 5/3/2007 3:19:31 AM
On the page http://www.kirupa.com/developer/actionscript/rotation_center.htm is
a rotating cube of balloons on each vertex. I was wondering how a separate
rollover text or caption could be implemented for each balloon. Any assistance
would be greatly appreciated. Thanks.
... more >>
scale external movie help
Posted by doinka at 5/3/2007 2:45:15 AM
How do you scale and external movie that is loaded?
[CODE]_xscale += (dropZone-_xscale)/5[/CODE] ... more >>
averaging values
Posted by aya::karpinska at 5/3/2007 1:57:39 AM
hi,
i would like to average the last 100 incoming mouse y values.
my code knowledge is quite limited, but i know i should use a ring buffer,
because i will onyl want the NEWEST 100 values (so value 101 overwrites value 1
in an array)
any advice on how to start?
thanks so much,
ay... more >>
Something's Wrong with my Code!
Posted by IreDevil at 5/3/2007 1:54:18 AM
Hi everyone,
I am creating a quiz that limit the user to 10seconds for answering each
question. After i added in my Timer MC and attach it onto the stage, i tested
it out. Upon submitting question 2's answer, the flash goes crazy. It will keep
playing itself to the next few questions witho... more >>
Mario Brothers tilescript
Posted by kristiehewlett at 5/3/2007 1:49:50 AM
I have a Mario Brothers script that I am using. The graphic file is laid out in
a picture of many 32 pica square images and has a testlevel.txt attached. Any
suggestions on how I can make an exit out of this game? Is there a way to
adjust the art file or text file to make a passage out of this... more >>
hit script
Posted by kristiehewlett at 5/3/2007 1:43:53 AM
I have a movieclip called man and a statue. When the man hits the statue, what code will make the timeline go to the next frame?... more >>
"If" with multiple conditions
Posted by kristiehewlett at 5/3/2007 1:40:04 AM
I have 8 items, and when they are all moved to _x = 800, I want the timeline to
move to frame 12.
Below I have the script I wrote so far, that isn't working. Please tell me how
to write this script correctly.
stop();
if ((_root.l01._x == 800)
(_root.l02._x == 800)
(_root.l03._x =... more >>
this keyword inside object
Posted by TimTee at 5/3/2007 12:00:00 AM
I'm using this:
imageLoader_listener.onLoadInit = function(target_mc:MovieClip) {
the only way I know how to access variables I set in target_mc is by using the
array access like this...
this[target_mc].theVar
but I can't use this inside an object because it refers to the object.
... more >>
Newbie button script question
Posted by Damansker at 5/3/2007 12:00:00 AM
Hi,
I'm very new to flash and actionscript so please forgive the question!
I want to create a frame advance button for a MovieClip timeline. But rather
than advancing one frame (using the .nextFrame command) can I make the button
skip, say, 10 frames at any point. And a back 10 frames bu... more >>
Hall of fame
Posted by MurMeeKeer at 5/3/2007 12:00:00 AM
Hi all,
How do I save the hall of fame results for a game? I don't have much experience in server side scripts. Please help me.... more >>
|