all groups > flash actionscript > august 2007 > threads for monday august 27
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
resetting _root.onEnterFrame;
Posted by lostinscript at 8/27/2007 11:38:55 PM
Hi,
How can i reset the '_root.onEnterFrame' of the following script? I'm
basically trying to get the movieclip to move away from the cursor. I can get
it to do it the once, but the first time i cant get it to move.
here is the script..
thanks for any help...
accel = 30... more >>
Precedence of dragable _mc's on layers
Posted by windsurf88 at 8/27/2007 11:16:17 PM
The stage has 5 (or more!) dragable movie clips. I have them starting and
stoping the drags correctly but the layer / movie clip/ object hierarchy stays
the same. but they can get piled on each other. I would like the current
dragged MC to "jump" to the front of the stage.
Any ideas in ... more >>
AS2: Sending URL string, and recieving in flash on seperate page
Posted by dzedward at 8/27/2007 10:22:40 PM
i'm trying to send some data from a list component to another web page, and
have flash collect it and take you to an appropriate frame... this is what i'm
using to send the data
getURL("http://www.myothersite.biz?seminar="+list_box.selectedItem.firstChild.fi
rstChild.nodeValue, "_blank");
... more >>
external .swf question
Posted by crila at 8/27/2007 10:07:12 PM
if i load an external .swf is there anyway i can make the loaded .swf control
the parent .swf's timeline? basically, when the loaded .swf gets to the end i
want it to load another .swf and move the playhead to a different point on the
parent .swf's timeline. any help or pointers would be awe... more >>
Calling functions / setting variables in loaded SWF
Posted by ScottEOsborn at 8/27/2007 8:30:00 PM
You know how you can create a Movieclip object, add a function or variable to
it, then call that function or change that variable from within the SWF that
includes it? I wanna be able to do that, only with SWFs that are loaded at run
time.
My "main" SWF is simply a menu-type thing. The u... more >>
targetInstanceName ???
Posted by D3 at 8/27/2007 8:29:34 PM
I've seen script that uses this targetInstanceName and I'm not sure how it
works. I'm trying to use the following code but don't understand how or where
to reference either a external SWF or a movie clip that is on _parent.
Can anyone help me with this? Thanks in advance!!
// Public: pT... more >>
How to access dynamic movie clips in a loaded swf
Posted by JuliaO at 8/27/2007 8:23:34 PM
Hello,
I have a main movie file that loads a swf through loadclip.
There are several dynamic movie clips in the library of the loaded swf (all
set to export in first frame).
I'm trying to create a popup window (using the Window component) by using code
in the main movie to popup cont... more >>
One text field different content...
Posted by jlucchesi at 8/27/2007 7:52:08 PM
Hi -
I have a single text field (dollar_t) that must show a different dollar amount
for each button on the stage. No problem - I just wrote a bunch of "onRelease"
functions - one for each of the 10 buttons - with the correct amount
"hardcoded" in and it looked good. But then the customer ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
MovieClip to timeline
Posted by Gumbo Al at 8/27/2007 7:34:44 PM
In AS 2.0 I used to refer to the main timeline with _root. I can't figure out
how to do it in AS 3.0. I have a button in a MC that, when clicked, should
cause to main timeline to gotoandplay the frame withe the label "s1". Any help
is appreciated.
Al
... more >>
Only play once per loop
Posted by shurleynova at 8/27/2007 7:12:44 PM
I have a keyClass handler that plays a sound based on variable in each loop of
the script. The problem is I only want the key to work one time each loop.
Any ideas. I have attached the code for reference.
var keyListener:Object = new Object();
keyListener.onKeyDown = function() {
... more >>
How to trigger datagrid doLater()
Posted by fyicc at 8/27/2007 6:38:20 PM
I'm developing with Flash 8. I'm trying to figure out what conditions will
trigger the datagrid to call doLater(). I am not dynamically creating a
datagrid with "new" or createObject(). The datagrid is already placed on the
stage and I'm simply adding columns and populating it with data thr... more >>
movie clips stop rotating
Posted by StupidHuman at 8/27/2007 6:22:52 PM
I have a rotating image (swf files) array on http://www.applefcu.org that is
displaying properly, but dies after an indeterminate amount of time. I have no
idea why the bitmaps aren't being cached so that the files would continue to
appear. There is no logical explanation for the script to ... more >>
Noob Question about string and Movie Clip symbols
Posted by Demaestro at 8/27/2007 5:44:09 PM
So I have an array that has the instance names of some movie clip symbols....
I want to grab one at random and perform operations on it.
So I set an array with the string names and grab one at random.
var log_array:Array = ['truckStop_mc', 'blackJack_mc'];
var index:Number = Math.round(... more >>
I need help with dynamic movieclips and Arrays
Posted by ramdak at 8/27/2007 5:38:01 PM
Hi,
I´m using an XML to generate mc´s, each mc (exported from library) comes with
an empty array. The thing is, that I attach it and have to populate the array
with the images in the xml. I tried everything I know but it does not work.
The mc´s are attached OK with teir text content...but... more >>
Mucho text, one Dynamic Text Field
Posted by Mr. Aztek at 8/27/2007 5:03:41 PM
Okay, it didn't take me long to fudge this and I'm looking for the insight I
know I don't have.
I have 30 instances, each with the attached onRollOver/Out functions. Now I'm
being told that in addition to that, text must appear in a field below, and
each instance must call a different piec... more >>
create form using cs3
Posted by adamon at 8/27/2007 3:19:45 PM
I have been searching through google and here to find a form tutorial using the
latest flash app-CS3, targeted to the latest flash player.
I already have the PHP code, now I just need to create the form. Is there a
good tutorial out there?
Thanks for any help with this.
Rob
... more >>
easy syntax problem (I think.. )
Posted by Eatstatic at 8/27/2007 2:57:04 PM
["print" + currentWork + "_mc"].x = 0;
This line of code aint working.... Can someone tell me why =) ??
... more >>
resize attached movie clip
Posted by Chris McLaughlin at 8/27/2007 1:35:41 PM
Hi,
I have a movie clip to which I attach several others always at the same depth
so one replaces the other. I was trying to change the size of the attached
movies by setting the ._width and ._height properties and also by using the
xscale without any luck. I finally experimented with a ... more >>
Why wont my hyperlink button work?
Posted by sirantonycartwright at 8/27/2007 1:31:05 PM
I want a button which has flashing text inside it. When i click the flashing
text, i want it to go to an url. My current error is:
1061: Call to a possibly undefined method addEventListener through a reference
with static type Class.
I really am confused!
Does anyone know why it isnt w... more >>
hitTest
Posted by triplebirch at 8/27/2007 12:34:40 AM
I'm using hitTest to see if a movieclip is touching another movieclip. The
problem is that one of the movieclips is a border and the other movieclip is on
the inside of it. Because of this hitTest returns true.
Is there anyway to use hitTest to see if one movieclip is intersecting the
'sh... more >>
Interactive Flash Video
Posted by paulwgrove at 8/27/2007 12:29:36 AM
--------------------------------------------------------------------------------
Hello,
Wonder if anyone could help me?
I am creating an interactive Flash video with hotspots.
I have my video in Flash and I have created the hotspots at different points
in the video. What I want to ... more >>
Is this possible
Posted by hurker at 8/27/2007 12:15:49 AM
I am creating a training program and i want the user to left click to create an
action and then right click to create another action. Is this possible and if
so what would the script for right click be. Do i need to add an action
script to the start to turn off the right click choices?
... more >>
Problem with "Flash8 Slide Presentation"
Posted by motiejuss at 8/27/2007 12:00:00 AM
I have created a Flash site using "Macromedia Flash 8 Slide Presentation". Can
somebody help me creating a simple preloader of this site? Because this action
script is not working:
ifFrameLoaded ("End") {
gotoAndPlay("Start");
}
gotoAndPlay(1);
This is an example for site wic... more >>
Path de tu flash
Posted by OnManu at 8/27/2007 12:00:00 AM
Buenos dias, me gustaria saber si alguien tiene idea de como se puede averiguar
el nombre del flash que estas ejecutando.
Pongo en situacion imaginemonos que quiero leer informacion de un xml que
tiene como nombre el mismo que el flash que ejecuto de tal manera que si cambio
el nombre del fl... more >>
|