Flash :: Swf - Using Amazon S3 To Host Videos - Why Does The FlashVar Show No File Extension

Jul 8, 2010

I'm using FlowPlayer to replace an existing FLV player on my site that plays videos from Amazon E3. I have many pages and each should show a different video. For each page, I have a value stored in my CMS that is the "streamName". The stream name corresponds to a flashvars paramenter in the object/embed tags that show the video player:&streamName=my-great-video

On my new player, I'm able to get the video using a URL similar to [URL] How Does Flash (or Amazon???) know to add in the .swf extension? There are several video formats used on the site, and the current player works with them all... But, as I mentioned above, on each page the value store for the video (ex="my-great-video") includes no extension.

View 1 Replies


Similar Posts:


Media Server :: Streaming Videos Only When Path Is Without .flv Extension?

Feb 22, 2012

the FMS server is streaming videos only when the path doesn't have the flv extension with the video. In case I put the .flv extension, it connects to the RTMP server but doesn't streams the video. How can I make it stream even if the video has .flv extension?

View 2 Replies

ActionScript 2.0 :: Show All The Files With The Extension With .JPG

Jul 24, 2003

i have one list box in my movie. I want that it should show all the files with the extension with .JPG in the local folder where my fla file is. Is it possible? All the files will be saved in a indexed way like jpg1.jpg, jpg2.jpg, jpg3.jpg.

View 2 Replies

ActionScript 3.0 :: Downloading A File From Amazon S3 From Inside Flash Client

Nov 23, 2009

So to get around Flash security issues, I have a script to upload files to S3 by sending it to a PHP script on my server which then uploads it to S3 with server-side PHP libraries.

Now, I'm looking for a solution to downloading a file from S3 in the same way. I suppose the best way to do it is to somehow make a PHP script that downloads the file from S3, then sends it back to the Flash client?

But the one thing is, I don't want the file to hang around--I'd like to delete it when the process is done. I suppose I can just have the Flash client call another PHP script on the server that deletes the file after the load is finished.

View 1 Replies

ActionScript 3.0 :: Lock Down File Extension When Using Flash To Save A File?

May 21, 2011

We used Flex to build the web app below. It lets the user build an interactive activity and click "Publish as Flash" to save a SWF file on their local computer.[url]...

Problem:When saving the file, the "Save As Filetype" drop down is empty and end users can accidentally delete the swf file extension in the filename.How can we lock down the extension so it will always have SWF in the extension?

Technique 1? Set "Save As Filetype" to SWF by default.

