all groups > flash actionscript > june 2006 > threads for sunday june 25
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
caching MovieClips
Posted by sneskid at 6/25/2006 11:15:29 PM
A while back I read Flash can cache MovieClips on the users computer.
I'm not talking about cacheAsBitmap. This is about storing data locally for
when the user returns to the site.
I'm having trouble finding an example. Someone please link me one.
Thanks.
... more >>
XML
Posted by Dave at 6/25/2006 9:04:34 PM
Hello,
Please could you help to write the actionscript for read this xml ?
Thank very much for your help
---------------------------------------------------------------------------------------------------------
<gallery timer="5" order="sequential" fadetime="2" looping="yes" xpos="0"
ypos... more >>
getting an XML file into an Array
Posted by Steve Robertson at 6/25/2006 5:49:51 PM
Have gotten an xml file to load properly (as verified by a trace), but
can't seem to figure out how to load it into a single dimension array??
xml file format is:
<item name="aaa.swf" />
<item name="bbb.swf" />
etc.
all I want is to end up with an array of the .swf names.
Steve R.
... more >>
How to center a child mc to the parent mc
Posted by Vee at 6/25/2006 5:25:10 PM
I have two mcs that i would like centered to eachother using AS (not the align
palette):
? The parent mc named parent_mc and the child is named child_mc.
? The catch is that I am loading different size jpgs into the child mc.
? Seems simple but when you take into account that the width and h... more >>
controlling a loaded MC on mouseOut
Posted by Akhenaton0000 at 6/25/2006 4:52:23 PM
Button question.
I have 9 buttons, each button loads a movie clip (animation) that corresponds
to that button. Each movie clip fades in. I want that movie clip to also fade
out on mouse out and I don't know how to do that.
Instead of doing that I have the movie clip unload on mouseout, t... more >>
collisions
Posted by onlyproductions at 6/25/2006 3:38:01 PM
I have a game with a side scrolling ship that shoots duplicated stuff and
duplicated enemies scrolling towards the caracter but for some reason I cant
test collision bettween the objects. how would I do this?
... more >>
Logic Not working behind setInterval
Posted by MacJr at 6/25/2006 11:50:36 AM
Hello,
This in regard to fading in a clip when loaded by a button.
I have read most of the postings here dealing with fading in of a movieclip.
The one answer I have tried but do not understand is:
stop();
cl1Trail._alpha = 0;
fadeI = setInterval(fadeF, 100, cl1Trail, 1);
Sorry ... more >>
Screen/Slide Question
Posted by anim8orTUL at 6/25/2006 4:24:15 AM
I am working on a slide show presentation. Some of my slides have animation in
them while the others do not. I notice that when I render the slide show out
the slides with animation in them play repeatedly over and over until you
navigate to the next slide. What I would like is for the slid... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Problem with sound
Posted by =Slayer= at 6/25/2006 3:59:29 AM
Hey,
I made a class in an action script file. In that class I have a function that
creates a sound object. How would I point the sound object to the correct sound
from the library? The problem is that the sound is not in the library of the
action script file (because it doesn't have one) but... more >>
AS3 oop problem
Posted by doug777 at 6/25/2006 12:00:00 AM
I am a beginner with oop. Can anyone help me to understand what is wrong
with this:
public class MyClass{
//set some variables in constructor
public function myMethod():void{
//my code
}
myMethod();
}
The line that calls the function generates the error message... more >>
calling a function of an object
Posted by dave at 6/25/2006 12:00:00 AM
If I have an object, and then create a function in this object, what syntax
do I use to call this function?
SEND_VOTE_OBJECT = new Object();
SEND_VOTE_OBJECT.SEND_VOTE=function(){
//function code
}
SEND_VOTE_OBJECT.SEND_VOTE();
I thought this would work but it doesn't!
What ... more >>
display problem!
Posted by fanglinyong at 6/25/2006 12:00:00 AM
hello,every body!
i maked a flash, publised it as html, but the stage don't align center! can you tell me what can i do to make the stage aligning center with AS!
thanks very much!... more >>
Popup window
Posted by Zaki at 6/25/2006 12:00:00 AM
Hello,
Can anyone help me for this: when i click on a movie clip or a button i open
a popup window, for Internet Explorer or Firefox.
Thanks
Waiting to your answer...
Zaki
... more >>
String in function call
Posted by =Slayer= at 6/25/2006 12:00:00 AM
Hey,
Is there a way to interpret a string inside of a function call? For example if
I have three functions: actA(), actB(), and actC() and a string reference that
is either "A", "B", or "C", is it possible to call the right function based on
the string? For example if the string is A actA()... more >>
Equalizer in flash
Posted by justbipin at 6/25/2006 12:00:00 AM
Hello sir,
I am designed a audio player, but need to design an equalizer for the same.
can any body tell me how to design the same.atlest some ref. links
thnx
regards
Bipin N.... more >>
preloader for external swf
Posted by VooDoo Chicken at 6/25/2006 12:00:00 AM
first try, changed somethings from previous post, tried to make different
changes, instead of using if else tried to set an onload handler both before
and after the loadmovie sentence (not at the same time of course), copy paste
of what goes on each frame (actionscript 1):
frame 1:
set... more >>
Actionscript Help!!!
Posted by Sterockicy at 6/25/2006 12:00:00 AM
i Have a problem with the game i am trying to make. I have a MC that contains a
stick walking. outside of that there is some actionscript that i made that
makes it makes it so that when you click on it it goes to and plays the whole
dieing part of the stick there is 1 prob tho. it doesnt go to... more >>
Speed ::-:: FlashPlayer -vs- Browser Plugin
Posted by ihtus at 6/25/2006 12:00:00 AM
i have two cases of code:
[SIZE=5]1.[/SIZE]
[code]
function f1 (y,z)
{
return -9.8/1.5*Math.sin(y) ;
}
function f2(y,z)
{
return z;
}
import flash.display.BitmapData;
var myBitmapData:BitmapData = new BitmapData(640, 480, true, 0xCCFFFFFF);
var mc:MovieClip = th... more >>
|