ActionScript 3.0 :: Flash MP3 Player Using Html Links?
Jul 14, 2009
I'm trying to create a flash player similar to the way Amazon's is set up, where the user can click an HTML link and the player would play that specific song.
[URL]
I'm just not sure how I would go about using the onClick event in the anchor to return a value to the flash player.
Does anyone have a resource for this, I've done some seraching and found some stuff, but nothing that just explains how, if possible to play an audio file in a flash mp3 player when you click on a html link (whether using js/php or whatever).Example:1.) Mp3 are loaded through your standard xml playlist. (Play, stop, next, prev, etc. etc.)2.) User wants the flash player to stop the current song playing and play/load the song selected after clicking on one of the html links listed on a page.
I have a piece of Flash on an HTML page that when you hover over it, it expands out to reveal more information.There are text links that it expands over, however in everything but IE, when it's not expanded those links are still covered by the Flash making them unclickable.I have the Flash piece in a separate DIV wmode set to transparent.
I've got a PHP script that searches for links in a block of text and converts them to HTML values. The $message variable is then entered into my database using a simple INSERT. So far, so good. Then I have Flash parse the message using XML:
ActionScript Code: function messStyling() { messCSS = new TextField.StyleSheet(); var messCSSURL = "include/links.css";
[Code].....
The problem, however, is that my links don't work. The rollover works from the CSS styling, but the links don't actually go anywhere. When I rollover the links, the hand cursor doesn't appear, and clicking only serves to change the color back to the non-hover value.
I want to add links to 3 different external html pages in the place of th 3 my trial links(which are on the timeline) Here is code, this creates the three buttons listed in var catBtmmenu_label Array:
Code: Select all// Catalogue Bottom Button //stop(); //hide button on the stage[code]..........
I dont know how to assign links to dynamic created buttons.
I am building a site, and I used the script assist to make links (on release) and the links won't work, i click on them and nothing happens. Do you think this is a coding problem or a flash player problem.
I have a flash mp3 player nested in a header on my website, there is a list down the page of the most recently added songs, I want people to be able to click on a link to a song and have it load into the player in the header.
I have been designing an AS2 site for he last 2 months and i have some links to external sources on the site. The only problem is when i try to access those links from the movie or even from the browser it just pops that error message...How do i get rid of this error!
The error reads: Adobe Flash Player has stopped a petential unsafe operation. the following local application on your computer or network: M:path...is trying to access with this internet-enabled location: [URL]
I'm not sure if this can be done with as3 or javascript...I have a flash mp3 player nested in a header on my website, there is a list down the page of the most recently added songs, I want people to be able to click on a link to a song and have it load into the player in the header.
I hope this is the right forum to post in. I'm trying to make a flash video player that has the little section at the end of the video that grabs a link to a few more videos and lists them, allowing you to click on them and going to a new page. I am starting with this video player here. [URL]..He has included a pretty thorough readme file, it has a lot of info but I haven't worked with flash in a long time and feel pretty nubbish. I suspect something like this wouldn't be too hard but I'm unsure. I've attatched the readme file on this post in case you wanna take a look. I do have the videos working perfectly, it's just a matter of modifying it now to make the end.
I did search both the forums, tutorials, and web for something along these lines but to no avail. Basically I need to know how to make that section at the end with the links to other videos, even pointing me in the right direction would be extremely helpful so I could research the things I need to do.
I am having a nightmare using CSS to style HTML within a dynamic textfield in my flash doc. From what i now understand after much trial and error and reading online, CSS doesn't even work properly in flash even for the tags that it does understand (which are few and far between anyway). For some reason my layout is getting completely screwed up in certain scenarios (predominantly when there are images present too) when i hover over links (which are styled in an external CSS file). If i remove the external CSS styling (which only contains the following simple code):
Then everything works fine (but no links are underlined as standard or on hover). Does anyone know of any way to style the links without using an external CSS file (all i want to do is have no underline as standard and then underline them on hover). As this is from user input into a text editor I cannot place these links manually on the page in flash as they could be anywhere, I need a way of parsing the HTML and then displaying it accordingly.
I am building a website through flash. For the past couple of weeks all of the links have been working fine up until now. I have no idea what I could have possibly done to make this happen. In HTML none of the links work. They are all linked up fine, I even re-linked some of them. Nothing happens. The buttons do nothing.
I'm making a flash website, I know the basics of html and AS3, but this is my first time trying to use them together. I need only two interactions between the swf file and the server:
The .swf needs to be able to grab image files from a directory hosted on the server
I'm trying to make a legal mp3 playlist website using flash.I got the addresses to all the links of the mp3s in my directory stored as text in a mysql database.Now how do you access the links inside flash?I tried making a dynamic text field and then inputting the links as html text with html render text as html on. But they don't show up.
I am calling one flash with transparent bg in an HTML page.. Now the HTML links which are below the flash area are not working. So how can I make them work. I knw though I am calling flash with transparent bg but still the object�s area is same.. n all the links which are there on the HTML page that comes under that area stops working as they no longer remain selectable. To have a clear picture of what I am tryin to do have a look at the following url : [URL]
this is just a sample file you can consider..Have a look at the register now button..It will be in HTML how can I make it work..as flash comes above it.
Using Flash CS3 and created a navbar with AS 3. All links work fine to open html pages, but I'm having trouble targeting the pages to a specific frame.
I've checked and re-checked code in my actions layer and in my html pages.
Code for AS 3 is "navigateToURL(galleries, "_content");" "Galleries" is the variable for the URLRequest and "content" is the name of the target frame in the Index page. All files are local on my computer and the paths are correct.
We have a Flash swf object embedded in an html page. When the user sees the page it's just a small button, but on the rollover state the area of the object expands and covers more of the page. This is how it was designed. The problem seems to be that the maximum size of the swf object, even though it's transparent and "invisible" unless the user rolls over the button, blocks out all the underlying html so you can't access any of the links. It's as if the object is covering that part of the page even when it's not expanded. I've tried every publish setting I can imagine to compensate and make the item truly transparent so the "hidden" underlying links will still be clickable, but just can't get it.
I have a presentation that I created for a client. The presentation is supposed to work locally on anyone's computer. It works perfect on mine. On the client's three computers, 2 pc and 1 mac the links inside flash do not work. I have a text field with text and a simple link inside like [URL] and it's going to a blank window. These won't even pop up a window for my client on any computer, why? He has the lastest Flash players and we created an html link below the flash movie in the html page just to make sure he could launch a popup that way and the html link below the flash movie worked fine.
I created a mailto link and a hyperlink in my Flash CS4 file. They both work when I test the SWF file. When I test the html file (in any browser) niether work.I get an error saying something about security for the mailto linksHere's the code for both
//MAILTO AND LINKS var contact1_link:String = "mailto:xxx@xxx";var contact2_link:String = "mailto:xxx@xxx" //ADD EVENT LISTENER FOR EMAIL AND
Is there any way to create links inside large textfields without setting the textfield as an HTML textfield? I don't want to set the link to all the text in the textfield, only to some words in the text.
I'm trying to get my flash movie to pop out of the box, so I have an opaque background of 500 x 400, but the stage size (the total overall size) is 1000 x 800. Then I use a DIV tag to place the flash movie over the rest of my page, making it seem like the flash movie is only 500 x 400 but some items can pop out to anywhere inside the 1000 x 800. Up to here it works fine, but the problem is you can't click the HTML links that are beneath the transparent part of the flash movie. Is there a way to make the links clickable?
Not sure if I'm in the right place, I apologize in advance if so. I'm somewhat proficient with html, but fairly new to flash, using cs4pro, as3.Here's my dilemma. Converting an existing html/css site to flash. Flash is main site now but a few html pages are still linked, a buy page and a form page, a few others. I can get the all the external html pages to link to a frame in the flash movie, and I can get the flash to link with all external urls.My problem comes when I move to a frame outside the main timeline. The movie is lets say 393 frames. All symbols/content are on seperate layers, and so is the action. Once the full movie ends, I have several frames past that where I have basically created frames for additional "pages" and created anchors for those frames, new layes for content, new layers for anchor (labeled) and new layers for a stop(); on each frame, I extended the pertinant graphic frames out to 410 from the original movie.
Now when the movies runs the buttons appear at about frame 115, so in the action layer I coded a keyframe and then added frames of it out to frame 410 or so: I have attached the .fla (not able to attach at this forum .fla here:s say to an external link (button) like members, the html member page opens, and if you click home button, back to flash frame, and all works, all buttons, on the home frame 393. But if you go to any of the external htmls, and then go back to any other frame like frame 401 the about page, and all the rest 402 403, etc, the page appears properly, but then none of the links function.
I have an <mx:HTML/> component in my flex air app that shows a web page. The problem is, if the web page has a link on it and they click it, it does not take them to that page. Is there a way to allow this, or a work around? is there a way for the loaded webpage to send Flex info about events that occur in it?Here is my code:
How hard is it to use html links to call a video player and send a source video file? I have a bunch of links that need to show a different video in a video player. Im wrestling with just making a new swf for each page that is hard coded or one player that can take an xml file name (containing video path and other text data).
I used Dreamweaver to embed my flash file into an html file, using "Insert-->Media-->Flash".When I preview the file, everything works fine, but when I upload the file to the web, the external links to my blog and e-mail will not work. Before, I just had the flash file up, with no html, and it worked fine.Url...
I have developed a rolling credits style movieclip in Flash using Actionscript 2. Text is loaded from an XML file and parsed into a dynamic textfield. This text includes hyperlinks to webpages defined by a url node in the xml so Flash can add the appropriate a href to the dynamic text field and make the link clickable.
In my first attempts to do this the textfield stayed still and all the links worked fine both testing locally and when I run it in a browser on my website.Then I wanted to make things move ... which I achieved easily enough and tested locally (from within Flash Professional) and the links remained clickable, a browser window opened and the webpage i was expecting to see opened... great
However, when I export the swf, upload it and run it from my website suddenly the links are not working. So I tried to test the movie in a browser from Flash Pro - same problem, it must be something to do with Flash Player and the moving dynamic textfield.
a couple of observations - the cursor will change to a hand icon when over the links as you would expect, and if I right click on the link and click open in a new window the link works ok, just not when I left click. If I stop the scrolling then the links become clickable again, it is only when the textfield is moving... actually its not technically scrolling, im moving the whole textfield.
I have an swf file that references an flv file. Within an html page I have used an object tag to reference the swf file. Having googled found snippets of code such as [code]whichever I use, I get the same result in IE or firefox with flash player 10, page displays but there is an empty area. A right mouse click gives about flash player 10 so something is there. This happens whether I run the html file from the directory or serve it up via a local web server.So what am I doing wrong? I have obviously misunderstood some basic stuff here. I doubt it is security settings in the browser as flash from outside websites works. I changed my intranet settings to aloow unsafe activex (to prompt) and no change.
So we have a basically skinless video player embedded in a web page. Works fine in Firefox, Safari, Opera... but... in IE... if you type the URL in the browser, it works fine... however if you go to the page from a link, the player renders only the very bottom right of the video skin, as if the align property were seriously out of whack.The video player is 360 x 480 and when broken shows up all white, with the player controls in the top 60 x 10 pixels or so.