ActionScript 3.0 :: MP3 Player - Getting Error When Not Viewed Locally

Apr 6, 2010

I am a as3 nub but basically when I view locally I have no issues... When I view over a network I get an error like:
TypeError: Error #1009: Cannot access a property or method of a null object reference.

I am calling this mp3 player from inside another movie...
PHP Code:
var xmlLoader:URLLoader = new URLLoader();
xmlLoader.addEventListener(Event.COMPLETE, showXML);
xmlLoader.load(new URLRequest("playlist.xml"));
var trackList:Array = [];
var bandList:Array = [];
var fileList:Array = [];
var MusicLoading:URLRequest;//File Request
[Code] .....

View 2 Replies


Similar Posts:


ActionScript 3.0 :: Php Variables - Call From The Player To The Xml File For Whichever Member Page Is Being Viewed

Jun 5, 2011

I have a flash mp3 player that lives in the root on my server, I have members on my site that each have their own folders which have an xml file in them for their uploaded mp3 files, my question is, how do I get as3 to call from the player to the xml file for whichever member page is being viewed, for example, if you were viewing members/profile.php?id=1, the player which is on the profile.php page calls to the playlist.xml file in the id folder '1' I know I can use the xml load function but how would I get the members/$id in there

View 4 Replies

ActionScript 2.0 :: MP3 Player Works Locally Not Publically

Mar 10, 2005

I downloaded this mp3 player[url]...

I havn't modified the AS, only the vplayer.xml and the size, colors of the player. Now when I execute the swf file itself, the player works just fine, but it will not work embeded into an html file, the player says "Loading playlist, Standby"

I'm trying to figure out the problem, but since I'm a total AS n00b, I'm not in a position to troubleshoot the problem, so here's the webpage[url]...

View 1 Replies

ActionScript 1/2 :: Flash FLV Player (XML Driven) Works Locally Not Online?

Jan 18, 2010

I have an actions layer and a layer with a video object, called "theVideo". Below is the actionscript:
 
stop();
// global objects....
buffer._visible = false;
// playlist object for the playlist from raw xml data

[code]....
 
This script works locally. I have checked and double-checked the file locations when uploaded. It will parse the XML file when uploaded, but will not play the videos.

View 1 Replies

ActionScript 1/2 :: Track Scenes Viewed And Display Image A Or Image B Based On Scenes Viewed

Feb 26, 2011

I have an interactive story divided into scenes. At the end of each scene a button appears. This occurs on a frame on the timeline.
 
There are two different buttons that might appear based on whether a prior scene has been viewed or not.
 
For example, there are Scene_1 and Scene_2. At the end of Scene_2 one of two buttons will appear. The buttons will be either "Go see Scene_1" or "Return to Main Menu".
 
If the user has already seen Scene_1, Flash will know that and automatically go to the frame in Scene_2 that contains the button "Return to Main Menu".
 
Conversely, if the user has not seen Scene_1, Flash will know and automatically go to the frame in Scene_2 that contains the button "Go see Scene_1".
 
I imagine there would be an action frame at the end of Scene_2 that will contain the as2 code to enable this action.
 
Perhaps something like, but probably not at all like the following:
 
if ("Scene_1", last frame == true){gotoAndPlay("frame#");}else{gotoAndPlay("frame#");}

View 1 Replies

ActionScript 3.0 :: Videos Play Locally, But Not On Web - Video Error 1000?

Nov 9, 2009

I have a video interface set up and get the following error....when I play locally,everything plays fine and I don't get any errors, but once I upload to the web, I get the following error:

VideoError: 1000: Unable to make connection to server or to find FLV on server at fl.video::VideoPlayer/stop() at fl.video::FLVPlayback/stop() at movie1_testing_bk_fla::MainTimeline/listListener() at

[code]....

View 9 Replies

Actionscript 3 :: Flash - Error #1014 : When Loading Remotely But Not Locally?

Apr 2, 2012

Starting with a blank project, when I load a SWF which has a dependence on ISomeInterface defined in a swc which is compiled into my blank project

var lc:LoaderContext = new LoaderContext( true, ApplicationDomain.currentDomain );
var loader:Loader = new Loader();
loader.load( new URLRequest( "Some.swf"), lc );

[code].....

View 2 Replies

ActionScript 3.0 :: Save Flash Data Locally From Locally Running .swf?

Jun 10, 2009

I want a user running a Flash game on his machine (not from a server) to be able to save some game data locally.From what I've read, there still isn't any way to do this, but I thought I'd throw it out there in case anyone knows a sneaky xml or php work around.

View 2 Replies

Professional :: CS5 Message Error : "the Video Player Is In The Connection Error State?

