ActionScript 3.0 :: AIR Other Sources For FLVPlaybackCaptions Other Than Filepath

Jul 6, 2009

I'm curious if anyone has any idea how to use properly-formed XML, generated via script (and user-interaction) as a source for captions?

Since this is an AIR app, I know that I have the option to write a temp file to the application storage directory, but if I can avoid doing this, things will go much smoother.

View 1 Replies


Similar Posts:


ActionScript 3.0 :: Creating Filepath Out Of Strings?

Dec 27, 2010

If I remove the variables and just type in the path name, the file does play. So there's no other error in this piece of code. I just can't seem to figure out how to create that filename from variables.

EDIT: I should point out more clearly its about the line = public var soundRequest:URLRequest = new URLRequest("sounds/" + Champ + soundType + ".mp3");

I get a 2044 unhandled ioerrorevent error and a 2032 stream error.

[code]....

View 9 Replies

ActionScript 3.0 :: Loading A Filepath Variable From Php Then The File

Jul 9, 2009

I'm loading a filepath variable from a php script that simply returns something like [URL] This works fine, apart from the last bit which reads the text file where it throws an error: Error #2044: Unhandled ioError:. text=Error #2032: Stream Error. URL: file: However it works fine if I replace the variable with the actual filepath loadit.load(new URLRequest(filename)); to loadit.load(new URLRequest(C:/wamp/www/text/o/blah.txt);

[Code]...

View 13 Replies

Flex :: Filepath - Is There An Equivalent Of C#'s Path.GetExtension

Apr 21, 2010

I want to get the extension of a file path in Flex. In C# I would just use Path.GetExtension() to do this.

Is there an equivalent in Flex, or do I have to write my own?

View 1 Replies

Actionscript 3 :: Load Video From Local Server Via Filepath And Not Via URL

Mar 22, 2011

I'm writing a Flash-based video player which simply plays FLV videos. A filename is passed in via a flashvar. Presently, this is achieved with the following function:

[Code]...

A video is grabbed and then added to the stage, with a player skin overlaid. However, what I want to do is load a video from the file system (the same server the SWF is deployed to) rather than fetching a video from a URL. Reading the documentation for the source property tells me it will only accept URLs. The reason I want to read from the file system is because these videos will be stored outside the root of the server. For example, a standard Apache set-up:

[Code]....

View 2 Replies

ActionScript 3.0 :: Software To Put Two Sources In One?

Jul 4, 2010

Is there a Software to make two FlashDevelop Sources in one? a friend and me Working on a Project and its lot of work to put the Changes together.

View 4 Replies

Good Photo / Art Collection Sources?

May 22, 2009

Can you list your favourite royality free photo CDs/sources ? As in for hi res jpgs which we can use as backgrounds for websites ?Do most of you use CDs or do you rely primarily on webbased sources ?Can you list cheap priced CD titles, Websites or any free image sources online with no strings attached?

View 2 Replies

Ability To Export FLV From A Variety Of Sources?

Aug 28, 2009

In Mac OS X I previously had the ability to export FLV from a variety of sources- QuickTime, MPEG StreamClip, Unexpectedly, the flv export option is now missing. In CS3, there used to be an Adobe QuickTime plugin called "flv.component". That item is no longer installed by CS4.
 
- The Questions

1) Is it still possible to export FLV from QuickTime, etc.?
2) If possible, which installed file or files provides this capability?
 
OS X 10.5.8 QuickTime Pro 7.6.2

View 1 Replies

Flash - Preloading SWF From Multiple Sources

Apr 22, 2010

I have a rather big (34 MB) Flash CS4 AS3 swf being loaded as a whole into a preloader like
l.load(new URLRequest("sample.swf"));
What are my options to minimize loading time? Can I split the swf and load from several servers? I'm dynamically loading images from the library:

var myBitmapDataObject:myBitmapData = new myBitmapData(100, 100);
var myImage:Bitmap = new Bitmap(myBitmapDataObject);
addChild(myImage);

Right now I'm declaring/referencing every single image in order to get it included in the compiled clip. Any better way? Haven't got round to using Flex yet.

View 1 Replies

ActionScript 3.0 :: Preloading From Multiple Sources?

Apr 23, 2010

my swf is 34 MB. Is there a way to compile it to multiple parts and distribute over servers? How would i load that?

View 2 Replies

ActionScript 3.0 :: Preloading From Multiple Sources

Apr 23, 2010

my swf is 34 MB. Is there a way to compile it to multiple parts and distribute over servers?

View 2 Replies

ActionScript 2.0 :: MP3Player - Variables And External Sources

Sep 30, 2004

I have an mp3player that loads an external mp3 file and plays. It works just fine if the url/location is hardcoded in the swf file. However, I need to be able to have the url passed to the flash externally so that a number of users may utilize this single swf build.

