Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Flash Control



Hi,

Is there a way to call a function that's in my Flash in actionscript, From a javasrict function.

Basically I have a list in HTML and when I click on the links I want My flash to call a function. That function calls a component CFC that loads info from the database depending on which link was clicked. I'm cool with loading the the info using the components But My problem is Calling it from HTML/Javascript. Any Ideas, how or where I can learn.(already did eddy traversa's tutorial and not enough)

Thanks



FlashKit > Flash Help > Flash MX
Posted on: 08-20-2002, 08:26 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Sound Control With Pause Button As Well As Timeline Control
Hi there

I have a flash page, with a ambient track playing. I added a pause and play button. So you press the button then it stops, then you press it again then it plays...

So now i want to make it so that if you go to the 'WORK' page on the site, wich is on its own frame, and wich has different buttons linking to it, then i want the sound to switch off when i am on the work page as well.
So if the background ambient music plays, and you go to work then the sound switches off. Untill you switch it back on again
How is the best way for me to do that?

How Can I Control A Swf File Via RF Remote Control, Ala Powerpoint?
I have a Mac laptop and Honeywell RF remote that will control Powerpoint presentations. I'd rather make the presentations in Flash. The remote has three functions: last slide, next slide and blank screen. I have no idea what signals the remote sends for Powerpoint to read, but it must be pretty standard.

Does anyone know a way to code Flash so that it will respond to these commands the same as Powerpoint does... or is this a lost cause?

Thanx!

Load/control Movies From 1st Flash/1stwindow To 2nd Flash/2nd Window
Can anyone help?

I want to load movies using a flash file in one browser window into another flash file in another browser window.

Once I have achieved this I would like to have a certain amount of control over this second loaded movie such as what frame, whether it has finished, stop, start etc.

thanks

I Would Like To Externally Control Loading Flash Movies In To A Flash Player With Js
I am seeking assistance on loading a flash movie in to a set flash player, by externally selecting an html link. I am wondering if I need to set a javascript variable within my flash player to do this.

How Do I Control A Flash Movie From A Seperate Flash Navigation Bar. Actionscript?
I need to create a flash navigation that controls another flash movie in the middle of the screen. In other words, when someone clicks on a menu item it pulls up one of the frames in the flash movie. If you click on another item, it pulls up another frame in the flash movie and so on. The flash navigation bar is on the left and the movie is in the middle of the screen. I have both movies created, I just need to connect them. Are we talking about actionscript here? any ideas or suggestions appreciated.

Flash MP3 Player And Separate Flash Movie Control
Hi Everyone,
I am not sure this has been talked about as I have looked into Mp3 stuff on this forum so here goes. I have a basic Mp3 player on an html page. It is the "Theron_Parlin-Mp3_Player-614" Player. Currently I have it playing as soon as someone hits the page. I want people to hear the comedian in the backgroun as they surf the site. I currently have two video pages, one with Quicktime, the other with Windows Media files. When a person clicks one of the video the appropriate player opens and plays the video. The problem I have is that I have to instruct my visitors to pause or stop the Mp3 player on the main page. I'd like to have the player pause on some type of mouse click in the Video sections.
I have given thought to taking the videos and just making them some sort of Flash video so that I can cut down on storage space and have more control over stopping the Mp3 player. The problem I have is that I am going to be using html pages as I am now and the site won't be a full Flash site(that will come later). I have no idea how to connect the two "players" in order to have control over how the play is stopped on the player. I want the Mp3's playing all of the time, unless there is user interaction. If a person clicks the new video files in some type of Flash file I want the Mp3's paused until each clip is complete. Then the Mp3 player will start back up. Is it possible?
I am thinking that I will have an html page with links to the Flash movies on a single page/player. How do I connect the two Flash entities to have control?

Thank you,
Don

Make Non-flash Button Control Flash Movie
Hi
Any idea how I can make a standard gif button in one frame control a flash movie held in a different frame? It's only a simple function that I want to do - I want to click on the button and the flash movie will jump to a particular frame on the main timeline.
Thx.

