all groups > flash actionscript > november 2004 > threads for friday november 19
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
multifunctional button
Posted by boris benc at 11/19/2004 10:54:10 PM
I think about a button with some different actions to execute one after another
/constructing a cycle/.
============================================================ for instance the
button which after <first release> sends a 'string 1' to the output window;
and after <second release> sends ... more >>
gotoAndPlay
Posted by knucklenutz at 11/19/2004 10:37:42 PM
Hi, I am encountering a weird occurance with the gotoAndPlay action. When I
load an external swf into a target clip, I am trying to tell the movie to go to
a specific frame label based on a variable - gotoAndPlay('scene_' + variable);
Each scene begins with a label such as scene_1, scene_2... more >>
Some help with loadMovie please?
Posted by Dave Mennenoh at 11/19/2004 10:15:22 PM
I'm building a dynamic portfolio with MX04 and am having some trouble with
loadMovie. As a simple example - I have a movie clip named thold - if I do:
loadMovie("theURL", thold) it works as expected. But what I want to do is
embed thold into another movie clip. So I did - let's call it tmain. ... more >>
My sound will not play.
Posted by Randy Collier at 11/19/2004 10:11:11 PM
:confused;
I have an .as file that has many functions. One of the functions is supposed
to attach a variable the the word sound, attach sound and .start(); all from
another function.
ex.
function start()
{
//blah blah
playsound();
//blah blah
}
function playsound()
... more >>
Using action script to detect end of a Streaming .FLV movie?
Posted by mcjimbo at 11/19/2004 9:53:23 PM
Hi everyone, I'm newbie to Flash so bear with me. For those of your with Flash
MX 2004 Professional it has a great template for Bandwidth Selection and
Streaming of .FLV movies. To get to the template i'm talking about, on the PC
version at least go to the menu 'File' then 'New' then click th... more >>
php and forward and previous buttons
Posted by Phil at 11/19/2004 9:49:59 PM
Hi,
I am having a most difficult time finding a simple Action
script that allows me to pass a string variable from a php
and mysql script to a flash button.
I want the getURL(...) to reference a variable string for
instance:
php embed file: <param name="paramVars" value="<?php
var... more >>
onPress - General question
Posted by alphabit at 11/19/2004 9:28:15 PM
Hi everyone!
I try to affect the onPress function to a specific frame in a movie clip
animation. But that doesn't work.
When the animation run and past this frame, the onPress function become active
but if
I restart the animation, the onPress function still active for all frames (the
f... more >>
gradient mask
Posted by Flashlight Brown at 11/19/2004 8:46:45 PM
I'm trying to make a scroll area where the contents of the scroller gradualy
fade off the top and bottom as you scroll. I'm assuming if i add some sort of
gradient effect to the edges of the scroll content's mask this would do the
trick. Anyone done / seen this before?
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
dynamic width of a text box
Posted by Flashlight Brown at 11/19/2004 8:46:05 PM
Is there a way to dynamically create the Width of a dynamic text box? In the
following example i've set autoSize to true, so when i pass the Height value as
1 it automatically resizes the Height to fit the text, but the same doesn't
happen with it's width, i have to explicitly declare this val... more >>
javascript:open window and passing a cf variable
Posted by crendering at 11/19/2004 8:24:44 PM
Hi. I've read many postings about how to open a window from flash using
javascript, and learned how to do this. However, none of them covered the topic
of opening a window from flash using javascript while passing a variable
dynamically. I've tried this instance and it works fine:[br] functio... more >>
link to projector
Posted by robotstyle at 11/19/2004 8:24:43 PM
Greetings, how do I make a link to a projector file from within another projector file? (I do not want it to open in a browser) Thanks.... more >>
link to projector
Posted by robotstyle at 11/19/2004 8:24:42 PM
Greetings, how do I make a link to a projector file from within another projector file? (I do not want it to open in a browser) Thanks.... more >>
getURL - swedish characters not correctly translated
Posted by Genfors at 11/19/2004 8:20:17 PM
Hi! I have a problem with the getURL function. Swedish characters in variables
are not correctly translated. Is there anyway i can force flash not to try and
translate them to %values like %C3,%A4 etc? My call looks like this: var
fstore = 'B?r'; getURL('Modifystore.asp','_self','GET'); T... more >>
looping a number of times
Posted by muscaty at 11/19/2004 7:55:37 PM
Hi,
I want to create a swf that loops 3 times and then stops on an end frame but I don't know the code,
any pointers?
much appreciated,... more >>
looping a number of times
Posted by muscaty at 11/19/2004 7:55:30 PM
Hi,
I want to create a swf that loops 3 times and then stops on an end frame but I don't know the code,
any pointers?
much appreciated,... more >>
No 'hand' on RollOver
Posted by klick at 11/19/2004 7:07:46 PM
I was wondering how you keep the arrow pointer on a rollOver effect. Normally
you get the little hand with the finger. An example of this effect can be
found http://www.powerade.com. RollOver 'Choose your country'. Thanks or your
help.
... more >>
getting frame labels using javascript
Posted by fishinabucket at 11/19/2004 6:43:13 PM
I have been trying to get frame labels using javascript TCurrentLabel but have not been successful.
Does someone have code to do this?
Thanks....
It's as easy as shooting fish in a bucket... more >>
Re: Generating an image output from an swf
Posted by rangewalker at 11/19/2004 6:28:53 PM
does it have to be flash?... more >>
Cheaters Alpha Fade
Posted by AwesomeDigital at 11/19/2004 6:12:37 PM
I don't know if this is kosher programming, but I created a fake fade in and
out that ALMOST works except for one small part. I am looking for suggestions
on how to either make this work or do it another way. I load a movie into
level 5 When I want to fade it out, I load another movie into l... more >>
Button commands
Posted by danthewebguy at 11/19/2004 5:42:37 PM
on(release){
_parent.company_careers.gotoAndPlay("unload");
_parent.gotoAndStop("careers");
}
This is the AS I'm using now - well, doesn't work. Let me tell ya what I want
.. . .
I have a main timeline, on that timeline I have 5 individual frames with
labeled instance... more >>
Fonts in Shared Library
Posted by matthland2 at 11/19/2004 5:30:02 PM
I'm trying to use a font from a shared library in several dynamic text boxes.
When I use the shared library font, and the text is loaded into the dynamic
box, the text doesn't show up-- but when I remove the shared library font, and
just embed the fonts in the individual swfs, they work fine.... more >>
swapDepths issue
Posted by Chris J at 11/19/2004 5:24:41 PM
I have the following on a symbol which enlarges it on press and then moves
it behind other symbols on stage on release
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse,_root._ymouse)) {
this._xscale=200;
this._yscale=200;
this.swapDepths(0)
}
}
onClipEvent (mouseUp) {
if(t... more >>
target loaded movie from another loaded movie
Posted by tfin at 11/19/2004 5:01:01 PM
I am having problems in Flash MX04 targeting a loaded movie. on the first
frame of the main move file I have.... _root.createEmptyMovieClip('mainStage',
1); loadMovie('images/introMovie.swf', 'mainStage'); mainStage._x = 215;
mainStage._y = 0; this works. next on a button nested deep in my ... more >>
Help with loadMovie problem
Posted by dutchoh1 at 11/19/2004 4:35:06 PM
Thanks in advance for anyone who decides to read this (it might be a bit
lengthy) all right.... Explanation of what I am tryint to accomplish: I have
a Movie that I am turing into a portfolio to showcase different types of work.
I have buttons that take you to subpages from the main page. E... more >>
FireFox 1.o and Caching
Posted by rangewalker at 11/19/2004 4:21:10 PM
It appears that Firefox displays cached .swf files even if you pass a
gettimer() parameter when call ing the movie...and what's worse, it seems that
it's not like IE in that when you close Firefox and reopen the cached movie
STILL is the one that is displayed. Anybody else seen this and/or ... more >>
ActionScript 1.0 tutorial
Posted by Albert Liu at 11/19/2004 4:04:08 PM
I am new to Flash. I want to start from AS 1.0, but cannot find any material about it. Everything I have found is for AS1.0 or migrating from 1.0 to 2.0. Anyone knows tutorial for 1.0 only? Thanks... more >>
_root.var.play(); -- NOT:(
Posted by bpurcella at 11/19/2004 3:36:54 PM
I am passing a var from another screen (Dude1) it is in _root.SFirst.text I
then append '_mc1' the trace come out correct then I try to play() the MC and
nothing happens.(grrrrrrrr.) if I hard code it then it will work (not what I
want). Please help. My forehead is getting really sore. stop... more >>
Fscommand For Fire Fox 1.0 explorer
Posted by Ronak Bhagdev at 11/19/2004 3:11:49 PM
Which changes I have to do in this script to use it in FireFox 1.0 and internet
explorer. var isInternetExplorer = navigator.appName.indexOf('Microsoft') !=
-1; // Handle all the FSCommand messages in a Flash movie. function
contact_DoFSCommand(command, args) { var contactObj = isInternetExp... more >>
Re: Sound.duration
Posted by kglad at 11/19/2004 3:03:52 PM
don't stream your sound or don't use Sound.duration. (and i don't see how flash would know Sound.duration by knowing totalBytes unless it could also detect the bytes/s of your sound file.)... more >>
Dynamically Select Movie Clip
Posted by Ultrafusion at 11/19/2004 2:11:13 PM
Hi, the answer to this is probably simple but I'm having one of those days and
can't for the life of me get this to work. Let me explain what I'm doing.
I have 3 movie clips (mcImage1, mcImage2, mcImage3) to which I want each to
load a dynamic external jpg file from my array of filenames. I ... more >>
bug in Movieclip.loadMovie?
Posted by snert99 at 11/19/2004 1:56:45 PM
Im using loadMovie to load a SWF into the main timeline, but there seems to be
a problem with trying to compair getBytesLoaded and getBytesTotal. I have in
the code an If statement to check when the SWg is fully loaded and to make the
loader bar disappear and delete the onEnterFrame loop. Howe... more >>
Button actions in test scene mode
Posted by Chris J at 11/19/2004 1:28:38 PM
I don't get this.
In author mode with enable simple buttons selected the buttons work fine.
In test movie they work fine
In publish (f12) they work fine
BUT,
when I try to test the scene they don't work. The button has:
on (release) {
gotoAndStop(42);
}
on it.
I discovered that when th... more >>
setting visible property in loop?
Posted by Andy Petroski at 11/19/2004 12:28:34 PM
I'm using Flash MX Prof 2004 on Windows XP. I'm trying to set up a loop
that sets the visible propery of buttons to false.
The button instance names are photobttn_1, photobttn_2, . . . photobttn_15
My traces are showing the correct output - matching the button instance
names. But, the button... more >>
Twins go crash
Posted by creativeChannel at 11/19/2004 10:00:45 AM
:confused;***WARNING, FOLLOWING LINKS FROM THIS POST MAY MAKE IE CRASH (THAT's
the problem... )***
I'm trying to run 2+ flash movies in the same html page. You can crash your
browser here: http://www.vgfx4.com/test/embedVideo.htm or see whats going on
from [ view-source:http://www.vgfx4.c... more >>
flash and perl
Posted by macca242424 at 11/19/2004 8:44:28 AM
Hi i have a flash website with a form included, which must be scripted in perl.
i have name, address, etc working fine but i need to included a list of radio
buttons do i need to action script these?
also i have the perl script file which is attached, how do i include the radio
buttons in ... more >>
Displaying 500 images in 500 movieclips
Posted by I am stuck at 11/19/2004 8:03:40 AM
I have to use more than 500 images in flash? I am displaying cards having image
n text.. each card is a movie clip on which I attach image n text box? but
flash runs put of memory when I compile it with more than 50 cards?. Everything
is working fine wid lesser no of card.. please tell me a w... more >>
loadmovie problems
Posted by zerepa at 11/19/2004 7:47:46 AM
I am having a problem with a "loaded" movie clip.
I am able to "loadmovie" into a mc_holder(containter).
It is located in a certain scene of my main movie. (navigation timeline)
It loads fine , but when i navigate outside of the scene and then return to
that scene it is empty.
I have tried... more >>
How to go to next frame by pressing keyboard
Posted by lancelott at 11/19/2004 7:14:40 AM
I'd like to let the keyboard control the play, e.g. one frame per pressing. Can frame actionscript handle keyboard events?... more >>
Can we have different frame rates
Posted by kakas at 11/19/2004 5:09:58 AM
hi,
I have 3 scenes and the flash frame rate is 20. now for scene 3 i have a movi
clip on my main time line which runs thru the scne. I want it to be slow ..so
can i have a different frame rate for this for instance : 12 fps? Will this
solve my problem or i have to strect my keframes to ... more >>
how to access the child swf's mc?
Posted by freegink at 11/19/2004 4:35:24 AM
swf A use loadMovie method to load a external swf B into itself, then swf A need control swf B's mc. how to do?... more >>
Doing Things in Order
Posted by Rothrock at 11/19/2004 3:11:28 AM
I'm trying to use code to animate the set up of my interface. I've got a
movieclip (theMenus) which has 15 clips inside it (Menu1, Menu2, etc.). I have
a function which will move a movie clip from here to there at a specified
speed. So at first I want theMenus to slowly move to the center of t... more >>
how to add guide path on mc with action script?
Posted by freegink at 11/19/2004 2:54:02 AM
how to use action script to add guide path on mc?
i looked for flash referances all, but i cann't find it;... more >>
Loading & starting a movieclip at the frame number from which is was called.
Posted by Simm3 at 11/19/2004 2:50:49 AM
In FashMX using ActionScript I am attempting to call (load) into Movie 1,
which is on frame N, Movie 2; and I want Movie 2 to start playing from its
frame N. Can this be done? Suggestions? Any information will be appreciated.
Simm3
... more >>
Randomiser Min Max Boundaries??
Posted by The RPG MAKER at 11/19/2004 1:27:29 AM
onClipEvent (mouseDown) {
_root.ran = random(50);
if (_root.ran>=10) {
_root.vari = _root.ran
}
}
Here is a fun and useful code for making boundaries to the randomiser. BUT
(always a but on theese forumz have you noticed??)
can it be simplified to do the same thing without if ch... more >>
Language constructs for objects or items used?
Posted by XebraTech at 11/19/2004 1:10:52 AM
On very complex Flash applications I'm finding that it's pretty easy to lose
track of where the code is. I'd like to write a little parser that would
provide the ability to list out all code snippets so that I could create a
Calling Chain document or something like that. Is there any type of... more >>
Various Stop Points
Posted by UnrealSem at 11/19/2004 1:05:13 AM
How do i set the scene to stop and return to frame 1 at various points, that
way i can link a button to start on the frame after the stop actions...i have a
large movie file that i want to break into parts, so when you click on a
section link it will jump to a later frame and return to the beg... more >>
Text Linking
Posted by TomSlattery at 11/19/2004 12:37:37 AM
I'd like the contents of a text file to dymanically import into a text field in my movie. How do you do that?
Thanks!
TPS... more >>
http referrer
Posted by smokoSAC at 11/19/2004 12:19:25 AM
Is there a way to detect in a SWF what the http referrer to that SWF was (without usinf Flash Communication Server)?
Thanks... more >>
|