all groups > flash actionscript > june 2004 > threads for tuesday june 1
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
Set Object Instance Name Via Actionscript
Posted by llama79 at 6/1/2004 11:14:21 PM
I know how to read what the instance name of an object is and I need to be able
to set the instance name of an object with actionscript. Here's why:
I'm creating a scrolling list of buttons that stack on top of eachother. The
number of buttons changes. One day there could be 50, another 30, ... more >>
Loading a program
Posted by StephenAshby at 6/1/2004 11:10:42 PM
We are creating an animation that will load whenever a PC is booted. The
faculty want this animation to link to programs resident on the PC so that
students can easily navigate to these items. We have tried various load
commands and none have worked. What action script to we need to use to g... more >>
Opening & Closing a Window Locally
Posted by Happy Camper at 6/1/2004 10:02:56 PM
Working on the web, I have opened a new window and closed it many times...
getURL and javascript:window.close();...
However, now I am running a movie locally and they want a button to open a new
window, and for the new window to have a close button. Both the getURL and
javascript:window.c... more >>
Please Help me! Image load...
Posted by 2boggy at 6/1/2004 9:56:08 PM
Hi!
I try to load a image (I found some images that won't to be loaded).
The action script that I use is:
var my_mcl = new MovieClipLoader();
myListener = new Object();
myListener.onLoadProgress = function (target_mc, loadedBytes, totalBytes)
{
}
myListener.onLoadInit = ... more >>
addSort not working?
Posted by Chris Brandt at 6/1/2004 9:32:20 PM
Hi all. I've got what I think is a simple problem that I'm just not seeing the
solution to.
In a dummy test fla, I have a web service connector bound to a dataset and a
button.
The actionscript is is below...
When I run it, I get the following
1
2
3
4
5
...
Um, shoul... more >>
Using Action Script to scale an swf on rollover &
Posted by sstiyer at 6/1/2004 9:08:40 PM
I?m a flash designer that usually designs using the timeline and animation.
I?m working on a project that has small movies playing on layers above the
main movie. The small movies have video in them.
When you rollover the button it loads the movie and it needs to scale larger,
and then ... more >>
Can you go to a frame within a loaded swf?
Posted by walter script at 6/1/2004 8:58:21 PM
If I load a swf into a empty movie clip ("empty"), on the base/_root level onf
the main timeline, can I also move to a specific frame within the swf
("external_movie.swf"). I know with a movie clip you give it an instance name
("cars") and write
on (release) {
_root.cars.gotoAndStop(10);... more >>
Pausing a Script
Posted by plecoguy at 6/1/2004 8:55:28 PM
Hello,
The actionscript below blends 3 RGB colors as applied to a symbol. This is not
my script, I adapted it from ones that I found searching the web. I would like
to learn how to pause this code for a specificed number of seconds on the
middle color. Is this possible? Sorry about all the c... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Problem with function Elastic
Posted by pulento2 at 6/1/2004 8:53:18 PM
I will only make buttons dinamically and the buttons shall have one function
that activate when the mouse is over. But the problem is .. that when the mouse
is over one button ..all the buttons activates at the same time.... but that is
not the idea....!
try this code your self and roll the ... more >>
Help using duplicateMovieClip for task list.
Posted by charleuts at 6/1/2004 8:39:23 PM
Hi,
Can anyone help me determine the best way to complete a dynamic 'to-do' list?
(similar to the one used in MS Outlook) Feel free to take a look at the
sample fla at:
http://www.tinab.net/sample/taskList.zip (MX Pro 2004, AS 2.0)
My notes are located within the script on the 'A... more >>
Force a Popup Window to Stay On Top
Posted by ecsurfer at 6/1/2004 8:38:32 PM
Is it possible to force a popup window to stay on top, even if you click the
main window underneath it? Here is my standard popup AS... Thanks ;-)
on (release) {
uUrl = "http://media.mgbg.com/wjwb/dolphin.htm"; wdth = "600"; hdth = "450";
getURL
("javascript:window.open('"+uUrl+"','nNam... more >>
site counter
Posted by Erezb1 at 6/1/2004 8:18:08 PM
hi guys
i'm building a Flash site and i've been asked to add a site counter. don't
have an idea where to start from, because i don't know PHP, ASP...
if some one can, please show me the way to an easy tutorial or a already
ready counter.
thanx a lot
Erez
... more >>
onLoad problem
Posted by mavsax at 6/1/2004 8:16:36 PM
We have set up our Flash file to access data from our MySQL database. Our code
is as follows:
function loadArtist (idArtist) {
var artistVars = new LoadVars;
artistVars.onLoad = onArtistVarsLoaded;
artistVars.load("http://www.velocityshots.com/favsquery.cfm?idArtist=" +
idArtist);
... more >>
this._name doesn't seem to work
Posted by Paulrus at 6/1/2004 7:06:56 PM
Can anyone explain to me why this doesn't work?
btn_slideSDSE.onRollOver = function(){
trace(this._name);
this._name.gotoAndStop("over");
}
This traces "btn_slideSDSE" when I roll over it, but it does NOT goto and stop
on frame "over". However, if I change it to:
btn_slideSDSE... more >>
back button for burn on CD
Posted by garydg at 6/1/2004 6:59:45 PM
Just wondering if there was an actionscript so that if you click the "back"
button it would go back to the previously view
page. This is not for the web but burned as an .exe file for presentation on a
CD. There is only about 6 pages total.
Is this possible to do?
Thanks
... more >>
buttons don't work - oops, here's the file
Posted by rslate at 6/1/2004 6:44:52 PM
HI all,
I'm having a little problem with shome buttons. I can't figure out why they
don't work! They are off the stage because they are placed in a swf template
that calls the swf (this is also why there is nothing on the first frame
besides a stop command). I'm definitely not the gratest ... more >>
buttons don't work
Posted by rslate at 6/1/2004 6:42:07 PM
HI all,
I'm having a little problem with shome buttons. I can't figure out why they
don't work! They are off the stage because they are placed in a swf template
that calls the swf (this is also why there is nothing on the first frame
besides a stop command). I'm definitely not the gratest ... more >>
speed of loadMovie?
Posted by CodeCrow at 6/1/2004 5:59:33 PM
I'm working on a flash application that loads a series of images into
dynamically created movie clips. When certain complex vector images are
loaded, it starts updating veryslowly. I've taken the precaution of checking
the name of the requested loading file before loading the movie and not... more >>
Rotation problem
Posted by willx at 6/1/2004 5:58:12 PM
I trying to make a star shape rotate, i've turned it onto a movie clip to it
and attached the followoing code to it
onClipEvent (enterFrame) {
_root.spark._rotation = 1;
}
doesn't seem to work, any idea what i'm doing wrong?
... more >>
fullscreen controls?
Posted by g5604 at 6/1/2004 5:21:26 PM
Hi,
is is possible to open a swf fullscreen but keep the movie size at 100%?
cheers,
g ... more >>
Retrieving/displaying multiple selections
Posted by flashWannaBe at 6/1/2004 4:41:15 PM
Retrieving/displaying multiple selections within a listbox.
Hello All,
I currrently have a form that utilizes three different frames. In one section
of this form is a listbox in which the user is allowed to select multiple
choices from the listbox. I store the selections within an a... more >>
onClipEvent (mouseMove)...NEED HELP
Posted by yofof at 6/1/2004 4:34:10 PM
i drag a movie clip which has 3 lables UP, DOWN and OFF in its timeline. the
movie clip is a butterfly.
UP - flying upward
DOWN - flying downward
OFF- thats where i need hepl??????????
i coudn't handle the OFF state (no move) ....anybody can help please?
i have a following script for ... more >>
& in loadVariable
Posted by dandev at 6/1/2004 4:18:42 PM
I'm loading text from a text file example
myString=hello I am dan & you are you.
This string is rendered as html in a text field once loaded. How can I escape
the "&" so it doesn't mistake it for another variable.
Thanks
... more >>
Loading a movie and going to a named frame
Posted by izzyblizzy at 6/1/2004 4:16:18 PM
I have a button in one movie and when pressed want to load another movie
(3500.swf) and go to a named frame ("end") and stop.
I am using:
on (release) {
loadMovieNum("3500.swf", 0);
gotoAndStop("end");
}
It just goes to the first frame of 3500.swf and stops.
Help would be a... more >>
Linking to other Flash scenes using HTML links
Posted by EdMX at 6/1/2004 3:49:41 PM
as Flash can have an 'anchor' for a frame label I would have thought linking to
it was simple, but I'm having no luck-
I'd like a link from some text in an HTML textfield to link to another part of
my Flash movie (staying within the movie)
I figured the obvious --a href='#localAnchorName'-... more >>
setInterval Question
Posted by privatenews.microsoft.com at 6/1/2004 3:46:22 PM
Hi all :)
I have some animation that I want to play until the variable p reaches
about -200, I want this also flag a variable done as true, could you help :)
im practising scripting a movie with only fills and stuff so it will play as
is in flashmx:
scene1 layer 1 frame1
function move(move... more >>
how to create movie clip with action scripts only
Posted by flashin at 6/1/2004 3:39:15 PM
I have a set of math functions which do not have any graphics. I want to put
the math functions into a library, but can't figure out how to buid library
movie clip with only action script code alone and without stage contents. Can
someone help? For example, how to build a movie clip with only... more >>
Script help..
Posted by Mario Diogo at 6/1/2004 2:33:26 PM
I have two doubts in my following script. What i want is to load an
external swf to my movie, which is working but still has some bugs. The code
is:
_root.createEmptyMovieClip("my_foto", 1);
my_foto._x = 0;
my_foto._y = 0;
my_foto.loadMovie("foto1.swf");
preloadI = setInterval(preloadF, ... more >>
this probably cannot be solved...
Posted by synckk at 6/1/2004 1:54:22 PM
The big question is: Is it possible to print swf-file so that the result
on paper would be aligned to the top? All my experiments so far
have failed; the movie is always centered when printed.
Suggestions would be greatly appreciated.
Thanks.
... more >>
printJob
Posted by speedy d at 6/1/2004 1:41:42 PM
anyone used this much?
i want to print 2 movie clips on the same page. Currentley im using:
my_pj = new PrintJob();
my_pj.start();
my_pj.addPage(movieClip1);
my_pj.addPage(movieClip2);
my_pj.send();
which prints the... more >>
Flash to javascript call - close entire frameset
Posted by rcmantis at 6/1/2004 1:16:14 PM
I have a frameset with two frames.
A navigation swf in one frame.
A Shockwave content page loading nicely in the other frame.
I have a quit button on the swf in the navigation frame.
That page (single frame), successfully completes a javascript function call:
ActionScript:
on (pre... more >>
Urgent Help Needed !!
Posted by Chris B at 6/1/2004 12:45:14 PM
Hi
HELP!!
Ive tried everything and loads of combinations but have been unable to
solve the below problem.
my movie works fine, with the below script.
but i need to change the script as the movie doesnt work when loaded
into LEVEL4 where it is now being loaded.
there is a movieclip,drop... more >>
sorting dates
Posted by sschofield123 at 6/1/2004 11:33:39 AM
I have a simple datagrid called dgMessages, currently hardcoded with 5
messages. If I sort dates, they are sorted alphabetically on day of the week :-(
I have now added a columnHeader listener, but unsure how to proceed so that
dates are sorted by utc. Do I need to unload datagrid into an ar... more >>
text moving arround a clip?
Posted by the studios of PsyPc at 6/1/2004 11:18:26 AM
Hallo there..Does anyone know how can i make a text moving arround of a circle(clip) on _x and _y positions just like it was a 3d graphic?... more >>
Problem with placeHolder actionscript
Posted by Peter Fettes at 6/1/2004 11:05:33 AM
Can anyone please help,
I'm trying to import another swf into my movie.
The actionscript reads as such :
placeHolder = new movieclip()
attachmovie("AdesFormMail.swf", placeHolder)
with (placeholder){
}
However it fails to work, the swf is not imported.
When I play ... more >>
How to expose user defined functions to JavaScrip
Posted by Hansom at 6/1/2004 10:56:01 AM
Hi, everybody...!!
I need to make available from JavaScript one user defined function in one
flash movie, like
document.MyFlashMovie.MyUserFunction(par1,par2);
If it's possible, and if it is, i will apreciate any help...!!!
thanks in advance for the replies!!!
... more >>
my XML files dont update??
Posted by kattie:) at 6/1/2004 9:53:59 AM
ive loaded in my xml file to an object
ive made changes to the object and appended those changes
ive output some traces to make sure the changes have take affect
?? So why when i close down the program and look in to XML file the changes
are not in there???? is there some closing off p... more >>
Onrealse load html on parent
Posted by chen_ping at 6/1/2004 9:43:53 AM
Dear all,
I cant get this right. I placed a swf into a html with dreamwear. in the swf
there is a button. i need the button to replace the current loaded html with a
new one onrelaese of the button in the swf file.
I tried GETURL Javascript, and fscommand. but i cant seem to get it right... more >>
Finding an element in associative array
Posted by punit_gupta at 6/1/2004 9:07:13 AM
Hi,
XMLNode's attributes property returns an associative array. Is there any way
to figure out if a paricular element exist in the array if you know the element
name.
For example, there is no element by "DoesntExist" name in the attributes for
xmlNode. However when I run this loop for ... more >>
Flash listBox and loadSound
Posted by jvbates NO[at]SPAM hotmail.com at 6/1/2004 8:39:03 AM
Hope someone can help me i'm trying to create a flash List box that
when you select one of it's options it loads an external .mp3 file
into an empty MC ('holder'), here's the AS i've got so far but i'm
drawing a blank..
// Start AS
var sect_ar = [
{label:"Track one", data:t1.mp3},
{label:... more >>
movieclip functions
Posted by CyberFred at 6/1/2004 8:30:49 AM
Hi,
Is it possible to access the functions of a sub movieclip from the root? For
example:
_root.createEmptyMovieClip("test", 2);
with (test) {
function drawLine() {
lineStyle(2, 0x000000, 50);
lineTo(100, 100);
}
}
_root.test.draw... more >>
Forms with attachments
Posted by Blenni at 6/1/2004 8:23:04 AM
Hi. I've just set up a flash site with an interactive feedback form. However,
now my client is asking if I can change the form so that users can add file
attachments and send them along with the completed form. Is it possible to do
this in flash, or should I opt for an html version of the form... more >>
ActionScript 2.0 class scripts may only define class or interface constructs.
Posted by japshere NO[at]SPAM hotmail.com at 6/1/2004 8:03:37 AM
I have the following class with the name "Service.as".
#include "NetServices.as"
class Service
{
var GATEWAY_URL:String =
"http://localhost:7001/flashservices/gateway";
var gatewayConnection:NetConnection;
var client;
function Service(argClient)
{
//establish the remote co... more >>
button playing inconsecutive frames consecutively
Posted by crazycal321 at 6/1/2004 6:24:47 AM
what actionscript do i put for a button if i want it to play frames 20-30, then 10-20?
is this even possible?... more >>
How to modify Learning Interaction's textFormat
Posted by Boen_Zhou at 6/1/2004 5:40:09 AM
I created Quiz with flash template, but I can't change Interaction's textFormat
with ActionScript.
For example: There is a textfield which instancename is "Template_Question" in
False/True interaction. I want to use following code to make some text format
change, but it's not work.
code:... more >>
about filesystem
Posted by liji at 6/1/2004 4:46:57 AM
who has used filesystem?
can tell me how to use it?
thank you... more >>
Link to database
Posted by pmxgvn at 6/1/2004 4:25:14 AM
Help me!
in Flash MX: can i drect a database (ex: data.mdb of Access)? (for: read data, write to, repair)
thank you!... more >>
Listbox selectable = false?
Posted by maulia at 6/1/2004 4:07:55 AM
I want to have a listbox that user can't do a selection. Is there a way to do so?
There does not seem any API to set the selectable to false for a listbox... more >>
exec a file.exe when one button is pressed?
Posted by pmxgvn at 6/1/2004 3:21:13 AM
I can exec a file.exe when one button is pressed-if "file.exe" in directory
"FSCOMMAND".
But how three file: f1.exe f2.exe f3.exe in a directory
"MY_EXC".
From f1.exe if i press a button then f2.exe run and From f2.exe if i press a
button then f1.exe run....
Help me! Than... more >>
hit counter
Posted by Dark Lightning at 6/1/2004 2:17:08 AM
I'm having 2 problems with a hit counter that i'm trying it make in flash.
1) I don't know how to save files( in this case the file already exists), i
need to know how to set the save status to append, and how to change a single
value. That way i can record the IP addresses into a list, and ... more >>
sorry one more question
Posted by rahul112 at 6/1/2004 2:06:33 AM
also does anyone know what the code would be .. for if someone clicked into the
scene...and u had a back button .. it would remember the previous scene they
came from and go back to that particular scene ..?
... more >>
easy sound question ..
Posted by rahul112 at 6/1/2004 2:04:48 AM
ive just created a flash movie ... with different scenes .. how can i add a
single sound loop to the entire movie.. so it doesnt matter what scene ure in
.... but the sound still plays continously???
thanks
... more >>
Instances, actionscripts and php
Posted by Paycheck at 6/1/2004 12:45:13 AM
Hi everyone, this is my first posting here and I am hopefull that someone will
be able to shed some light on this for me. I have submitted flash forms of all
kinds to php scripts and had the results emailed to me or placed in a DB for
later use. My problem now is that I am working with insta... more >>
|