all groups > flash actionscript > march 2004 > threads for wednesday march 17
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
Frame Actions in a Slideshow
Posted by Paul002 at 3/17/2004 11:54:29 PM
Hello, I'm working on a project using the Slides layout. However, I cannot get
a simple from action to work within a slide. For instance; in the timeline for
SLIDE2 I have 5 frames. I would like the playback to stop on FRAME 1, then
proceed at the click of a button. Should be simple enough, bu... more >>
MX2004, window component, UI components
Posted by lmueller at 3/17/2004 11:04:58 PM
I seem to be missing the point completely.
I am using the window component, its contentPath is preset to the linkage
symbol of a movieClip object.
The window displays correctly.
the documentation (?) shows me that an event "complete" is fired when the
window is ready to be displayed.
... more >>
Multiple color objects - an easier way?
Posted by cconcannon at 3/17/2004 10:18:39 PM
I have a movie in which I have several movie clips that need to change to
different colors all at once (I'm using a slider bar). All the examples I can
find only use one movie clip. Do I have to set up a new color object and
define all 8 attributes for every movie clip?
Please tell me ther... more >>
Novice Actions pane in MX2K4??
Posted by King86 at 3/17/2004 10:17:26 PM
I know, but i'm a novice and it was nice, what happened to it? Is it in MX 2004? It was in MX? I looked in all the view options and did not find it....
Thanks for any help in advance........ more >>
onKeyPress
Posted by VooDoo Chicken at 3/17/2004 10:16:26 PM
i just did what follows:
created a new project, empty stage, only one frame. in the only frame i placed
the next text:
_root.onKeyDown = function() {
trace("algo");
};
what i believe should had happened when running is: i run, nothing appears in
screen but if i press a key (a... more >>
How do i autorun the cd
Posted by eaglegreen05 at 3/17/2004 10:06:53 PM
How do i autorun my flash movie from a cd. I want it to work in mac and pc.
Please help. Also how can i set it so that when played the movie is not cut of
now when you run the projectoer the top of my movie is cut off and you have to
drag the corners to see it.
... more >>
My fish die unexpectedly!
Posted by Bluefish21 at 3/17/2004 9:26:51 PM
Well, here's my situation. I'm relatively new to a.s., but I've managed to
begin doing what I want to do, which is make some fish swim across my screen.
You can see it somewhat work
[L=here]http://www.21bluefish.com/media_in_progress/fishies_kinda_workin.html[/L
]. Now if you clicked the link... more >>
why doesn't this work?
Posted by KentDC at 3/17/2004 9:20:37 PM
myText = "this is a test";
yVals = [15.3, 44.1, 73];
txtTitles = ["test01", "test02", "test03"];
for (i = 0; i < txtTitles.length; i++) {
rep_releases.createTextField(txtTitles[i], i, 449.9, yVals[i], 230, 18.5);
[b] txtTitles[i].text = myText;[/b]
}
if I manually put in [b]test01.t... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
I dont want military time
Posted by eaglegreen05 at 3/17/2004 9:08:33 PM
I am using a scrip that is giving me a digital clock but it is doing it in
military time how can i change this to a 12 hour clock. the script is below.
onClipEvent (enterFrame) {
cza = new Date();
if ((cza.getSeconds()<10) && (cza.getMinutes()<10)) {
textTime = (cza.getHours()+":"+"0"+c... more >>
need help for sound
Posted by MistaEm at 3/17/2004 8:17:12 PM
I need help to do a button that does a fade out to the sound that i am playing... more >>
Key.isDown BUG
Posted by marcelozep at 3/17/2004 7:36:40 PM
Try to press at the same time:
left,up,space
and see what happens
Here is the link:
http://www.plan-play.com.br/marcelo/test/... more >>
Options for Ending a Flash Movie
Posted by Rushie84 at 3/17/2004 7:30:59 PM
I was wondering how to make it where the user can right click on a movie and be
able to choose "quit" to end a movie. That, or putting an "end" button on
every page i created(although) that may be hard since i am finished creating
the movie. would i add it in flash or in swf studio or either... more >>
connection speed test
Posted by Quinnmedia at 3/17/2004 7:21:32 PM
I'm in need of help with a script that tests the users connection speed. My
application for this script is for my site's audio. The script will need to
test whether or not the user is connected using a dialup connection or from a
higher broadband connection. From there it will be determined wh... more >>
IT DOESNT WORK (WITH THE ATTACHED FILE)
Posted by marcelozep at 3/17/2004 6:54:31 PM
Please look at the txt file, transforms into a fla by renaming it, and take a
look.
When you export you should see a rectangle. If you press up, and left, and
space, at the same time, you should see a phrase saying "it works". Please
reply me and say if it works, ok?Thanks!
marcelozep
... more >>
where to use preloader
Posted by ~J at 3/17/2004 6:42:33 PM
If I'm loading external files into my main movie using loadMovie or
loadMovieNum, Is it better to build a preloader in the external file itself or
build the preloader for the ext files inside the main movie?
... more >>
Visited Button State
Posted by Mr. Josh at 3/17/2004 5:55:20 PM
I need to make a visited button state so I have placed two buttons with a
button movie. I have this syntax on the movie that contains the two buttons (1
button is the main button, and one is the visited state):
on(release){
getURL('javascript:openPopWin("images/photography_001.jpg", 500, 3... more >>
Stopping a script midway thru movie... stuck
Posted by Dungeonhawk at 3/17/2004 5:35:19 PM
Hi all.. VERY new to flash and the forums, this is only the 2nd movie ive
worked on... Im doing my movie as a year in review, and for the month of April
I have a rain action script added. Just started it with a simple keyframe, and
ended it the same way... Well after the keyframe at the end t... more >>
Keys not workin/Key Shortcuts???
Posted by Heros_Darkness at 3/17/2004 5:26:06 PM
I have been trying to learn more about key movements in flash mx and i have
come across a prob. I have a project that when you press the arrow keys the
object (movie clip) on the screen moves. But I also want it to do more. So I
wanted to set it so when you press a key like a or j or any lette... more >>
writing to a text file.
Posted by flamedude at 3/17/2004 5:22:14 PM
Hi,
Is it possible to write the contents of variable to an external text file???
just wondering is all, cos it could help me.
steven,... more >>
Hiding forms with ScrollPane
Posted by Special_k at 3/17/2004 5:15:28 PM
I've got a movie with 2 forms - both have scrollpanes in them. I hide one
onload (which works) I've created 2 buttons - each should make one form
visible and the other not visible. In my actionscript for one button I have:
on (release) {
_root.application.FORM1.visible=false;
_... more >>
Text - colour change on mouse over.
Posted by Peter Fettes at 3/17/2004 5:07:39 PM
Does anyone have the answer?
I have been asking everywhere, even here and no one has yet responded.
I'm creating a navigation in flash which links are imported from an XML file
(so they can be easily amended).
however I want my links have a mouse over (rollover) effect like flickering
... more >>
append to a string
Posted by zimbot at 3/17/2004 4:53:18 PM
wish to append to a string in a text field ( this is for a touch scrnn app )
so i have the field Emailtext that is called emailtext and is a variable
email
for instance on an "A" buton
I wish to on mouse press
append Email text with an A
I also need a means of Backspacing..
... more >>
external FLV preloader
Posted by CPettit at 3/17/2004 4:50:11 PM
Hi.
Up till now I have been using MX2004 Pro to run external FLV videos from
CD-ROM only, so I did not need a progress bar for how much of the FLV is
actually loaded.
Now I need a preloader for the web and I'm having trouble knowing what
object to to reference for getBytesTotal() and get... more >>
Checking if Dataset currentItem is null
Posted by Wand at 3/17/2004 4:20:47 PM
I have successfully implemented a Datagrid, Dataset with an XMLconnector.
However, I'm trying to check if a currentItem in a Dataset is null or not and
I'm having troubles.
The code is:
trace(mySchedDataSet.currentItem.F3 == null); //returns false regardless
trace(mySchedDataSet.cur... more >>
track as menu
Posted by ldebono at 3/17/2004 3:47:50 PM
ok I'm using track as menu in a horizontal menu and I have an on press, on
release, + on rollover event on each of the buttons which turns on a small
vertical menu.
I would expect that on rolling over the on press and on rollover would be
activated even if started pressing on another butt... more >>
HELP PLEASE
Posted by marcelozep at 3/17/2004 3:47:46 PM
Tell me why flash dont recognize this:
When i put in a frame this:
_root.onEnterFrame = function() {
if (Key.isDown(Key.UP) and Key.isDown(Key.SPACE) and Key.isDown(Key.LEFT)) {
trace("ds");
//do smth
}
};
nothing happens when i press space, up, and left arrows at the same ... more >>
Disabling, locking, user / mouse interaction
Posted by ufitzi at 3/17/2004 3:45:11 PM
Hello, I need to disable user interaction (primarily w/ the mouse) momentarily.
I can successfully hide/show the mouse as needed, but interaction w/ the movie
is still recognized as I move the "invisible" mouse.
What can I do to "lock" the mouse / movie for this small timeframe??
THANKS ... more >>
How to make a shopping cart in Flash
Posted by esper1 at 3/17/2004 3:44:25 PM
Hi
I'm working on a flash site which needs a shopping cart. Since all the assets
are .swf files I read somewhere that you make your own shopping carts in flash
using actionscripting. So far so good.
I found a page on the macomedia site about a hat store and that was good but
it didn't... more >>
Interlinking Scenes Effectively
Posted by tedious_activity at 3/17/2004 3:21:53 PM
Hoping for help. I have Flash MX 2004 Pro but this should make little
difference.
I will use an example. I have 5 interlinking scenes.
One has the option to 'play all':
1 > 2 > 3 > 4 > 5
Scene 5 gives options to play all again (will play as in sequence shown above)
or for one
to ... more >>
Switch button
Posted by thehappyblimp at 3/17/2004 3:01:06 PM
Hi y'all!
I have a little prob with a button. My actionscript vocabulary was'nt adecvent
enough for this one.
This is what I want it to do:
When you press it the first time it is supposed to load a movie (not too
tough), and when you press it another time while the first movie is loaded,... more >>
LoadVars() with Internet Explorer...?
Posted by zpidermen at 3/17/2004 2:49:35 PM
I like to load some variables from a textfile called "Book.ini". The content of
that file is: &pageW=295&pageH=380. The problem is that i need those variables
immediately... Before the rest of the script is executed...
Now I've finally found a solution for this to work, but here comes an eve... more >>
Multilanguage text
Posted by Edernish at 3/17/2004 2:44:40 PM
I am trying to use this feature and get all kind of strange behavior. I am
using English and German and have all variables filled with both languages.
After I save the site the xml files for English hold all variables in German
and the German xml is empty.
I created it all new and although t... more >>
Changing Text Color
Posted by bnguyen at 3/17/2004 2:42:11 PM
http://www.intergate.com/~brett605/images/textcolor.fla
Can anyone help me to get the text to change color from the drop down menu? Thanks in advance...... more >>
this help.
Posted by philMX at 3/17/2004 2:00:25 PM
*briefly stops pulling hair out to write message*
hello.
I'm having a few problems using "this" in actionscript, not sure if its
something missing in my actionscript knowledge or I'm trying to do something
that's not possible.
I'm using "this" to target a movieclip instance dynamical... more >>
no-show nav buttons in old flash players
Posted by PeP_ at 3/17/2004 1:26:04 PM
does anyone know why in flash player 6 my slide presentation swf's loads and
shows first slide the nav buttons dont show up just empty place where they
should be. Is there a work around for older versions of flash player. Thanks
-Paul
... more >>
Mozilla not showing my flash???
Posted by trints at 3/17/2004 1:18:00 PM
Everything is fine in IE, but in Mozilla, the same page shows NONE of my flash .swf's
Any help is appreciated.
Thanks,
Trint... more >>
alternatives to eval: what gives?
Posted by dubya at 3/17/2004 12:59:41 PM
hey everybody! :)
oh, but how i am suffering! many are the woes that befall one in this twisted
flash forest! have mercy on me, O fellow bearers of the sword of actionscript,
and for the glory of God and the love of all that is Holy, please do me but the
one honour of answering this vile ... more >>
how to define the "hit area" so that......
Posted by showtimemary at 3/17/2004 12:50:32 PM
Hi,
I need to create a button which will move ramdonly on the stage. I find it
hard to set the "hit area" for it cause it's moving all the time. So, which
script do you think is able to get it done?
Thank you!
... more >>
[MX] hittest & rightclip
Posted by lingoingo at 3/17/2004 12:25:54 PM
Hi,
I use the hittest function in a mousedown-event on a movieclip. When I
click with the rightmousebutton on the clip and then click left
somewhere else (far from the movieclip) in the movie the hittest (mit
mouseposition) returns me a true value. How can I workaround this?
Thanks for a... more >>
how does #include work ? I have a strange behavior
Posted by jorgepinho at 3/17/2004 11:25:21 AM
Hi there
I am working with FP 6 ans AS 2.0 (that is mandatory)
I have a #include "cars.as" in Frame 1 line 1, all it does is variable and
object declaration. But, when I test it, I have this error: "ActionScript 2.0
class scripts may only define class or interface constructs."
I know... more >>
HTML text breaks with embeded font
Posted by fla10 at 3/17/2004 11:09:55 AM
I am having a problem displaying som HTML text with an embeded font. The swf
has the normal, bold and italic font embeded. I then pull the text of a server,
set up my text field and set the htmlText to my string. It simply breaks after
the first paragraph.
Here is the simple code. If anyon... more >>
help! loadVar will not load external text
Posted by savlanoot at 3/17/2004 10:39:58 AM
I am really stumped and would love a suggestion or two.
I have created a dynamic text box. My goal is to load an external text file
with FlashMX2004pro. Here is the code I have loaded in Frame 1, with all the
property inspector details taken care of (instance name textField_txt,
multiline... more >>
Disable zoom fscommand ?
Posted by .....james smith at 3/17/2004 10:31:28 AM
Whats the fscommand to disable zoom in flash or to disable the right click
menu
... more >>
Open email client from flash (ie mailto in html)
Posted by Bobby at 3/17/2004 8:48:47 AM
I need a button to open the users email client when clicked. I'm stumped as
to what AS code I need to use (Using MX04)
Thanks Bobby
... more >>
Nike website (Nike.com)
Posted by Urkster at 3/17/2004 8:42:55 AM
Hi all.
Can anyone tell me how these guys developed the index page for the Nike site?
www.nike.com. In particular the effect where the navigation moves with the
mouse. I am aware that it uses masking and the _xmouse property.
What boggles me is how they get the moveclip to slow down and a... more >>
linking mutiple external swf sequentially
Posted by Doug Ibarra at 3/17/2004 8:18:36 AM
I'm a newbie having a heck of a time doing what I thought was simple to do.
I am trying to create an info-mmercial by creating a Flash projector exe that
links 3 external Flash intro's swf's.
I want the swf's loaded sequentially (i.e. one starts after the last one
finishes).
I initially go... more >>
Mouse Trailer on HTML Page
Posted by mateenmohd at 3/17/2004 8:06:11 AM
How can use flash mousetrailer in htm page ?
It displays only document demission area.
It look like this (attach htm file )
It should be work whole htm page ?
Regards.
Mateen
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
<TITLE></TITLE>
</... more >>
addListener in Flash MX 2004 doesn't work.
Posted by Chick Newman at 3/17/2004 7:27:11 AM
Can't seem to get the followin addListener method to work in the trial version
of Flash MX 2004.. A dynamic text box named listener_txt is present on the
stage.
For example, the following code in frame 1 of the action script layer works in
MX...bit NOT in MX 2004.:
//listener_txt liste... more >>
"parking" movies
Posted by ~J at 3/17/2004 6:05:15 AM
Im using this example from Macromedia to "park" movies and play them upon
request.
http://www.macromedia.com/support/flash/ts/documents/preload_levels.htm
Step 2 says : "This frame action will load the movie automatically when the
playhead passes the frame in the main timeline"
Sound... more >>
xml dropdown menu help
Posted by jahipp at 3/17/2004 3:53:24 AM
Hi! This is a 2-part question. I've created a xml dropdown menu using Flash MX.
First - I would like the menu to be able to contract when another section of
the menu is expanded. Right now if you expand a section of the menu and then
expand another section of the menu they both stay open. I... more >>
Arrrgggh...
Posted by 3p at 3/17/2004 2:38:19 AM
hi. im using a combo box component and named it era_select. In the actions
panel i wrote a code that when a user selects an option in the combo box it
will go to a specific frame number, but its not working. could someone please
check the code. Thank you.
on(change){
if(era_select.value ... more >>
next or previous label navigation?
Posted by la_clinton at 3/17/2004 2:16:16 AM
Is there a way to navigate to the next or previous frame labels in MX 2004?
Thanks... more >>
Is it possible to dup. movie clip from a symbol?
Posted by gladden at 3/17/2004 1:49:54 AM
Hello,
I?m trying to duplicate a movie clip, using duplicateMovieClip from a movie
clip symbol in the library that does not have a presence on the stage. Is it
possible? I've done the following and I get "undefined" when I try to
reference it and use it.
// LMenuItem is movi... more >>
external text file load check?
Posted by bitfactory at 3/17/2004 1:41:00 AM
hey folks...
is there a simple way to check and see if this file is loaded before moving on?
[h]this.loadVariables("clock1.txt");[/h]
i have variables in this file to set a clock forward or backward time zones,
but i'd like to make
sure that the file loads before i render the clock a... more >>
attachMovie efficiency
Posted by mohyneen at 3/17/2004 1:00:06 AM
Hi,
If I have 10 jpeg images each placed on a separate frame (say from
frame 1 to 10) and then jump from one frame to another randomly to show a
random image on screen... is this more efficient than having 10 movie clips in
the library (each "exported in first frame" while linking) e... more >>
Problems Data Binding at Run-Time vs Design-Time
Posted by noahlively at 3/17/2004 12:53:17 AM
Hi All,
Here's my situation.
I am importing an XML through an XMLConnector. This XMLConnector is bound to a
dataset.
When I bind a schema-defined property of my dataset to a DataGrid at design
time, the data grid displays the appropriate fields (ID, Description and Title,
for inst... more >>
Resizing an image (exploding into size)
Posted by complexity at 3/17/2004 12:20:23 AM
Hey all,
This is a basic function but Im having difficulty doing it. All I want to do
is, resize my current image from its current size 30x30 to say 400x400. I need
it to be able to physically transform/animate into that size. So I will see it
increase in size basically.
Any help is m... more >>
|