all groups > flash actionscript > april 2005 > threads for friday april 29
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
Array duplication?
Posted by davepla at 4/29/2005 12:00:00 AM
Hi:
how can I duplicate an existing array? If I do:
bufferTmp = buffer;
being buffer an array, bufferTmp contains a reference to the same array not a copy
TIA,
David P.... more >>
Simple LoadConnection help needed
Posted by i:dezyn at 4/29/2005 12:00:00 AM
OK, here's the deal. I'm way more of a designer than programmer, so I'm totally
new to the LoadConnection deal, and I need some help. I've searched theses
forums and others, and I still need help.
All I'm trying to do is have one SWF trigger two other SWFs on the same HTML
page to begin pl... more >>
How to load Flash Paper and hide toolbar icons
Posted by Carl Jeffrey at 4/29/2005 12:00:00 AM
Hi,
Does anyone know how to load Flash Paper .swf's and hide the toolbar icons?
Any help would be greatly appreciated :)... more >>
Loading a song from another location
Posted by davidprovost at 4/29/2005 12:00:00 AM
I need to load a song so that its not loaded when the actual swf is loaded. So
u dont gotta wait a million years while the website loads just cus theres a
bunch of songs in it. What would be the actionscript for that?
... more >>
variable passing to function
Posted by arseniq at 4/29/2005 12:00:00 AM
I am making a xml menu that can determine how many button it will have and get
the url, button label and target data from the xml file. But i am having a
problem with passing the xml data to the onRelease function. Tracing the values
wthin the function outputs nothing. I know functions doesnt ... more >>
Problem dealing with Numbers and Math.floor
Posted by P.Nadhani at 4/29/2005 12:00:00 AM
When I ues the following code in Flash,
a = 54.64
trace(a-Math.floor(a));
I get the following output:
0.640000000000001
Where is this extra .000000000000001 coming from? This causes a lot of
problems when checking for equalities/inequalities and greater/lesser than? Can
any one p... more >>
Open another swf from current swf
Posted by timbo313 at 4/29/2005 12:00:00 AM
How do I open an swf from another swf? any ideas?
thanks
Tim... more >>
Declaring an associative array
Posted by chrscote at 4/29/2005 12:00:00 AM
I'm trying to figure out how to declare an associative array. Does anyone know
how to declare one without having to type each element separately? For
example, something like myArray=(size:"Large", color:"red", shape:"circle").
Chris
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
FLV External
Posted by Cristiano Venturella at 4/29/2005 12:00:00 AM
What is tha ActionScript to have an external FLV?
thanks
... more >>
EXPAND ALL TREE COMPONENT NODES WHEN LOADED
Posted by Adrian Cadena at 4/29/2005 12:00:00 AM
Hello
Does Any one know how to expand all nodes of a tree component when the component is loaded???
Pleas let me know
Adrian... more >>
1=a 2=b 3=c....
Posted by tommytomthms5 at 4/29/2005 12:00:00 AM
i want to randomly genorate letters from numbers i figured it would be easy with
if (count == 1, true) {
count = a;
}
then repeat for the rest of the alphabet but it doesnt work it returns in the
txt box "UNDEF"
please fix and please i already know i spell bad
... more >>
buttons in movie clips
Posted by meredyj at 4/29/2005 12:00:00 AM
I have a movie clip that moves acroo the screen and stops when mouse hovers
over the middle of the movie. I want to be able to link to various urls from
within the clip but when I attach actions to buttons inside the clip it doesn't
work. How I put several geturls inside a single frame movie c... more >>
formatter options - Compose String
Posted by DaveDmd at 4/29/2005 12:00:00 AM
I have a grid thats linked to a xml file. one for the columns is a currency of
numbers. I'd like to format these so there are commas after representing
thousands, million etc. like 5000000 into $5,000,000
I tried the compose strint with $<.> , but i cant get the commas. Anyone
please advise.... more >>
Send dynamic list of Parameters to Function
Posted by EricNY523 at 4/29/2005 12:00:00 AM
I have an array of arguments that I want to send as parameters to a
function.... how would I go about doing this?
Its always a different function, so the number of parameters varies.
An example would be:
myArray = ["param1","param2","param3"];
Function1 (ParamsFromArray);
myAr... more >>
Actionscript & XML load randomly.
Posted by Enrique Jimenez at 4/29/2005 12:00:00 AM
Hello,
I currently have a flash file that loads and XML file with the following
Actionscript code.
contentXML = new XML();
contentXML.ignoreWhite = true;
contentXML.load("XMLmenu.xml");
contentXML.onLoad = function(){
contentArray = contentXML.firstChild.childNodes;
contentGene... more >>
Click on a song, stop current, change to new
Posted by matthias47 at 4/29/2005 12:00:00 AM
ok
so i have this media player.
with 10 buttons and blah blah blah.
how i got it to work ;
10 frams with frame lables, 1st frame was called "one" and had the first song
selected to play when brought to that frame from the first (nuetral) frame...etc
then when you click stop it takes yo... more >>
opening PDF files - problems
Posted by it3 at 4/29/2005 12:00:00 AM
Hello. I have a number of buttons that open PDF documents. I have the
following code entered for these buttons:
on (release) {
//Goto Webpage Behavior
getURL("folder/filename.pdf","_blank");
//End Behavior
}
When I load the web page(s) the PDF's don't open on my machine. ... more >>
Easeing on StartDrag function
Posted by limezor at 4/29/2005 12:00:00 AM
I'm using this code:
b = bigBox.getBounds(_root);
smallBox.startDrag(true, b.xMin, b.yMax, b.xMax, b.yMin);
My question is: How do you make 'smallBox' ease when following the mouse, or
slow down.
... more >>
video
Posted by Macromedia at 4/29/2005 12:00:00 AM
Can anybody help me out?
I am running some tests before implement the video in flash.
It turns out that it worked when I uploaded the files to a server (linux),
but it didn't work out in another server (windows).
Is it the problem or is there any other reason?
I thank any reply in adva... more >>
generic destruction code
Posted by dubya at 4/29/2005 12:00:00 AM
hey everybody! :)
i've got a loop that receives objects due for destruction. the objects may be
of type anyType.
so i've got the below code running against them.
tell me: would you do it this way? or do you know of anything that needs to be
added? or just: what do you think?
... more >>
Find Loaded Image widht and height
Posted by Ashish123 at 4/29/2005 12:00:00 AM
Hi Forum,
Anyone knows how do i find it out the width and height of the image loaded
inside a movie clip. And how i can restrict the user of loading image having a
specific size say 300px width and 200px height.
Right now i am unable to have control and the whole page is getting covered ... more >>
nextFrame! How does it work?
Posted by complexity at 4/29/2005 12:00:00 AM
Hey all,
I have a movie clip, with a named instance of content_mc
inside I have some navigation movieclips. All I want to do is be able to go
forward 1 frame in the timeline (in the content_mc) for the Forward button and
go -1 frame backward for the Backward button.
So I thought I wo... more >>
duplicateMovieClip problem
Posted by a-cross at 4/29/2005 12:00:00 AM
Hi
Very strange things happens here.
At startup I duplicated a movieclip several times. the on(press) action on the
original movieclip asks again to duplicate the movieclip. What happens is that
alle those movieclips dissapear.
Here's what I've done
Create a f.ex a square on the ... more >>
how to write array in for loop..
Posted by zeenu at 4/29/2005 12:00:00 AM
hi,
i m having set1 to set50 variables which i have to assign in new Array.. this
all sets are differ from each other.. for every things i have to assign in
single single time... Is i can't have my array like..
for(i=0; i<=50; i++){
eval("set"+i) = new Array
}
or tell me ultimate ... more >>
DataGrid And Custom Renderer
Posted by bobpf at 4/29/2005 12:00:00 AM
I am using A DataGrid with MM's MxCheckCell renderer, for some reason it will
only render check boxes for the first two rows (of 30 rows) in the table. If I
scroll only the first two visible columns have checkboxes visible. Checking
the boxes does hold its state, meaning if I scroll the list... more >>
Embeding fonts
Posted by Luka at 4/29/2005 12:00:00 AM
How can i embed a font which user probably doesn't have on his computer, so
he could see that font which will be displayed in dynamic txt field? Does
"embed font outline" helps, and in which versions of Flash is this possible?
I know using _sans, and _serif will solve thiss problem because ever... more >>
Detect Joypad + Use
Posted by wisdom.co.uk at 4/29/2005 12:00:00 AM
after launching our new website we are now trying to implement a racing facility, but we need a little bit of help detecting joypads and capturing the commands from the pad.
any clues?... more >>
Movieclip Control
Posted by spsavage at 4/29/2005 12:00:00 AM
I've created a movieclip with 8 frames called "pictureframeMC". Frame 1 has a
stop(); command, frame 2 has a gotoAndStop(1); command and frames 3-8 have
small animation and stop(); at the end. Simple so far?
I also have a variable which is called at the beginning of the movie: var
pictur... more >>
|