ActionScript 3.0 :: SMIL XML Namespace "breaks" Flash

Oct 18, 2011

I've found a problem with Flash when trying to parse external SMIL XML files in Flash. The xmlns declaration seems to break Flash. With this:

[Code]...

View 5 Replies


Similar Posts:


Media Server :: Unable To Stream SMIL Files Unless The Html Page, Swf File And The Smil Ffile?

May 20, 2010

When I place the .swf, smil and http files on the FMS server the SMIL stream test sample works fine
But When I move the files to my web server I get Connection error. This is the same issue discussed in [URL].. I added a 'base' variable but it did not work for me. The SMIL file has the correct path to the sample files and FMS server <meta base="rtmp://200.200.200.23/vod/" />

I am able to stream files from my html file on my webserver not the FMS server by pointing to the FMS server at rtmp://200.200.200.23/vod/mp4:sample1_1500kbps.f4v Is this a domain security setting? If so, where do I change it? If not How do I get FMS to stream SMIL files without installing a webserver with FMS?

View 1 Replies

ActionScript 3.0 :: Play Dynamic SMIL In Flash 8?

Jun 16, 2010

I am NOT able to play dynamicStream.smil in Flash 8.0 player ? What seems to be wrong ? Can anyone help me out ?

I have the following installed on my machine

1)Win XP

2)Flash Server 3.5

3)Macromedia Flash Professional 8 (30 days trial version.)

I am able to run Flash Server 3.5 and am successful in playing dynamicStream.smil and sample2_1000kbps.f4v from videoplayer.html when launched in IE browser.

I copy and paste "rtmp:/vod/mp4:sample2_1000kbps.f4v" in IE browser. It prompts me to open any media player. When QuickTime player is chosen, it plays the video. However, when I try to play the same in Flash 8 player (client), it gives me an error "A sharing violation" has occured.

Also when I try to play either "dynamicStream.smil " OR "sample2_1000kbps.f4v" from Flash Media player 8.0, by navigation to "C:Program FilesAdobeFlash Media Server 3.5webrootvod" directory of Flash Server 3.5, I get "An unexpected format" error.

Is it possible to play this dynamicStream.smil, streamed from server 3.5 in Flash 8 player ?

View 1 Replies

ActionScript 3.0 :: Streaming Video Flash Media Server, SMIL Files?

Sep 15, 2009

I have a video player working just fine with one video, steaming and using dynamic stream switching on a flash media server.Now I want to have more videos.I want to start using SMIL files for the dynamic switching list for each video.If you do not know what a SMIL file is you probably can not help.
 
