|
List Info
Thread: Re: a lowra example: mediaplayer Click to flag this post
|
|
| Re: a lowra example: mediaplayer Click
to flag this post |
  Austria |
2007-12-07 02:56:05 |
Hi!
great work, guy, really love it.
good way for me to start lowra -best tutorial.
however, i can compile it after adjusting the config files
to my needs,
but the application always crashes when it tries to load an
mp3.
only if the path is wrong, nothing will happen, it will
debug and io_error
that it didn't find any mp3.
what's possibly wrong?
cu
Stefan Vandermeulen wrote:
Merci Benoït,
it's a tricky little error, I don't know how to solve it and
yesterday
when i wanted to get my hands dirty, the error was gone!!
If some knows how to solve this, please let us know: the
swf's are in
the same domain, if it helps
regards
stefan
Flap Flap schreef:
> Nice work, but I get this error :
> SecurityError: Error #2121: Violation de la sécurité
Sandbox :
> SoundMixer.computeSpectrum :
> http://www.netdust.be/lab/mediaplayer/bin/plu
gin/spectrum211107.swf
> <http://www.netdust.be/lab/mediaplayer/bin
/plugin/spectrum211107.swf>
> ne peut pas accéder à . Pour pallier à ce problème,
appelez
> Security.allowDomain.
> at flash.media::SoundMixer$/computeSpectrum()
> at
com.anttikupila.soundSpectrum::SoundProcessor/getSoundSpectr
um()
> at
be.netdust.mediaplayer.spectrum.view::SpectrumView/::compute
()
>
> Hope it helps
> Benoît
>
> 2007/11/27, THABAULT, Kevin <kthabault tf1.fr
<mailto:kthabault tf1.fr>>:
>
> thanks !
>
>
------------------------------------------------------------
------------
> *De
pixlib-bounces osflash.org
> <mailto:pixlib-bounces osflash.org>
> [mailto:pixlib-bounces osflash.org
> <mailto:pixlib-bounces osflash.org>] *De la
part de* Xavier MARTIN
> *Envoyé dimanche 25
novembre 2007 21:49
> *À pixlib osflash.org <mailto:pixlib osflash.org>
> *Objet Re:
[Pixlib] a lowra example: mediaplayer
>
>
>
> 2007/11/26, Stefan Vandermeulen <mail netdust.be
> <mailto:mail netdust.be>>:
>
> hi again,
>
> here's an simple example of lowra:
> http://www.net
dust.be/lab/mediaplayer/
> hope it's helpful, it's actually one of the
first things a
> build with lowra or AS3 for that matter
>
> enjoy the music
> stefan
>
> _______________________________________________
> Pixlib mailing list
> Pixlib osflash.org <mailto:Pixlib osflash.org>
> http://osflash.org/mailman/listinfo/pixlib_osflash.org
>
>
>
>
> --
>
------------------------------------------------------------
----------
> Xavier MARTIN aka zeflasher or xxlm
> Visit my website if you love flash:
> http://www.webbymx.net
> http://dev.webbymx.net
>
------------------------------------------------------------
----------
>
>
> _______________________________________________
> Pixlib mailing list
> Pixlib osflash.org <mailto:Pixlib osflash.org>
> http://osflash.org/mailman/listinfo/pixlib_osflash.org
>
>
>
>
> --
> Benoît Milgram / Flapflap
> http://www.kilooctet.net
>
> I'm also a music mashup / bootlegs producer :
> http://www.djgaston.net
>
------------------------------------------------------------
------------
>
> _______________________________________________
> Pixlib mailing list
> Pixlib osflash.org
> http://osflash.org/mailman/listinfo/pixlib_osflash.org
>
>
>
> __________ NOD32 2688 (20071127) Informatie __________
>
> Dit bericht is gecontroleerd door het NOD32 Antivirus
Systeem.
> http://www.nod32.nl
>
_______________________________________________
Pixlib mailing list
Pixlib osflash.org
http://osflash.org/mailman/listinfo/pixlib_osflash.org
--
Dipl. Ing. (FH) Johannes Neugschwentner
Südhangstraße 28
A-3300 Amstetten
_______________________________________________
Pixlib mailing list
Pixlib osflash.org
http://osflash.org/mailman/listinfo/pixlib_osflash.org
|
|
| Q: inter-plugin communication |
  Germany |
2008-01-04 16:47:56 |
hi list,
i'm really curious about lowra and it's ioc-cababilities, so
i started
a little project to get started with the new framework.
after getting famillar with the plugin-concept i played a
little bit
with stefan's mediaplayer-example (thanks for this!) which
is using xavier's assembler-implementation (applause to
xavier for his
engagement! WOW! ).
i thought i understood the main-concepts, but after my
first tests i
belief i missed something:
the application loader and the instantiation of the plugin
works fine,
but i have problems with the communication between the
plugins.
as i understood it in stefan's example i just have to
define(in
aplicationContext.xml) that "pluginB" is listening
for events on the
channel of "pluginA", like so:
<plugin id="A" channel="channelA"
type="org.webyte.plugins.PluginA" >
<listen channel="channelB" />
</plugin>
<plugin id="B" channel="channelB"
type="org.webyte.plugins.PluginB" >
<listen channel="channelA" />
</plugin>
to make it react to events from pluginA.
And inside the plugin-implementation i register for the
events from
other plugins, like so:
e.g. for plugin B :
getController().pushCommandInstance(
PublicEventList.PLUGIN_A_EVENT,
new PluginBCommand() );
my problem is, that PluginBCommand is never executed.
when i implement a "handleEvent "-method in the
plugin it gets
executed (so, it reaches the plugin) but not the command i
registered
to the controller! what am i doing wrong?
for example, i send a public event from the view of pluginA,
like this:
getOwner().firePublicEvent(new
Event( PublicEventList.PLUGIN_A_EVENT ) );
but the handlers for this event (neither from it's own
plugin nor from
the registered commands from "pluginB" )
are executed. what am i doing wrong?
it would be very nice, if someone could pont me in the right
direction
for this problem.
cheers and a happy new year,
spog
p.s.: i could send a code-example if somebody is so kind to
help me in
detai ;)
_______________________________________________
Pixlib mailing list
Pixlib osflash.org
http://osflash.org/mailman/listinfo/pixlib_osflash.org
|
|
| Re: Q: inter-plugin communication |
  France |
2008-01-06 04:58:19 |
Hey man !
I think i have understand waht you want lol .
You must refire the event receive from pluginA , so in
handleEvent ,
do a firePrivateEvent( e )
I don't use handle event because i don't want to send
all in private
so i write each function for catch each event that plugin
can receive
and use.
Hope it's the answer you want lol
Axel
paul | LOWRES a écrit :
>hi list,
>i'm really curious about lowra and it's
ioc-cababilities, so i started
>a little project to get started with the new framework.
>
>after getting famillar with the plugin-concept i played
a little bit
>with stefan's mediaplayer-example (thanks for this!)
which
>is using xavier's assembler-implementation (applause to
xavier for his
>engagement! WOW! ).
>i thought i understood the main-concepts, but after my
first tests i
>belief i missed something:
>the application loader and the instantiation of the
plugin works fine,
>but i have problems with the communication between the
plugins.
>as i understood it in stefan's example i just have to
define(in
>aplicationContext.xml) that "pluginB" is
listening for events on the
>channel of "pluginA", like so:
>
> <plugin id="A"
channel="channelA"
type="org.webyte.plugins.PluginA" >
> <listen channel="channelB" />
> </plugin>
>
> <plugin id="B"
channel="channelB"
type="org.webyte.plugins.PluginB" >
> <listen channel="channelA" />
> </plugin>
>
>to make it react to events from pluginA.
>And inside the plugin-implementation i register for the
events from
>other plugins, like so:
>e.g. for plugin B :
>
>getController().pushCommandInstance(
PublicEventList.PLUGIN_A_EVENT,
>new PluginBCommand() );
>
>my problem is, that PluginBCommand is never executed.
>when i implement a "handleEvent "-method in
the plugin it gets
>executed (so, it reaches the plugin) but not the command
i registered
>to the controller! what am i doing wrong?
>
>for example, i send a public event from the view of
pluginA, like this:
>
>getOwner().firePublicEvent(new
>Event( PublicEventList.PLUGIN_A_EVENT ) );
>
>but the handlers for this event (neither from it's own
plugin nor from
>the registered commands from "pluginB" )
>are executed. what am i doing wrong?
>
>it would be very nice, if someone could pont me in the
right direction
>for this problem.
>
>cheers and a happy new year,
>spog
>
>p.s.: i could send a code-example if somebody is so kind
to help me in
>detai ;)
>
>
>
>_______________________________________________
>Pixlib mailing list
>Pixlib osflash.org
>http://osflash.org/mailman/listinfo/pixlib_osflash.org
>
>
>
>__________ Information NOD32 2642 (20071106) __________
>
>Ce message a ete verifie par NOD32 Antivirus System.
>http://www.nod32.com
>
>
>
>
>
_______________________________________________
Pixlib mailing list
Pixlib osflash.org
http://osflash.org/mailman/listinfo/pixlib_osflash.org
|
|
| Re: Q: inter-plugin communication |
  Germany |