Example:
Current location need to be filename.mp3 or [URL]. However, I need this location to be edited per use of the swf. In php i know I could call it such as:
$myLocation = "123";
[URL]
or
$myLocation = "[URL]";
(The "123" is what changes for each page use)

Here is the code i have that is working just fine. Until I need to use a full url that changes for each page the swf is use on.
onClipEvent (load) {
if (playing!=true) {
playing=true;
soundIsLoaded=1
myMusic=new Sound();
myMusic.loadSound("myMusic.mp3",true)
}}

Limitations:
1. Because of the server set up, I am always required to call items using full absolute urls/paths.
2. php, cfm, xml etc are not available for use with this. -- the goal is to be able to give an webmaster a copy of the swf and the code to embed it on their html page... and that's it.

View 7 Replies

ActionScript 3.0 :: UILoader - Different Sources But Same Content Appears?

May 5, 2011

I have picked up a uiLoader component, and copy-pasted four times, so now I got five of them in my flash movie. Each got a different source (dresses/dresses1.swf, dresses/dresses2.swf, dresses/dresses3.swf, dresses/dresses4.swf, dresses/dresses5.swf). But When I launch the movie, all the 5 uiLoaders display the same content: dresses/dresses2.swf, and I can't understand why. For a test, I have replaced the .swf file with some jpeg files, and they were ok, but as I put the swf files back they show the same content again. The sources are ok, they work perfectly separately, so I can't figure out what is the reason why the swf files are loaded incorrectly..

View 3 Replies

Flex :: AS3 :: Loading Bytes From Multiple Sources

Jan 2, 2010

I am loading multiple images into a class instance and I would like to keep track of how large the complete amount of loaded data is at any given point.I have grabbed the totalbytes from my directory of images via a PHP script... but collecting the new bytes from the ProgressEvent on each image seems tricky for some reason.Let's assume that the totalBytes variable is correct and that I am totally unfamiliar with the way that ProgressEvent works.Does an event get fired every time ProgressEvent gets a new byte? If not, how do I keep track of the current total bytes?[code]

View 2 Replies

Actionscript :: Create A Flash Fonts From Different Sources?

Aug 11, 2011

In Actionscript/Flash it is possible to create a swf which contains font data for emedding like this:

