all groups > flash actionscript > december 2005 > threads for tuesday december 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
Creating class objects on the fly
Posted by t3rm1n4l at 12/27/2005 11:50:03 PM
I'm trying to create custom classes on the fly at random. for instance if i
have ball, square, triangle objects i want to spawn them at random
var newObj = new Ball or new Square, i could do a random number and then a
switch statement but i'm upwards of 20 diff classes now. Is there some ni... more >>
trying to rollout of object shape
Posted by k-doggie at 12/27/2005 9:43:40 PM
I created a movieclip that closes when I rolloff of it. The only problem is
that there are shapes ontop of the movie clip and the movieclip closes when my
mouse goes over these shapes. I think my best solution is to tell flash, if i
roll the mouse outside of the movieclip demension, then clo... more >>
Random but no repeat
Posted by Pluda at 12/27/2005 9:37:39 PM
Hello,
I'm using a nice function (from these foruns) to generate one grid with 7
movieclips.
This works pretty fine.
But I want to attachMovie randomly, so on refresh my grid looks diferent.
this works too, but i want to have no repeated elements, so I need to add some
code to make ... more >>
buttons and event handlers
Posted by k-doggie at 12/27/2005 9:37:24 PM
I'm currently using Flash MX. I created a movie clip that is controlled by
event handlers.
But when I try to create a button inside of that movie clip, the button dosn't
work. It there a work around for this that allows me to keep my event handlers?
Thanks
... more >>
Need help re-formatting this code
Posted by ccesca at 12/27/2005 9:29:07 PM
I have a flash movie with the following code in the first frame :
faculty_mc.jasmine_bio.onRollOver {
_root.staff_mc.gotoAndPlay('jasmine');
}
faculty_mc.jasmine_bio.onRollOut {
_root.staff_mc.gotoAndPlay('1');
}
stop();
//create popup function
callPopup = functi... more >>
Coding help
Posted by homegrownideas at 12/27/2005 9:14:21 PM
I need help coding a script that will make my .fla unload and reload a movieclip as a button is released. I am tottaly in the dark here.... more >>
When I press stop in control sound keep keeps playing
Posted by Mr. Interface at 12/27/2005 8:28:53 PM
I keep hearing the sound playing from my video in the timeline even when I
press stop. Problem two, whenever the scene is rendered the audio automaticly
begins to play, even before I press play resulting in an echo when I press play.
Help!
Thanks
... more >>
How to unload all _root variables
Posted by HenrieMediaInc at 12/27/2005 8:27:40 PM
Is there a quick way to 'unload' or 'clear' all of the variables I have defined
on the _root level (i.e. _root.companyName )? I am trying to dynamically load
information from a MySQL database, but I do not want to keep the information in
the _root variables all of the time, or it will slow dow... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Stage Class compatible with MAC Browsers?
Posted by animee at 12/27/2005 7:27:29 PM
Hey everyone,
I've made a a website using the Stage Class within Flash.
It works perfect on the popular browsers like Firefox, Mozilla, IE and Opera.
Operating System is WIndows XP.
Now I wonder if he Stage Class is compatible with the popular Mac Browsers?
I have no access to a Mac s... more >>
XML define arrays help
Posted by 27dmac at 12/27/2005 6:45:06 PM
Not quite familiar with using XML in Flash (have MX only), so basically I'm
trying to create a gallery where a caption for photo loads (is associated with
that pic) and can use prev/next buttons.
Basic XML structure is
What method would be best for defining/linking the parts together? N... more >>
How to add buttons to also scroll by mc (currently uses a dragable scrollbar)
Posted by ccesca at 12/27/2005 6:35:02 PM
Hi,
I created a scrollable mc that moves when the user drags a bar. Because I had
the help of a tutrial to create this, I dont understand it 100%. What I need to
do is add buttons that the user could press instead of the drag bar if they
choose, to scroll the mc instead, but for the drag-b... more >>
can i send aim with a.s.?
Posted by the queen is dead at 12/27/2005 6:32:10 PM
ughh - action script- i only know how to do what i already know- i wish i had a
better grasp.
i'm building an ecard, and i have a share with friend option that flash passes
the fields through a php script to send an email... however i would like to
have a button to send an instant message ... more >>
Action wporks on button but not MC button
Posted by AESS1981 at 12/27/2005 5:25:42 PM
This script works perfectly when attached to a standard Flash button:
on (release){
gotoAndPlay("services", 1);
}
However, when I attach this script to the appropriate MC button, it does not
work:
on (release){
gotoAndPlay("services", 1);
}
on (rollOver) {
this.gotoAndPlay('ove... more >>
Movie drags with mouse
Posted by ChrisCote at 12/27/2005 4:28:45 PM
I have a Flash training application in which students must "pick up" tools to
fix equipment. The app was built with Flash MX 2004 using ActionScript 2.0.
When the student clicks a tool, I call a function that saves the name of the
tool being dragged so it can be hidden later then calls the s... more >>
Flash, XML, memory management
Posted by mplaine at 12/27/2005 4:22:37 PM
I am developing an Flash application which needs to be up and running 24/7. It
also needs to transfer XML over HTTP, because a potential client may not be
able to open a port that the Flash application uses at their company.
Therefore, I am using the XML class and poll the server every 5 min... more >>
I need music to play when musicplayer starts
Posted by DrEv1l at 12/27/2005 2:57:54 PM
I need a way to make the music play when the player starts and then play every
song in the list automatically.
this is what I got so far. Now it only plays when I push play and it only goes
to the next song when I push next
_global.muziek = new Sound();
_global.muziekplaying = 1
... more >>
Navigation and variables question
Posted by Lynn at 12/27/2005 2:08:09 PM
Hello,
Have a situation where we want to use the same flash navigation file in
multiple pages on the web. The flash file contains a row of tabs that
display the current page you are on.
For example, if you selected the "contact us" tab, then the contact us tab
would be red, and the other... more >>
Button action not working
Posted by AESS1981 at 12/27/2005 11:38:39 AM
This is the action on my MC button:
on (release){
gotoAndPlay("services");
}
on (rollOver) {
this.gotoAndPlay('over');
}
on (rollOut) {
this.gotoAndPlay('out');
}
I am trying to make the movie go to scene "services" on mouse release. It
won't work. Any idea why?
Thanks
... more >>
numbers in paths?
Posted by opencity at 12/27/2005 10:28:35 AM
(am I an idiot) or why can't I set numbers in paths
_level0.hello = "world";
works
_level0.2006.hello = "world";
is a syntax error
_level0.2006_1.hello = "world";
is a syntax error
_level0.a2006.hello = "world";
is not a syntax error
Note this doesn't have to do with assigning th... more >>
Problem with scene
Posted by Joy_kittu at 12/27/2005 10:09:23 AM
I m using flash MX ?
I have 2 scenes in my flash movie.
In Scene one is having some animation. On the timeline end of the frame
automatically it moves to next scene. That is fine.
In the scene 2
I have 2 movie clips. In 1st and 2nd frame respectively.
After playing the first s... more >>
update xml file sample
Posted by art-v at 12/27/2005 8:54:23 AM
I use the file (XML_LanguagePicker) from the \Macromedia\Flash 8\Samples and Tutorials\Samples\ActionScript
how can update the data in flash automaticlly , when I chang from .xml file in this sample.... more >>
I really need help..
Posted by FirstNforthFinger at 12/27/2005 8:22:10 AM
hello,
I have a dynamic text box and two buttons, UP and DOWN. I can get the down
button to make the text scroll but the UP button doesnt work :(
I followed this tutorial:
http://www.webwasp.co.uk/tutorials/b14-scroll-menu/index.php
Please take a look at my movie and see whats wrong. I... more >>
3 different swf file - 1 HTML banner
Posted by GellyBean at 12/27/2005 6:54:56 AM
Hello.
I am quite new at this...and have a problem.
I want to create a banner in HTML with 3 different .swf files and link each
..swf file to independant web sites.
I want to know (the code) how I can make all three files play one after the
other, continuously.
Thank you for your help!
... more >>
preloader
Posted by Neelam Dhanani at 12/27/2005 5:38:04 AM
:confused;
i have a client site that contains a sound swf at the top, it plays well but
till the HTML page is loaded it show a empty space (where the swf is placed) i
want the same image before it gets loaded.
i have the script that plays the sound well/perfect.
plz help me out with an Ex... more >>
USing tree component in class
Posted by directorGuy at 12/27/2005 5:05:09 AM
Hi,
I am trying to use a tree component in flash mx 2004.
I am able to populate a tree compoenent with XML data.
On clicking of a leaf node I am updating the contents of the leaf node in a
datagrid.
Alls happening fine as long as I code it in an fla document.
The moment I convert the cod... more >>
Passing variables between swfs
Posted by Flashuser1113 at 12/27/2005 4:58:28 AM
First.swf has a password field (variable name: psw)
second.swf (at timeline 1) has a password field (for some security reason?)
(variable name: psw) (same variable as the one before)
If the user are at First.swf and entered the correct password, how can we pass
it to the password field (ps... more >>
Attributes action question
Posted by Luka at 12/27/2005 12:52:29 AM
What does actualy .attributes do? I know if i write something like:
var1 = currentNode.attributes;
and then:
trace(var1.someAttribute);
that it will display the "someAttribute" attribute of the node
"currentNode". But when i look in the Flash help for explanation i get
confused. Is it a ... more >>
|