IDE :: Component's Video Loads Offline, Not Online?
Sep 23, 2009
I'm a new Flash user, trying to build a fairly intricate website by newbie standards. I have a basic understanding of Actionscript and OOP, enough to build a fairly nice looking full-featured website. Most of my goals for the website have been met, including dynamic XML content, a dynamic navigation menu, dynamic screenshot galleries.My current nemesis is a flash video gallery. I'm using xml lists of video locations (different types of video, including flv, wmv, and avi), and I've tried both the stock CS4 video player component (FLVPlayback) and the ubiquitous ToobPlayer 1.0.
Here's the problem. When I compile the video and view it offline, with either player component, it works beautifully! Loads each video from the XML gallery and performs as requested. When I upload it to an FTP and run the website (in an html file) as an http:// link, the video player component is no longer visible and nothing playsIt's driving me ape! Do I need to include some .as files when I upload or something?
View 7 Replies
Similar Posts:
Oct 19, 2009
I have imported an .FLV file to my flash movie and no matter what I try when I upload this it just won't show online. heres the info in my component properties:and im just loading the .swf in the normal old fashion way for testing:
HTML Code:
<embed height="400" width="540" pluginspage="http://www.macromedia.com/go/getflashplayer" src="intro.swf" play="true" loop="true" menu="true"></embed>
[code].....
View 3 Replies
Nov 24, 2009
It plays perfectly well in 'Publish Preview' and when you launch the HTML page offline. However it won't play online. First I published it in Flash 8, where I'd created it, uploaded the swf and the html. In Firefox it loaded a blank page which revealed on right click that there was a Flash movie there, but you couldn't see it or do anything. In IE it just stuck half way through loading. Then I resaved it in Flash CS3 and published it with AC_runactivecontent.js. Uploaded it to my site and the result was exactly the same. To check my syntax a friend uploaded it to his webspace, and put another swf on the same page using the same syntax. The new swf played, but mine didn't. The 'publish settings' for the two were the same. Again, if you look at the page offline both play. My friend made some changes to the FLA and published it successfully on his webspace. He suggested the file size may have been a problem: I had had some fairly large audio files in it and 'updated' them to smaller ones. The resulting swf was 6mb. We wondered if the old ones had been retaines somewhere, boosting the file size. The only other difference I can see between his version and mine is that there's a font I used which wasn't on his PC. His version has it as Arial (there is only one word in the whole thing). I took his version, deleted the sound files and reimported the smaller versions, which then published as a 3mb file. But now it doesn't play! Results in IE and FF exactly as above.
View 7 Replies
Jun 10, 2010
Hi,
i am very new to actionscript,and i am trying to change language of text of label for online-offline button.actually for other label text i am able to change the language but for online and offline button it is getting difficult because it is depending upon network available.Also for the label for online-offline,we can't give separate property for online and offline.Only either online or only offline we can give.
Can you please find any solution for this?
My email id is subhajit.goswami@izmocars.com.........
Please post in this or you can contact me in this email id also.
Below i am giving the code i have written for online-offline.But that one is working only for online,not off line
<mx:Label text="{resourceManager.getString(GlobalConstants.R EADER_BUNDLE, 'online')}" styleName="tahomaPlain" fontSize="10"/>
View 0 Replies
Jun 10, 2010
I've used this website a lot over the past few weeks as a reference for my actionscript 2 questions. It's really been fantastic ï so first I would like to take a moment to appreciate the community and wealth of information on this site and forum.
I have a couple of methodology questions concerning an .fla file I'm working on. I made a flash gallery here. As you can see online the images fade in as they are loaded dynamically via the loadClip() method.I would prefer them to load more like this. Is it possible to load an image to a variable instead of a MovieClip that exists on stage?
In addition to this if you download the zip file with the flash file you'll notice that the position of the images and the text is more accurate than when viewed in a browser. I thought flash was a self-contained entity and that it would run identically on all platforms / browsers / online / offline / remotely / locally.
View 3 Replies
Aug 7, 2008
We're using the script to have an online brochure, and now want to be able to put it on a CD for offline browsing as well.When it is viewed offline, an error message pops up and wants me to add the page/folder in here:Since this is a plugin script that doesn't have an fla file for me to edit, what are my options here? I've tried to decompile the swf file in order to make the changes, but that doesn't work (the script is fairly complex, so I didn't think it would decompile fully).
View 6 Replies
Dec 24, 2010
I have an SWF file that works great when I publish it or view it in the Flash Player. However, when I use Simulate Download, all the buttons' functionality gets messed up - for some reason, clicking them results in the playhead going to other frames than it's supposed to. I've tried uploading the file to my website and the buttons don't work well there either.
View 3 Replies
Dec 24, 2010
I have an SWF file that works great when I publish it or view it in the Flash Player. However, when I use Simulate Download, all the buttons' functionality gets messed up - for some reason, clicking them results in the playhead going to other frames than it's supposed to. I've tried uploading the file to my website and the buttons don't work well there either. Is there any reason for this to happen?
View 2 Replies
Aug 9, 2010
I'm starting AS3 and I'm building a video project.
The objective is to have 2 different videos, which will intersect in a certain point.
When the 2nd video starts playing I want to show a subtitle for it. Here's the problem. When exporting the swf everything goes ok, but when I upload it the textField disappears.
I don't know what to do or think. It's just a textField (exported from library).
View 3 Replies
May 11, 2009
I used a UILoader to load slide images from a folder. It works off line but not online. Can you help me with this?
var imageNumber:Number = 1;
function checkNumber( ):void
{
next_btn.visible=true;
[code]....
View 2 Replies
Oct 1, 2006
I got this script
Code:
on (release) {
var lv:LoadVars = new LoadVars();
lv.onLoad = function(success:Boolean) {
if (success) {
[Code]...
View 1 Replies
Sep 17, 2010
First of all I am new in flash i have one problem that i have added one swf file in site and change increase its width for proper setting in my webpage now what happens is when i am running that page in offline firefox/chrome/IE then all displays good and asper my incresed dimensions but when i uploaded the page on server and then testing online then the in IE it displays perfect but....... in Firefox and in Chrome it displays in small size (in original size, before my edit)
View 1 Replies
Apr 23, 2007
I am loading 2 external text files into my SWF.. I believe that my action script is correct as it works pefect offline.. However as soon as I uploaded it to my webspace, both text boxes have the "undefined" text sitting there.. The problem doesn't exsist when I only have 1 external text file loaded..
//load 1st text file
myData1 = new LoadVars();
myData1.onLoad = function() {
[Code].....
View 3 Replies
Apr 15, 2009
Code:
var slideNo:Number;
slideNo = 0;
var xmlLoader:URLLoader = new URLLoader();
xmlLoader.addEventListener(Event.COMPLETE, showXML);
[code]....
View 3 Replies
Dec 5, 2009
Im trying to load xml files on another domain on mine. This code works locally but not when i post it to my server. The url im trying to load http:[url]....
Code:
function parse() {
xmlData2 = new XML();
xmlData2.ignoreWhite = true;[code].....
View 2 Replies
Jul 12, 2009
I am using CS3. I am having trouble viewing my FLASH content online. It loads fine in DW locally, but once on the server I have the following errors: Webpage error details
[Code]...
View 1 Replies
Jun 6, 2011
I have a flash project that uses an XML doc for data. The URL's in the XML load fine locally, but when published and placed online, they do not load. Is a policy file needed? If so, how do you do that?
View 1 Replies
Sep 2, 2004
so i have an empty movie clip on the stage that loads an external jpeg. on my computer, i have the jpegs in the same folder as the swf/fla file. i had it load:
on(release){
_root.emptypic.loadMovie("attention_MED.jpg");
_root.emptytext_mc.gotoAndPlay("attention");
}
i uploaded it with the swf in the same directory as the rest of the jpegs, but they didn't load. then i changed the "attention_MED.jpg" to http://site.com/attention_MED.jpg and it still wouldn't load.
and yes, i made sure the jpegs aren't progressive. the weird thing is, they load fine when i'm testing the swf on my computer. they just don't work after i've uploaded them? i don't know what to do!
View 1 Replies
Dec 18, 2007
I have made a 3d carousel based on the tutorial at gotoandlearn.com and it looks awesome...however when I try to put the swf in html it does not show up.
[AS]
import mx.utils.Delegate;
var numOfItems:Number;
var radiusX:Number = 500;
var radiusY:Number = 125;
[Code]....
View 1 Replies
Sep 2, 2004
i have an empty movie clip on the stage that loads an external jpeg. on my computer, i have the jpegs in the same folder as the swf/fla file. i had it load:
on(release){
_root.emptypic.loadMovie("attention_MED.jpg");
_root.emptytext_mc.gotoAndPlay("attention");
}
i uploaded it with the swf in the same directory as the rest of the jpegs, but they didn't load. then i changed the "attention_MED.jpg" to [URL] and it still wouldn't load.and yes, i made sure the jpegs aren't progressive. the weird thing is, they load fine when i'm testing the swf on my computer. they just don't work after i've uploaded them?
View 5 Replies
Mar 30, 2011
I'm having timing problems with a music video I am working on. The framerate it 24fps which for a 22 second animation should give me 528 frames. However, In the preview of the slides the 22 second mark on the sound is reached by about 310 frames. What's more, the 22 second point in the sound is reached at a later time in an exported swf movie, but still not 528 or 310. Why is the timing different in all viewing modes, which one should I use to time my video or how can I set them to all display the video at the correct timing?
View 2 Replies
May 8, 2011
I created a flash video with interactive menus using Encore.The .swf file played fine from my laptop computer.I copied the .swf file and its associated files to a micro SD card and tried to play it from a Samsung Galaxy Tab (7 inch tablet, Wifi only version) but it would not play.I searched the web and it appears that the Galaxy Tab will play flash videos off the web, but will not play them off-line (that is, stored on the device locally). I want to preserve the interactive menus.My goal is to be able to play videos with menus, off a small 7" tablet with a bright and contrasty display Overall, I liked to Samsung Galaxy Tab, but I returned it when I could not figure out how to play .swf videos stored on its local memory.
View 2 Replies
Jun 24, 2010
i have an xml gallery where every thumbnail is supposed to load a video on onRelease function. I tryed the easiest way i figured, since i�m not used to work in as2, but it works only a bit: It loads the first video you click ok, but it won�t load another one. This is my code:
Code:
function callFullImage(myNumber) {
myURL = myImages[myNumber].attributes.full_url;
var my_player = new FLVPlayback();
[Code].....
View 5 Replies
Dec 3, 2010
I have a preloader in the first frame of my movie but when i test it, it takes awhile before anything shows up because the components that i am using in the movie all seem to be added in the first frame even though the actual component is in another frame. Is there any way to get around this?
View 1 Replies
Jun 4, 2009
Flash CS4 Pro I created a Flash video, which when previewing locally works fine, but then I upload the files to the webserver, then nothing is displayed, I only see a white area where the Flash video should have been (no broken image icon, see the attached jpg file, it shown an white area where the video is suppose to appear).
[Code]...
View 13 Replies
Oct 8, 2010
I'm developing a web app based on videos that my client would like to upload using an online resource such as YouTube or Vimeo. Since YouTube has a 15 mn restriction length on the videos one can upload, my client has decided to use Vimeo instead, but Moogaloop(!) the Vimeo AS3 API is fairly restrictive and only offers a handful of methods to control the video.
What would be your best AS3 API for an online video sharing site? By best , I mean one that allows as much control as possible over the site's player features. I need to be able to listen to events , control the fullscreen capability , enable/disable some specific features such as a "embed" or "share" button.
View 2 Replies
Nov 3, 2006
I have my swf (embedded in a JSP page) deployed in Sun Application Server. My swf contains a Loader component which loads image through accessing the url of my servlet. This servlet of mine returns an image. Now, when i try it inside our network, it works both for IE and FireFox. But when i try it on an external network, the Loader loads the image for IE but it doesn't for FireFox. I'm doubting it is an acess problem since it works in IE.
View 4 Replies
Aug 6, 2009
If I open the swf on my computer, it plays with no problem at all. When I upload and try to open the file in my browser, I click the initial image that takes you to frame 2 to play the video, and it just sits there blank and does nothing. Could anyone take a look at it for me? [URL]
View 1 Replies
Feb 5, 2010
I have placed a FLV file in to my flash document, when I test it it plays fine, but when it upload it online the skin doesnt show up and I cant control the video.
View 1 Replies
Dec 8, 2011
I just got this problem after I uploaded my swf file online...it work just fine on my local disk. here the link of the website: [URL]
you can see it stay white at the beginning....it should be a FLVPlayback component.
View 5 Replies