all groups > flash actionscript > september 2004 > threads for wednesday september 22
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
making a jigsaw puzzle
Posted by viperx116 at 9/22/2004 10:29:19 PM
I need to make a jigsaw puzzle and I have absoulutely how to script it.
It looks like this:
http://fog.ccsf.cc.ca.us/~dbass/cs183B/Lab4/183BLab4.html
Can someone explain the process of doing it?... more >>
Como ejecutar windows media desde flash en ventana aparte?
Posted by Jose \ at 9/22/2004 10:22:36 PM
Alguien sabe como ejecutar el reproductor de windows media de Windows o =
cualquier otra aplicaci=F3n desde el Flash?
Gracias de antemano!... more >>
Instantiating Sound Objects in Loop
Posted by speedlab1 at 9/22/2004 10:20:56 PM
This is wrong:
var i:Number = 0;
var ['mySound'+i]:Sound = new Sound();
What is the proper syntax?... more >>
video into loaded movie doesn't play correctly
Posted by Carlos Gonçalves at 9/22/2004 10:18:24 PM
I'm using FLV format and sometimes It's play, sometimes not. Are there
anything I have to do to avoid this?
... more >>
remove duplicates from array
Posted by ELVIS at 9/22/2004 10:10:43 PM
Dear friends
I have an xml file which i convert into an array
I want to write a function to get back all the values of one index of that
array
and add them in a listbox. I know how to do that
and i am ok.
But....
that index i am interested in, has many dublicates.
Does anybody knows ho... more >>
AS2: Adding Prototype methods, strong typing
Posted by Whittaker007 at 9/22/2004 9:43:16 PM
Hi there,
Is there an accepted OO practice for extending built-in classes such as
MovieClip etc. in AS2 that allows you to add properties and methods to a class
like you can do with the AS1 prototype object? For example I would like to
combine the mx.screens.Form.move(x,y) and mx.screens.F... more >>
check if SWF is loaded
Posted by modino at 9/22/2004 9:42:42 PM
Does anyone know the actionscript "if" statement to see if a SWF is loaded so
when you press the button it doesn't load again from the begining if it's
loaded, but just plays ?
And can you "park" an SWF ? thanks, dean
... more >>
One Flash Movie Calling Another
Posted by flash-me at 9/22/2004 9:37:20 PM
Hello Great Brains:
I would like to have a simple gif image (Ideal, but I could create a simple
flash swf) that says "Play Animation" - I would like it to play the swf that
would be above it on a page -
This will work using FS commands for windows - but I need it to work on all
browser... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
xscale and attachMovie
Posted by evago at 9/22/2004 9:16:02 PM
Hi, I try to change the xscale of the attached MC "neu". In the if Question it
doesen't work. Out of the if Question it works, after the two movie clips had
contact. (to late). I want that the MC "neu" will get bigger when the other
both have contact..
blau.onEnterFrame = function (){
... more >>
graphic designer with Flash webpage question
Posted by silvercat1975 at 9/22/2004 8:39:27 PM
I'm a graphic designer creating my webpage entirely in Flash MX. I have run
into a snag. I am trying display all of my logos on one page, and have a larger
version of the logo over to the side depending on which thumbnail is clicked
on. I have tried to set this up using a different scene for t... more >>
embedFonts in a textField of a form
Posted by Sir Zaire at 9/22/2004 8:19:23 PM
Hello
i have a problem, i can't put my embedFonts in a TextField of a create forme.
Here my code :
_root.btn_f.onPress = function() {
f1 = new TextFormat();
f1.font = "RussellSquare";
f1.size = 13;
f1.color = 0x004097;
f1.indent = 5;
f1.leading = 3;
f1.leftMargin = "9"... more >>
I NEED HELP FAST!!!
Posted by JohnwG at 9/22/2004 8:06:09 PM
I am realy new at flash....
I work for a company that wants me to learn flash. They want me to create a
program with all 250 products they sell.
So they can make a plan-o-gram on the spot for customers.
I am looking for a script that will allow me to load a movie on the main
stage, dupli... more >>
createEmptyMovieClip in Flash 7 player
Posted by paulhenrysmith at 9/22/2004 7:42:53 PM
This code works when published to v. 6 player, but not version 7.
Any idea how to modify for use in player v. 7? The error I get is that the
clip is not added.
Thanks!
- Paul
// set up MovieClip.addListener() if it doesn't exist
// and create an empty clip to broadcast onEnt... more >>
how to unload swf file?
Posted by grafoo at 9/22/2004 7:04:26 PM
hi forum,
how can i unload totally a swf file containing an flv video loaded in level 5
in my main swf file??
the method unloadmovienum, works partially, the file diseppear but the sound
continue running, and when i try to load that same file another time by
clicking on the button (with ... more >>
Jumping to movies.
Posted by J 10 at 9/22/2004 6:28:21 PM
Hi everyone,
I've just started using Flash and have been getting on ok but there is one
thing that is causing me a headache.
I have 3 buttons that play seperate movies when pressed. I would like the
buttons to remain present in each of these 3 movies so that which ever movie im
in, i c... more >>
multi if thens?
Posted by FreaksArise at 9/22/2004 6:19:56 PM
In other langauges you can optimize lines of if then statements by using CASE.
Do you know of a way in Flash to do this?
In other words:
Check if value of variable equals red, green, blue, cat, or dog
based upon the value do something different for each value
instead of writing sev... more >>
amplifier.com - swf size 100%, but objects are left-aligned
Posted by Marlus Araujo at 9/22/2004 6:03:40 PM
look at the www.amplier.com site
How did they do the 100% sized flash, with everything centered (normal) but
with the menu aligned to the leftt, everytime we resize de navigator
window???
... more >>
TextFormat.url
Posted by fractorr at 9/22/2004 5:50:41 PM
Is it possible to specify a Flash movie for the url instead of a regular url address?
... more >>
Problems when toggling a graphic using on (press)
Posted by loop360 at 9/22/2004 5:42:34 PM
I have an mc that contains a button which when selected toggles a graphic on or
off. The problem is that when I use the on (press) event to toggle the graphic
on or off (e.g. myGraphic._visible = !myGraphic._visible), it will continue to
perform the toggle operation if the mouse is moved anywh... more >>
linking to a pdf file
Posted by mistainfa at 9/22/2004 5:36:04 PM
For some reason I can't get a pdf file load by clicking a button from flash.
This is the code I have on the button in flash:
on (press) {
getURL("file.pdf", "_blank");
}
I also tried a load movie but that didn't work either.
If someone can help me before the end of the busin... more >>
getURL("javascript:set_path();") ?
Posted by chrism59 at 9/22/2004 5:17:54 PM
I am trying to set a value on a from from flash. The following statement in
flash will trigger the javascript on the form and the form displays the message.
FLASH
getURL("javascript:set_path()");
HTML
function set_path(){
parent.bottomFrame.form.spath.value = "Event triggered";
}
... more >>
any chance to see the "tint" object in AS, like "alpha"?
Posted by (_seb_) at 9/22/2004 5:17:25 PM
Hi all
Since the "tint" is as easy to change in authoring mode as the "alpha"
is, why is it not available as an actionScript object, like
_tint(RGBvalue) = 50%; for example
this would be very very useful
Is there any chance this will be implemented in future versions?... more >>
Printing in Flash
Posted by ivinfo at 9/22/2004 5:15:54 PM
Hi. I am new here... I'm Brazilian... I have a film (Simulado.swf) that it
possesss a Panel (that calls the Sim1.swf archive) and a button... as I make so
that in the click of the button the flash all prints the content of the
Sim1.swf archive that if finds inside of the Panel?
Who to help... more >>
Passing dynamic Text to link
Posted by MSchramm at 9/22/2004 5:13:37 PM
I need to open a PDF file based on database selections.
The file name loads in a text field named ProjectResults_1 when a DataGrid
line is selected. Then, I need to pass that through so a button opens the file
specified. I can get a static link to open fine, but when I try to load it from
... more >>
mail link
Posted by dampsean at 9/22/2004 5:13:34 PM
hi everybody,
I did some fill up text boxes in flash so that the user can mail me from my
web. I created a send button, with a mailto function.
Now what happens is, that when I press the send button, Outlook Express or
whatever opens up, and all the text entered in the text boxes appear in... more >>
Nested button inside a movieclip
Posted by raheelm at 9/22/2004 4:54:22 PM
I am sure I must be doing something very stupid but here goes:
This is for a navigation bar.
- I have a main movie (mcMenu) on my stage which holds all the main buttons
(btnHome, btnAbout, etc..).
- Inside mcMenu, when I roll over say btnAbout, the movie plays from 10 to
20th frames dur... more >>
Books to make advanced games, would any pick these or have suggestions?
Posted by mikepl333 NO[at]SPAM aol.com at 9/22/2004 3:46:30 PM
Hello All,
I was loioking for some help. I would like to get a book for gaming
in flash and have it include simple games like fighting games or more
complex 3-d effects also. Here are some books I found. Any
suggestions, likes, or dislikes? I would rather ehre from the pros
then find out th... more >>
Drawing only a curve using curveTo
Posted by Necolas at 9/22/2004 2:31:06 PM
Hi all,
I am trying to draw a curve, which I manage to do using curveTo. My problem is
that apparently, with that method, not only the curve is drawn, but also a
straight line joining the 2 extremities of my curve. And I would like this
straight line to go away. Anyone knows what I m talki... more >>
download, not view, pdfs
Posted by medicispirit at 9/22/2004 2:27:25 PM
Hi
Does anyone know how to right-click to download a pdf when my entire site is
in Flash? I read somewhere that if I zip the file, when I click on it it will
automatically bring up the save as dialog box - is this correct, or is there
another way to do this?
Thanks
... more >>
InstanceName to component - how?
Posted by Pluda at 9/22/2004 2:03:52 PM
Hello, I'm building my first component, but have here a big problem (I
think)....
if I draw in stage one textfield and define txt instanceName as "something"
and in my component use
this.texto = _parent[texto];
it works perfectly.
But if I createTextField("teste", 0, 100, 100, 10... more >>
RE: down state for a moveclip button
Posted by Nate Kadlac at 9/22/2004 2:02:31 PM
I was asking yesterday about this, but I am not up to date on all of the
actionscript lingo. Does the following code go inside the MC, on the actual
movieClip, or on the main timeline to check whether or not the button has
been checked? I am basically trying to show a down state once a button has... more >>
loadMovie Loop
Posted by bjory at 9/22/2004 2:01:28 PM
How can I make the loadMovie keep looping after playing once?
loadMovie("leftback_a1.swf","videoHolder");
I want leftback_a1.swf to keep looping and playback after it finishes.
And how can I control the playback of the leftback_a1.swf? Meaning if I have a
button to click to stop it and... more >>
how to autoresize in any size browser
Posted by Hunnie at 9/22/2004 1:33:17 PM
I am looking for a way to autoresize a flash site to any size browser that
stays in the center at all times. The size I am working with is 800*600.
Right now, I am placing my flash file into a table in dreamweaver, but it's
not what Im looking for. I have seen this done before on many sites. P... more >>
global variables and functions - help!
Posted by uomoDiCuore at 9/22/2004 1:04:54 PM
I posted this previously as "loadvars and arrays", but now I think it's a
variable issue. I'm still stuck. I'm trying to load data with the LoadVars
object, and populate an array with those variables. I can trace the array
elements within the onLoad function, but I can't do anything with th... more >>
#include question
Posted by stevearend at 9/22/2004 12:52:45 PM
I want to dynamically set an included (.as file) depending on a querystring
field.
I continue to get the Malformed #include directive error
here is the two lines of code that I'm using as a test
----------------------------
var setInclude:String = "\"comp43.as\"" ;
#include setInc... more >>
exit frame event?
Posted by ashgrove at 9/22/2004 12:14:41 PM
Re Flash MX (not 2004);
I have a frame in a movie where users may add one of several available movie
clips (using ActionScript). The user may click to other parts of the movie from
this frame and so the current movie clip will need to be unloaded.
I could program the unload code for ever... more >>
Preloading External SWF in main SWF
Posted by Macromedia at 9/22/2004 11:57:56 AM
Hi folks,
I am building a huge website mainly using flash. There is an INDEX.SWF that
loads the NAV.SWF, LOGO.SWF and the CONTENT*.SWF(s). The NAV & CONTENT
files are rather large and I would like to get the INDEX.SWF to preload the
other files rather than have them use their own preloaders.... more >>
mp3 streaming in IE
Posted by Radek Petr at 9/22/2004 11:23:23 AM
Has anyone had an experience with streaming dynamically loaded mp3's
in IE ? I just can't make it work. Works pefectly locally but not on
the live site. Works in Opera and Firefox ...
I've tried reinstalling the plugin too.
Any suggestions ?... more >>
detect if video is finished
Posted by Carlos Gonçalves at 9/22/2004 11:12:00 AM
How can I detect if video is finished to timeline play and go to next frame?
I'm using flv format.
Thanks!
... more >>
Cambiar nombre en la ventana proyector (EXE) en flash?
Posted by Jose \ at 9/22/2004 11:06:38 AM
Algui=E9n sabe como dar un t=EDtulo a la ventana del proyector en =
flash(exe)?
En vez de que salga "Macromedia Flash Player 6"! Ojo, en el proyector, =
no en la p=E1gina HTML-->eso ya s=E9 que es en el title
Gracias!... more >>
Como_salir_en_proyector_flash?_Cerrando_aplicación!
Posted by Jose \ at 9/22/2004 10:56:07 AM
Hola de nuevo amigos, algui=E9n sabe como se puede dar alguna =
instrucci=F3n en flash para salir o cerrar la ventana de un =
proyector(EXE)?
Gracias de antemano!... more >>
Play Movie Clip on RollOver
Posted by ravich9 at 9/22/2004 10:50:49 AM
I'm having a movie clip on main stage... the movie clip contains an envelope
with ten buttons in it...
on rollover on movie clip... the envelope opens and you can interact with the
buttons for navigation.... and on rollout the envelope closes back...
i've used on (rollOver) with which t... more >>
Back and Forth MC timeline with cursor _x
Posted by a little ant at 9/22/2004 10:44:26 AM
I have a
character in an MC of 30 frames.
Frame 16 (middle frame)
the character is facing me.
Frames 15 back to 2 the character turns to the left of the screen. ... more >>
Proyector(exe) en flash sin menu?
Posted by Jose \ at 9/22/2004 10:41:51 AM
Hola amigos, algui=E9n sabe como exportar en flash un proyector EXE, =
sin que salga el menu del reproductor. Ya sab=E9is el de =
Archivo/Ver/Controlar/Ayuda.
Gracias de antemano!... more >>
loading multiple files - what's the best way?
Posted by Leopold Hastreiter at 9/22/2004 10:20:32 AM
Hi folks,
On my website I am loading multiple external images (10-20). Right now I am
loading them all at once using a "for ()" loop. The images are rather large
(around 20-50 KB each) but they have to be since it's a site for a
photographer, so he wants the best possible quality (I plan o... more >>
Random frame in a game
Posted by Gerb (UK) at 9/22/2004 9:58:24 AM
Hi,
I'm building a game where on the press of a button a movie clip jumps to a
random frame to display a question.
I know how to choose a random frame, but I need to be able to choose a random
frame between two specific points, say from between frame 8 and 32.
Secondly, once a partic... more >>
XML
Posted by Deepak Joshi at 9/22/2004 9:37:53 AM
i created an xml document categourising all me document-details like shown. now
i expect
myXML.firstChild.childNodes.length to return 2 in this case but it returns 5
also trace(myXML)says null nodes in begning, end and between nodes
will any-one guide me whats wrong. i have used simple ... more >>
how can I disable the escape button function ?
Posted by pietjaapenarie at 9/22/2004 9:31:05 AM
I would like to disable the function of the escape button on the keybord, when
playing the swf file.
It is for and demo in an telecom store. I would be very happy, if I could sent
the time line to another place in time where you got to enter an password
before you can leave the flash play... more >>
Urgent - question on hitTest and drag and drop
Posted by loop360 at 9/22/2004 9:26:11 AM
I have 2 container mc's that hold a list of dynamically generated mc's. When I
select (press) an mc in container 1, it attaches an mc from the library to act
as a 'drag n drop' item which can then be dropped into container 2 (and another
mc duplicated and added to the list). Although I can det... more >>
Open a New Window
Posted by Known/Unknown at 9/22/2004 9:17:42 AM
I need to open a Windows OPEN Window from Flash itself.Is it possble.?... more >>
Problem with mc visible =true / false
Posted by snoogly at 9/22/2004 8:35:09 AM
I have a movie clip pressContinue) made invisible on enterframe.
onEnterFrame = function () {
_root.pressContinue._visible = false;
}
And a button (check) which is meant to make the movie clip visible.
_root.check.onRelease = function(){
if(_root.allCorrect==9){
... more >>
one simble problem - about key codes
Posted by vimalli at 9/22/2004 8:33:12 AM
Hi Guys,
How to we find the key clicking of left shift and right shift.
onEnterFrame=function(){
trace("Ascii---->"+Key.getAscii());
trace("Code----->"+Key.getCode());
}
the ascii and keycode value is same for two shift keys.
there is any solution, please tell to me.
Cheers!!... more >>
grabbing sound
Posted by e_jogendra at 9/22/2004 7:29:29 AM
Hi everybody
Could some one tell me whether any free software available to grab sound from swf file.
Thanks
JNS... more >>
How To find left Shift key and Right shift Key
Posted by vimalli at 9/22/2004 6:23:28 AM
Hi Guys,
How to we find the key clicking of left shift and right shift.
onEnterFrame=function(){
trace("Ascii---->"+Key.getAscii());
trace("Code----->"+Key.getCode());
}
the ascii and keycode value is same for two shift keys.
there is any solution, please tell to me.
... more >>
can't send data to a loadmovienum movie?!?!
Posted by castanza at 9/22/2004 6:01:04 AM
Seems like every problem I've ever ran into with Flash ends up with 0 replies
because there is no solution, but here goes.
After loading a movie into my "host" movie, using loadmovienum (loadmovie
won't work, longer story).. but I just want to send data to it. Is this so
much to ask? Wha... more >>
problem with cache
Posted by elkam at 9/22/2004 5:50:34 AM
Hello,
I have problem with cache
I'll try to explain:
I send a request to server for opening a new session :
var myLoad:LoadVars = new LoadVars();
myLoad.load("http://ip-address/?CONST")
and each time I perform the request, Flash must get back updated string data.
It only wo... more >>
Load swf created by MX2004 into Flash 6 authoring
Posted by thy76 at 9/22/2004 5:27:48 AM
Hi,
Can I load a swf created by MX2004 into Flash 6 authoring system? I remember before that I can do it (load a swf with higher version) into older authoring system.... more >>
move mouse cursor with actionscript
Posted by bonesy at 9/22/2004 5:22:30 AM
Hi
Is there a way when a button is rolledover flash send the cursor to a coordinate on the stage?
Thanks... more >>
how do you create an email link in flash?
Posted by pikachick at 9/22/2004 5:14:03 AM
how do you create an email link in flash?... more >>
Having problems with LoadVars and its variants
Posted by mansoor777 at 9/22/2004 4:58:14 AM
Hi Everyone,
I have tried everything I could think of and I still cannot get LoadVars or
its variant LoadVarsNum to work. I even tried the new class LoadVars and still
could not get the simplest things to work.
I am using Flash 2004 Professional. All I want to do right now is just see... more >>
transparent colors
Posted by homegrownideas at 9/22/2004 3:13:22 AM
my question deals with how to make colors look like glass shinning..like yellow that is a yellow glass... more >>
Preloader Actionscript Question
Posted by powderpuffgrrl at 9/22/2004 2:59:01 AM
I got this actionscript code for a percentage preloader bar, and it preloads
100% of my movie, when I only want it to preload the first 10 frames only.
Where do I input that?
onClipEvent (enterFrame) {
loading = _parent.getBytesLoaded();
total = _parent.getBytesTotal();
percent -= ... more >>
change to fade in an image
Posted by Carlos Gonçalves at 9/22/2004 2:38:58 AM
How Can I change this code to fade in?
clearInterval(fadeI);
fadeI=setInterval(fadeF,80);
}
function fadeF(){
myImage._alpha -= 3;
if(myImage._alpha<=0){
clearInterval(fadeI);
}
... more >>
loadmovienum (with link to the files)
Posted by 3p at 9/22/2004 1:39:31 AM
hello. please check this out, it is a tutorial from the book Generato/Flash
(Authors: Richard Alvarez, Jason Taylor, Matthew Groch Publisher: New Riders),
the book's site is no longer online so i figure ill give it a shot here. the
external swf does not seem to load to the specified target cli... more >>
Determining when video has finished
Posted by rcabrera at 9/22/2004 1:18:07 AM
I would like to execute code when a streaming video has completed playing. Ex:
I have a video control that blinks when the video has begun to play. I would
like to stop the control from blinking with the video has completed.
Thanks for you help.
Ray
... more >>
Scroll with buttons
Posted by Matibur at 9/22/2004 12:00:50 AM
Hello,
I'm writting to ask about a problem I have
I have a scroll with buttons. I did a MC (movie clip) with 8 buttons that move
and start again. each button have a different action that links to a different
scene.
The problem I have is that the first time they appear all of them work o.... more >>
|