你能帮忙吗? [英] Can you please help?

查看:103
本文介绍了你能帮忙吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我已完成本教程 - http://www.republicofcode.com/tutorials/flash/portfolio_bc/ [ ^ ]当我在HTML上查看项目时,图像不会停止并等待您将鼠标悬停在拇指上,它们在循环中重复播放约0.2秒!我做错了什么?



在代码中第一步是:

 btn1_btn.onRollOver = function(){
myScreen_mc.gotoAndStop( 1 );
};



(1)的意义是什么 - 这与什么有关?



谢谢,

Alex

解决方案

简单回答:不要再浪费你的了用Flash时间。世界正在抛弃它,任何有远见的开发者都会立刻跳过这艘船 - 更别说自己教吧了! Adobe逐渐停止将Flash转移到HTML5 / CSS3 - 已经有Flash不适用于较新的Android手机,例如Galaxy S3(基本上是Jelly Bean)。



我建议你开始学习HTML5 / CSS3 - 新的(ish)标准虽然它已经存在了一段时间并且在所有主流浏览器中都受支持&安培; IE9(某些bis在IE8中)。从这里开始: http://www.w3schools.com/html/html5_intro.asp



当你想要幻灯片放映时,你有两个选择。要么通过使用CSS3动画全力以赴HTML5 / CSS3(并失去一些浏览器支持),要么转到JavaScript路线,在这种情况下你最好看看jQuery - 到目前为止最好/最简单。一旦你学会了一点,你可以设置一个少于3行代码的幻灯片!



我知道这可能是一个学习曲线,在你做幻灯片放映之前有更多的东西,但它确实值得!特别是如果你刚开始使用Flash(就像你看来的那样)。没有必要教自己一个已经过时的技术:)



希望这会有所帮助,

Ed



有用链接:

HTML5: http://www.w3schools.com/ html / html5_intro.asp [ ^ ]

CSS3: http://www.w3schools.com/css3/default.asp [ ^ ]

jQuery教程: http://www.w3schools.com/jquery/default.asp [ ^ ]

jQuery网站:http://jquery.com [ ^ ]

Hi,

I''ve completed this tutorial - http://www.republicofcode.com/tutorials/flash/portfolio_bc/[^] but when I view the project on HTML the images don''t stop and wait for you to hover over the thumbs, they play repeatedly for about 0.2 of a second each on loop! What am I doing wrong?

In the code the first step is;

btn1_btn.onRollOver= function(){
myScreen_mc.gotoAndStop(1);
};


What is the significance of (1) - what does this relate to?

Thanks,
Alex

解决方案

Simple answer: Stop wasting your time with Flash. The world is abandoning it and any developer with any foresight will jump that ship right now - let alone teach yourself it! Adobe are gradually discontinuing Flash an shifting to HTML5/CSS3 - already Flash doesn''t work on newer Android phones e.g. Galaxy S3 (basically, Jelly Bean).

I would suggest you start learning HTML5/CSS3 - the new(ish) standard though it''s been around for a while now and is supported in all major browsers & IE9 (some bis are in IE8). Start here: http://www.w3schools.com/html/html5_intro.asp

When you come to wanting to do slide shows, you have 2 options. Either go all out HTML5/CSS3 (and lose some browser support) by using CSS3 animations or go the JavaScript route in which case you''re best to look at jQuery - by far the best/easiest. You can set up a slideshow less than 3 lines of code once you''ve learnt a little!

I realise this might be a bit of a learning curve with more to it before you reach doing slide shows, but it is certainly worth it! Especially if you are only just beginning with Flash (as it appears you are). No point teaching yourself an already outdated technology :)

Hope this helps,
Ed

Useful links:
HTML5: http://www.w3schools.com/html/html5_intro.asp[^]
CSS3: http://www.w3schools.com/css3/default.asp[^]
jQuery tutorial: http://www.w3schools.com/jquery/default.asp[^]
jQuery Website: http://jquery.com[^]


这篇关于你能帮忙吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