1 msgFlash Remoting Error
3 msgUndefined property in one fla, but not in the o...
1 msgSetting an AIR applications file types to default
1 msgAS3- Word Wrap for Dynamic DataGrid Cell Content
1 msg[ANN] haXe Website
3 msgBest AS3 MenuBar component for Flash CS3
7 msgRetrieve The Web Link
2 msgSet FLVPlayback source property via html queryp...
4 msgPlayer 8 and the Alert component
10 msgWhy isn't my TextField multiline? AS2
16 msgFPS limit of flash player inside browser?
5 msgAS3 For loop proplem
5 msgWhy is good to extend an Event Class
2 msgKilobyte Size of AS Classes
7 msgFlash Unicode issue (Latin extended Romanian ch...

as3 sound and swf overriding one another
\ quinrou . (6 May 2008)
. \ Sidney de Koning (6 May 2008)
. . \ quinrou . (6 May 2008)
. . . \ Glen Pike (6 May 2008)
. . . . \ quinrou . (6 May 2008)
. . . . . \ Glen Pike (6 May 2008)
. . . . . . \ quinrou . (6 May 2008)
. . . \ Folkert Hielema (6 May 2008)

1 msgOT: Need help finding a List or good book on ho...
2 msgAligning images and text in textfield / textarea
1 msgWatch your debug output
1 msgUnderscore in class file path name: no-no?
Subject:Re: as3 sound and swf overriding one another
Group:Flashcoders
From:Folkert Hielema
Date:6 May 2008


 
the completeHandler is only to re dispatch the channels SOUND_COMPLETE

private function completeHandler(event: Event): void
{
dispatchEvent(new Event(Event.SOUND_COMPLETE));
}

The Application (the mp3 player in this case) listens to the
SOUND_COMPLETE and then starts a new song, after the new url is taken
from the playlist. No fancy stuff there ;)

Folkert

quinrou . wrote:
> Sidney,
>
> Thanks for this but I think i will need to get the explaination coz the code
> isn't fully there. i.e. There no method
>
> completeHandler
>
> which is used in the last example which is i think the one I am the
> most interested in since it
> looks very similar to the on I have.
>
> Anyone else who has a solution for this problem?
>
> thanks
>
>
> On Tue, May 6, 2008 at 12:43 PM, Sidney de Koning <sidney>
> wrote:
>
>
>> Hi Quinrou,
>>
>> I have exactly the same with an AIR project i'm building.
>> I have not found a fix, there is an explanation i'm reading right now, it
>> is in dutch, however the code should help you.
>>
>> http://nederflash.nl/blog/as3-tips%3A-error-2029-uitgelegt#comment-42
>>
>> Hope this helps you,
>>
>> Sidney
>>
>>
>>
>> On May 6, 2008, at 1:22 PM, quinrou . wrote:
>>
>> Hi all,
>>
>>> I am having a very strange behavior with the Sound object.
>>> I will try to describe the problem as accurate as possible.
>>>
>>> I have a mp3 which I have embedded in class like this
>>> [Embed(source='../../../../../embedded_assets/mp3/loop.mp3')]
>>> private var Loop:Class;
>>>
>>> This mp3 plays when the application starts and keeps on looping. However
>>> as
>>> soon as a swf with an embedded flv on the timeline (which also contains
>>> sound) starts playing the mp3 then stops playing. there's no code which
>>> tell
>>> mp3 to stop playing when the swf starts...
>>>
>>> It looks like the swf overrides the mp3 sound channel.
>>> Has anyone experienced behavior and how did ou manage to fix the
>>> problem.
>>>
>>> Many thanks
>>> _______________________________________________
>>> Flashcoders mailing list
>>> Flashcoders
>>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>>
>>>
>>>
>> _______________________________________________
>> Flashcoders mailing list
>> Flashcoders
>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
>>
> _______________________________________________
> Flashcoders mailing list
> Flashcoders
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
>
_______________________________________________
Flashcoders mailing list
Flashcoders
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


© 2004-2008 readlist.com