2008-01-06 08:36:50 |
thx, axel!
that was exactly what i needed !
ahoi,
paul
Am 06.01.2008 um 11:58 schrieb axel:
> Hey man !
>
> I think i have understand waht you want lol .
>
> You must refire the event receive from pluginA , so
in
> handleEvent ,
> do a firePrivateEvent( e )
>
> I don't use handle event because i don't want to
send all in
> private
> so i write each function for catch each event that
plugin can receive
> and use.
>
> Hope it's the answer you want lol
>
> Axel
>
>
> paul | LOWRES a écrit :
>
>> hi list,
>> i'm really curious about lowra and it's
ioc-cababilities, so i
>> started
>> a little project to get started with the new
framework.
>>
>> after getting famillar with the plugin-concept i
played a little bit
>> with stefan's mediaplayer-example (thanks for
this!) which
>> is using xavier's assembler-implementation
(applause to xavier for
>> his
>> engagement! WOW! ).
>> i thought i understood the main-concepts, but
after my first tests i
>> belief i missed something:
>> the application loader and the instantiation of the
plugin works
>> fine,
>> but i have problems with the communication between
the plugins.
>> as i understood it in stefan's example i just have
to define(in
>> aplicationContext.xml) that "pluginB" is
listening for events on the
>> channel of "pluginA", like so:
>>
>> <plugin id="A"
channel="channelA"
>> type="org.webyte.plugins.PluginA" >
>> <listen channel="channelB" />
>> </plugin>
>>
>> <plugin id="B"
channel="channelB"
>> type="org.webyte.plugins.PluginB" >
>> <listen channel="channelA" />
>> </plugin>
>>
>> to make it react to events from pluginA.
>> And inside the plugin-implementation i register for
the events from
>> other plugins, like so:
>> e.g. for plugin B :
>>
>> getController().pushCommandInstance(
PublicEventList.PLUGIN_A_EVENT,
>> new PluginBCommand() );
>>
>> my problem is, that PluginBCommand is never
executed.
>> when i implement a "handleEvent "-method
in the plugin it gets
>> executed (so, it reaches the plugin) but not the
command i registered
>> to the controller! what am i doing wrong?
>>
>> for example, i send a public event from the view of
pluginA, like
>> this:
>>
>> getOwner().firePublicEvent(new
>> Event( PublicEventList.PLUGIN_A_EVENT ) );
>>
>> but the handlers for this event (neither from it's
own plugin nor
>> from
>> the registered commands from "pluginB" )
>> are executed. what am i doing wrong?
>>
>> it would be very nice, if someone could pont me in
the right
>> direction
>> for this problem.
>>
>> cheers and a happy new year,
>> spog
>>
>> p.s.: i could send a code-example if somebody is so
kind to help me
>> in
>> detai ;)
>>
>>
>>
>> _______________________________________________
>> Pixlib mailing list
>> Pixlib osflash.org
>> http://osflash.org/mailman/listinfo/pixlib_osflash.org
>>
>>
>>
>> __________ Information NOD32 2642 (20071106)
__________
>>
>> Ce message a ete verifie par NOD32 Antivirus
System.
>> http://www.nod32.com
>>
>>
>>
>>
>>
>
>
> _______________________________________________
> Pixlib mailing list
> Pixlib osflash.org
> http://osflash.org/mailman/listinfo/pixlib_osflash.org
_______________________________________________
Pixlib mailing list
Pixlib osflash.org
http://osflash.org/mailman/listinfo/pixlib_osflash.org
|
|
[1-4]
|
|