Actionscript 3.0 :: Create Html Link And Click The Link To Play Video?
Jul 13, 2009
i made a video player with the xml playlist , it's a video channel indeed, it's embed swf in html. but my boss would like me to put a link on the web, when user click the link, it would directly play the specific video inside the video channel. is it possible to do it without server side script but javascript?
View 1 Replies
Similar Posts:
Jul 12, 2010
Is this possible? Do I have to use JavaScript? 1) If I have 20 html links on a site, what if I wanted each link to open up a new SWF movie? 2) If 1 is possible, could I then go further and not just open an SWF, but open it and issue a command?
View 3 Replies
Jul 15, 2010
i have a flash button and i want to pass the button link (after click) as parameter.
View 2 Replies
Aug 10, 2011
I am trying to play .mp3 files with all of the above media players (Strobe Media Playback/OSMF/REOPS) which all support .mp3 files.
If I pass a direct link the mp3 file on the web server like http://example.com/audio.mp3 is all works fine.
The problem comes when I try to load an mp3 file that doesn't exist on the web server but is returned through a .php file: [URL]
[Code]....
I get the error "We are unable to connect to the content you've requested. We apologize for the inconvenience."
Has anyone successfully played a video or audio clip from a .php link? This might be more of a php question then as3.
The mp3 plays in the browser fine and through the Flash AS3 astra yahoo audio player component.
I would like to upgrade to from the old yahoo audio player to the Strobe Media Playback player.
View 9 Replies
Feb 27, 2009
I have a 90% all flash-site and when u click news webpage splits up in HTML blended with flash in a page called news.asp
(buttons are in flash and content in asp bellow)When loceted on news.asp and you click... let's say service you go back to index.html with the flash main.swf, but the link has ALSO have to go to label (service) or frame 30 lets say...
View 1 Replies
Jul 20, 2011
How can i play SWF animation when html link is clicked?
View 3 Replies
Mar 2, 2010
I am trying to connect audio to the button so when I click on the button music it starts playing and when clicked again music stops.
View 5 Replies
Feb 7, 2009
I'm sort of new to flash. I've created a pretty nifty intro video for a website and I want to have an 'enter site' link appear at the end of the video.
View 2 Replies
Mar 12, 2009
I am trying to play a video dynamically and make it clickable as like a link.[code]The Video player seems to appear and the video plays well too but there is a problem with the onClick Event which doesnt work no matter what i try. the click action never seems to work..what am i doing wrong here.
View 3 Replies
Mar 10, 2010
I have a video player I am trying to simply pass information from a javascript link to tell it which video to play. javascript seems fine but when it trys to call the actionscript function it comes up as undefined can anyone post a simple example of the actionscript and javascript call?
View 7 Replies
Mar 15, 2003
I'm just playing around right now; getting ready for when i'm gonna have to make a real flash intro. I'm using kirupa's actionscript for the percentage preloader + loading bar. Heres the timeline:
Frame 1 - loading bar actionscript (AS)
Frame 2 - this.gotoAndPlay(1);
Frame 3 - stop();
Now in frame 3, i have a "Click here to play" link. Here is the link's AS:
on (press) {play();
Now, everything works fine, untill i get to the "on press, play" part. I think because the movie has stopped, the AS is disabled or something.Is there anyway to have a "Click here to play" link?
View 4 Replies
Jul 1, 2011
I have a scenario that I get an string with html data, this is not just html data it's an email (outlook) saved as an html file and dropped in the string.Now this string needs to be formatted to an html document and should be a clickable link in a datagrid. So when I click on the link, the HTML document should pop-up and should gave me a nice HTML page that is readable for the normal users. I hope it's a bit clear what I want o_0. don't know where to start.
View 3 Replies
Mar 11, 2011
I want to set link of another html page on flash file.
View 1 Replies
Mar 7, 2011
How to change a link inside the flash element? I have SWF file with set a link inside and I want to change to mine on the website. This thing I need to control the advertisment system.Trying this, but not working:
<style>
#content {
position: absolute;
z-index:2;
[code]....
But you need everytime to put top, left, margin-bottom parameters. Can someone modify it to make working correct without pointing top, left, margin-bottom parameters?
View 2 Replies
Jul 20, 2009
I am new to Flash. I bought a template online a couple weeks ago, and for the most part have made all the changes to personalize the page. The page is for wedding videography, and came with a Videos section. However, I do not like the template video player, and would like to have the Videos link on the menu bar go straight to my youtube channel rather than to the flash player. Primarily all changes to the template have been made in a text.txt file, rather than the flash file itself. My question is, how could I change the link on the main page to route to my youtube channel? Here's what it looks like in the text file:
[Code]....
View 3 Replies
Dec 17, 2009
I am literally at the end of my wick with this one! Here's the skinny, so to speak:
home.swf
products.swf
button line mc
[code]........
View 3 Replies
Oct 15, 2009
I have a datagrid with different types of columns, like I have checkboxes, combo boxes and text Inputs as the column types. Now I want one of the column type to a link, with the label "view". All the rows in that column are link with the same label "View" and on clicking it, I want a Pop up window to be opened?
This is my code:
<?xml version="1.0" encoding="utf-8"?>
<mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml" width="100%" height="100%">
<mx:Script>
<![CDATA[
[code]....
I didn't know how to bring a link in the datagrid. So used the Text control to display the "View" label. Now If I click this item, "View" in the datagrid, I want the Pop up function, i.e.,defectCommentsPopUp() to be called.
View 1 Replies
Jan 11, 2010
i have created a flash animation for my homepage, i want to make part of that flash animation a "enter" button so when clicked would go to my page 2 on my website.
i have never done any script before and only used dreamweaver on a mac. is there an easy way to create this button to link to my next page and to stop my file to stop looping?
View 1 Replies
Jun 10, 2009
I've created a flash naviagation menu and currenlly my links will open a pop up window. I don't want this. I want it to open the link in the same window. Here is the code for one of the links:
var home:URLRequest = new URLRequest("index.html");
function homeDown(event:MouseEvent):void { navigateToURL(home,"_self");}
button_home.addEventListener(MouseEvent.CLICK,homeDown);
View 1 Replies
Feb 17, 2012
I have created a small application which takes it's information from an xml file and displayes it in a news ticker which is a flash Flash AS2 application. tell me the correct way to format the link tag in the xml if there is a standard when wanting to state a target for the link? The xml file currently looks like:
<newsTicker>
<item>
<header>Test Message 1</header>[code]....
So what I want to do is to be able to open the link in a taget=_blank window however adding that to the end of the url does not currently work.I have added a comma and also tried using a space, space and encompassing in quotes but none are working.
View 1 Replies
Dec 17, 2009
i created my subMenu buttons fine, however i only know how to link them to a picture/url address, my goal is to have the user click the subMenu button and open the image or page right below the menu bar in the "stage" area of flash. I read about IFrames but i'd rather create the whole site in flash .Here is the code for my subMenu...
btn_34th.addEventListener(MouseEvent.CLICK, buttonClickHandler);
function buttonClickHandler(event:MouseEvent):void {
navigateToURL(new URLRequest("images/34th.jpg"));
trace("I'm Clicked!");
Again, this works fine, i just want to have the image take up the "white" space on the stage area, very similar to an IFrame.
View 1 Replies
Jun 1, 2010
I connected the flash with php framework, click the menu button while the other has always been a double-link examples:[code]
View 3 Replies
Jan 12, 2009
I've got a few areas where I'm displaying XML driven content in Flash. I'd like then to be able to have links shown as well so the user can continue to navigate the page. How do I add an HTML link in the XML so that it displays properly in Flash? Does something need to be added to the ActionScript or is it all done in the XML?
HTML Code:
function loadXML(loaded) {
if (loaded) {
[code]....
View 7 Replies
Mar 26, 2009
I've trawled the web, everyone with different ideas on how to call up a mailto link in AS3. What I'm looking for is this: I have a box, that is coverted to a button symbol given the name 'mailto'I have another layer for the actionscript I have imported 'flash.net.navigateToURL' and 'flash.net.URLRequest'
I know I need to create a function or a variable to link in the already created button. Do I also need to import the MouseEvents?
I created this FLA to get used to CS4 (i was previously using8)Everything works wonderfully, I would just like to know how to use AS3 properly, without having to call defeat and create the FLA again using AS2.
View 4 Replies
Jun 22, 2009
as we are using in html<a href="#one> abc </a>ref. to<a name=one></a>xyzso that when click on abc, goes to text - xyz.in flash (as2)if we have a button (linked with a html file)and on click - we want to open html and go to directly on text - xyzin which way we have to give link on that button.(whats the idea for this)
View 3 Replies
Apr 14, 2010
i made this cool nav bar in flash and i would like to put it into my dremweaver html file,
however that file is not uploaded to the web
View 2 Replies
May 21, 2010
I have a box and is assigned as a button. In AS2 would be something like this: getURL("urltoload", "target"); But I am doing it in AS3, so I can learn more. I just want to add a HTML link, so when someone clicks on the box, a different page will load in the same browser, no pop-ups.
View 9 Replies
Sep 20, 2006
I'm working on the drop down menu with xml (from this site - [URL]), and I need to link to specific frames in my flash file, but it seems to be in html, is this possible to do?Or if not, I am building this drop down menu by hand and my actionscript looks like this:
//when you initialize your buttons set them to invisible like this
stars._visible = false;
starsa._visible = false;
stars1._visible = false;
[code]....
and this is only from 3 buttons,I have 2 choices but I would like to know the better, more easier route.
View 2 Replies
Mar 10, 2007
what do I need to do if I'm using web_txt.text to load in xml.
but I want to have that be a link from the xml...?
I've been told: web_txt.text.htmlText but that seems like it messing things up and when I put the html tag into the xml file it wont load any of the code under it.
View 10 Replies
Nov 20, 2009
I've got sIFR setup to replace a navigation menu (looks pretty slick). It's individually replacing the LIs and their internal links. I have an onRelease tag that throws properly, extracts the actual href link address, all good so far. I want to tie this into an AJAX page loader, with backwards-compatability (+SEO) for the individual pages being able to load themselves. I've tried return false like I would for standard links, no dice.
I'm assuming it doesn't work because it's onRelease, not onClick or something BEFORE it is already changing the page? onClick doesn't seem to be a valid sIFR function, documentation at [URL] onRollOver, onRollOut, and onRelease.
View 1 Replies