Anyway how do I point to a SMIl file instead of just listing the streams.here is how I do my list at the moment
var dsi:DynamicStreamItem = new DynamicStreamItem();dsi.addStream( "mp4:GeneralReel_512x375_BR300_CBR_A96_Prog_1KFPS.f4v", 300 );dsi.addStream( "mp4:GeneralReel_512x375_BR600_CBR_A96_Prog_1KFPS.f4v", 600 );dsi.addStream(

[Code]...

View 2 Replies

Actionscript 3 :: SMIL File Xml Isn't E4x Friendly?

May 10, 2011

I'm loading in a smil file (follows the xml format) and it won't let me select properties via name (eg. xml.body) instead I can only access the data by xml.child(0).I've tried xml.child('body'), but still nothing. Anyone know a quick workaround? I would like to be able to access xml.head.(@name=='rtmpPlaybackbase') and the XMLList xml.body.switch.video.[code]

View 1 Replies

Media Server :: Using .smil Files For Dynamic Streaming In Playlists?

Apr 22, 2009

I have a video player with a playlist written with AS3, along with an .XML settings file to edit the playlist.  I can successfully play rtmp:/ streams from my FMS server on the video player. I would like to use dynamic streaming using the dynamicStream.smil file with my existing video player/playlist.  Lastly, I have been unsuccessful taking the snippet code from the FMS, Dynamic Streaming sample page, and using it within an HTML document.  I assumed all I would need to change were the paths to where the rtmp:// video file, .smil, and the video player files were located on the FMS. 

Using: Linux, FMS 3.5, CS4

View 36 Replies

Media Server :: Streaming 2 X H264 Live Videos Using Smil File?

Aug 6, 2010

I want to be able to stream a live video using Flash Media Live Encoder 3 using two options of 300 kbps and 150 kbps.I want to give users a choice of stream quality depending on their available bandwidth to maintain the live feed.I have set it up so that the Bit Rates are 300 and 150 and tick marks on: 1 and 2my FMS URL is correctin the Stream: box I have written: test1;test2The SMIL file has the following:

<smil>  <head>  <meta base="rtmp://live" />  <body> <switch>
<video src="mp4:test1.f4v" system-bitrate="150000"/> 

[code].....

View 3 Replies

ActionScript 3.0 :: Flash Adding Its Own Namespace?

Aug 3, 2009

I'm writing a flash app to help build timed text files. I have all the captions stored in array, and a function that builds the XML object and spits it out. I start out with a template file, then use insertChildAfter() and copy() to create as many <p> tags as I need to, based on the length of my array. If I manually create the following file, it works fine.

[Code]....

View 0 Replies

Flash :: Check If Object Has A Property Within Namespace?

Mar 18, 2011

I want to check if object has a defined member within namespace. If was trying to use hasOwnProperty method with QName, but it's not supported:

package {
import flexunit.framework.Assert;
public class ObjectTest extends Object {

[Code].....

View 1 Replies

Build Lower Namespace To 2.6 In Flash Builder

Jan 13, 2012

I have to build an Adobe AIR application with the Namespace 2.6. The problem is, I recently downloaded Flash Builder 4.6 onto a new computer, and it requires the Namespace to be 3.1. Otherwise, it throws an error. The only solutions I can find online are to change the Namespace in the app.xml file to 3.1. This however causes issues later on when I try to Code-sign the application.The easiest fix would be to make Flash Builder build the application with Namespace 2.6.

View 1 Replies

Tracking :: Method NewFrame In Namespace Error In Flash Cs5?

Dec 11, 2010

i am trying to get tuio running in flash an i am getting this errorLine 10 1044: Interface method newFrame in namespace org.tuio:ITuioListener not implemented by class TuioExampleDrawingCursor.i'm not sure what to do about fixing it as i'm relearning flash after an extended hiatus. here is the code its used in:

package {
import org.tuio.*;
import org.tuio.osc.*;

[code].....

View 1 Replies

Flash :: IDE - Cs3 Compile Error 1017 - Package Namespace?

Sep 27, 2007

Word to the Flash Genies-- Heres my wish that hopefully someone else is struggling with an enormously mind-boggling bug in flash cs3-- when I try to create a public class that extends any of the native flash display objects, and I put this in its own package, even after specifically importing the specific class OR the package wildcard .* the fla that I'm compiling returns error 1017-- Base Class Definition not found. The fla is set to the correct classpath. This situation slipped from 'minor annoyance' to 'mind boggling' after I moved the directory to a different pc with cs3, reset the local classpath and it compiled perfectly. So then I moved the directory to a mac, running flex builder, and made a tester file to use the class, which compiled perfectly.

For some wierd reason, this particular computer cannot compile, even though nothing had changed in the actual class. Maybe it is important to note that this machine is running Vista (and perhaps should not be!)? Maybe it is important to note that the package is part of an SVN directory? Maybe it is important to note that after re-saving the same class file, changing only the class name (from BitmapSprite to BSprite) enabled it to compile on this machine, even though both the mac and other pc (running windows XP) could compile the class as BitmapSprite. I'm not sure if the name change or just re-saving allowed it to compile--but maybe it's significant that the new named instance was not committed to svn.

View 3 Replies

Flex :: Flash - Error:- 1151: A Conflict Exists With Definition Obj_inst1 In Namespace Internal?

Jun 16, 2010

I have wrote a function like ,

private function addSelectedFunc():void
{
/**

[code].....

View 1 Replies

ActionScript 3.0 :: Error 1152: A Conflict Exists With Inherited Definition Flash.displayisplayObject.x In Namespace Public

Jan 5, 2012

I am a COMPLETE newb at actionscript. I have been experimenting with variables; I've made some assumptions based on programming with other languages.When I search for errors,it says my script is fine, but when I publish preview, it plays and then gives me errors.I keep getting error 1152: A conflict exists with inherited definition flash.displayisplayObject.x in namespace public. and1152: A conflict exists with inherited definition flash.displayisplayObject.y in namespace public.

Here is my script for frame1

stop();
import flash.events.MouseEvent;
var x:int;
var y:int;

[code]....

View 2 Replies

Flex :: Error Conflict Exists With Inherited Definition Flash.display:DisplayObject.mouseX In Namespace Public?

Feb 22, 2010

This appeared as I was trying to use a mouseEvent to move an object.I placed the variables for mouseX and mouseY in the public class. I did the same for direction X and Y but there was no error message for those.

View 1 Replies

Flash :: Jquery - Infinite Scroll Breaks

Apr 14, 2012

I am nearly finished creating the tumbler theme below. The theme uses the infinite scroll plugin and this works fine for posts that don't contain flash (photo, text, ...). Video and audio posts use flash and when the infinite scroll kicks in loading more posts it doesn't load in the flash posts. [URL]

View 2 Replies

Flash :: ActionScript's WordWrap Breaks Words

Jun 29, 2011

I have a text field with a set height and width and that allows word wrapping. When I add text to it, I dynamically change the font size until the height of the text is smaller than the height of the box, allowing it to properly fit. The problem I am running into is that the box is fairly thin by necessity, and some longer words (like "Australia") are broken during the word wrap. So, perhaps "Australi" will show up on the first line, and "a" on the second line. However, because they satisfy the height requirement, they aren't shrunk any more. I need a way to detect this and continue shrinking these cases so they fit without the break. Here is the code for dynamically shrinking the text to fit the height[code]...

View 2 Replies

ActionScript 3.0 :: Line Breaks And Paragraphs In Flash?

Jul 6, 2009

I have a message that is sent by mail using Flash and PHP.

The Message is build from 5 textfields, each with one paragraph.

I need to send this message with online between each paragraph. The problem is that I can't add lines to code using code.

how can I do this inside flash?

(I don't want to use HTML, the message will be sent using plain text)

View 1 Replies

Actionscript 3 :: Flash - Fix Line Breaks In HtmlText That Uses <b> Tags In The Xml?

Jun 10, 2010

I'm importing text in from an xml file and i'm using htmlText to try to keep some styling with tags. I have both the regular and bold face font embedded, and the bolding works fine. The problem is that it ads spaces around the words in bold like a paragraph indent and then makes a line-break after them. What's going on, is there a way to fix?

fromxmlText.htmlText = theXML.contenttext;

If I pull the text in from a txt file it will work fine, but taking it out of an xml file causing funky formatting.

View 4 Replies

Flash - Using Wmode = Direct Breaks Express Install?

Mar 17, 2011

I'm building a Flash video player that uses the new StageVideo API. StageVideo requires window mode (wmode) to be set to "direct". Unfortunately, setting wmode to direct prevents the express install dialog from popping up if a user has a version of Flash Player older than 10.2.How can I set my wmode to direct to get StageVideo to work but also ensure the Express Installer pops up for users with older Flash Players?

View 2 Replies

Jquery :: Flash - Embed Breaks Animation-flow?

Aug 15, 2011

I made a little animation for a client. Its a repeating movement of a cat. The flash-file works great and shows an endless animation without interruptions. But after I integrated that animation, it plays the animation wrong. It sticks on some point. Heres the code and the link:

View 1 Replies

Php :: Maintaining Line Breaks In Flash TLF Editable Field?

Oct 14, 2011

I have a TLF editable field in a(n) swf file. Text entered there gets sent to a php page where everything is processed. I had the behavior set for multiline, but just realized that if someone hits return and keeps typing, no break is displayed (not even a space). I've tried using nl2br() in the php when it grabs the POST variable from flash, but that doesn't work. I don't know how flash handles the carriage return, so I don't know how to handle it on the php side either.

View 1 Replies

ActionScript 2.0 :: Flash To PHP Email Line Breaks Deleted

Feb 21, 2008

I have a designed a Flash based interface to send email via PHP.

I capture the variables in Flash using:

var my_lv:LoadVars=new LoadVars();
my_lv.name=name_txt.text;
my_lv.message=message_txt.text;

[Code].....

Everything is working fine, but when the message is received all line breaks entered in Flash message are deleted making the message one long line. Is there something I need to write into my actionscript/php to allow the message to display properly?

View 3 Replies

ActionScript 3.0 :: Flash TLF Text - Eventlistener And Line Breaks

Jun 14, 2011

I just started using TLF text and it's interesting. I have this issue however. I made an swf to demonstrate the problem and you can try it here: [URL] But this is the problem: I have an input textfield (type input) and output textfield (dynamic not selectable) and eventlisteners on the input fields. It seems like the TLF does not register the enter-key. Try it for yourself via the link above.My code is:

[Code]...

View 1 Replies

Flash :: Namespace Error: "Top Level Of A Class Definition"?

Feb 8, 2012

I'm trying to encapsulate a package so that classes, properties, and methods that have no meaning outside of the project aren't accessible. They do, however, have to be accessible by other classes in the project, so internal is insufficient - the internal properties of parent.foo.AClass can't be accessed byparent.bar.AnotherClass. I was under the impression that namespaces could solve this problem, so I tried this:

//Class in top level package, where we make our namespaces
package parent {
public namespace myproject;

[code].....

View 1 Replies

Flash :: Css - Type 'AutoComplete' In CSS Selector 'AutoComplete' Must Be Qualified With A Namespace

Mar 9, 2011

I keep getting this warning in css: Type 'AutoComplete' in CSS selector 'AutoComplete' must be qualified with a namespace. I can't seem to get it fixed.

View 2 Replies

Flash :: Sifr 3 Barebones Test - Unusual Line Breaks?

Nov 13, 2009

I want to use a non-standard font on the web in a various combinations of font-color and font-size without having to assign individual configs for each. So far sIFR seems to pick up font-size no problem. but not font color, so I am working on a work around.

The problem I am running into: sIFR is breaking text to the next line without a linebreak <BR> being present.

[Code]...

For the sake of the project I am working on, it looks like setting the standard to block level elements only with font-sizes of 18px and above will be the route taken to keep from holding it up further, but I still have personal interest and would like to pursue understanding sIFR and the line breaking further.

I am new to Stack Overflow and am concerned this may be an 'extended discussion' which the FAQ says is beyond the scope of this site.

View 2 Replies

Flash :: TLF - Flowing Text Through Multiple Containers And Line Breaks?

Nov 20, 2010

I'm using TLF to lay out a dictionary entry. It's working fairly well, but I need finer grained control of layout than I'm able to achieve through setting style properties on FlowElements, primarily for horizontal spacing and setting padding on SpanElements independently of their parents.

The solution that seems most promising is separating the various elements of the entry into separate containers and flowing the text through them by progressively adding new containers and ContainerControllers for each new element with size set to their content bounds so that the text will flow into each new container.

This ALMOST works, but the text will only flow correctly into the next container if an extra line break is inserted between the two sections of text that should go to different containers. Without the line break, the containers are sized correctly, but no text displays.

In these examples I've added borders to the container sprites so you can see where they're being drawn. Aside from the line break, the text is exactly the same. The syllable field is a SpanElement inside a ParagraphElement. The pronunciation label and text are separate SpanElements inside another ParagraphElement.

[Code]...

As you can see, the pronunciation doesn't show unless a line break is added after the text, but the alignment is then off. No combination of line breaks seems to align them correctly.

Any ideas? Are these bugs in TLF? Should I try a different method? I would really like to have all the text selectable as one unit, and I love the better rendering and control that TLF offers, but I also need the layout flexibility. I suppose it's possible that I could hack something together like this with line breaks and positioning offsets, but it certainly wouldn't be pretty (or maintainable).

View 1 Replies

Actionscript 3 :: Flash Player Breaks When Loading .csv File With URLLoader

Mar 25, 2011

I've made a little flash, with AS3, to view the data generated by some program I wrote... The data is in a .csv file and are loaded to the memory with a URLLoader object.

The flash loads well .csv files which can come to almost 50 MB in size... But when I try to load a file with 160 MB, the player just stop working... I run the last flash player version, outside of the browser...

I've heard that the Flash has limitations on the amount of memory it can store... But in another question, they say it has not.

What may be causing the crash? - I don't think it is the code, since it runs smooth for small files...

View 2 Replies

ActionScript 2.0 :: GetUrl With Javascript Breaks When Publishing For Flash Player 8

Sep 28, 2006

I want to use getUrl to display a javascript alert. I've found an example that works perfectly, by using getUrl("javascript:alert('hello world')"); But that example is published for Flash Player 6, and the rest of my movie requires FP8. And if I go to publish settings, and select Flash Player 8 as target, the javascript is no longer executed.

It's not about the getUrl changes in Flash Player 9, I've also tested with Flash Player 8. If you want to try for yourself, the example I'm talking about is from [URL]..

View 9 Replies







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