Dec 24, 2011

I am trying to and I have the following message error:"the video player is in the connection error state. It enters this state when a video stream attempted to load but was unsuccessful. There are two possible reasons for the error: no connection to the server or the stream was not found."

View 1 Replies

Flash :: Flex - Running Good In Browsers But Error By Player Directly ReferenceError: Error #1056

Jul 13, 2011

I wrote a flex demo, customized spark TextInput skin with rounded corners and a search icon in it, like mac os x search box, it's running good in browsers (by Flash Player browser plug-in) either .html or .swf, but error by flash player directly.

[Code]...

View 2 Replies

ActionScript 3.0 :: CS4 Projects Not Able To Be Viewed In CS3?

Aug 1, 2009

I downloaded CS4 and created several projects, but then the 30 day trial period ended. When I opened up my licensed CS3, and tried to open the projects I created in CS4, they didn't open.I don't understand why Adobe would do this, unless they didn't, ? I can't believe it is not backward compatible?

View 10 Replies

ActionScript 2.0 :: Put A Mark On Movie When One Of Them Is Already Viewed?

Jan 27, 2011

There are 3 flv movie in my flash page. Is there a way to indicate in my flash page if the flv movie is already viewed on user's browser? I need to put a mark on the movie if one of them is already viewed? Am I to use Shared Object?

View 4 Replies

NavigateToURL Not Firing When Site Viewed On Mac

Oct 28, 2010