Flash Swf Control
I'm doing a presentation from a laptop and projector. I start the SWF file. Instead of pressing the Alt-F key to go to full screen view and hidden menu bar, can I set the file up to do that automatically? I'd like to just click the SWF file and have it automatically be at full screen size with no menu bar. Help anyone?

Flash SWF Control
Ok, I got my first question answered (thanks to RoyalW!)

Tell me, is there a way to fast forward or rewind a SWF other than using Ctrl-> or Ctrl<-?

The basic controls are often too slow. What if I'm at frame 780 and want to get back to frame 200?

I know there's something about bookmarks, but is there another way that's similar to a VCR control?

Anyone?

-Travis

Flash OCX Control
Hi,

I am looking for complete documentation for integrating flash ocx control in other environments like Visual Basic etc. I mean, detailed listing of the properties that I can set etc. b'coz it becomes really tough to know about the property/methods without knowing the related available options. Any help would be appreciated.

With warm regards,

Parag Shah

[Flash MX] Control The FPS
hi, how r u all
i ahve a main swf which loads some SWFs inside,
for main the frame per second is 30,
and the loaded SWFs are 12, and there are some vedios in some of them.
the problem when i show the project the fps of all SWFs change to 30.

thanks for your help

Flash Mc Control
Hi there

I know this is going to be a bit of a strange question

But I’ve have been asked to put together a flash app that a user a select an graphic objects from a library and place then on a pre selected template, and be able to manipulate the object by clicking on them to select and drag it around the template, scale and change the alfer values.

I am not having any problem with getting the movie clip on to the template but I am having a problem selecting the items.

Does any one know of any source code I can have a look at to se how this is done because I am a bit lost.

Thanks all

Mac : )

[F8] Flash Pop-UP Control
Hello,
I have a link in a website, that opens a Flash .SWF in a pop-up window. The .SWF has 10 frames in it, is there away to make the .SWF jump to a certain frame, from the HTML link in the original HTML page? Is there any code for that feature? HTML/Javascript? Please help.

Flash OCX Control
Hi,

I am looking for complete documentation for integrating flash ocx control in
other environments like Visual Basic etc. I mean, detailed listing of the
properties that I can set etc. b'coz it becomes really tough to know about
the property/methods without knowing the related available options. Any help
would be appreciated.

With warm regards,

Parag Shah

Flash Control From PHP
What I am wanting to do is have a Flash movie with two frames.
Frame one contains a visitor's menu and frame two contains a member's menu.
Then, check to see if the person is logged in or not.
If they are, the movie goes to frame two, if not, it goes to frame one.

I can use this code to determine whether or not a user is logged in:

PHP Code:



<?
if($logged_in)
{
echo 'Logged In';
}
else
{
echo 'Not Logged In';
}
?>




I need to know how to:
a) Make this script output something that flash can recognise
b) Make flash check the status of the output then go to the correct frame

My Flash/PHP skills are not very good yet but this is how I learn.

Flash Vs MP3 Control
Hi
I know that we can control sound in Flash, but it's not possible to create a real MP3 player with a visual that follow the sound beat. I found a software that can convert MP3 into swf or flv to allow us to really control sound with variables that represent the spectrum values. I't a cool product, but If anyone has another to suggest, let me know. I really appreciate when I can compare more then one product and choose the one I prefer.

Here the SwiftMP3 SwiftMP3

Tanx in advanced

Flash Control X
Thank you for all the help i've found here. ive used dreamweaver to form my web pages. ive tried to use your tutorial to make flash work without clicking but no success. ive got the js script - its in the same dir as my html, but im not sure where to put your generated script and if i should delete anything on the existing html. hope you can help.

Control Flash
Hi I am wondering if I can control my .swf file from html or any other way. what I wanna do is say I have five pages and 1 swf file with 5 frames I want the swf to show a different frame for each page so when the user go to page 3 the I an tell the swf somhow to go to frame 3 or watever frame I tell it, can this be done?

Brian

Control In Flash With XML?
Hi you all.

Can someone HELP me with this?

I have a Hierarchical Menu in Flash which loads from an XML file.
My problem is that i don't know how to script for one button (item) in order to have the action="getUrl" and also "gotoAndPlay" a specific frame.

What I mean is that for the same BUTTON I would like to load an HTML page and ALSO to make an action (gotoAndPlay) in the Flash movie.

Can somebody tell me an example script of how the XML should look??

my example:

<hiermenu method="1">
<dp title="false">
<item name="Home" sub="0" html="true" action="getURL" url="pages/home.htm" target="content"/>

HERE is where i still need the gotoAndPlay action for a certain frame in a certain movieclip.

THANX IN ADVANCE for any HELP

jinkazama

Control Flash From JS
Hi!

I have a couple of animations to be made in flash, the thing is I want JavaScript to trigger different animations based on a couple of (x)html element the user clicked on.

Right now I´m using the IsPlaying(), TGotoLabel() and Play() calls from JavaScript to interact with Flash.
Don´t know if this is a good way to go? Could not find any up to date information about this.

All comments, sugesstions and/or help is appreciated!

Best regards

Need To Control Flash To Flash On Same Html Page
I have two flash movies on the same html page separated by tables. I want a button in Flash movie 1 to send Flash movie 2 to a particular frame. I am not a programmer and specific code & gory details would be appreciated. I'd like to avoid using java if possible, any ideas??
Thanks

Can Non-flash Rollovers Control A Flash Movie?
I have been racking my brain trying to come up with the best way to make a flash movie that can interact with html links on a page. Basically there is a list of products (about 20) that are currently just html links. On the home page, the client has asked for a flash movie. When you roll over product items, the flash movie should jump to an animation relating to that product. These animations could all be built on the timeline of one flash movie, or could be multiple .swfs.

So far the best idea I can come up with is to have multiple swfs. I could potentially position each one absolutely so that they stack on top of each other. Then use CSS or javascript to change the stacking order when you rollover the links. This seems to be a rather cumbersome solution though, and I think there must be a more efficient way to do this.

Can anyone let me know if any of the following ideas might work?

- I have used javascript to make disjointed image rollovers, is it possible to mouseover a link and then swap a swf file?

- if you mouseover the link, can javascript send a variable to flash, and then have actionscript detect that variable and send the movie to the appropriate keyframe?

- Is it possible to achieve the effect I am looking for if you click the links instead of rollover them?


I am using flash cs3, so i can use actionscript 2 or 3.
What I am trying to avoid is creating the whole page in flash, as it would be inconsistent with the rest of the site.



Thanks for any suggestions!!

Using Flash To Control An Intereactive CD
I can create a CD with an autorun.inf that loads up a flash projector no worries, but how do I get that flash projector to open up other flash projectors.

Example the CD starts on FlashIntro.exe
It has an intro then a menu to lead to different media, some HTML pages, MP3s, AVIs and other Flash Projectors.
How do I tell a button to go run another file.
Then how do I address that file in flash assuming it is in the same directory as FlashIntro.exe?

Thanks in advance to anyone that can help.

I CAN'T CONTROL MY FLASH PLAYER?HELP
hi. i have a page set up that has 2 frames. both frames containing a seperate flash movie. is there a way for one flash movie to control the other...

ie... send commands to GoTo a frame or label?

is this even possible?

Control Flash From HTML
Hi all,

I've been trying to find a solution, but nothing seems possible. Here is the problem. I now I can use flash to give commands to the HTML page using Javascript (FSCommnad). Now I want to know if there is anyway to use HTML to give a command to the FLASH when an event happens.

I want to know if this is possible, and if yes, how?

If there is anything that I need to post to give you more information, just post.

Thanks in advance

Ali

Can You Use Control Arrays In Flash 5?
Can you use control arrays in Flash 5? Please Help!!

If not, is there a work around?

Shane

JavaScript To Control Flash
Hello,

