I.
I'm not a programmer, so this question might sound a bit noobish.
I have this flash project with an advanced button - here's the code:
portfolio.addEventListener(MouseEvent.ROLL_OVER,btnOver);
portfolio.addEventListener(MouseEvent.ROLL_OUT,btnOut);
portfolio.addEventListener(MouseEvent.CLICK,clickPortfolioToGoToWebPage);
function btnOver(event:MouseEvent)
{
event.currentTarget.gotoAndPlay("Rollover");
}
function btnOut(event:MouseEvent)
{
event.currentTarget.gotoAndPlay("Rollout");
}
function clickPortfolioToGoToWebPage(event:MouseEvent):void
{
event.currentTarget.gotoAndPlay("ClickPortfolio");
navigateToURL(new URLRequest("http://www.fudzilla.com/"), "_blank");
}
In order to comply with the HTML5/CSS3 "new standards", I converted the swf file to HTML5 with Google Swiffy and flash-to-html5.net. The problem was that it doesn't support Actionscript 3, so it was converted as a looping movie. Question: Is it even possible to retain the Mouse events? Or do I have to make a HTML5 for the Rollover, another one for the Rollout and one for the Click? Again, I'm not a programmer. ![]()
Forgive my noobish remarks...
You should take your question over to the Dreamweaver forum if it asking how to work with HTML5. HTML5 by itself cannot reproduce Flash designs... the burden is moreso on javascript and CSS to make that happen.
http://forums.adobe.com/community/dreamweaver/dreamweaver_general?view =discussions
yes, we know that google Swiffy currently supports a subset of SWF 8 and ActionScript 2.0. so sometimes we need another tool to do the work that swiffy couldn't work out. maybe you could try this swf to html5 movie maker, www.html5-movie-maker.com/swf-to-html5-movie-converter/
North America
Europe, Middle East and Africa
Asia Pacific