all groups > flash actionscript > july 2007 > threads for thursday july 5
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
Passing Variable Between SWFs
Posted by IMDaNuBe at 7/5/2007 10:01:07 PM
Hello Forums:
This problem is a little complex, and any help would be greatly appreciated.
Thanks in advance.
Situation:
I have 1 main file called the DOCK. This file loads.
The DOCK loads a movie on level 1 (loadMovieNum) called PAGE0.SWF at a certain
frame. PAGE0.SWF is an ... more >>
Controlling objects from other frames
Posted by everynewday at 7/5/2007 9:25:40 PM
Hey, I really can't figure this one out. I'm sure it's something simple, and
I'll feel stupid after someone explains it. Oh well.
All the actionscript in my flash file is on its own layer in frame on. On
frame one, on another layer, I have a button called "GoButton". When someone
clicks th... more >>
Stop ALL Sounds
Posted by Inderdeep at 7/5/2007 7:34:11 PM
:confused;
Hello To All
I am using Flash 8 windows XP.
i have two mp3 Players made in flash on the same page . Both are different
swf files . Now player 1 is playing a song . if user clicks on play button of
player 2 . both players plays their songs .
I want if user cilcks on pl... more >>
Variables in Instanced Class
Posted by MaxManNH at 7/5/2007 7:33:24 PM
I am working in AS 2.0 and I am having a problem making variables globally
visible throughout my class.
For example
Class foo extends MovieClip
{
private var _seeAllFlag:Boolean;
public function foo()
{
_seeAllFlag = true;
}
function checkFlag()
{
trace(_se... more >>
Pause Streaming Audio
Posted by Marcello Mastroianni at 7/5/2007 6:54:50 PM
I'm trying to pause streaming audio with a "pause" button. However, when I
click the "play" button, the audio begins a few seconds after where it stopped.
My theory is that the "pause" button isn't recording where the audio stopped
playing; it's actually recording where the audio stopped loa... more >>
Animated writing
Posted by wfwilly at 7/5/2007 5:55:18 PM
I don't know SQUAT about Actionscript but figure you folks will 1.) have an
answer, 2.) point me in the right direction, or 3.) blow me out of this forum
for being an idiot.
I'd like to use a chalkboard image of my choice as a background and use Flash
to randomly select a line of text from... more >>
switch movie clips?
Posted by DarthTurtle at 7/5/2007 5:43:27 PM
Can you switch movie clips in flash using actionscript?
And if you can, please tell me how.... more >>
use of gotoAndplay in AS 3.0
Posted by ritpas at 7/5/2007 5:30:47 PM
Hi,
I am learning and using as 3.0. It is really great.
But now I use some timeline scripts with author-environment created clips.
clipA contains clip B.
Under clip B, in the script layer, I want to tell clip A to go to frame 2 with
the following script :
this.parent.gotoAndPlay("intro... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Multiple onMouseOvers trigger an onMouseOut...
Posted by ZachGemini at 7/5/2007 5:28:24 PM
I am really hoping someone else has encountered this issue, it is driving me
crazy... I am building a new flash site for my creative studio... On the main
timeline, I have set an onMouseOver & onMouseOut for the background MC... When
you mouseOver the BG, a content area pops up that contain... more >>
Making a PHP News Reader
Posted by samuels2921 at 7/5/2007 4:58:23 PM
Hello, How can I make Flash Read a PHP News Like
http://www.raven-symone.org/updates/show_news.php .
lntxt is my text area
I came up with this code but its not working
myData = new LoadVars();
myData.onLoad = function() {
lntxt.text = this;
};
myData.loadVariables("http://www.r... more >>
New to actioncript 2.0
Posted by CMAC1992 at 7/5/2007 3:55:52 PM
What actionscript is needed to call a swf file from a button and then a return/back button to go back to the original swf file?... more >>
300,000+ XML Nodes
Posted by ChrisFlynn at 7/5/2007 3:24:23 PM
Hi all
// begin sarcasm
So I have this little XML file, with 300,000+ nodes (318,006 lines in this XML
code to be exact).
// end sarcasm
Right now, I'm loading this monster in. When I finish loading, I want to take
all these nodes and save them to an Object, so I can easily reference... more >>
doing something wrong...
Posted by yarkehsiow at 7/5/2007 3:22:35 PM
hi i have attached my code which i have been trying unsuccesfully to execute...
basically, i want the "tab_mc" to be duplicated as "new_tab0", "new_tab1",
"new_tab2" etc...
but no luck... can anyone see what i am doing wrong?
thanks!
this.createEmptyMovieClip("tab_mc", this.getNextHighes... more >>
Pausing code for a certain amount of time
Posted by sr817 at 7/5/2007 3:11:51 PM
I had a question that I hope someone would be able to answer. Is there a way
to pause code, leaving a set amount of time between when one line of code is
executed and when the next line of code is called? I'm assuming there is
atleast one way to do it, but I'm still very new to actionscript ... more >>
referencing layer names
Posted by NickTheNameless at 7/5/2007 2:02:59 PM
can layer names be referenced and manipulated in the AS of a swf? i know they
serve a great purpose when editing and debugging a fla file, but they can they
be used beyond that? let's say, something like using _visible to toggle the
visibility of entire layer.
... more >>
Another crazy, wacky question......
Posted by leatherjeep at 7/5/2007 1:36:26 PM
Hello all,
I am trying to figure out how to use a couple of variables that I have
attached to an swf file via the object tag, like so:
Chat.swf?appInstance=Red&myColor=0x006633&username=thisusername
The swf runs fine.
What I'm trying to figure out is how to take the variables like ... more >>
printing variables
Posted by fuatsungur at 7/5/2007 5:49:47 AM
in actionscript, i have variables that contains html content
$var = "<html><head></head><body><font
color='#ff0000'>ACTIONSCRIPT</font></body></html>"
and i wanna print them to screen.
what are the ways of this, except textarea?
thanks
... more >>
skip to frame
Posted by beesbane at 7/5/2007 5:13:52 AM
how would i write the actionscript in AS2 or AS3 to make a button when clicked jump to a specific frame?... more >>
AS 2.0 Problems
Posted by Lakhonian at 7/5/2007 2:08:04 AM
hi guys
I am hoping some one can help me out here.
I'm building my portfolio/resume in Flash, and i am having a real big headach
getting teh actionscript to navigat from one frame to another with the buttons.
i.e the stop(); code works fine on its own, but i want to get the slider to go ... more >>
onEnterFrame question
Posted by learning_836 at 7/5/2007 12:00:00 AM
I'm just trying to get a mc to move across the page. I entered....
trainRight_mc.onEnterFrame = function (){
this._x += 10;
}
yet it goes nowhere. I got this code from an action script tutorial & it works
great for that. What am I doing wrong?
... more >>
can flash write documents
Posted by Xchristine at 7/5/2007 12:00:00 AM
Hello,
I would like to know if it is possible for a standalone flash application to output data into a text document (create the file and write in it).
thank you.
Christine... more >>
Mouse Listener stops working on Right click
Posted by mediauniv at 7/5/2007 12:00:00 AM
Hi,
Any one knows why MouseListener stops working when you right click. and resumes again only when you close the context menu which opened by right click?
Regards,
Kumar.... more >>
Movie Clips Trouble
Posted by jude86 at 7/5/2007 12:00:00 AM
Hello,
Just wondering if anyone can help me.
I have a series of movie clips, movieClip1_mc, movieClip2_mc,
movieClip3_mc.............etc. and i have another series of dragable movie
clips, drag1_mc, drag2_mc, drag3_mc...............etc.
I need to code my action script so that when ... more >>
variable scope
Posted by Shanthi.AL at 7/5/2007 12:00:00 AM
Hi,
I am new to oops concept.I have one problem....
// this is my code .....
class KnightsMove {
public var currI:Number = 9;
.
.
.
.
eventOnRelease(obj)
.
.
.
private function eventOnRelease() {
objName.onRelease = function() {
trace(currI);
}
... more >>
Triggering events on frame
Posted by Hulfy at 7/5/2007 12:00:00 AM
Can't see to get this to work.
All I want to do is out an action on frame 10 that makes my movie clip 'ball'
move. This is what I get
[b]Clip events are permitted only for movie clip instances[/b]
... more >>
as2 class function scope problem
Posted by verbruggher at 7/5/2007 12:00:00 AM
How can I reach/call my function say() from inside my xml.load function? I
tried with Delegate.create but even that one can't reach him.
How I can call say() function from out there?
import mx.utils.Delegate;
class clsMenu {
private var numOfItems:Number;
function clsMenu(swf:M... more >>
|