Resize swf flex

Flex Add comments

The solution was already given on http://blog.hydrotik.com/2007/09/27/as3-resizing-swf-swfobject-javascript-tweener/, and hes got all credits on this, but there wasnt a flex adaptation. Althogh it shouldnt be difficult at all doing this, according to the guys on flexdev it would be usefull…

Please note that this example uses javascript, so you should use the html code thats on the example’s page. I dont know how to prevent flex rewriting the html page. if you know how to, let me know ;0)

View example (view source enabled).
/******************************************/

A solução já foi dada por http://blog.hydrotik.com/2007/09/27/as3-resizing-swf-swfobject-javascript-tweener/, e os créditos são todos dele, mas nao havia uma adaptação para o flex. Embora não devesse ser difícil fazer isso, de acordo com o pessoal da flexdev seria útil um exemplo…

Por favor, note que como se usa javascript nessa solução, o html deve conter o código que está na página com o exemplo. Não sei como fazer para o flex não reescrever a página cada vez que compila. Se você souber me avise ;0)
Veja aqui, com view source enabled. 

One Response to “Resize swf flex”

  1. Mário Júnior Says:

    Todo projeto flex tem uma pasta chamada de html-template.
    Só alterar o código no arquivo index-template.html para que o Flex Builder use esse template toda vez q for recompilar o projeto.

    T+.

Leave a Reply

WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS Log in