Anyone here know how to make JavaScript control Flash...
for example, when you click on a link on the html file it targets a specific frame on the swf file... what if I was using frames and I wanted to control through js a swf file on the other frame... any ideas?

help!!!

Using Flash To Control Iframe. Can It Be Done?
I have a swf movie embedded on an html page. What I want to know is if you could have a button in the flash movie control an <iframe> on the same html page. If so, please enlighten me. Thanks in advance.

Flash 4 AS - Menu Control
Flash 4 People

CatBert kindly made this example for me:

http://www.angelfire.com/electronic2...t/f4menus.html

so i can work out how to apply it to my menu system.

The key is to have the MC's move out off the stage area when a button is pushed (i.e. the button NOT associated with that paticular menu.)

i have his code for the button and was wondering if anyone can add some labels that will help me identify what does what.

I'm going through it and have deciphered parts but i'm looking for some help as i don't have a manual and the online help is even more cryptic.

many thanks people!!!On (Release)
Set Varialbe: "menu" =1
Set Variable: "clip" = "menu" & menu
Begin Tell Target (Clip)
Got to and Play (2)
End Tell Target
Set Variable: "closeMenu" = 1
Loop While (closeMenu < totalClips + 1)
If (closeMenu <> menu)
Set Variable: "clip" - "menu" & closeMenu
Set Variable: "frame" = Get Property (clip,_ currentframe)
If (frame <> 1 and frame <11)
Set Variable: "gotoFrame" - Get Property (clip,_totalframes) - frame + 1
Begin Tell Target
Got to and Play (/:gotoFrame)
End Tell Target
End If
End If
Set Variable: "closeMenu" = closeMenu + 1
End Loop
End On

Volume Control In Flash 5
I have got a jukebox style flash animation that i am working on, and need to have some kind of volume control in place. Could anybody please tell me how to do this?

Can XML Control Your Flash Movie?
Hi! I've edited an XML menu system ... but all the links are for URL's which means I'll either have to make my site in HTML or have a dif. SWF file on each page. Can I get the XML file to control the timeline of my main flash movie? "gotoAndPlay ("about");" instead of "http://www.blabla.com"

???????????????????????

thanks!

HTML Control With Flash
Hi Everybody!

I've built a naviagation system which has buttons that slide in/out onto the stage area.

I'd like to combine HTML to hold the information in the site with Flash to control it.

What commands do I need to load an HTML page from a button in Flash?

Also, how do i position the HTML? Do i need to use a table and specify which cell is to be used?

Thanks for your help.

SF

I Want To Use Javascript To Control Flash
any code emple ? i want to control layer 1 not root, thanx a lot

Flash Control Panel
I was wondering if it would be possiblt o have a login in my flash movie, that takes the user to a login and password screen. Once the person logs in, it would give them access to add: News, Members, and Matches

(its for a clan site) This would be VERY helpful, thanks guys.

Please HELP On Flash Movie Control
Hi Everybody:

I am just a beginner, so could you please advise me on the following issue: I have a flash movie, which I want to insert into the Dreamweaver made web page. I need to make movie loading and playing after a user clicks on it. Befor this, I'd like to show the first movie frame.

Thank you.

Flash Movie Control
I have a very basic problem. I am currently working on a clients website, which is all flash. I have a problem with the end of the flash site, after all the visual effects, and the layout popping up and stuff, I have a movie clip that I want to have looping, even after the STOP action on the last frame of the movie. I know theres an answer to this, I'd really appreciate it if anyone helps me out.

Thanks,
Imran

Can One Flash Movie Control Another?
If I have multiple flash movies on one page, can they interact with each other? For example could one flash movie be an on/off control that starts/stops another? If this can be done, any idea where I can find info? Thanks in advance for any assistance!

Flash ActiveX Control
Hi,

I plan to use a VB application that has the flash ocx control embedded in a form. The vb app will need to detect whether or not the control is on the system, and if not install it.

Is the activeX control freely distributable?

Cheers
Stephen

Flash Control Across Frames .....
Hello and thanks for your time.

