Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Cant load movieclip with parameters

0 views
Skip to first unread message

Johnny Walker

unread,
May 2, 2009, 4:50:14 PM5/2/09
to
I have a button with the following code:

on (release) {
createEmptyMovieClip("pelicula", this.getNextHighestDepth());
loadMovie("videoplayer.swf?fichero=dummy.flv", pelicula);
}

So I try to load a movieclip called videoplayer.swf in the stage and I
want the videoplayer to load the movie dummy.flv

But all that happens is I get this error:
Error al abrir la URL
'file:///F|/Proyectos/www/anemaecore/videoplayer.swf?fichero=dummy.flv'

Or in english:
Error opening URL
'file:///F|/Proyectos/www/anemaecore/videoplayer.swf?fichero=dummy.flv'

Also, if I try to open this in Explorer:
F:\Proyectos\www\anemaecore\videoplayer.swf?fichero=dummy.flv

What I am doing wrong?
How do I pass the parameter fichero=dummy.flv to the videoplayer movie?

JW

Johnny Walker

unread,
May 2, 2009, 4:56:54 PM5/2/09
to
I have changed the code to:

on (release) {
createEmptyMovieClip("pelicula", this.getNextHighestDepth());
pelicula.loadMovie("videoplayer.swf?fichero=dummy.flv", "GET");
}

but the same problem :-(


Y dijo Johnny Walker, el 02/05/2009 22:50:<br>

Natim

unread,
Jun 1, 2009, 3:39:52 AM6/1/09
to

You just have to define

var fichero = "dummy.flv"
and next load your movie without any parameters.

Have a look at : http://www.vemix.com/Tutorials.php?fT=Flash%20Tutorials&fR=How%20to%20Use%20loadMovie%20Function

0 new messages