all groups > flash actionscript > january 2006 > threads for thursday january 26
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
Name Movie Clip Instances in AS?
Posted by eodej at 1/26/2006 11:59:37 PM
I am new to Flash, using Flash 8 Pro, and I can't remove movie clips from the
stage once they've been loaded. Is there a way to give an instance name to a
movie clip through ActionScript alone so that I don't have to place it on the
Stage at authoring time? (And would this make the loaded mo... more >>
Set a Flash variable from getURL()??
Posted by GmR at 1/26/2006 11:48:41 PM
I want to get a value from javascript and set a variable to it inside Flash. I
can't thik of anyother way other than getURL(), though this isn't quite there
either.... (I am unable to add javascript code into the accompanying HTML
page as I have no control over it).
Here is my attempt,... more >>
Delay MovieClip X Seconds
Posted by dj pharaoh at 1/26/2006 11:01:00 PM
I am trying to have everything happen on the first actions frame of my movie.
Therefore I am loading all movie clip instances from there. The problem is
that I would like to have a couple MCs load after a few others. Say my
interface loads and takes 3 secs. Can I tell my main logo to load ... more >>
insert an enter a dynamic field through action script
Posted by bso_71 at 1/26/2006 10:44:57 PM
How do I insert an ENTER in a dynamic field through action script??? I want to have two lines of text and I want to insert them through a variable.
Thanks!
Brenda Sanchez.... more >>
Rrrrrr...! ._visible (Movie Clip)
Posted by G_Swank at 1/26/2006 10:39:20 PM
I have two movie clips. Clip1 and Clip2. Clip1 contains a button called
btn_one. Clip2 moves up and covers Clip1. BUT - the mouse still picks up the
BUTTON behind Clip2 which is on Clip1.. Both of these are in a MASK layer.
What I am trying to do is set it up so when Clip2 completely covers ... more >>
Maximum LocalConnections?
Posted by batson_nate at 1/26/2006 9:54:08 PM
I'm creating a media player system that uses 3 swf files that communicate with
each other.
Users these days have the same web site open in multiple tabs. I want the 3
swf files to work with eather other uniquely on multiple pages. IE: Page one
has swf 1-3 talking with themselves, page... more >>
gotoAndPlay question
Posted by irthy at 1/26/2006 9:48:24 PM
I have a movie clip that is animated and appears to act like a button except I
can't get the on (release) gotoAndPlay scene1, frame thing to work. I've tried
the _root etc but all it does is absolutely nothing. I just want to have the
movie act like a button and go to a specific frame on the... more >>
Saving to An Excel File
Posted by sphoenixee at 1/26/2006 9:42:44 PM
Hey everyone,
How does one save the value of a variable to an Excel/<spreadsheet of any
kind> file? Also, is it possible to do this without using CGI, Perl, js, etc
non-Flash scripts?
If you could assist me in how to save the value of a variable to *any* type of
file that'd be good as ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
enlarge movieclip on mouseover - with AS
Posted by Anthony Mead at 1/26/2006 8:25:08 PM
Hi there.
I have a movie clip (100px100px) that I want to enlarge to 150px150px on
mouse over a button and reduce back to 100pxx100px on mouse out. I would
also like it to gradually tween up and down to the sizes rather that jump
from 100px to150px at once if possible.
Any help, pointers... more >>
clip._width bug?
Posted by marcinelli at 1/26/2006 7:49:58 PM
hey all,
can someone tell me why this outputs 0 rather than 260?
tia,
michael
_root.createEmptyMovieClip("mc", 1);
_root.mc.loadMovie("test.jpg"); // test.jpg h:202, w:260
trace(_root.mc._width);
... more >>
gotoAndPlay? a streaming .flv?
Posted by sammymaudlin at 1/26/2006 7:35:59 PM
I can successfully create and publish a Flash player component within an .swf
file. However if I don't want it to play until further down the timeline and
only "onRelease" I can't figure out how to trigger it. Right now I'm using
onRelease gotoAndPlay the frame that the component is on. But... more >>
Remove Movie Clip
Posted by brunel_96 at 1/26/2006 7:09:50 PM
Hey,
I really don't know how to work this one:
on(press) {
startDrag(this);
}
on(release) {
stopDrag();
if (this._droptarget == "/drop") {
_root.allCorrect +=1;
_root.removeMovieClip(this);
}
}
When the movie clip is dropped onto the 'drop' target I want it to up t... more >>
Change Box Color
Posted by Jadeivy at 1/26/2006 6:58:37 PM
In this application (thanks again to NSurveyor), a series of boxes are
connected with a red or green line.
These boxes represent computers that are connected in a network (for training
simulation only).
A green line means the connection between the boxes are good, while a red line
means ... more >>
4 FLV questions
Posted by Octopus Deign at 1/26/2006 6:39:05 PM
hi there,
can you guys please answer some FLV questions ? i'm tring to build a similar
FLV player to the one Google Video has. here is a quick reference, just to ease
your searches : http://video.google.com/videoplay?docid=2428643356101239067.
---
---
1) you can see that the movie is... more >>
Accessing linked library items anonymously at runtime?
Posted by Senor Citizen at 1/26/2006 5:46:05 PM
Thanks in advance for any help you may provide.
Using the Flash JavaScript API I can easily access items in an FLA's library
and construct an array of references to the items with linkage IDs. This is
really handy at dev time but I'd like to be able to do the same thing at
runtime.
I h... more >>
XML problem
Posted by amyinbrooklyn at 1/26/2006 5:34:22 PM
I'm sure I've made a mess of this and it could probably be done with a lot
leaner code but this is what I have:
//Create XML object
var xmlBHR:XML = new XML(xml);
xmlBHR.onLoad = initXML;
xmlBHR.load("BHRdesigns.xml");
xmlBHR.ignoreWhite = true;
//define xml variables
var xnDesig... more >>
Direct Linking
Posted by Zatechz at 1/26/2006 5:08:17 PM
So I'm sure many of you have been to www.thefwa.com and noticed that when you
go to, for example, the http://www.thefwa.com/?app=aboutus&id=17 page, there is
a button in the top right that says "Direct Link" which then shows how to
access that specific page.
I was wondering how a flash ap... more >>
creating multiple instances using a for loop & concatenation
Posted by Jay-Bizzle at 1/26/2006 4:41:28 PM
Hi there . . .
I'm trying to create multiple instances of a class I wrote (which extends the
MovieClip class) using a for loop. I get an error when I check the code saying
"identifier expected."
Any suggestions? Here's the code:
for(var i:Number = 1; i<=4; i++){
var "novo_"+i... more >>
combining button double click / drag
Posted by dirkness at 1/26/2006 4:21:38 PM
Hi
I'm trying to combine a mc button's drag functionality with a double click
functionality.
I have the actionscript to do both - with the drag aspect working fine - but
I'm having problems getting the double click to work too - basically meshing
the respective scripts.
Tried varia... more >>
Server problem
Posted by qmadd at 1/26/2006 4:07:13 PM
Hello everyone.
I have a small problem. i have developed a small game in flash 8, that uses
php and mysql. the game works perfectly on my local machine. i have used this
command:
SendDets.sendAndLoad("http://localhost/scripts/update.php",respons,"POST");
it works very fine, i can write int... more >>
Using URL links in Text
Posted by badmonkey91 at 1/26/2006 4:06:53 PM
I just cant figure it out, how can I make a text box created with the
createTextField(instanceName, depth, x, y, width, height)
command be a hyperlink??... more >>
Reset ChechBox
Posted by toofastdad at 1/26/2006 3:53:45 PM
I am developing a quiz with 20 questions, each question has 11 checkboxes. When
you advance to the next question on frame 2 the checkboxes that had been
selected are still populated. How do I clear the selections when you click on
the next button. I have tried using cb.setValue(false); without... more >>
resize dynamic images
Posted by Sideburnt at 1/26/2006 2:47:26 PM
Hi
I've been trying for what seems like ages, I've googled and chased up mystics
bearing false fruit.
Anyway, basically i'm putting together a stock image site for work and am
having great deal of trouble in resizing images once they have been brought in
dynamically. I am trying to l... more >>
Shared Objects
Posted by rodsil at 1/26/2006 2:28:26 PM
Hello,
Is it possible to set flash shared objects at the session level? In other
words, is it possible to have the shared object removed if the user closes
their browser. I see sharedObject.clear(); but can't think of a way that it
can be invoked if the user were to close their browser. ... more >>
Window component not displaying images
Posted by DMennenoh *TMM* at 1/26/2006 11:44:25 AM
I have a window component that loads an swf file. Thw swf that it loads
grabs images from a folder on the server and displays them. Locally the swf
works perfect, and when the swf is loaded into the Window component it
works. When I play it online however, the swf plays properly within the
w... more >>
if else statement help!
Posted by WorshipMedia at 1/26/2006 4:07:35 AM
To my knowledge, this seems like it should be right, but it is not testing the
_currentframe script before it goes on to the else statement. I'm fairly new
to actionscripting, so any help will be appreciated, or if you have any other
ideas how to bring one movie clip in while sending another ... more >>
Re: Dragging and changing an mc's timeline position
Posted by boxershort at 1/26/2006 1:59:56 AM
You rock! Thank you very much! Everything is working great. I didn't realize the difference between mousedown and press. Imagine that!... more >>
Pause timeline AND sounds? Simple?
Posted by PeaceNic at 1/26/2006 1:57:10 AM
I just want a toggle button that will pause the animation AND sound. Everything
I've found seems to be for one or the other.
I have several buttons, Pause, Replay, Next, Previous and an long animation
with many scenes, I know how to make the buttons jump back and forth between
scenes or ke... more >>
regarding set parameter
Posted by pythonluv at 1/26/2006 1:28:21 AM
I was wondering..
I can set parameter of the my component by
instanceName.maximum = "33"
instanceName.width = "100"
Now.. I want to create universal function
something like..
function setParameter(instanceName:string, instanceParameter:string,
val:String) {
ev... more >>
No sound playing after preloader
Posted by albertalaan at 1/26/2006 1:25:16 AM
Hello - I am in desperate need of help. I have 3 movieClips that I've tied
together and it starts out w/ a preloader. The movie after the preloader plays
with no sound. The rest after that movie is fine. I tried switching the
sequence of the movies just to test, and I'm getting the same proble... more >>
Actionscript to get the current page url?
Posted by GmR at 1/26/2006 1:12:04 AM
_url retrieves the url for the swf (i.e. it includes teh name of the swf file).
Is there a way inside Actionscript to retrieve the current page's url? (i.e.
with the page's file name?)
Thanks
Geoff
... more >>
selecting a node-set from an xml object
Posted by bsidemedia at 1/26/2006 1:04:36 AM
Once the xml has been loaded and assigned to a new XML object I would like to
select a node set (in this case it is a list with multiple list-entries as
children) to use as a context for my XPath. I am attempting to improve
performance by trimming the context down from the entire doc.xml to a ... more >>
how to create textfields in Flash 4?
Posted by PogiEnGanda at 1/26/2006 12:00:00 AM
:confused;
how are textfields created in flash 4?... more >>
masking MC in loaded movie with AS
Posted by rohai at 1/26/2006 12:00:00 AM
Hi,
I have a MC named slider, where I load image1.swf into mc_holder1. In
image1.swf I have two layers. Layer No. 1 has an MC named b&W,into which an
image is loaded and I want to be shown when masked and in layer No. 2 has a
visible image.
What I want to know is it possible to mask MC... more >>
|