I am wondering how I control flash across a framed page, I have a 'main' frame and a'bottom' frame I need to be able to load an .swf into the bottom frame from a button in the main frame?

Please tell me this can be done lol


Peace

How To Control HTML Within The Flash
Hi all,
I have a Flash Movie, with dynamic text box and links for the other pages. The dynamic text box is further controlled by variables defined at the begnining of the movie. It works fine, when there is a Plain text. I want to generate the HTML like tables which includes the Back ground color of each cell and then images within some of the cell.

sorry for the bad english,

Browser Control Flash MX
on (press) {
getURL("javascript:launchwin('R&RTriviaJS.html','n ewwindow','height=650, width=450')");
}

This script worked in 5. However, when using it in MX, IE5 returns
this error msg "Line:1; Char:1; Error: Object Expected; Code: 0. Netscape Nav returns a similar msg.

How can I control the browser using JavaScript in Flash MX.

Thanks in Advance!!!

Julie

Flash Version Control
Hope someone can clear this up for me -

This is from one of the tech notes on Macromedia's site:
"Usually, older players will attempt to play the movie and ignore newer features they do not understand. For example, Flash Player 3 will load a Flash 5 movie containing MP3-compressed audio but will not play the sound. However, sometimes an older player will display the movie with more unexpected results."

The key thing here being that it seems behaviour of .swfs in older players is unpredictable. Thing is, Macromedia have recently updated the Flash SDK, and now we get what's called the Flash Detection Kit. Having looked at it, the detection is ENTIRELY within an .swf.

So my question is:

What am I missing?!! How do you use a .swf with version 5/6 AS in it to reliably check for the Flash Player when, by Macromedia's own observation, playback in older Players is going to be unpredictable and therefore unreliable?!

Many thanks

How To Control A Flash Movie ..
How to control a flash movie embedded inside an HTML page by using cookies ... in other worlds, cookies to tell the browser to play this or that in different conditions .. the difference in here that the flash player tries to locate the cookie not a java script or anythin else ...
thanx in advance

Webcam Control In Flash..?
I'm making a flash game as part of an experiment for a course at University. I want to be able to set the webcam to activate at pertinent times to record peoples reactions. Is it possible to control a webcam through flash MX..?, i will only be testing it locally so it will be a specific webcam that i know everything about. If not then has anyone got any other ideas how this might be achieved, perhaps with other macromedia products as i have access to Studio MX.

Peace.

Control Flash With Javascript
I submitted this question and recieved an answer earlier, but it's not working for me. Can anyone look at this and comment on the code or provide an alternate method?

--(script)--
function restart(){
var movieName = "Movie1"; // you movie name instance in the html code
movieName.Gotoframe("_level0/",1);
}
--(/script)--

--(html)--
onClick="restart();"

Thanks,
Ed

How Much Control Does Flash Have Over A Computer?
Because I was wondering if you can delete files with Flash or if Flash had the power to delete files.

Flash MX Combo Box Control
Hello and thanks to everyone for your time and comments. I am attempting something quite elementary I am sure, but it is still escaping me. I would like to use a combo box, which has been populated with titles referencing a group of graphics. For example, combo box title 1 is "photo gallery 1" Upon selecting this from the combo box, I would like all the photos in this group to load into the movie. I am having trouble understanding how to assign actionscript to the individual titles in the combo box. That's it. No other questions. A simple procedure I'm sure, but I have to learn somewhere!

Control Flash Kit Programatically?
I have pasted FlashTrak into a new ".fla". I want to turn on and off the music from another "movie clip" on the same "Scene". How can I do this from a button on the other "movie clip". Also, I want to be able to change the souced for the music from the other "movie clip" as well. How do I do this?

Any help much appreciated.

Control One Flash File From Another
I'm making a page that has three flash files on it. All in separate locations, but on the same page. I was wondering if there is anyway for an event on one of the flash files to trigger something in the others? Basically, is there anyway to send a gotoAndPlay() to another flash file from one? Does this make sense?

jga

Copyright © 2005-08 www.BigResource.com, All rights reserved