Welcome! Log In Create A New Profile

Advanced

WebDev: How can change the "movie" of a FLASH control?

Posted by Ruben Sanchez Peña 
Ruben Sanchez Peña
WebDev: How can change the "movie" of a FLASH control?
February 06, 2009 12:30PM

Hi. I have a flash control is a WebDev page. I can change on it the position and dimensions. But when i assign a new swf file to control it doesn't change the movie.

My test code is

IMG_ImagenCuadro..Image = EDT_Cuadro

IMG_ImagenCuadro..X = EDT_ImagenX
IMG_ImagenCuadro..Y = EDT_ImagenY

FLASH_FlashCuadro = EDT_Video

FLASH_FlashCuadro..X = EDT_VideoX
FLASH_FlashCuadro..Y = EDT_VideoY
FLASH_FlashCuadro..Width = EDT_VideoAncho
FLASH_FlashCuadro..Height = EDT_VideoAlto

The code is in a server code area with AJAX atribute activated. All the other characteristics change ok, but the movie doesn't change.


Any idea about to force the movie change?

Thanks

Rubén




Ruben Sanchez Peña
Re: WebDev: How can change the "movie" of a FLASH control?
February 06, 2009 04:26PM
Hi. Well, i am found a method to load or change the movie at runtime using browser code type like javascript


JSMethod("_PAGE_." + FLASH_FlashCuadro..Alias,"LoadMovie","0",EDT_Video)

This reload the movie on player.


Rubén Sánchez Peña
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: