Mxml - Mx:MediaPlayback Flex Tag?
Oct 22, 2009
I'm trying to compile gui/flex/songs.mxml in the fourth edition of Bruce Eckel's Thinking in Java book and am getting a compilation error with Flex 3.4.
Here is a simplified version of the example that gives the same error:
[Code]...
View 1 Replies
Similar Posts:
Sep 24, 2009
Does MXML get compiled down to as3 and then converted to flash bytecode? Also, is there a significant performance penalty to compiling mxml vs compiling as3?
View 3 Replies
Jun 4, 2011
I am working on a custom Flex 4 component which is an aggregation of two existing flex components. I would like to be able to specify my own custom properties for the component as well as access the existing public subcomponent properties via MXML. For instance I might want to adjust the font color or style for the label and text input. toy component which aggregates both a label and a text input:
<?xml version="1.0" encoding="utf-8"?>
<s:Group xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
[code]....
View 1 Replies
May 28, 2011
I am trying to override a Button class, i have a few properties which i wish directly initialise with the mxml description of the component, like :[code]which function is triggered ( in order to override it ) when all properties with mxml description is fully initialised with their values ?
View 1 Replies
Feb 3, 2011
What I'd like to do: create an MXML component with some children, then extend it via MXML to create a new component with more children, without losing the original set.In other words
create a component bc.mxml
<?xml version="1.0" encoding="utf-8"?>
<s:BorderContainer xmlns:fx="http://ns.adobe.com/mxml/2009"
[code].....
View 1 Replies
Sep 27, 2011
i have defined some functions in a component mxml file let us say addbutton() now i want to call this function in main mxml file.
View 2 Replies
Apr 23, 2010
main.mxml
[Bindable]
private var _dp:ArrayCollection = new ArrayCollection([
[code].....
View 1 Replies
Aug 12, 2009
A Flex components values are initlized by init methord. In an application flow, How to refresh a mxml component data value ; as init is callled at the start up it self only.
eg. of mxml componet may be as simple as button label or text as complex as repeater whose data provider is a web service ( means a fresh quesy should be made to pull the data and refresh the dataprovider of repeater )
View 3 Replies
Jul 7, 2010
suppose i have 3 buttons(for example say, productin, marketing, sales ) on my main.mxml..once i click on one button it should take me to abc.mxml page with production data, once again if i click on second button it should take me to the same abc.mxml but with marketing data. same as for 3rd button also, how can i achieve this ?
View 2 Replies
May 18, 2011
I've been trying to create a custom mxml component that extends another custom mxml component (i.e.MyMXMLComponent -> BaseMXMLComponent -> Group). I've been reading that trying to add visual children to MyMXMLComponent caused error with Flex 3 but that's no longer the case with Flex 4.
What I want to know is whether this is a supported/fixed/documented feature of Flex 4? or just some undefined behavior in Flex 4 that may get changed with future updates?
if this is supported and documented feature, does anyone have link pointing to adobe document stating it as such?
View 1 Replies
Mar 9, 2012
This is a project I'm working on for a simple demo tutorial application in Flex. I am using mxml pages. You can see to the left that I will have my main application and then other mxml files (In the Examples Package) as the examples that will be loaded into the main application mxml. How can I dynamically pull the value from the object in the list to load the child mxml file into the container that I have further down in the application?
View 1 Replies
May 16, 2011
I have a method in CustomPanel.mxml and I need to use id which is available in Main.mxml. Below is my sample code
Main.mxml
<local:CustomDivideBox id="div1">
Custompanel.mxml[code]....
View 2 Replies
Jul 25, 2011
I would like to include an MXML file in my MXML file in the same way you can include an external file in AS3 using the include directive. Using the include directive brings the code from the external file into the original file at compile time placing it in the same scope. For example,
Application.mxml:
<Application>
<source="external.mxml"/>
[code].......
View 4 Replies
May 6, 2010
I am looking to subclass RemoteObject. Instead of:
<mx:RemoteObject ... >
<mx:method ... />
<mx:method ... />
[code].....
View 1 Replies
May 30, 2011
i'am doin a presentation and i put music bg in a mediaplayback component, but i need it in a loop.
View 1 Replies
Jan 15, 2010
I've got a problem to play MP3 with MediaPlayBack, calling from a XML playlist. The playlist seems to work but not the MediaPlayBack which doesn't load the MP3...
Here is my XML code named mp3list.xml
<?xml version="1.0" encoding="utf-8"?>
<musiques>
<musique url="musique/01.mp3" desc="titre 1" />
<musique url="musique/02.mp3" desc="titre 2" />
<musique url="musique/03.mp3" desc="titre 3" />
[Code] .....
View 4 Replies
Nov 3, 2010
I have a instance on MediaPlayback and a button on one of my frames, i need to the button to either stop/pause the media file, is there anyway of doing this?
View 3 Replies
Nov 8, 2010
I'm building a custom Audio Player. The whole thing drives a MediaPlayback component. I have a scrubber set up that moves with the progress of the song. I want to be able to click and scrub with it though. Currently I have it set to set the playheadTime equal to the percent distance the slider is dragged to times the totalTime of the playback component. After the release of the slider I trace out the playheadTime and it seems to be fine, but I can't get it to resume playing at all. Here's the code in the controller:
var totalDistance = bar_mc._width - slider_mc._width;
var wasPlaying = false;
this.onEnterFrame = function(){
[Code]....
View 1 Replies
Jun 9, 2004
I'm trying to use the MediaPlayback component with an external .flv The video shows fine, but for some reason the progressbar isn't working.
View 1 Replies
Jun 9, 2004
I'm trying to use the MediaPlayback component with an external .flv The video shows fine, but for some reason the progressbar isn't working.
View 1 Replies
May 26, 2009
I am working on a mp3 album collection project and I am using Mediaplayback component for playing the mp3 files, a List component to show all the tracks (and select one) and the songlists are stored in XML data located in one folder for each album. It is working fine, but I want to have a button to "Play all tracks" like when you place a CD in the Windows Media Player, that is, starting playing the first track and so on.... until the last one.
Here are the parts for the mediaplayback:
lista.addEventListener("change", ifchanging);
function ifchanging(evento) {
if (evento.type == "change") {
[Code]....
But it just play the last track. I think it must go on one of the events or in a if..else including the EventListener... I'm just beginning on ActionScripting and I am using parts of what I saw in other codes.
View 2 Replies
Oct 13, 2009
I am working on a mp3 album collection project and I am using Mediaplayback component for playing the mp3 files, a List component to show all the tracks (and select one) and the songlists are stored in XML data located in one folder for each album. It is working fine, but I want to have a button to "Play all tracks" like when you place a CD in the Windows Media Player, that is, starting playing the first track and so on.... until the last one.
Here are the parts for the mediaplayback:
lista.addEventListener("change", ifchanging);
function ifchanging(evento) {
if (evento.type == "change") {
[code]....
that is for when you click (or press) on a selected item in the "lista" List.
I tried something like:
for (var i = 0; i<num_total; i++) {
player.setMedia(urlnow+"/"+lista.selectedIndex[i].data, "MP3");
player.play();
}
But it just play the last track. I think it must go on one of the events or in a if..else including the EventListener...
View 1 Replies
Sep 5, 2010
I am working on a mp3 album collection project and I am using Mediaplayback component for playing the mp3 files, a List component to show all the tracks (and select one) and the songlists are stored in XML data located in one folder for each album.It is working fine, but I want to have a button to "Play all tracks" like when you place a CD in the Windows Media Player, that is, starting playing the first track and so on.... until the last one.
Here are the parts for the mediaplayback:
lista.addEventListener("change", ifchanging);
function ifchanging(evento) {
if (evento.type == "change") {
[code]...
But it just play the last track. I think it must go on one of the events or in a if..else including the EventListener... I'm just beginning on ActionScripting and I am using parts of what I saw in other codes.
View 2 Replies
Sep 10, 2005
Whenever an MP3 is initiated to stream (well, progressively download really) with the mediaPlayback component, it will contue to dl to the cache until done or the browser is refreshed. The occurs even when the component has been unloaded from an empty movieclip. This is an issue when folks browse alot of MP3s on the site, because even though it's inaudible, suddenly there are many files simultaneously dl'ing to their cache. Cant find a stop stream type of command in the media class, which I think is the only class for the media components. If I were doing real streaming with the Comm Server for example, I could use stopStream.
View 1 Replies
Feb 28, 2007
I currently have this code:
Code:
var vLoad = new Array();
vLoad = vidURL.text;
[code]....
View 1 Replies
Aug 11, 2010
I have a MediaPlayback component on stage, i have a sound with linkage name "sound1" in the library;
Why mediaPlayback.contentPath = "sound1" wouldn't work?
View 1 Replies
Jun 22, 2011
I'm trying to do this using only mxml, no <script> tags, although I don't necessarily need a solution that's only mxml. It was more of an educational exercise to see if I could do it all in mxml. I have a custom component that has a slider and textinput and their value/text properties are bound together. I'm surfacing a few properties of the slider in my component so that it can sort of be treated like a slider.
[Code]...
View 1 Replies
Jul 21, 2011
My Application is in Flex 3.5. My Code is Here,How to take the id value of textare?[code]...
View 2 Replies
Jun 19, 2011
I have 3 mxml components. In Component 1, I let the users fill in some data. In Component 3 I want to use the data, but I can't find a way to make it work.
View 1 Replies
Jul 28, 2009
I am getting a value in a MXML... now i need to pass it to another MXML to invoke an event... how can i do it.
View 4 Replies