It's not that complicated once you get your head around it.
If you can write a function that stops and starts your movie from INSIDE
the movie, then you can call that same function from OUTSIDE of it, just
by referencing the name of the MC and then the function you want to call.
So break it i
Yeah, I get tired of doing this just to get code completion:
var thisCustomObject:CustomObject = myObjects[i] as CustomObject;
thisCustomObject.alpha = .5
Besides the obvious type checking benefits, with Vectors, I won't have to do it
that way anymore to get good code completion from what I have
This is getting very deep for me. The movie clips have timers that
would have to stop, and I don't know I would tell a timer to stop and
resume that is running in another movie clip. Perhaps I've built this
wrong.
On Sep 24, 2008, at 5:03 PM, sebastian wrote:
Yes it is, but, erm, it's rea
Well, no. That stops the movie clip, but not a timer inside the movie
clip.
On Sep 24, 2008, at 1:16 PM, David Cohn wrote:
Jim,
Do you want something like this? (movie_clip is the instance name)
movie_clip.play();
movie_clip.stop();
movie_clip.gotoAndStop(x); // for
Also autocompletion and member verification and such for IDEs like FDT and
FlashDevelop since it already knows the type of each list item. It's a
god-given once you get used to it. I've been using Vectors like there's no
tomorrow on a particular project of mine and it's really awesome. Going back
t
Hi,
Have a look at this tutorial:
http://www.monkeyflash.com/flash/drag-and-drop-in-as3/
You may want to be looking at / checking if event.target.dropTarget
for the MOUSE_UP handler.
This post gives you a better idea about MOUSE_LEAVE:
http://www.ericd.net/2007/09/mouseleave-
The idea of strongly typed arrays is to catch errors at compile time
that otherwise might crop up at runtime.
Untyped:
var arr:Array=[];
arr.push(new Button());
arr.push(123);
for (var i:int=0;i=[];
arr.push(new Button());
arr.push(123); // Won't compile, as the compiler knows that
Yes it is, but, erm, it's really hard to answer your question because
there is no one way to implement it and, I have no idea how your
scripted movie clips are running themselves...
If each of your sub movies has a function that starts/pauses the
playback, then you can simply have the parent M
- Original Message -
From: "Mendelsohn, Michael" <[EMAIL PROTECTED]>
To: "Flash Coders List"
Sent: Wednesday, September 24, 2008 8:44 PM
Subject: RE: [Flashcoders] AS3 additions/changes in CS4?
Not sure what strongly typed arrays are. What are the advantages?
Being able to type the
Thanks for the information. I think that may be part of my problem. I
tried out the code on that site and Flash does not like the following
circle.contains(event.target)
If I take that out the code runs, but of course doesn't work.
Does anyone know where I can find a good example on how to do a
If img.jpg is on the same server as your swf, you wont have a problem.
Otherwise you would need a crossdomain.xml.
>From the top of my head you could do something like this:
function onLoadComplete(e:Event):void
{
var bitmap:Bitmap = Bitmap(_loader.content);
var clone1:Bitmap = new Bitmap(
I think I would go for this:
Replace the \r\n with \n and then split on \n.
Greetz Erik
On 9/8/08, Martin Klasson <[EMAIL PROTECTED]> wrote:
> Hi Coders,
>
> I am gonna to make a parser for the MicroDVD subtitle format,
> but I am not being able to find the documentation, yet a simple example
> It is true that FZip can't read ZIPs created with the MAC OS X Archive
> utility, or any ZIP that makes us of data descriptors.
>
> For your other problem, i created a very simple Flex AIR app that
tests
> roundtripping (creates a ZIP and loads it back in):
>
> http://codeazur.com.br/la
Not sure what strongly typed arrays are. What are the advantages?
> OOooh - strongly typed arrays! Awesome! I've been waiting for that
for a long time! Sweet.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf
Is there a way to be notified about unsupported
media files loaded trough NetStream ?
I mean, if you do something like trying to play
an OGG file, is there any method of your NetStream
object that would be called to signal "can't do that" ?
--strk;
() ASCII Ribbon Campaign
/\ Keep it simp
You might need to add the "releaseOutside" hack for AS3, since there
is no releaseOutside anymore:
http://www.kirupa.com/forum/showthread.php?p=1948182#post1948182
On Wed, Sep 24, 2008 at 2:43 PM, Lord, Susan, CTR, DSS
<[EMAIL PROTECTED]> wrote:
> Hi there,
>
> I am having problems with my event
Hey Glen when you say "your mouse up is outside the stage" do you mean
that the mouse up is occurring outside of the dragged object in which
case the object catching the up event is the stage object. (Rest of
your sentence seems to imply that.)
Susan, if you imagine your cursor moving faste
Hi,
It could be because your mouse up is outside the stage - I have had
problems with that - search for "MOUSE_LEAVE" or something similar - it
maybe on the stage object.
Glen
Lord, Susan, CTR, DSS wrote:
Hi there,
I am having problems with my event listener for my drag and drop.
Som
Hi there,
I am having problems with my event listener for my drag and drop.
Sometimes it detects the mouse up event and sometimes it doesn't and
won't let go of the object (stopDrag). Have any of you ever run into
this? If so, is there a fix?
Basically I have this coding...
function stopDragging
OOooh - strongly typed arrays! Awesome! I've been waiting for that for a long
time! Sweet.
Jason Merrill
Bank of America
Instructional Technology & Media
Join the Bank of America Flash Platform Developer Community
Are you a Bank of America associate interested in innovative learning ideas a
You just can't, Flash CS3 doesn't support the format. There's nothing else
to be said. H264 support was added later, when the IDE had already shipped.
Flash 9.x.115 supports it because it was added later, but the player is not
the editor.
Zeh
On Wed, Sep 24, 2008 at 1:53 PM, Matthew Ganz <[EMAIL
no real explanation but Adobe said:
CS4/Flash Player 10 will not allow this either (embedding H.264 video
or AAC audio in the timeline).
On Wed, Sep 24, 2008 at 1:22 PM, Jason Van Cleave
<[EMAIL PROTECTED]> wrote:
> I posted the same question a while back after not being able to do it
> either. I
I posted the same question a while back after not being able to do it
either. I just tried emailing Adobe to see if it is a CS3 limitation
and will post any response I get from them.
On Wed, Sep 24, 2008 at 12:53 PM, Matthew Ganz <[EMAIL PROTECTED]> wrote:
> Thanks for your response, Steven. Any i
Jim,
Do you want something like this? (movie_clip is the instance name)
movie_clip.play();
movie_clip.stop();
movie_clip.gotoAndStop(x); // for scrubber
--Dave
Date: Wed, 24 Sep 2008 08:58:14 -0400
From: Jim Elmore <[EMAIL PROTECTED]>
Subject: [Flashcoders] Pause/Pla
Thanks for your response, Steven. Any idea why you can't do it or is it just
from personal experience?
- Original Message -
From: "Steven Sacks" <[EMAIL PROTECTED]>
To: "Flash Coders List"
Sent: Wednesday, September 24, 2008 12:06 PM
Subject: Re: [Flashcoders] Can you embed .mp4 files i
No.
Matt Ganz wrote:
Hey,
Just trying one more time
Using Flash CS3 and publishing to flash player 9, can you import and embed
.mp4 files in the flash timeline? I can't. I can link to it via an
flvplayback component.
Thanks,
Matt
___
Flashcoder
On Sep 24, 2008, at 9:57 AM, Claus Wahlers wrote:
Hey Claus, one of the reasons I can't use it is because of its
inability
to work with a .zip file created on Mac OSX.
AS3 Zip from nochump avoids the alder32 issue by implementing the
deflate() mechanism in software.
http://nochump.com/b
Hey Claus, one of the reasons I can't use it is because of its inability
to work with a .zip file created on Mac OSX. The other reason, is that
I've attempted to use it to write out a .zip file, and I can't get it to
produce a valid .zip file. I've even tried loading in a .zip, and then
saving i
This is AS3.
On Sep 24, 2008, at 8:58 AM, Jim Elmore wrote:
I have a slide show built of scripted movie clips placed on the main
timeline to sync to a voice over audio.
This is way over my head, but I'd like to add play/pause
functionality and a scrubber to this show. Is that possible to s
I have a slide show built of scripted movie clips placed on the main
timeline to sync to a voice over audio.
This is way over my head, but I'd like to add play/pause functionality
and a scrubber to this show. Is that possible to start and stop
scripted movie clips from any frame in the swf?
Hey,
Just trying one more time
Using Flash CS3 and publishing to flash player 9, can you import and embed
.mp4 files in the flash timeline? I can't. I can link to it via an
flvplayback component.
Thanks,
Matt
___
Flashcoders mailing list
Flashcode
31 matches
Mail list logo