package {
import flash.display.Sprite;
public class Font_times_new_roman extends Sprite {
[Embed(

[Code].....

now what i would like is, to create something like this with glyphs from different source fonts.

for example unicode character x should be taken from Arial, while character y should be from times new roman.

View 1 Replies

Flex :: Possible To Drag And Drop From 2 Sources To 1 Target?

Feb 2, 2012

My question is simple. Let's say I have 2 List Controls. 1 of Users and 1 of Tickets. (The 2 Sources). And I have a DataGrid (the target). Is possible to select 1 user and 1 ticket in the 2 list mentioned before and drag & drop them at the same time to the DataGrid? I know it's not as simple as they are going to get automatically mixed.. If it is possible... I would have to use the DragEnter Event of the Datagrid or something to mix them and create my dataProvider. But I don't know how you can drag & drop 2 items at the same time from different sources. It is possible with one source.. But no idea of how to do it with 2 sources.

View 1 Replies

ActionScript 2.0 :: Load Text From External Sources?

Oct 31, 2005

I am trying to creta my own loading text I am using the file and action script that chris99022 has written[code]...

View 2 Replies

ActionScript 2.0 :: Loading Text From External Sources?

Apr 4, 2004

i can load text, but not so that it will change when a button is clicked (load a different file.)

there are two tutorials on this issue in the tutorial section

[URL]

both of which supply final sources and both of which have errors.

**Warning** Scene=Scene 1, layer=action, frame=1:Line 1: Case-insensitive identifier 'loadVars' will obscure built-in object 'LoadVars'.
loadText = new loadVars();
Total ActionScript Errors: 1 Reported Errors: 1

the loadVars error is in both of them.

View 2 Replies

Media Server :: Setting Up Multiple Live Sources With FMS

Jun 16, 2009

I'm struggling setting up 4 live audio sources with fms 3.5. I have 4 streams input from our studios into 1 encoder server. From here I need to pass it to the internet via 4 FMS 3.5 servers. I do not want to have 4 * 4 encoding sessions on the encoder in order to service the 4 FMS servers. Is there any way to pull the streams from the encoders? I have also tried configuring explicit connections using 1 server as an origin server and 3 as edge servers but being a live stream the load and connections seem to get passed to the origin server which will eventually not handle the load. I've looked through the application.xml server settings but cannot seem to see any noticeable settings?

View 6 Replies

Flash :: Server - Media Encoder Multiple Sources

Feb 5, 2010

Can Flash Media Encoder handle several video sources and live srteam them all at the same time? We want to stream a few over the air broadcast sources using Flash Media Server v3.0. Is it possible to install several TV tuner cards into a PC and have Media Encoder live steam each of them at the same time? If not, can several copies of the software run on the same machine (each with it's own video source live streaming)?

View 3 Replies

ActionScript 3.0 :: Sources For Styling Skinning The Slider Component?

Feb 22, 2010

Any sources for styling skinning the Slider component?ie setting the background invisible or using another graphic in place of the line/rectangle graphic.   using another graphic for the thumb.  replacing the current graphic thumb has restrictions in dimensions,

View 1 Replies

ActionScript 2.0 :: Difficulty Loading Text From External Sources

Jul 27, 2004

I have been working on my first site which is my personal blog and I am having trouble getting my external text files to load in my dynamic text field. I would like to have my buttons when clicked to load my text files. This is the swf file that I have been working with: SWF FILE and these are my current dynamic text settings:

Code:
on (release) {
loadText.load("index.txt");
loadText.onLoad = function(success) {
if (success) {
// trace(success);
main.html = true;
main.htmlText = this.index;
}};}

View 2 Replies

ActionScript 3.0 :: Flash Loading Text From External Sources?

May 16, 2010

I need this EXACT tutorial only in AS 3.0

[URL]

View 1 Replies

ActionScript 2.0 :: Loading Text From Multiple External Sources?

May 20, 2004

So I have this button that when I click on it I want it to load two different text files into two different text boxes. This code works just fine for loading 1 file into one box,but not when I try to do the other thing. Whats wrong with it?

Code:
on (release) {
loadText = new loadVars();

[code].....

View 3 Replies

Media Server :: Broadcasting From Several Sources With The Possibility User Authentication?

Jan 25, 2010

we would like to purchase Flash Media Interactive Server 3.5 to solve the following problem

1.Broadcast network internet lectures on a paid subscription,with the possibility user authentication.

2. Broadcast video and audio.

3. Broadcasting from several sources (1 camera, 2 camera, TV tuner, etc.)within a single stream with the possibility of the user to choose the viewing source, other sources at this time, you can view the preview.

4. The intended audience for 10 000 users and more. 5. Estimated flow rate of 1 megabit per second.

1. Is it possible for broadcasters to use a single server, or they need more?     What configuration? 2. Does Flash Media Interactive Server 3.5 multicast? 3. How to make the system user authorization? Additional software, plug-ins? 4. How many users can simultaneously connect to the broadcast Flash Media Interactive Server 3.5 and how we calculate the bandwidth and outbound traffic?

View 1 Replies

Media Server :: Locate Sample Implementation (sources) For LiveSample.swf In FMS 3.5

Apr 26, 2010

I  am not able to locate sample implementation (sources) for LiveSample.swf in FMS 3.5. Can somebody point it to me?

View 4 Replies

Media Server :: Multiple RTMP Sources Streaming To FMS Without Stop?

Feb 19, 2012

I have some .mov files want to stream to Flash media server by ffmpeg. i have already tried to stream a single .mov by FFMPEG command in terminal and it works, the FMS can display the thing i streaming in live.Now i want to stream multiple files as one source, i tried to use above command one by one, but it seems Flash media server stop the streaming when file1 is finished, then start the stream with file2.It makes the stream player stopped when file1 is finish, and i have to refresh the web page in order to continue on file2.i am calling the FFMPEG command by a C program in linux, i wonder is there any method that i can prevent the FMS stopped when i switch the file source in FFMPEG? or is that possible to let FFMPEG constantly deliver the stream by multiple files source without stopped when a file finish

View 2 Replies

ActionScript 3.0 :: File To Load Data From Multiple Sources/domains?

Nov 5, 2009

I am trying to get my flash file to load data from multiple sources/domains. It works perfectly in the development environment, but as soon as you launch the swf locally or online, it doesn't load the xml data from external domains.

[Code]...

View 2 Replies

Actionscript 3 :: Possible To Read (and Maybe Change) The Sources Of The Core Flash Class Files?

May 18, 2011

I would like to read the source of the flash.net.FileReference class. Is this possible?Where can I find the source files, do the come with the Adobe Flash or Flash Builder?

View 4 Replies

ActionScript 2.0 :: Create A Loop That Will Put A List Of Names From External Sources Into A Number Of Arrays?

Jul 3, 2006

i am trying to create a loop that will put a list of names from external sources into a number of Arrays .so what i did is :

Code:
for (i=0; i<4; i++) {
this["loadVarsText"+i] = new LoadVars();
this["loadVarsText"+i].onLoad = function(success) {

[code].....

and i dont understand why it is not working, and how can i fix it?

View 3 Replies







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