all groups > flash actionscript > december 2004 > threads for thursday december 30
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
levels preloader trouble.
Posted by Chris J at 12/30/2004 11:46:22 PM
I am using the following to try to run an animation preloader while a main
movie loads on level1.
function checkload() {
var lbytes = _root.getBytesLoaded();
var tbytes = _root.getBytesTotal();
var percentloaded = Math.floor((lbytes/tbytes)*100);
loader.bar._xscale = percentloaded;
loade... more >>
button linking to URL
Posted by Lilibeta at 12/30/2004 10:56:11 PM
:o
Maybe it was too much eggnog during the holidays but I can't seem to do
anything right just now.
I'm creating a rather details site and suddenly I can't even create a button!
I created my new button symbol and its four states. I dragged it to my stage
and added the following code... more >>
Novice needs ScrollPane Help
Posted by artboy1979 at 12/30/2004 10:13:48 PM
Hello, I'm in the process of working my portfolio website but I've run into a
bit of a hangup that I haven't found a solution to yet. I have 3 buttons on
the stage and a scrollpane component. Right now the scrollpane component loads
a seperate .swf file which is great. However, my problem i... more >>
Programmatically alter movie clip tint
Posted by jbobbins at 12/30/2004 9:58:36 PM
Hello all, I have been looking for a way to programmatically (in ActionScript
of course) alter a movie clip's tint (color and percent). I have been
unsuccessful. I was wondering if anyone knows of a way to do it (and where I
might find some documentation on it), or at least knows if it is imp... more >>
Dynamic Movie Clip Function Creation (onRelease)
Posted by kbrandon at 12/30/2004 9:36:56 PM
for (i=0;i<3;i++) {
_root["video"+i+"_mc"].container_mc.netStream.play(my_lv["file"+i]);
// On Release change the path in this staement to load different FLV files
//_root["video"+i+"_mc"].onRelease = function() {
//_root.video.setMedia("http://www.thebrandons.net/video/"+my_l... more >>
Comparing Time Values
Posted by Lowrider0708 at 12/30/2004 8:47:19 PM
I'm creating a Labor budget using an employee schedule and I want to be able to
compare the scheduled start time with the end time to give me the # of hours
worked. For example if I have two text fields and I enter 12:00 in one, and
3:00 in the other, I would like a third field to display 3.0... more >>
Very strange behaviour!
Posted by Pluda at 12/30/2004 7:18:05 PM
Hello,
I'm facing here one strange behaviour.
If I publish my movie, and click on my button, flash opens the output window
to say
error: can't load file at http:// localhost/etc
Until here, everything is ok, he can't run whithout being in http docs unther
apache.
Now I go to ... more >>
Flash maps tool navigation
Posted by dquintas at 12/30/2004 6:36:59 PM
Hi everybody,
Where can I get a free browser tool for maps , I mean zoom, a cursor to move
the map, show hide things over the map, open the map centered in a position
,.....
Thanks in advance.
DANI
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
dynamic text boxes with links
Posted by def jux at 12/30/2004 4:39:38 PM
Hey there people. I have a dynamic text box with links to download some pdfs.
The thing I'm trying to do is have the links change the way the mouse looks
when you rollover a link. Thus letting people you can click on it to download a
pdf. I haven't been able to find any help in this area... Th... more >>
ANN: Don't post to topic: Action Script HELP! ask me a question/I'll answer!
Posted by NSurveyor at 12/30/2004 4:36:08 PM
Just letting you all know, posting your flash needs to this one thread is not a
good idea. Why post your message about actionscripting into a thread where one
person is trying to help you, when you can just post your own topic? Right now,
that thread has 53 posts! And hardly any of the questio... more >>
Loading an external SWF
Posted by cf_coletta at 12/30/2004 3:44:13 PM
I am loading an external swf file into a flash presentation. The file works
perfectly on 6 out of 7 machines (all PC). Do you have any idea what could be
causing an external swf file not to load on some machines but will load on
others. Thanks for your help in advance. T
... more >>
Autoscroll text
Posted by mheddle at 12/30/2004 3:24:00 PM
:o
<html>
<head>
<title>New Page 1</title>
</head>
<body>
I am trying to get text (that is being brought in from an xml file into a text
area component) to autoscroll until it reaches the bottom. I have not found
any place that can help me. I know that I can use a mask and ha... more >>
Deploying Help
Posted by TMSpats2 at 12/30/2004 3:00:00 PM
We have a Flash application that runs in IE. Help is developed in RoboHelp and
accessed through the Help menu of the application. Is there any way to prevent
multiple instances of the Help system? As it is right now, every time the user
clicks Help in the menu, a new instance of the Help file ... more >>
ActionScript Decompilers
Posted by Abo Anas at 12/30/2004 2:57:20 PM
Is There Any way to protect my code from actionScript decomoiler programs ... They can take any asset from my swf files :Q... more >>
Syntax for variable in getURL
Posted by ScooterMX at 12/30/2004 2:47:33 PM
similar to my previous post, I need to call a variable in a getURL. the
non-var code looks like this:
on (release) {
getURL(http://thiswebsite.com/somepage.asp?page=PageName&location=LocationNa
me", "self", "GET");
where PageName and LocationName are variables. I remember there being
... more >>
XML question
Posted by Egui at 12/30/2004 1:51:53 PM
I have a XML file of a glossary that has this structure ,<glossar> <A> </A>
<B></B> etc. </glossary> How can I use actionscript to filter or query to give
me only the A terms or the b terms etc, etc. Thanks
... more >>
Array of objects in Flash MX 2004 Pro
Posted by afroma_n at 12/30/2004 1:47:07 PM
Hi! I'm creating an array after receiving another one from an ASP page. The
problem is that when i'm creating the array, it creates it with strings, and I
want it to be objects. Here's what I have : //this one receives the array
from the asp and assigns it to the one in flash(vec_images) for... more >>
how to implement php in flash
Posted by varshini at 12/30/2004 1:16:34 PM
:) how to implement php text in flash daymic text field, I try this one but it take on html tag also, how to clear this problem.
... more >>
Why does my datagrid lose scroll position on cellPress?
Posted by Ken Fine at 12/30/2004 11:12:14 AM
I have a datagrid set up to accept input from the user. When the user
presses a cell, it loads some external content via loadVars. This all works
great. However, when the content loads, the scroll bar attached to the
datagrid jumps back to the top of the dataset, losing the user's position in
th... more >>
loading a string from a xml
Posted by dsand at 12/30/2004 11:10:23 AM
Hi all, i'm trying to load a string in a flash variable from a xml file. The
flash variable is for put it in a textbox and i want to have different lines. I
try to put a \n to change line but when flash reads the xml then it puts
another \ so in the flash variable i have a \\n. the string in... more >>
syntax for using a var in a loadMovieNum
Posted by ScooterMX at 12/30/2004 11:06:41 AM
So the script looks like this:
on (release) {
loadMovieNum ("http://www.thisurl.com/folder/movie.swf", 0);
}
But what I'm trying to do is use the movieclip's _url property to create a
relative reference to where the swf is located.
This doesn't seem to work:
var swfbase=this._url
on(... more >>
Simple when you know how
Posted by The real web monkey at 12/30/2004 10:38:13 AM
I am just starting out with Actionscript and now have more grey hairs. I am
creating a control panel that will sit on a computer and act as a speed link to
numerous areas of an on-line facility. I want to add an indicator that shows
if they are connected to the internet or not. I cannot wor... more >>
getting system information
Posted by myselfandi at 12/30/2004 10:34:13 AM
hi
Is there anyway I can know the speed of the computer the swf is running on?
(something like getSystemmatrix in c++)... more >>
actions from movieclip 2 movieclip
Posted by peterdijk19 at 12/30/2004 10:18:42 AM
Hello, Few problems here :) Maybe I did it wrong but... well you'll see. I
need to get a movieclip who is already placed in the stage to play, this is
done from another movieclip. In flash 5 this works:
_root.nameofmovieclip.gotoAndPlay(15); But it doesn't seems 2 work in Flash MX
2004. ... more >>
Math.Round in Flash MX 2004 doesn't work?
Posted by ClintonDerFuka at 12/30/2004 9:55:23 AM
I have this preloader:
if (this.getBytesTotal() > 1000) {
var procent_int = Math.Round(((100 / this.getBytesTotal()) *
this.getBytesLoaded()));
preload_txt.text = procent_int.toString() + "%";
PreloadBar_mc._width = procent_int;
var bytesloaded = this.getBytesLoaded();
var b... more >>
Flash Targets
Posted by GaughanRacing at 12/30/2004 9:21:11 AM
I made a flash menu and put it in an iframe to the left. I want links in the
movie to appear in the frame to the right of it. I don't want to use "frames"
though or even iframes for the right part. I have this for code:
on (press) {
getURL("http://www.mikeypower.com", "_mainFrame");
}
... more >>
Pausing AS excecution
Posted by Brian at 12/30/2004 8:25:15 AM
Is it possible to pause the excecution of AS. I want to do several
things in a row and want to be able to write all with AS and have pauses
in between. Something like this:
//the first action...
//pause for a couple of seconds
//the second action...
//pause for a couple of seconds
... more >>
Unoading Movies - Can you explain?
Posted by GmR at 12/30/2004 7:14:23 AM
I have created some instructional material in flash mx that contains
animations and voice over. When I monitor its memory usage in Task Manager, it
seems my movie just keeps eating up memory, so I am looking for ways to unload
things as I go.
Each step along my main movie is a new lesson... more >>
return variable name
Posted by abeall at 12/30/2004 6:09:37 AM
Sorry, as I'm sure this question has been asked before, but my search was
fruitless: Is there a way to return/access a variable's name? The reason
being, is simply because I would like to be able to trace() all variables and
their value on an Object (object) . This way I can see what variable... more >>
Remove movie clip problem
Posted by Ajay Vyas at 12/30/2004 5:45:12 AM
Hi,
i am experincing problem with remove movie clip.
I have stored names of movieclips that are duplicated using duplicateMovieClip
command. And when ever i need to remove them, i take names from array, eval
them and then call removeMovieClip to remove them from my movie.
This works fine... more >>
mouse not over canvas??
Posted by rusty0412 at 12/30/2004 2:29:47 AM
I want to call this:
some_movie_clip.gotoAndStop('none');
when the mouse is not over the canvas
thank your for your replies!... more >>
Non streaming sound = constant 100%
Posted by raschko at 12/30/2004 1:49:36 AM
(working under 2004)
In essence, my problem is that i can get the loaded percentage of a streamed
mp3 file
but not of a non streamed file; bytes loaded / total will read the same thing.
Is this a new fluke of MX2004?
Or is there a solution?
Thanks.
... more >>
load Movie
Posted by rhouck at 12/30/2004 1:30:06 AM
I have a question about loadMovie. In a site I am loading various movies for
versions section on a site. I am loading them all on layer 7. Each time one of
them loads, it replaces the other one. I am not unloading and then reloading.
Does this increase the bandwidth needed by not unloading and... more >>
get width of content of textboxes
Posted by das oe at 12/30/2004 1:07:57 AM
Hi all,
I have a textfield with dynamically loaded content ranging from 10 to
160 symbols. I now should place the next textfield after the last
symbol. Does anyone have any ideas for that? I can not use fixed width font.
Is there a possibility to adjust dynamic textboxes to their content?
... more >>
|