Sunday, March 28, 2010

Play and stop flv movieclip imported...

Hi you all,

perhaps someone could think I'm trying to flood the forum...

This post is splitted in two problems:

1-聽聽聽聽聽 I imported an flv video file with ''file-%26gt;import-%26gt;import video'' and then put the object on the stage on a precise frame ( 71 and 79 ).

聽聽聽聽聽聽聽聽 Around the object player I created a transparent button as wide as the stage (67-82) which clicked brings you to another frame(2).

聽聽聽聽聽聽聽聽 The problem is that this work is a site and if you click on the transparent button you see a frame with contents but the

聽聽聽聽聽聽聽聽 movieclip playing is still on and user still ear the music and experience the bandwidth slow down.

聽聽聽聽聽聽聽聽 What I want to do is something like:

聽聽聽聽聽聽聽聽聽 movieclipinstancename.stop();

聽聽聽聽聽聽聽聽 to stop the movie playing. Ideas??

2-聽聽聽聽聽 I'm triyng to understand the best way to import or use a movieclip, using AS3.

Please help me.

and forgive eventual english errors.

hi

Play and stop flv movieclip imported...

give your flvplayback instance an instance name (like flv) and use the stop() method:

flv.stop();

Play and stop flv movieclip imported...

First of all, thank u for reply.

then,

I've already did it but it don't want to work:dragged the object on stage, selected the properties panel in flash and changed

the instance name ''%26lt;instance%26gt;'' to ''playhigh'', after wrote down this code:

sfondobottone2.addEventListener(MouseEvent.CLICK, gotosfondobottone2);
function gotosfondobottone2(event:MouseEvent):void
{
聽聽聽 gotoAndPlay(63);
聽聽聽 count=0;
聽聽聽 playhigh.stop();
聽聽聽 trace(''gotosfondobottone2 '')
}聽聽

The actual problem is that it gives me back this error

TypeError: Error #1009: Impossibile accedere a una propriet脿 o a un metodo di un riferimento oggetto null.
聽聽聽 at DownLoadIt/gotosfondobottone2()

No comments:

Post a Comment