Technique 2? Click "Publish as Flash". User specifies the filename. File is saved on the server. User presented with prompt to download file. File is downloaded from the server using the traditional browser windows explorer dialog box (the same dialog box if I downloaded a program from cnet's downloads.com)

View 2 Replies

Flash Uploader - Requests Host/crossdomain.xml File?

Jan 24, 2011

I'm using YUI file uploader based on flash, and the flash requests host/crossdomain.xml file. I'm requesting localhost and it requires this file. I was using this before and I have never had this problem and I've never had this file on my server.I've never used any adobe technologies, could please anybody tell me if it is possible to turn it off somehow ?The problem is that I can't have the file on my server, at least at root location...

View 2 Replies

C# :: Wpf - Full Screen Content Player In C# Which Can Host A Adobe Flash Swf File?

Oct 6, 2011

I do not want to intertop between c# and AS3 or here. I want a full screen content player in C# which can host a Adobe Flash swf file. Is there an example? In full screen, right clicks would have custom behavior attached.I saw one in Visual c++. As per Chris's I checked the link. I tried adding these lines of code:

path = @"D:exampleFlexMainMenu.swf";
axShockwaveFlash1.LoadMovie(0, path);
axShockwaveFlash1.Play();

However, this swf was from Flash Builder and not Flash, hence there were other files like

framework_4.1.0.16076.swz rpc_4.1.0.16076.swz sparkskins_4.1.0.16076.swz
osmf_flex.4.0.0.13495.swz spark_4.1.0.16076.swz textLayout_1.1.0.604.swz
playerProductInstall.swf

View 1 Replies

ActionScript 3.0 :: Use Flash To Create And Save A File With Preset Extension?

May 21, 2011

We used Flex to build the web app below. It lets the user build an interactive activity and click "Publish as Flash" to save a SWF file on their local computer.http:[url].........

Problem: When saving the file, the "Save As Filetype" drop down is empty and end users can accidentally delete the swf file extension in the filename.How can we lock down the extension so it will always have SWF in the extension?

Technique 1? Set "Save As Filetype" to SWF by default.

Technique 2? Click "Publish as Flash".User specifies the filename.File is saved on the server. User presented with prompt to download file. File is downloaded from the server using the traditional browser windows explorer dialog box (the same dialog box if I downloaded a program from cnet's [url]...........)

View 2 Replies

ActionScript 3.0 :: Import File Names Of Songs Minus The .mp3 Extension Into Flash?

Jul 1, 2011

I'm wondering what the process would be for importing the filenames of songs minus the .mp3 extension into Flash would be? I want to import the filenames, and then create a for loop that goes through and adds some html tags to each name, and eventually I'll spit out a text file of it all for me to copy and import into a search function on a webpage. I think I can work through the latter, but I was wondering how to originally import the filenames into a swf?

View 5 Replies

ActionScript 3.0 :: Determine A File Type From Url When The File Extension Is Not A Reliable Indicator?

Feb 8, 2010

Is there any way to determine a file type from a url when the file extension is not a reliable indicator? Since there are different APIs for playing video, audio, or displaying images, you need to know the filetype beforehand.

View 5 Replies

Actionscript 3 :: Adobe AIR Doesn't Save File With File's Extension?

Nov 11, 2011

I am working on Adobe AIR application and some test users report to me about same issue.When they try to save the project file from this application, they have no possibility to add any extension (".txt", ".xml" or any other) to the file.

View 1 Replies

Play Videos In Flash File After Moving SWF File To Website?

Oct 8, 2009

I am having some problems showing my videos in flash after moving it anywhere besides my computer.
 
I published my flash file once as a exe. file and sent it to another computer, where it all worked but my videos, which didn't show up at all.
 
I also published them as SWF files, then put them up on my free website (where i don't have access to the ftp) and the videos still aren't there.
 
The videos will play fine in an SWF file on my computer, but i am assuming when they are away from the videos, they don't have a source to access them.
 
I also tried sending the videos along with the SWF files when sending to other computers and it still doesn't work.
 
I now have a free hosted website (with wix.com if that makes any difference) with my flash work on, but no videos. I even tried to embed a youtube video into the scenes the videos are meant to appear, and put the videos on youtube, then i discovered you can't put that sort of HTML into flash.
 
how to show the videos on these sort of website, or even better, how to keep them in original file when sending them, so they show on other computers.

View 2 Replies

Flex :: Passing Request File Into Application With Flashvar?

Oct 10, 2011

I am trying to get a xml file with data into Flex application. There are a lot of examples online passing parameter into f. However, it doesn't really work in my case.here is my code in HTML:

var flashvars = {};
flashvars.storageStatsXML = "stats.xml";
var params = {};

[code].....

View 1 Replies

Actionscript 3 :: FlashVar And Loading An External Link To A XML File?

Nov 3, 2011

Does any know how to load a XML into a Flash file using FlashVar?

I have these lines that load my XML data from a folder called XML

var url:String = "xml/TEST.xml";
var req:URLRequest = new URLRequest(url);
var uLdr:URLLoader = new URLLoader();

[Code]....

I would like to use FlashVar to enter the "xml/TEST.xml"; portion so I can keep reusing the SWF file and only have to enter a FlashVar in the HTML to point to the data. I have some users that are not Flash programmers and it would be easy for them to past the HTML and only have to change the FlashVar line to point to their XML file, as opposed to having to get me to hardcode it everytime.

View 1 Replies

IDE :: How To Show Relative Videos

Mar 12, 2010

I have this FLV player that plays movies in a library style.
Where you get thumbnails for all different videos with the ability to add different categories. I have a fla and XML file as my source files. xml has all the information about the list of movies titles description and all that and my fla file has info about the way player looks. I want to be able to add a tab called related videos, kind of like YouTube where when you play a certain movie it show a list of similar videos.

View 1 Replies

ActionScript 3.0 :: How To Show Related Videos

Mar 12, 2010

I have this FLV player that plays movies in a library style.Where you get thumbnails for all different videos with the ability to add different categories.I have a fla and XML file as my source files.xml has all the information about the list of movies titles description and all that and my fla file has info about the way player looks.I want to be able to add a tab called related videos, kind of like YouTube where when you play a certain movie it show a list of similar videos.

View 5 Replies

Professional :: Host Movie - Several Buttons In One File

May 12, 2010

I am creating a Host movie, where 5-6 buttons will be loaded from. However, I am having difficulties coding each button to open an swf file. Here is the code I have to try and load my ipod button.

stop();
ipod_btn.addEventListener(MouseEvent.CLICK,ipod_btn);
function ipod_btn(event:MouseEvent) {var request:URLRequest = new URLRequest("ipod.swf");
var loader:Loader = new Loader()loader.load(request);
addChild(loader);}

However, it doesn't do anything and I get these compiler errors
1023: Incompatible override.
1021: Duplicate function definition.

View 4 Replies

ActionScript 2.0 :: Load Xml File From Another Domain / Host?

Jul 3, 2006

Loading xml file from another domain or host?

View 1 Replies

ActionScript 3.0 :: Saving A Xml File On Local Host Machine?

Aug 6, 2011

I have an actionscript file which provides me with xml data. But I m not being able to save it to the local host machine. The code i m using to save the file is just the normal one i.e

var xml : XML = <save><instruments/></save>;
var fileRef:FileReference = new FileReference();
fileRef.save(xml,"NewFileName.xml");

I've tried saving the data as byteArray first n saving it in a xml file. That didnt work. I've flash player 10 installed and I m working in Flash Professional CS5. I have also used a hex editor and changed my swf file's 7th and 8th bits from 09 to some A0 as directed in a website but I m always getting an error which is

1061: Call to a possibly undefined method save through a reference with static type flash.net:FileReference.

View 2 Replies

ActionScript 3.0 :: XML Gallery - Web Host Does Not Support This Type Of File?

Dec 26, 2010

I have a sweet XML gallery that works perfectly fine, offline and when I drag the swf file to any internet browser. The problem that Im having is when I go to my web host and try uploading the .as file I get a message that says my web host doesn't support this type of file. I can't nest the action script 3.0 code from my .as file into my swf because my .as file contains packaged code. Is there anyway I can convert this .as file into something else.. like another xml or is there a way I can nest this packaged code into my swf or fla file? The fla files I am using can be downloaded here [URL].

View 13 Replies

ActionScript 3.0 :: Root Php File Data Using Local Host?

Nov 23, 2011

i really sowie coz my english are bad.now i want to root the phpfile using localhost in action script adobe flash pro..can u provide me some example and explaination
i using json array data in my php

View 19 Replies

IDE :: Set File Extension With Adobe Air?

May 14, 2008

Is there way to set the extension of a file using Adobe Air's flash.filesystem? Using the browseForOpen function you can set the FileFilter, limiting the files types available. However when using browseForSave you can not set a fileFilter or fileExtension. The file extension has to be entered manually in the SaveFileDialog. The File.extension property associated with the selected file is read-only. Does anyone know of a work around or anything that I could do to not enter the file Extension manually.

View 2 Replies

Jquery :: Swaping Videos Through Hide / Show While Playing

Nov 23, 2009

So my code is:Click the link show the div.I'm using the jquery flash embed object.[code]When I repeat this code and get the second video to load on click. It works in all browsers. The only issue I'm running into is that in IE6 the video keeps playing and in other browsers it stops the video your watching and loads the one you clicked on. I looked into using the .remove object or the .append to a div, but I can't seem to get that to work and if it does work will it play nice with IE6.

View 1 Replies

Professional :: Change The File Extension From .doc To .fla?

Mar 22, 2010

Is there is a way? ASAP

View 3 Replies

ActionScript 3.0 :: Load A Xml File With A .lic Extension?

Nov 4, 2010

when i load an xml file with a .lic extension with .pl in it,  eg  blahblah.pl.lic it errors on me, as if the file is not there.
 
However, if i rename the same file to blahblah.com all works fine.
 
i call the file with
<s:HTTPService id="hsLicAddressCheck" fault="hsLicAddressCheck_FaultHandler(event)" result="hsLicAddressCheck_ResultHandler(event)"  />

[Code].....

View 2 Replies

Flex :: Forcing Extension On A File Name?

Jul 28, 2009

In flex when I allow user to download a file using :

dwFile = new FileReference();
dwFile.download(downloadURL, dwFileName);

Is there a way to ensure that the downloaded file always ends up with the extension .tar or any other extension for that matter? By default I give it a name like xyz.tar, but as of now the user can tamper with filename, including its extension. Can I prevent him from doing so?

View 1 Replies

Disallow A Particular File Extension From Being Downloaded?

Dec 17, 2009

[I posted a similar question on serverfault.com, but had very little feedback so trying here]

I can do this just fine under Apache with htaccess

But at work its all M$ all the time...

I need to lock off access to any .fla files that might come up on a virtual host. We keep them next to the few .swf we use on some of our sites, I just want to be sure they are not being downloaded by people or spiders that may scrape the site.

There isn't really anything sensitive in the fla's but I'd rather keep them in the same folder and have them forbidden to downloaders.

I've tried the MIME type route (check if MIME type is defined under HTTP Headers > MIME Types, remove if it was, etc;), but there is no FLA defined, but I can still download the file by default. I recall this was the opposite if you WANTED to serve .flv files, but not .fla's[code]...

View 1 Replies

Changing File Extension From F4V To FLV - Any Negative Effects?

Sep 2, 2010

I am uploading videos to my new site (aspirin creative) and the player will not recognize any .f4v videos. I changed the extension on one to .flv and it now appears to recognize and play the video. Also, I didnt build the site myself and the developer not Define terms of video playback (which has been less than great so far) the player seems to be a rather strange resolution (600x340) which is not native 16:9 and wont recognize 4:3 encodes without stretching and warping. I have tried to encode close to this in media encoder but as soon as I select .flv over .f4v in the options my ratios seem to go mad, not keeping the preset and not letting me set to anything that is actually 16:9?!

View 2 Replies

Flex :: How To Attach File Extension With AIR Application

Feb 23, 2012

I made an AIR application that parses some specific files. I am using flex builder 4.5 and SDK 3.6. I want to attach Icons with those files and when I double click those files they should open with my application. How can I do this?

View 2 Replies

ActionScript 2.0 :: FileReference Download File Extension

Jul 25, 2008

I'm trying to get my flash movie to allow the user to download a file of a specific extension, at the moment i use:

[Code]....

Two problems:

a) If the user changes the file name in the browser before clicking save (and doesn't re-add the .xml extension) then the file is saved without an extension

b) Randomly, tested on two windows xp systems both in IE one included the extension in the filename on the browser download window and one didn't (which doesn't make it clear to the user they have to include the extension as part of the name) but both saved to the correct xml extension file

a) If there is a work around so I can specify the exact file type, in the adobe reference manual it states you can parse in extra parameters to server with the file location to download. How would i do this?

b) If can't do a, how can I get it to always display the extension in the browser download window (unlike in problem b )

View 7 Replies







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