Professional :: Controlling Flash Through HTML/JS?
Mar 29, 2010Is there a way to control Flash using HTML or JavaScript?
The example in question is to click on a link in a web page that launches a flash .swf and changes scene once loaded.
Is there a way to control Flash using HTML or JavaScript?
The example in question is to click on a link in a web page that launches a flash .swf and changes scene once loaded.
I have a flash movie emmbedded in my web page. I what to be able to go to certain frames using html. Can this be done. If so how?
View 1 RepliesI have a flashplayer in html page and I want it to stop the auto play function when the page loads and play whenever I click play, and I tried to play with the code and added this: <param name="Autostart" value="0" /> but it's not working. On the other hand, I set the autoplay function for the quicktime player to "false"and it worked.
[Code]...
how to control HTML with Flash. That is not what I wish to do. I was hoping for something more along the lines of like...
<a href="http://mywebsite.com/flash/page.swf?xml_item=Blah">Click here</a>
And clicking the link would load up my Flash movie, which is basically just a shell that imports an XML glossary of terms, but when the page loads, it would automatically show the word "Blah" since that is the link that I clicked on in HTML.
Is this possible? I'm at about an intermediate level of understanding when it comes to AS3.0, but I haven't dabbled with manipulating XML using Flash much.
Is there a way that you can control a flash movie using HTML and/or Javascript on the same page?
Basically what I want to achieve is to use an HTNL link to loadMovie into a movie which is heldon the same page as the link.
i have a site with 3 frames, the top one have a flash MC in it to navigate the site. the middle frame is where i want to load or call normal HTML pages into using the Flash MX bar in the top frame, the bottom frame isnt really important.
i have tried using the "getURL" statment in flash Mx but i cant target the frame, in flash 5 i could but in MX there's no target option when using "GetUrl".....
[URL]
Is there a way that you can control a flash movie using HTML and/or Javascript on the same page?Basically what I want to achieve is to use an HTNL link to loadMovie into a movie which is heldon the same page as the link.
View 2 RepliesI need to allow users to preview audio files for purchasing. I have CF pages that return records form a SQL database. Each record contains the same swf file however, each swf file points to a different mp3 for previews of different audio examples. So far, everything is working fine. My problem is that I need to be able to stop the sound from one swf when I click to play a second swf .The only solutions I see in Flash forums deal with loaded swf files. These are not loaded files they are separate files within a page. The question is: How do control one swf from another swf in the same page.The following items have not worked: soundChannel.stop();,soundMixer.stopAll()
View 2 RepliesI have two separte flash files on the same html page... I want to be able to click a button in one flash file that affects the timeline in a separte flash file on the same page. Is this possible?
View 3 RepliesCan I control layers in a htmldocument from flash? I want to control visibilty and layerorder etc, any good resources or possibilities on that?
View 1 RepliesI've a number of audio files and six menu items in my presentation.respond with instruction on how to stop the currently running audio when a new menu item is clicked (launching a new audio file)?
View 2 RepliesI have this site I'm doing in Flash with an embedded video.The site has background music that is loading automatically, but when the embedded movie loads, the volume on that is mixed in witht he sites music.If you mute the sites background music, it mutes the video sound as well. Make sense?How can I seperate them out or make the sites background music not load on that particular page.
View 1 RepliesI'm trying to control the behavior of components in my Flash Library using a .as file class, but it doesn't seem to be working.
For example, if I have a Button in my library called exampleBtn and attempt to do this in the .as file:
exampleBtn.visible = false;
... nothing happens. The button is still visible in my application when I run it.
Can anyone explain the workflow to make a Flash library component accessible in a .as class file using Flash CS5?
Let's say I have and HTML page that contains lots of small SWFs: example: Code: [URL] Let's say each of those SWFs has also assigned method STOP(); which stops it from playing further and PLAY(); which starts playing it(ex: u can see "PLAY" btn in example attached). Now what i want to do: I want to be able to controll ANY of those SWFs from ANY other SWF inside that HTML file. Ex: i click 1 SWF to PLAY(); and ALL other playing SWFs will be STOP();-ped, so that only 1 SWF plays at a time.
[Code]...
I'm trying to figure out if there is a way to control a flash movie from a HTML menu(anchors or buttons) without having the page reload.What I want is a flashmovie and some sort of list with links, and when a link is clicked on the movie changes its contents. There are reasons as to why I want the menu to be written out in HTML and not included in the flash movie. Can I pass information into the movie after it has been loaded?
View 2 RepliesI came across this really nice effect: see how the html page changes colour (gradually!!)
[URL]
I presume it's js, but that's where my presuming stops
I'll post anything I find out about this
I came across this really nice effect: see how the html page changes colour (gradually!!) [URL] I presume it's js, but that's where my presuming stops I'll post anything I find out about this
View 2 RepliesIs It possible to load Html page inside Adobe Flash Professional or Adobe Flex.
View 1 RepliesI have a site I am working on which has a Flash intro. The other pages of the site hold a menu that's created in Flash. For some reason my client wants the ability to go back and view the intro again, which is easily accomplished with navigateToURL. HOWEVER the intro is broken into two distinct parts and I need to target the second part, which would require something along the lines of gotoAndPlay(500); or something to that effect.
What I am having problems with is how do I target a specific frame in a completely different movie, the intro, using a button from the Flash menu within the site. I'll try to explain it a bit easier. The top button on staticMenu.swf, which is placed throughout the site (aboutus.aspx, portfolio.aspx, etc...) needs to target frame 500 of mainIntro.swf which is embedded in default.aspx.
im currenlty in the process of updating my website since i have now finished university but flash still challenges me,and id love to put a html flickr powered gallery on each of the tabs, Graphics and Photography.i can use the websiter simular to make the gallery but then all i get is the html code and i have no idea how to put this onto flashany brain boxes on here feel like they know how to do this
View 1 RepliesI have an Air Application that uses a HTML Component. The HTML page that the component is rendering includes images with title tags. The tags render fine outside the Air Application, but when run in the AIR application, they do not render.
View 1 RepliesI have spent 2 1/2 days now looking for a way to make a movie of 16 pictures where the progress of the movie can be controlled by a slider. This is either not a very common use of flash, or a very advanced project to take on. I know nothing of action script, and am trying to learn how to make this happen. I have been able to do this with buttons to go forward and back a frame when pushed, but I can't get the slider component to corelate with frames.
View 2 RepliesI'm trynig to control an sound of a external SWF but I can't seem to get it right,here is the code i'm using to import the sound
mport flash.media.Sound;import flash.net.URLRequest;import flash.display.Sprite;import flash.media.SoundChannel;import flash.events.Event;import flash.events.MouseEvent;var _som1:Sound;var _channel1:SoundChannel;var _playing1:Boolean = false;var[code]...
I'm loading assets from a swc and I need to loop through every frame of the movieclip and find a certain instance so I can colorize it. Is this possible? It seems that with a swc I loose the ability to control the movieclips playback. It just plays and repeats no matter what I do.
View 4 RepliesI have created an animation (.swf) with a third party software application. I tried to import it as a symbol into Flash but it is constructed in such a way that it won't work. It requires to be housed within an html environment in order to combine the animation with a separate navigation layer that exists in two separate .swf files.I can mount this animation on a web page independently as it's own page but I really want it to appear within another flash animation.Is there some way for me to create a window in a flash movie that contains a view to an external HTML page so I can embedd this animation? Perhaps similar to an iFrame?
View 3 RepliesI am testing a carousel menu and have uploaded the test pagesthen it runs as I want it to.If I run it within an HTML page then it is smaller, tucked to the right and is cropped.If I create the HTML within Flash (Publish) then the same problem.
View 19 RepliesI want a very minimalist looking gallery with small square thumbnails you can click on which will reveal a larger image. Is it better to go with a Flash Gallery or an HTML Gallery?
1) The site is currently an HTML site and I'm wondering if this is something that can be easily integrated this into an HTML site without a lot of trouble?
2) I'm currently back in the stoneage using Flash MX 2004 and wondering if Flash CS4/CS5 has a nice minimalist gallery built in or do I need to use something like "SimpleViewer"?
I've read lately that you can't use Flash on iPad and iPhone . On our website I'm using some Flash animations. As I understand it doesn't display on iPad and iPhone.HTML 5 does display. What's the best approach?Should I convert Flash to HTML 5? And how can I do that? Or are there other (even better) ways to make this work?
View 2 RepliesI have created a twitter API in flash using ActionScript 3.0 which loads the latest feeds from a user by using the screen name of the twitter user. When I test the swf locally it works fine. But the problem comes when I embed the swf in html page.The swf loads but does not show the content where it needs to access the TWITTER url to load the feeds.It doesn't load the feeds. It asks for the global settings to be changed.So, I have changed the settings and played the html page.I works fine.My question is when I will upload the files to a server the same problem will come and it will not load the feeds. How to solve this problem permanently?
View 1 RepliesFirst post here, I am a flash newbie. I have a fully completed player I have created using standard CS4 component, FLVPLayback, PlayButton, PauseButton, MuteButton and Seekbar. Everything works fine. I would now like to add and additional large centered play/pause button a la youTube.
I am completely stumped, I have tried duplicating the play button instance and quite a few other things (copying the actionscript from the original button that works) to the new button. I've investigated 'linkage' all to no avail, I can't get it to work.