Flash :: Swf File In Subfolder Not Loading?
Apr 27, 2011
The code below on works when my xml and swf file are located in the same directory as the html file. However, when i move both file to a sub directory, nothing shows. I have tried using the absolute path but not much luck.
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="110" height="110" bgcolor="#f0eee1">
[code].....
View 1 Replies
Similar Posts:
Feb 26, 2010
I recently installed FMS 3.5.1 and then upgraded it to 3.5.3 on a Windows 2003 server. In both versions, I can not stream .f4v or .mp3 from a subfolder. The .flv file plays fine. I used the default configuration settings, sample .f4v and .flv files provided by the installer. I used the sample player in C:Program FilesAdobeFlash Media Server 3.5samplesvideoPlayer as the client.
[Code]...
View 8 Replies
Jun 30, 2010
I have loaded an external swf in my main movie, the swf is a picture gallery which loads images from an XML file. The directory structure is as below[code]...
When i run the main movie, it is looking for the Thumbs folder in the root folder. How can i make the images load from the subfolder?
Do i need to change the relative path in the XML?
View 3 Replies
Nov 10, 2011
I'm having an issue with getting a simple flash image swap file displaying on a website I'm building and was wondering if anyone can tell me what I've missed. I built the image swap slideshow which is just a simple blend through four images. It uses the loadMovie to import the images from the directory the movie is sitting in so the loadMovie command just references the jpg files directly with no extra directory info. The swf file and the image files it loads are all in a subdirectory off the root called flash. The page I want to display the swf movie on is actually the index html page in the root directory of the website. So I used this html to display the swf file.
[Code]...
View 1 Replies
Sep 18, 2009
How to download set of sub folder and directory from remote server using action script.
View 1 Replies
Sep 19, 2011
I've spent like the past 5 days trying to get this to work as a client has given me 100GB of videos that are in subfolders. For some reason I'm unable to play media from any subdirectory in vod.
All of the media & subfolders are here:
C:Program Files (x86)AdobeFlash Media Server 3.5applicationsvodmedia
This works:
C:Program Files (x86)AdobeFlash Media Server 3.5applicationsvodmediasample.mp4
Server: rtmp://localhost/vod/_definst_
Stream: mp4:sample.mp4
This doesn't work:
C:Program Files (x86)AdobeFlash Media Server 3.5applicationsvodmediasubfoldermovie.mp4
Server: rtmp://localhost/vod/_definst_/subfolder/
Stream: mp4:movie.mp4
I've also tried as the server rtmp://localhost/vod/subfolder/ but it does not work.
I've also tried in the stream "mp4:subfolder/movie.mp4" that doesn't work either.
View 1 Replies
Mar 24, 2011
getting a rotating banner I downloaded to actually work on my home page. So I'm using FrontPage 2003. I've got my index page open and I select Insert, Picture, Movie in Flash Format. I browse through my subfolder and select the swf file. But it will not play!However, when I follow the exact same steps, but on a page that is located within the subfolder where all the files are located, the video plays just fine. So I know it probably has something to do with my file path, but I just can't figure out what I'm doing wrong. My files are located like this:
root -
index.html
subfolder-
(There is the deploy folder which has two subfolders in it - banner and js.)
deploy/
banner/content/images/image1.jpg
banner/content/images/image2.jpg[code]......
I've tried copying and pasting all of the files so they're in the root folder, and then embedding the swf, and it still doesn't work.I've tried editing the banner.xml page and telling all the folder paths to start from the root folder, and that hasn't worked either.
View 4 Replies
Nov 15, 2010
How would you defer loading of other graphics on the page until after the images in a Flash gallery's images.xml file are finished loading?Is there any way to detect for this, or would I only be able to check if the flash swf object is finished loading? I'm pretty sure the swf object would be loaded/ready as with document.getElementById('flashobject').onload = function(){}; before the corresponding images have loaded though, instead of after.
View 1 Replies
Feb 6, 2010
I have a flash file that is 1.5mb in size. As it takes about 6 minutes for someone on dialup to load this file, I have created a smaller swf file and loaded the larger one from it but I don't want the larger one to begin to play until it's fully downloaded. How do I set this up? I have set up the action script 2 as follows: loadMovieNum("top2.swf", 0);
View 7 Replies
Dec 30, 2011
I have a website.fla and want to add a slideshow.swf to one of the pages.
View 4 Replies
Jun 29, 2009
I have a problem with flash media streaming server 3.5.0. I try to make subfolder under application/vod/media and put .flv file there, but it just doesn`t work from there. Example url should be [URL]
View 2 Replies
Apr 25, 2009
I'm loading a external text file to flash and according to the number present in the text file i'm trying to do a IF - ELSE command. It's not working coz the value I load from the external file is string. How can i get this as intiger.
View 2 Replies
Dec 14, 2009
I had a website that worked fine...there was a flash show that used a variable to the directory to pull images. We had about 12 all together one the website. IT worked great and all of a sudden it no longer loads the file.
View 2 Replies
Jun 28, 2006
I'm calling an external xml file and loading it into Flash. I can only pull the varables out in the onLoad function. Here it is.
var courseXML:XML = new XML();
courseXML.ignoreWhite = true;
courseXML.load("presentSlidesOne.xml");
courseXML.onLoad = function(bSuccess:Boolean):Void {
[Code]...
View 5 Replies
Jan 4, 2010
I am an interactive design student working on a flash portfiolio and . I can't figure out how to load a game I made in flash into my porfolio so that it loads after clicking on a button, becomes playable, then have a button to leave the game and go back to my portfolio. I'm working in Actionscript 2.0 because that's all my teachers will show me and I have minimal actionscript knowledge.
View 1 Replies
Mar 4, 2010
I'm having trouble with loading a swf file in my flash. I am buidling a flash website where I have a lot different sections. Main file: index.swf where i have main buttons and an UILoader. now i want to load my homepage in the UILoader so I set the UILoader source to homepage/index.swf The homepage loads no errors but as soon as I add some actionscript anything (declare one variable) i get this error
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at index_fla::MainTimeline/index_fla::__setProp_loaderr_Scene1_loader_1( )
at index_fla::MainTimeline$iinit()TypeError: Error #1009: Cannot access a property or method of a null object reference. at index_fla::MainTimeline/index_fla::frame1()
View 5 Replies
Feb 4, 2010
i am using flexbuilder 3 now i need to load xml file from disk using flex without AIR i imported flash.filesystem.File but error occured. but AIR project,flash.filesystem.File was successfully imported. Cant i use flash.filesystem.File from flex without using AIR?
View 1 Replies
Oct 25, 2010
I'm trying to set up a .flv file that will have buttons for two different pieces of sound.I've been able to get the first piece to load and to play and stop, but when I try to load the second piece, I trip up.I'm still a novice, but do think I understand the basic problem -- Actionscript can't distinguish between one sound request and another. The question is, how to fix this and get actionscript to understand that I'm trying to load and play two different sounds associated with two different buttons?I get error codes such as "1151: A conflict exists with definition s in namespace internal." , "duplicate function" problems and "duplicate variable" warnings. I've seen some discussion on this site of a recyclable sound object. I think I'm asking a similar question, but although the person who posed that question also posted a solution, I haven't been able to make it work.Here's the code:
var s:Sound = new Sound();
s.load(new URLRequest("http://www.website.com/Water.mp3"));
wellsplay_btn.addEventListener(MouseEvent.CLICK,playSound);
[code].....
View 2 Replies
May 24, 2011
I need to loading a PNG file from a server into my flash project. What I want to do it be able to call a PHP page and send it a variable which I can do. Then I want to access a db and get a path for the image, I can do this too. What I'm not sure about is what to do then. What I need to happen is the PHP to return the PNG to flash somehow. Can I just add the PNG to the php page and use a loader somehow? I've been searching around google but most tutorials seem to be getting PNGs out.
View 3 Replies
Mar 12, 2008
I've tried loading a .flv-file into my Flash, and it actually works properly. I use the following actionscript:
Code:
var videoConnection:NetConnection = new NetConnection();
videoConnection.connect(null);
var videoStream:NetStream = new NetStream(videoConnection);
var video:Video = new Video(700, 480);
addChild(video);
video.attachNetStream(videoStream);
videoStream.play("shine_introduction.flv");
and when I test, the .flv is loaded and all is honky Dory.
except...
I get the following error in my trace-window:
Error #2044: Unhandled AsyncErrorEvent:. text=Error #2095: flash.net.NetStream was unable to invoke callback onMetaData. error=ReferenceError: Error #1069: Property onMetaData not found on flash.net.NetStream and there is no default value.
at loading_flv_files_fla::MainTimeline/frame1()
How do I avoid these errors, and how much do they actually matter? An example of flash loading the .flv-file can be seen here [URL].
View 3 Replies
Sep 25, 2008
basically I want to embed a SWF file on one site, and then I want to be able to send that code to people so they can easily embed the file on their site,however, when I tried this on a separate site, the embedded FLV didn't play
Code:
<script type="text/javascript" src="http://www.urlhere.com/videos/swfobject.js"></script>
<div id="shares">
[code].....
View 1 Replies
Jun 7, 2010
I have a template that have some buttons in the header. I add one button because my client needs one more section in the SWF. When the movie loads the behave of the intro is to load the first button running from flag fotogram "s1", but it's not working properly. The button get's stuck and it's not behaving like it should. When I rollOver or rollOut is not doing what it should do. Why is happening this? I'm loading another swf with loadMovie but it's _lockroot = true. I tried not loading that flash but the button is still not working fine.
View 0 Replies
Jul 1, 2009
I have flash file contains 2 Scenes. First one is a flash intro Second one is the website how can i make a loading bar for both of them? i mean when i start the website ... there loading for the intro ... with skip button ... if i clicked on it ... i'll get the second scene which it is the website and it will get loading bar as well. or i need any way to do multi loading bar in one flash file
View 3 Replies
Nov 17, 2009
I currently have a photography website that calls a javascript file from the html page. there are nine galleries of photos and this javascript file loads all the images as soon as the viewer lands on the page where they can select the galleries.
my problem:
the photos load in order from top galleries in the list to bottom, which fits most viewers' patterns (from analytics). however, if a viewer clicks a bottom gallery and wants to see a photo, they have to wait till all prior photos are done loading.
here is the url [URL]
instead, what I would like to happen is that whenever the user clicks a gallery, the swf calls for a javascript file to load the images of just that gallery. right now I have a few on(release) commands.
how to call a javascript file from a flash swf?
View 3 Replies
Jun 21, 2010
i want the .SWF file to be opened but not donwloaded until a button is pressed but don't know ho to do that..on frame 1 i have an object (movieclip) that consists of a logo with a blur effect.. after 1-2 seconds the blur effect goes away and you can see the logo. the logo itself is a button that send's the user to the next frame in the main scene.on frame 2 of the main scene i have a preloader that shows the percentage of the loaded page and a progress bar .. everything works great
the problem is that when you open the swf it starts downloading the hole flash site and when you press enter the site is already loaded and you can't see the progress bar of the preloader..i want only the 1 frame of the main scene to be loded, then i want i to stop loading (downloading) the SWF file until enter is pressed.when enter is pressed i want the flash site to be loaded and so you can see the preloader in action..can i put some code on the action layer on the 1 frame that stops loading the movie (the first frame is loaded and the blur effect of the logo plays).and another code on the second frame (where the preloader is visible) that starts the donwloading again?
View 4 Replies
Jan 19, 2011
My boss made a quiz for the Flash movie I'm doing, using the Articulate Quizmaker software, and he saved it as a swf file. It plays great in Flash Player and through Flash. Now, I'm trying to use my main Flash file to call the quiz swf file and play it at the end of my movie. The main Flash file is set up as a swf array, calling the different swf files I want it to play in order. I want that quiz swf file to play at the end.
However, when I do that and I publish the file, I just get a blank screen when it tries to load the quiz swf file and a bunch of code in Flash that pops up. What's going on? How can I load the quiz swf file into my Flash movie?
View 15 Replies
Apr 11, 2011
I am currently creating a mockup website for a school project and i had the actionscript for the pages all worked out which functioned by changing the visible on/off properties as the buttons were pressed (the home page and it's animations would be able to be seen behind the information page so doing the pages on layers is the only way i can think of doing it)The problem with the way i have coded the webpage however is that even when the pages are invisible they're infront of the home page meaning that aspects which i wanted to add such as a hover over animation don't work as the hover over isn't registered (the nav bar is a seperate layer and above all the others) What my question was, was
a) would it (in your opinion) be better to make it so that the movie clips of the pages were loaded from the library when the buttons were pressed or to make the layers re arrange themselved when the buttons were pressed thus showing the page that i want to show. and b) how would i be able to achieve this? i work on Adobe flash cs4 with actionscript three and am favouring the first option (loading the page from the library)
View 1 Replies
Oct 23, 2011
When i load the audio as mp3 file some time it will throw error.The error is "one or more files cannot be imported" Then i convert the audio file as wav file,but the quality of the audio is not good.
View 1 Replies
Nov 8, 2009
In my flash, the socket server returns some xml data that I need to parse, but it seems that the only way to start the XML object is with the XML.Load() which loads an external file, but my XML file is already loaded into a variable
trace("raw: "+msg);
msgArea.htmlText += "update remote player loc";
var playerLocXMLOb = new XML(msg);
[Code]....
View 4 Replies
Dec 6, 2009
i'm pretty new to flex 3 but it's really cool so far. now in the center of the screen when i try to load an swf file using the SWFLoader object i get the following error:
Error #2044: Unhandled securityError:. text=Error #2140: Security sandbox violation: file:///C:/Users/ufk/Documents/Flex%20Builder%203/GamePage/bin-debug/GamePage.swf cannot load file:///C:/Users/ufk/Documents/Flex%20Builder%203/GamePage/bin-debug/crazy_counting.swf. Local-with-filesystem and local-with-networking SWF files cannot load each other.
[Code]...
View 4 Replies