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
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
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
Hi Glen,
I know I need to invoke the stop method to stop a sound object but what I am
looking for is to have my mp3 and the sound in the swf playing at the same
time. what is happening at the moment is that the sound in the swf overrides
the mp3 soundchannel and therefore causes the mp3 to stop
Apologies, I misunderstood what you wanted to do.
If you google around for sound and embedded flv people seem to be
having a few problems so I am guessing this may be a bigger issue and
would not surprise me if there is a bug in there somewhere or maybe a
feature of the player. I had one a
Hi,
If you want to stop the Embedded sound playing you need to save the
SoundChannel object returned from calling play() on the Sound object:
I guess you need to call stop() on your sound channel when your SWF
loads.
Here is a snippet of my code for a game - I stored my sound
no problem,
I think i have sort of managed to locate the bug to when and where it
occures My mp3 stops playing everytime a swf gets loaded regardless of it
containing a flv or not.
this pure madness...
thanks
On Tue, May 6, 2008 at 2:08 PM, Glen Pike [EMAIL PROTECTED] wrote:
Apologies, I
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
Hi,
I have run into problems with a flash project that needs to cover
most european languages including Romanian, Slovenian, Slovakian etc.
The problem is that the characters listed below won't appear:
Unicode
Upper
Unicode
Lower
00C2
Â
00E2
â
0102
Ă
0103
ă
00CE
Î
00EE
î
015E
Ş
015F
ş
Hi, I embed the font using a file like this:
Tahoma.as
package com.ourdomain.ui.fonts {
import mx.core.FontAsset;
[Embed(source=Tahoma.ttf, fontFamily=TahomaFont,
mimeType=application/x-font-truetype,
unicodeRange=U+0020-U+007E,U+00A1-U+017E)]
public class Tahoma extends
Why is it good to extend the Event Class in your application?
I understand that you can create your own events with it that are specific
to your app but does anyone have any good tutorials/articles on this?
I am a visual learner and I don't get it fully just yet..
Meanwhile I'll keep searching..
When I use the Generate Size report in the publish settings, at the end of
the file it says something like
ActionScript BytesLocation
--
140568ActionScript 3.0 Classes
Is there a way to break this up by class?
I would love to get a list of each
This code should load a MovieClip from the library 5 times, place
each on the stage and then load a different image into each one
Instead it loads the 5 MovieClips from the library, places them on
the stage and then only loads the image into the last (5th)
MovieClip, whats going wrong?
is your loadLibrary function is returning the same thing each time??
[EMAIL PROTECTED] wrote:
This code should load a MovieClip from the library 5 times, place
each on the stage and then load a different image into each one
Instead it loads the 5 MovieClips from the library, places them on
There is an excellent thorough chapter on this in the Moock's AS3 book.
Well worth reading.
- MM
Why is it good to extend the Event Class in your application?
I understand that you can create your own events with it that are
specific
to your app but does anyone have any good
i used a scrollbar class from the kirupa forum that extended the
event class to accept the amount (in percent) that the bar was
scrolling by - this allowed both the scrollbar and the scrolling
object to receive the percent by listening to the event
On 6 May 2008, at 17:21, Dwayne Neckles
Hi,
It's good to extend the Event Class because you can define your own
event constants and also pass data around inside your event...
The reason you do this is because you cannot rely on things in Flash
don't happen in the same sequence all the time, so it's like asking
someone to
It's not really important to understand the why behind extending Event
in AS3. The reasons become self-evident over time as you use it.
There's no reason not to, so best to just do so.
The only reason you wouldn't is if you spent considerable time to deeply
understand the event system in AS3
Hi SJM,
It looks like you're setting the persistent var, _mcName, to equal each
_summaryElement[i].sumImg in turn as the loop progresses. That means that when
the loop is finished, the value for _mcName will be a reference to
_summaryElement[4].sumImg, the last clip being loaded. Since your
Fredrik Jönsson wrote:
I have run into problems with a flash project that needs to cover
most european languages including Romanian, Slovenian, Slovakian etc.
snip
Anyone's been through something similar and could shed some light?
Hi Fredrik,
You mentioned that you are using the Arial font.
Thanks Kerry,
Using Linotype FontExplorer to view detailed font information it
seems Arial is missing the specific glyphs that are causing me
problems(u+0218/19; u+21A/B). Strangely enough, I have managed to get
the flash to display those characters in Arial!?
I have noted that Hoefler
Thanks,
this method was all new to me.
How is embedding fonts like this viewed in terms of the type
foundries' EULA?
Does 'static embedding' and 'dynamic embedding' differ in terms of
how the outlines are embedded?
I have read that some type foundries make a difference between using
Hi SJM
I am trying to reproduce it for you.
Whats in : locationInfo.item
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Fredrik Jönsson wrote:
Using Linotype FontExplorer to view detailed font information it
seems Arial is missing the specific glyphs that are causing me
problems(u+0218/19; u+21A/B). Strangely enough, I have managed to get
the flash to display those characters in Arial!?
I wonder if there are
24 matches
Mail list logo