There is a 'complete' event as part of the package. This event gets
broadcast when the media has finished playing. You could set some script to
load the next song when this fires.
Jeff
Founder
Flex Authority
http://www.flexauthority.com
We are actively seeking contributors for the site. Have
Hi,
I used the complete event to change the selectedItem of the grid to
selectedItem+1, which loads the next song in the grid to the controller. But
the controller is paused. I have to click the play button to play the song.
I tried changing the autoplay properties of the controller but it
When you say that you change the autoplay
properties to true where do you mean? In the mxml tag or in the
script that is loading the music file. Also how are you loading
the media? The medialPlayer.load() loads the media but does not play it.
Mind sharing a bit more?
Jeff
Hi,
I've a problem with PrintJob.
I'm trying to print a record of a datagrid (myGridMail) using the
function below but it's not possible.
I can only print the datagrid completely but not only a recordset...
Any suggestion?
Thanks
Francesco
/**/
/* code
Have you tried something like
dg change=player.contentPath=this.selectedItem.filePath
--- In flexcoders@yahoogroups.com, Venkata Krishnan Natarajan
[EMAIL PROTECTED] wrote:
Hi,
I used the complete event to change the selectedItem of the grid to
selectedItem+1, which loads the next song in
Print the whole recordset?
Perhaps you could:
- setup your printjob
- add the DataGrid as the current page
- page through the next set of records that will fit on one page
- add the DataGrid as the next page
- continue this process until you've cycled through all records
- print
???
-
I use bit datatypes in CF/MS SQL and return 1s and 0s.
Then, I just do a look-up in AS before passing over the value as a numeric bit.
If you have a checkbox, for example, then you only need to set the
checkbox.selected = 1 or 0 without concern for the case or datatype.
On 6/10/05, Sean
Hai,
I tried ur code but item is not getting added to the cart. I dont understand the reason. please can u help?Abdul Qabiz [EMAIL PROTECTED] wrote:
Hi Nithya,
Both of Flex applications can communicate using LocalConnection. See the modified code below:
1) ##app.mxml##
?xml
hai,
Abdul, in tried running ur code. But item doesnt get added to the cart. I dont understand the reason. pls can u help? this is very urgent.
Is there any other way of doing it? help me with the code..
Regards,
nithyaAbdul Qabiz [EMAIL PROTECTED] wrote:
Hi Nithya,
Both of Flex
Nithya,
It is tested code and it worked for me. I don't post code
without testing, but I guess there might be some other problem. Can you please
post your code again, I want to see how have you incorporated
it?
Also tell us the flow of application, how popup is opened
etc.
-abdul
Yeah! Sure.
I am posting the code now.
app.mxml:
?xml version="1.0" encoding="utf-8"?mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" xmlns="*" initialize="onAppInit()" creationComplete="iFrame.visible=true" mx:Script ![CDATA[ var receiving_lc:LocalConnection;
function
11 matches
Mail list logo