all groups > flash actionscript > february 2005 > threads for monday february 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
how to view all the code
Posted by antonyx at 2/14/2005 10:55:28 PM
how do you see all theactionscript for the whole movie, i want to see it all... more >>
get width and size of dynamically loaded JPG
Posted by G.RILLA at 2/14/2005 10:18:24 PM
I have a movie clip that I want to be resized to the dimensions of the loading
JPG file. Does anyone know how to get these values, pass them to the movieclip
instance and have it resize first, then display the image?
... more >>
Type Casting?
Posted by ONE_MASTERT at 2/14/2005 10:13:06 PM
in java if you have a float you want in a int you can type cast it
(int)float
is there a way to change a string from an input text box in flash from a
string to an int?
right now when i say
box1 = 12;
box2 = 15;
box1 + box2;
it outputs 1215
... more >>
print text
Posted by Stasa at 2/14/2005 10:11:56 PM
Enyone know how to print text from dynamic text field. Text is large and I need to print it all. Thanks for help... more >>
Need ideas how to load an Accordion component
Posted by Mark.P. at 2/14/2005 9:13:42 PM
I have an accordion component that has 4 children. Each child is loading a
movieClip that has more components in it. All together there are about 8 - 10
components being loaded via the accordion on the first frame. So needless to
say this is taking a few seconds to load and display. Is the... more >>
Drag and Drop with end result feedback
Posted by Eric K. at 2/14/2005 8:43:59 PM
I have built a drag and drop exercise that has four items being draged to 4
hit areas. When all four are done correctly i want to immediatly display
feedback to the user without them having to do anything further. What is the
best approach for doing this.
In the past i have done this u... more >>
Newbie: Error Opening URL
Posted by dtburdick at 2/14/2005 7:46:12 PM
It works in the tutorial, but for some reason I can't get it to work for my app.
No matter what I do, it says 'Error opening URL' ... more >>
little help...
Posted by shpoonman at 2/14/2005 7:37:09 PM
So a little help please. I am building a little navigation using movie clips.
I set it up so when you mouseup on a button it changes the visibility of a
movie clip which will then take you to a place. But its not working. I dont
know is this is the best way to go about it or not. But I ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
problem with variable instance names
Posted by (_seb_) at 2/14/2005 6:32:46 PM
Hi all
Here's the piece of script I'm having problems with (explanations of the
code's context follow):
_global.mytarget = any instance name;
sbx = 2;
lbx = 2;
(...)
switch (mytarget) {
case ["small_box"+sbx]:
mytarget.duplicateMovieClip(["small_box"+sbx],0,);
sbx = sbx+1;
br... more >>
External .swf Fade-In Effect
Posted by vibes_32 at 2/14/2005 6:02:49 PM
Ok what I am trying to do is load an external .swf into an emptyMovieClip and
have it fade from _alpha =0 to _alpha =100. Here is the code i have thus far:
this.createEmptyMovieClip('mcHolder', 5); case1_btn.onRelease = function() {
mcHolder.loadMovie('caseStudies_AAA.swf'); // Control Alph... more >>
fla
Posted by PDS at 2/14/2005 5:57:33 PM
the server is back online now
here 's the fla http://www.van-dael.be/testCondoleren.ZIP
Peter
... more >>
XML/Array Help
Posted by BillG-Chicago at 2/14/2005 5:56:44 PM
I'm trying to use Actionscript to parse an XML file and - when the user clicks
on a relevant movice clip as noted in the XML file - to go the relevant url. It
seems to work fine, except that only the final url is stored. Do I need to
create an array of urls to get this to work? Any help on wha... more >>
load external movie through tracking x pos
Posted by palmps at 2/14/2005 5:47:50 PM
i have a background, a movieclip rectangle, that is moving and resizing based
on a clicked button. What i can't figure out is how to track the rectangle
(MC1), and have actionscript load a seperate movie into a movieclip holder
(movieholder). When i trace, the value goes to 320 and the if ... more >>
shuffling these clips#!!!!!
Posted by vikta at 2/14/2005 5:24:55 PM
hey guys...
basically what i need is for these 'tile' movie clips to shuffle position
everytime i press the green button but i cant do it...
also each 'tile' should have a different number on it but obviously because
the tiles are all instances of the same movie clip, what i do to one ha... more >>
SWF help
Posted by pacodub at 2/14/2005 4:53:33 PM
I need help with something I don't know if its possible to do.
I am trying to link 3 swf is there a way to do this.
For example: I have before. swf, movie.swf, and after.swf
I want to have before.swf to play after its done I would like to have
movie.swf play, when that is done haev aft... more >>
loadvars testing help
Posted by bill_sr at 2/14/2005 3:59:56 PM
I have a couple of questions about using a loadvar object. I am 'testing'
using a url encoded text file that simulates the (server) script output. When
I try to loop through the loadvar to get the names / value pairs, I also get
the onLoad function . I understand that they are all proper... more >>
bitmap fill at runtime
Posted by vanessaemma at 2/14/2005 3:54:03 PM
My program allows a user to dynamically 'draw' a shape, and as the shape is
drawn, I use beginFill to fill in the shape with a color. Is it possible to
repeat a bitmap as the fill instead of simply using a color? I can see the
bitmapfill, but I can't figure out if there is a way to use it at... more >>
Dynamic textfield rotation difficulty
Posted by vanessaemma at 2/14/2005 3:46:27 PM
I am creating dynamic textfields on the fly as a 'distance' field for a line
that can be stretched and rotated by the user. The field shows up fine when it
is at its original rotation, but as soon as I rotate it, it disappears. I know
this sounds a bit strange, but is there an issue with rot... more >>
Fade Through Images
Posted by Rai_Kane33 at 2/14/2005 2:06:29 PM
I have a movie which i want to cycle through several images, without having to tween the animation, yet have no idear where to start with the action script,
... more >>
Reading data *from* tree component
Posted by Smeeee ! at 2/14/2005 1:25:35 PM
HI
I have been working on a tree component, and can now load xml to populate it.
I have a menu system that lets me maiipulate the tree, including adding and
removing nodes. My problem is that I can't seem to figure out how to get the
information out again, i.e. so that I can send the whole... more >>
the fla
Posted by PDS at 2/14/2005 12:00:57 PM
here you can find the fla file http://www.van-dael.be/testCondoleren.ZIP
when you click a name (on pres), all the variables of that person loading
fine
on release of that button he should load the variable htmlPage wich is in
the first frame of the main timeline
_root.htmlPage = "http://... more >>
Loader example not working
Posted by dubya at 2/14/2005 9:45:14 AM
hey everybody! :) i've just copied and pasted the following code straight out
of flash's help files unaltered and it doesn't work. i added the trace
function myself. the value it produces is 'undefined'. huh?
createClassObject(mx.controls.Loader, "loader", 0);
loader.autoLoad = false... more >>
can flash extract the domain name?
Posted by tzolea at 2/14/2005 8:59:10 AM
hello,
can flash extract the domain name where the flash movie is loaded and post it in a textarea? if yes, how?
thanks... more >>
Deleting mx.transitions.Tween ?
Posted by HypnoTech at 2/14/2005 8:00:56 AM
I'm using the mx.transitions.Tween class to do some motion tweens, and ran
into a 'little' problem. When I delete the movieclips that are being tweened,
and then create new movieclips with the same name(s), the new ones are getting
tweened. This really shouldn't happen. Is there any way I can... more >>
childinstance HELP
Posted by packy13 at 2/14/2005 5:15:15 AM
:o i have a button inside a movieclip, my purpose here is that when i click the
button inside the movieclip it will move the main timeline to a scene, but it
doesnt.. what happens is it moves the movieclip into the next frame
my code is in the inside the movieclip here's a sample:
my_butto... more >>
Possible to load swf in other swf with _root.(instance) ? HELP NEEDED
Posted by runmad at 2/14/2005 4:19:07 AM
http://runmad.web.surftown.dk/flashtest/photography.swf
I hope somebody can help and there is some logic to this.. I hope it is only a
tiny thing I need to change 'cause I am a newbie and I am learning along the
way, so before I start something I really don't know if it would work in the
e... more >>
random swf
Posted by twistedpancreas at 2/14/2005 4:07:42 AM
hi there,
what i'm looking for is for a main swf (main.swf) file to load other random
swf files (1.swf, 2.swf, 3.swf, etc) sequentially after each other.
Like a screensaver which never ends but randomly shows swf files one after the
other.
can this be done?
thanks in advance
... more >>
XML
Posted by Shmooter at 2/14/2005 3:51:14 AM
I know you can read XML in a flash movie quite easily. But does flash allow you so right data back into the same xml file?... more >>
Alpha control of dynamic text ? ? help
Posted by RoyMunson2004 at 2/14/2005 2:40:34 AM
I have a fla that I am loading in text from an external text file. This all
works fine. My problem is that I wanted to apply a nice transition for the text
coming in. Just a basic fade would do it I reckon. I'm having troble getting a
simple alpha fade to work on the text which has been loaded... more >>
Flash Template
Posted by kaka_lee at 2/14/2005 2:28:05 AM
I am using the flash template for the Quiz. I got a problem of changing the
checkbox to radio button in the multiple choice. For the multiple choices i
need both checkbox and radio button, but when i playing it in the swf, the
radio button did not show the text behind it. It just show the the... more >>
tracking timeline as a variable
Posted by piscis100 at 2/14/2005 1:32:39 AM
Is there a way to track the current position of the timeline using a variable?
I would like use an if statement to know when the timeline reaches, lets say
frame 25, so I then can stop the timeline at that position. I this the way I
even go about this? The time line may not alway stop at t... more >>
Dynamically change MovieClip depths
Posted by Ryan Jennings at 2/14/2005 12:49:34 AM
If you create a new MovieClip using createEmptyMovieClip and assign it some random depth, can you dynamically change its depth later?... more >>
|