I am simply trying to link a button on my site to another webpage (an online store). The site is currently live at Higdon Florist (won't let me put the dot com address due to forum rules) The last 2 menu options (View Bouquets and Place Order) should link to (store dot higdon florist)

On PC, this works just fine every time.

However, I have reports that Mac users have trouble. The action never fires on the first 4 or 5 tries. Then, suddenly, it begins to work (and continues to work thereafter).

My AS3:

import flash.net.URLRequest;
import flash.net.navigateToURL;
navigateToURL(new URLRequest("(store address)"), "_self");

[Code]....

View 4 Replies

ActionScript 2.0 :: Variable Viewed As One Line?

Jan 9, 2009

how do I store and retrieve rather large multi-lined texts blocks that contain hard returns in a url or embed code?

Hah, yeah, probably a ridiculous request but this is used in a flash/custom BBcode partnership. The idea being that the user posts on the bulletin board and wraps their text in [customtag][/customtag]. It spits that information out as an embed code with the text stored as a variable that calls the flash applet and displays their post in a fancy way. This is for a browser based game so it's basically for admin's to post RP style messages.

View 2 Replies

ActionScript 2.0 :: Go To Previously Viewed Page?

Apr 14, 2010

I am creating an ebrochure, where in my timeline i have three layers: top bar (for my glossary and help buttons), nav bar (with my prev and next buttons) and the pages of the brochure.

The pages consist of each frame having a movieclip for that page, so frame one has page one movieclip, etc... and are all individual frames.

The top bar layer spans the entire set of page frames (14) as does the nav bar, but I have the glossary and help on frames after the pages end. What I am trying to do is that when someone clicks to go to the glossary from where ever they currently are, the prev button on the nav bar that is over the glossary page can take me back to the last page I was on. So, if on page 4 and click to go to glossary, prev takes me back to page 4. But if i am on page 7, prev takes me back to page 7.

View 2 Replies

CS3 Combobox Doesn't Work When Viewed Through Container SWF?

Jun 23, 2009

My SWF contains a combobox that functions as expected when it is viewed alone. But when this same SWF is loaded into a 'container' SWF the combobox no longer works.

The container SWF uses AS3, and the SWF that is being loaded into it uses AS2. Could this be the problem?

View 1 Replies

Removing A Flash Banner When It Is Being Viewed On A IPhone?

Jan 4, 2010

I was using a friends iphone the other day to view my site, I have a flash banner at the top of my site. When you view the site on a iphone you get the flash logo, does anyone know a way to remove this banner & logo when it is being viewed on a iPhone?... That way I could display a image instead, Pls don't just say remove the banner, I like it and i want to keep it. (it looks good when its not being viewed on a iphone).

View 3 Replies

ActionScript 3.0 :: NavigateToURL Not Firing When Site Viewed On Mac

Oct 28, 2010

I am simply trying to link a button on my site to another webpage (an online store). The site is currently live at [URL]. The last 2 menu options (View Bouquets and Place Order) should link to [URL] On PC, this works just fine every time. However, I have reports that Mac users have trouble. The action never fires on the first 4 or 5 tries. Then, suddenly, it begins to work (and continues to work thereafter). I have scoured Google and Adobe Forums, and it seems this is not a common problem. So I'm hoping it is just a simple fix.

[Code]...

View 4 Replies

ActionScript 2.0 :: ReRoute Users Once They Have Viewed Intro?

Jun 17, 2009

I have a flash piece that contains a short intro animation and then loads a photo carousel.After a user has entered the site and viewed the home page information including the opening intro , i want to make settings so that when user goes back to the home page during the same visit he/she doesn�t have to wait for the logo intro to load.

View 0 Replies

ActionScript 3.0 :: Mark External SWFs As 'Viewed'?

Oct 1, 2009

I've got a SWF that calls up external swfs via XML. Users are able to navigate to each external swf using a next button. When a user views the external swf, I need to mark it as 'viewed'. This way, if the user leaves the site prior to seeing all swfs, they can come back and start where they left off and view only the swfs they haven't seen.

What is the best method for setting this up? Array? Somehow parsing the XML file?

View 1 Replies

ActionScript 3.0 :: Locking A Button Until Content Has Been Viewed?

Sep 22, 2010

I am currently building an assessment in flash using AS3. I want to have all navigation buttons visible on the main screen, including the "assessment" button where users will go to sit an assessment based on the content they just viewed.

how can I lock the assessment button until all the other pages containing the content has been viewed? A bonus would be a pop saying something like "Please view content first" appearing when they try to click it.

View 4 Replies

ActionScript 2.0 :: Disable Button Until Content Viewed

Oct 14, 2010

But on this occasion I have created an assessment in AS2 and I want my "Take Assessment" Btn disabled until the rest of the content has been viewed. If someone clicked on the Assessment button before it is viewed it would be good to have a message pop up saying "content must be viewed first" or something like that. How do I do this?I have the content set up in scenes.

View 1 Replies

ActionScript 3.0 :: Track Time A Page Is Viewed?

Jan 11, 2011

Is there a way in which to track the time a Flash page is viewed? For instance, once the page loads, a timer begins. When the user moves to a different page, the timer is stopped?

View 2 Replies

ActionScript 3.0 :: Moving Forward Only After Certain Frames Viewed?

Jun 21, 2011

I have a Flash Movie that is using Actionscript 3.0 and I have a part of it, where the user has three choices of where to go. Once they go to one, it takes them to a certain frame, then returns to the choice frame. There are three choices here, and what I want to happen is have a button appear to move them past this section, only after they have viewed all three choices.

View 9 Replies

Flash :: Xml Error While Loading Mp3 Player

Jan 19, 2012

I'm having an error while loading an mp3 player, here is what I getting when hitting Ctrl+Enter.

TypeError: Error #1090: XML parser failure: element is malformed.
at moviesound_fla::MainTimeline/getsongs()
at flash.events::EventDispatcher/dispatchEventFunction()

[Code].....

There are only two buttons which is previous (b_btn) and next (n_btn)

Is there any errors on this action script or it may only work after placed it on a webpage?

View 1 Replies

Navigate Already Viewed Page Only Shows Last Frame Of Slide?

Sep 26, 2006

I am creating a website using the slide presentation template. However, when I navigate to a page I have already viewed, it only shows the last frame of the slide rather than starting from frame 1 of the slide. Is there I way I can tell button to go to a slide and play from frame 1 regarless of how many times the slide has been viewed?

View 6 Replies

ActionScript 3.0 :: FLV Audio Quality Drops When Viewed Online

Jun 26, 2009

I have a FLV playing in my SWF and when viewed locally in Flash or just in the Flash player by clicking the file on my desktop the file plays fine with decent quality audio. However as soon as I upload the file to my website the audio quality seems to drop.

View 9 Replies

Professional :: Doesnt Go Huge When Viewed On Larger Monitors?

Jul 14, 2010

Is there a way of setting a swf so that it doesnt go huge when viewed on larger monitors? I want my site to scale in size, but when i viewed it on a  27" monitor it just looked way too big really (text looks silly big), even scaling it down can then be too small on regular monitors, is there a happy medium ?

View 7 Replies

Professional :: Where Are Instance Names Added Changed And Viewed In CS5

Nov 8, 2010

Where are instance names added, changed and viewed in CS5?

View 1 Replies

ActionScript 2.0 :: [MX]First Person Shooter - Use The Spacebar To Switch Between The Ones Being Viewed?

Apr 30, 2003

I have figured out how to duck out of enemy site. I need to know if i can have two layers running the same thing at the same time, but only one is viewed and you use the spacebar to switch between the ones being viewed. For example one layer is a person ducked behind a box and getting shot at and the other is a person standing in the open getting shot at, to switch from the ducked to the standing you have to use the spacebar. Is this possible?

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved