all groups > flash actionscript > april 2005 > threads for saturday april 9
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
random number opens image
Posted by savetuba at 4/9/2005 8:19:05 PM
//Math.ceil(Math.random()*365)+1;
//above is needed for main version
Math.ceil(Math.random());
//demo version to get 1
load movie loads external files yet I want to load internal files (graphic
symbol number 01-366) so that I have a less chance of having my images stolen
(you'd be surp... more >>
Need Syntax Help Request
Posted by The Lone Ranger at 4/9/2005 11:22:05 AM
I have a button which I placed into a mc. The instance name of this button
is blog_btn. Upon release of this button I want to provide the index page at
http://www.formsonline.com/blog. I created a separate layer in this mc to
contain this actionscript but the actionscript fails to work.
bl... more >>
Advice? Hundreds of buttons...
Posted by chrishill27 NO[at]SPAM yahoo.com at 4/9/2005 12:19:32 AM
I am creating a table of contents page in Flash MX 2004. Each entry in
the table of contents will load a different swf (chapter) when clicked.
I may need to create hundreds of these text buttons.
All I really want the "buttons" to do is change the text color on
mouseover and click. In the p... more >>
labels in scenes
Posted by ho at 4/9/2005 12:00:00 AM
i created a quiz that should run in three languages. i use labels 'g'+1 [to 30]
to navigate to the German questions. for the French and Italian version i
duplicated the German scene. the quiz runs fine but i get a warning that i use
duplicate labels. i then changed the French an Italian labels... more >>
Draggable Mc's
Posted by tozzy2 at 4/9/2005 12:00:00 AM
Hello. I have a matching game with some drag and drop clips. When all the
mc's are matched up correctly, the movie goes to the next frame where there is
a play again button. When this button is clicked the movie returns to the
first frame. The actionsript on this button , I set the set up... more >>
Help with onRelease event handler inside loop
Posted by squimscan at 4/9/2005 12:00:00 AM
(sorry if this post is a dupe, I tried posting last night but it seems to have
disappeared)
I've been struggling with what ought to be a pretty simple event handler...
I have a Flash file with several buttons (named button1, button2, button3,
etc..); there are an equal number of moviecli... more >>
Dynamic Levels
Posted by QuantumDynamix at 4/9/2005 12:00:00 AM
Now here is something I could have sworn I would find in the help file for
_level, but of course, it wasn't there. I have a random number of movie
clips loaded, each at different depths. Basically, for placement purposes, I
need to reference the last item i just place to recover its y posi... more >>
What the F is up with loadVars??
Posted by fasterthanlight at 4/9/2005 12:00:00 AM
Alright, so I'm making an imageviewer application that loads pictures into
dynamically created movieclips. Captions underneath each image are also created
dynamically using the createTextField(); command. The caption's content is
going to be loaded in from a data base compiled with perl. So wh... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Writing a for statement with an except clause
Posted by Vee at 4/9/2005 12:00:00 AM
Is there a better way to write the below statement. on (release) { for (i=0;
i<=12; i++) { rClip = this['w'+i]; if (rClip._currentframe == (2)) {
rClip.gotoAndStop(1); break; } } w2.gotoAndStop(2); }
... more >>
spliting special characters "\"
Posted by t& at 4/9/2005 12:00:00 AM
I am having trouble splitting a windows path name at the delimiter "\"
because \ is a special character it just makes a line break if you use
split("\")
I have tried these things with no luck
split("\\");
split("\\\\");
split('\"');
split(\u005C);
split("%5C");
but they dont... more >>
TextFormat issues
Posted by fasterthanlight at 4/9/2005 12:00:00 AM
Here's my code:
var my_fmt:TextFormat = new TextFormat();
my_fmt.align = "center";
my_fmt.font = "Andale Mono";
this["Text"+clipCounter].setTextFormat(my_fmt);
the this["Text"+clipCounter] is just the name of the textfield that is
created. I wrote the above script based on the Action... more >>
A wee problem
Posted by vldesign at 4/9/2005 12:00:00 AM
Alright. Here we go.
I have a problem with the frame movement. I am trying to use buttons to go
from frame to frame. In each frame, I have put a movie clip symbol. It goes
from frame 1 to frame 5. Each movie clip is in a different layer. When I
click the buttons, I want it to go to... more >>
open a web page
Posted by clota at 4/9/2005 12:00:00 AM
HI!
I'm new in Flash and Dreamweaver, and my question is very basic one but I
don't know how to do it.
I want to build a page with 3 frames: one for the tittle, one for the menu and
one for the contents.
I want to do the menu as a toolbar made in Flash where every button open a
web pag... more >>
Syntax
Posted by M at 4/9/2005 12:00:00 AM
Hi, a little syntax problem.
How can I declare a class var in a function, example:
class myClass()
{
myFun()
{
'global' var myVar:Type
}
}
how can I write global in AS2?
Thanks!
... more >>
scripting a button for Dreamweaver
Posted by michellephillips at 4/9/2005 12:00:00 AM
:confused;
How do I script a button in Flash to open a file (prodphoto_list1.htm) not in
the _parent, but in the Frameset enititled _mainFrame.
I tried:
on (release) {
getURL("prodphoto_list1.htm","_parent._parent._mainFrame");
}
This opened the correct file, but did it in a bla... more >>
Print help
Posted by Storm Ryder at 4/9/2005 12:00:00 AM
Hi, can someone please help me. I need to know how to let the user print an
area of the page thay are looking at. It is for a kids cd, and they click
through a series of pictures (black outlines) and when they are at the one they
want, they click the button to print that one, so they can then ... more >>
send data (post method) and load
Posted by tigereye4c at 4/9/2005 12:00:00 AM
i need to know how to send data to a URL and load the page. what i need is like
a flash login page, where you send a username and password to a *.ASP page to
login. thanks, please post any infomation you have, at the moment i am lost.
and if you can post an actionscript
... more >>
Zooming
Posted by vldesign at 4/9/2005 12:00:00 AM
Another question. How do you do a zoom effect? I have a circle of white dots (
outer space) and a picture of earth that I want to start zoomed in on. When the
movie clip is activated, I want the clip to zoom out of earth and show space,
very fluidly. Any ideas?
... more >>
Communication between swf's
Posted by dr.Evol at 4/9/2005 12:00:00 AM
Is it possibble to make a socket based communication between two or more swf
applications running on differents machines within the same intranet ?
Localconnection class provides communication on the same machine only.
... more >>
|