Home Tutorials Forums Articles Blogs Movies Library Employment Press Buy templates

Go Back   ActionScript.org Forums > Supporting Technologies > Server-Side Scripting

Reply
 
Thread Tools Rate Thread Display Modes
Old 03-20-2001, 02:39 AM   #1
ChildGirl
Registered User
 
Join Date: Mar 2001
Location: Malaysia
Posts: 9
Send a message via ICQ to ChildGirl
Question

Hi there,

Im quite impressed this site. Really provide me a lot of information.

Actually Im having some difficulty in Flash. Currently Im having a project where I need to include a mute sound button
in every .swf where locate in separately html page. That means when user press the mute button in .swf in one html page, when go to next html page the .swf should be mute as well. Mute button is to mute the narration.

Secondly, if I have an volume control button in every .swf, how should I pass it variables to another .swf while load it. This is different from the case above coz is a whole flash.

Wondering how should I code it???? Im reallt stuck here, and appreaciate that u can provide me in details. Pls make my life easier.

Hope to hear from u all Very very sooonnnnnnnn.
Thanks.

ChildGirl is offline   Reply With Quote
Old 03-20-2001, 02:50 AM   #2
Jesse
Administrator
 
Jesse's Avatar
 
Join Date: Nov 2000
Location: Australia
Posts: 8,612
Default

If you want to pass variables around between Flash and HTML files you're going to have to use a form of dynamic pages. I use PHP. See this thread:
http://www.actionscripts.org/forums/...3?threadid=743

As for the other, passing variables between Flash files is easy. You just use GetURL or loadVariables with the GET method for the variable send and your loaded movie will import the variables from the previous movie.

Cheers

Jesse
__________________
Cheers

Jesse Stratford
ActionScript.org Cofounder
Email: presented in this way to stop spam-bots: My email is composed of my first name (jesse) followed by my last name (stratford) followed by @ followed by actionscript.org

Please don't email or PM me Flash questions, that's what the Forums are for!

Please don't rely on me reading my PMs either. Email me about important stuff.
Jesse is offline   Reply With Quote
Old 03-20-2001, 02:58 AM   #3
ChildGirl
Registered User
 
Join Date: Mar 2001
Location: Malaysia
Posts: 9
Send a message via ICQ to ChildGirl
Default

Thanks alot Jesse.

But would u mind in much more details????

Em...maybe a small example where include the same situation like my case?? (mute button to mute narration and be able to resume while un mute it)

I know seem like I asking tooo much but Im really very fresh in Flash, just pick up and need to solve this problem.

I appreaciate u can help me out.

Thanks
ChildGirl is offline   Reply With Quote
Old 03-20-2001, 04:08 AM   #4
Jesse
Administrator
 
Jesse's Avatar
 
Join Date: Nov 2000
Location: Australia
Posts: 8,612
Default

That thread is about as indepth as I can afford to get atm. I'm going to write a tutorial on it soon but I don't have much time this week.
You might also want to consider using Cookies which would prolly make it easier and more efficient for later visits. Checkout this tutorial: http://www.the-stickman.com/tutorials/f4cookie.shtml . That way you can set your cookie to store a value which each of your other flah files check and if the value (say it's a variable called 'sound') is False, then your sound clip doesn't play.

Cheers

Jesse
__________________
Cheers

Jesse Stratford
ActionScript.org Cofounder
Email: presented in this way to stop spam-bots: My email is composed of my first name (jesse) followed by my last name (stratford) followed by @ followed by actionscript.org

Please don't email or PM me Flash questions, that's what the Forums are for!

Please don't rely on me reading my PMs either. Email me about important stuff.
Jesse is offline   Reply With Quote
Old 03-20-2001, 05:18 AM   #5
Jesse
Administrator
 
Jesse's Avatar
 
Join Date: Nov 2000
Location: Australia
Posts: 8,612
Default

Don't say I never do anything for you, brand new tutorial:
http://www.actionscripts.org/tutoria...nd/index.shtml

Cheers

Jesse
__________________
Cheers

Jesse Stratford
ActionScript.org Cofounder
Email: presented in this way to stop spam-bots: My email is composed of my first name (jesse) followed by my last name (stratford) followed by @ followed by actionscript.org

Please don't email or PM me Flash questions, that's what the Forums are for!

Please don't rely on me reading my PMs either. Email me about important stuff.
Jesse is offline   Reply With Quote
Old 03-20-2001, 06:02 AM   #6
ChildGirl
Registered User
 
Join Date: Mar 2001
Location: Malaysia
Posts: 9
Send a message via ICQ to ChildGirl
Default

Thanks alot Jesse. U r great. I will try it out later on, em....but I think I will take some time to understand the coding...heheheh...wat to do, still very new in this programming world.

But I do suggest u can provide some example or source code on muting narration around pages, passing variables ....etc
Cause I went to quite a lot of forum, and they never provide any feedback for the questions related to this matter.

Hopefully u all cna provide a much more closer/ similar solutions, so that like people which is very new or like me can have a more clearer ideas.
ChildGirl is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Urgent!!! Show Chinese in Flash!!! troubleGal ActionScript 2.0 6 02-25-2005 06:03 AM
urgent question in load vars coilcoil ActionScript 2.0 1 01-10-2005 03:12 AM
Urgent help needed ashlaz ActionScript 1.0 (and below) 3 04-10-2003 11:26 AM
URGENT URGENT gif transparency... linckx ActionScript 1.0 (and below) 2 12-30-2002 10:18 PM
Urgent Help needed! getVariable works but setVariable doesn ?! maven5 ActionScript 1.0 (and below) 0 08-27-2002 01:39 AM


All times are GMT. The time now is 02:56 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2009 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.