Re: Mixing MX with Basic components

2022-05-06 Thread Alex Harui
Hi Piotr,

I would not expect that to work.  I think MX containers expect children to be 
IUIComponent and a bunch of other interfaces.

There might be places where it would work (as an ItemRenderer maybe).  And 
also, many beads in MX are thin wrappers around Basic beads (mostly to 
implement the interface), so it is sometimes possible to create an MX component 
subclass that grabs its beads from Basic.  After all, most Royale top-level 
components are just thin shells acting as strands for their beads.

HTH,
-Alex

On 5/6/22, 2:11 AM, "Piotr Zarzycki"  wrote:

Hi,

Does anyone mix mx with basic compnents ?






Thanks,
-- 

Piotr Zarzycki



RE: Audio and video player for Royale

2022-05-06 Thread Maria Jose Esteve
This is great cristallium

Hiedra

-Mensaje original-
De: cont...@cristallium.com  
Enviado el: viernes, 6 de mayo de 2022 13:43
Para: dev@royale.apache.org
Asunto: Audio and video player for Royale

Dear Royale team,

I use sometime Royale and love it. I have some background in video and audio 
thanks by several development using video or audio using Flex.

I spent my last nights to read a maximum of Royale SDK, trying to understand 
how to add content and participate to ameliore.

Finnally I success in adding a VideoPlayer and AudioPlayer based on an added 
project named "media" which contains 3 classes : 
MediaElement,VideoElement and AudioElement (essentialy a wrapper for Web API 
HTMLMediaElement,HTMLVideoElement and HTMLAudioElement).

I added it in Jewel, you can look the result here :

http://demo.cristallium.com/tdj/#!videoplayer_panel

http://demo.cristallium.com/tdj/#!audioplayer_panel

(or the 2 last items in the left menu)

I would be very happy to make a PR to add it to Royale. (before I would need to 
add some as3 doc above functions, and maybe find another mp3 link with better 
sound level)

Source code is here :

https://github.com/cristallium/royale-asjs/tree/Media-project-+-AudioPlayer-and-VideoPlayer-for-Jewel

Would you agree to add this content ?

If yes, for minimize your work, perhaps could you tell me if I must rework some 
code and how to be fully compliant with your work ?

Also, I'm not familiar with Ant or Maven. I succed to compile it with Ant by 
copy/paste build.xml and adapt it. I didn't try with Maven (.pom), I don't know 
if .pom files are alright.

Hope you will enjoy

Fred


Re: Audio and video player for Royale

2022-05-06 Thread Harbs
Looks good to me.

Harbs

> On May 6, 2022, at 2:43 PM, cont...@cristallium.com wrote:
> 
> Dear Royale team,
> 
> I use sometime Royale and love it. I have some background in video and audio 
> thanks by several development using video or audio using Flex.
> 
> I spent my last nights to read a maximum of Royale SDK, trying to understand 
> how to add content and participate to ameliore.
> 
> Finnally I success in adding a VideoPlayer and AudioPlayer based on an added 
> project named "media" which contains 3 classes : MediaElement,VideoElement 
> and AudioElement (essentialy a wrapper for Web API 
> HTMLMediaElement,HTMLVideoElement and HTMLAudioElement).
> 
> I added it in Jewel, you can look the result here :
> 
> http://demo.cristallium.com/tdj/#!videoplayer_panel
> 
> http://demo.cristallium.com/tdj/#!audioplayer_panel
> 
> (or the 2 last items in the left menu)
> 
> I would be very happy to make a PR to add it to Royale. (before I would need 
> to add some as3 doc above functions, and maybe find another mp3 link with 
> better sound level)
> 
> Source code is here :
> 
> https://github.com/cristallium/royale-asjs/tree/Media-project-+-AudioPlayer-and-VideoPlayer-for-Jewel
> 
> Would you agree to add this content ?
> 
> If yes, for minimize your work, perhaps could you tell me if I must rework 
> some code and how to be fully compliant with your work ?
> 
> Also, I'm not familiar with Ant or Maven. I succed to compile it with Ant by 
> copy/paste build.xml and adapt it. I didn't try with Maven (.pom), I don't 
> know if .pom files are alright.
> 
> Hope you will enjoy
> 
> Fred



Audio and video player for Royale

2022-05-06 Thread contact

Dear Royale team,

I use sometime Royale and love it. I have some background in video and 
audio thanks by several development using video or audio using Flex.


I spent my last nights to read a maximum of Royale SDK, trying to 
understand how to add content and participate to ameliore.


Finnally I success in adding a VideoPlayer and AudioPlayer based on an 
added project named "media" which contains 3 classes : 
MediaElement,VideoElement and AudioElement (essentialy a wrapper for Web 
API HTMLMediaElement,HTMLVideoElement and HTMLAudioElement).


I added it in Jewel, you can look the result here :

http://demo.cristallium.com/tdj/#!videoplayer_panel

http://demo.cristallium.com/tdj/#!audioplayer_panel

(or the 2 last items in the left menu)

I would be very happy to make a PR to add it to Royale. (before I would 
need to add some as3 doc above functions, and maybe find another mp3 
link with better sound level)


Source code is here :

https://github.com/cristallium/royale-asjs/tree/Media-project-+-AudioPlayer-and-VideoPlayer-for-Jewel

Would you agree to add this content ?

If yes, for minimize your work, perhaps could you tell me if I must 
rework some code and how to be fully compliant with your work ?


Also, I'm not familiar with Ant or Maven. I succed to compile it with 
Ant by copy/paste build.xml and adapt it. I didn't try with Maven 
(.pom), I don't know if .pom files are alright.


Hope you will enjoy

Fred

Mixing MX with Basic components

2022-05-06 Thread Piotr Zarzycki
Hi,

Does anyone mix mx with basic compnents ?






Thanks,
-- 

Piotr Zarzycki