惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

爱范儿
爱范儿
博客园_首页
W
WeLiveSecurity
S
Secure Thoughts
S
Security @ Cisco Blogs
Recent Commits to openclaw:main
Recent Commits to openclaw:main
Hugging Face - Blog
Hugging Face - Blog
www.infosecurity-magazine.com
www.infosecurity-magazine.com
H
Hacker News: Front Page
Project Zero
Project Zero
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
U
Unit 42
N
News and Events Feed by Topic
N
News and Events Feed by Topic
Hacker News - Newest:
Hacker News - Newest: "LLM"
Forbes - Security
Forbes - Security
T
Tor Project blog
I
Intezer
B
Blog
F
Full Disclosure
Security Archives - TechRepublic
Security Archives - TechRepublic
F
Fortinet All Blogs
Schneier on Security
Schneier on Security
T
Threat Research - Cisco Blogs
AI
AI
Google DeepMind News
Google DeepMind News
L
LINUX DO - 最新话题
Cloudbric
Cloudbric
L
Lohrmann on Cybersecurity
WordPress大学
WordPress大学
博客园 - 聂微东
雷峰网
雷峰网
P
Privacy International News Feed
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
PCI Perspectives
PCI Perspectives
Y
Y Combinator Blog
Spread Privacy
Spread Privacy
Simon Willison's Weblog
Simon Willison's Weblog
罗磊的独立博客
Vercel News
Vercel News
A
Arctic Wolf
The Register - Security
The Register - Security
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Microsoft Azure Blog
Microsoft Azure Blog
H
Heimdal Security Blog
Know Your Adversary
Know Your Adversary
P
Proofpoint News Feed
C
Cybersecurity and Infrastructure Security Agency CISA
P
Proofpoint News Feed

博客园 - trace

flash8与javascript集成 ASP.NET 2.0母版页(MasterPage) “核弹”击中晚期直肠癌 驳图王:轻轻一招,获取上万IP SEO技巧一 很实用的缓动函数 [原创]flash动态改变注册点解决方案 flash+webservice 乱码问题解决一例(原创) 为flash构建asp.net Webservice flash 与 webservice 通信的两种方式 Flash 与 Web Service 技术的完美结 FLASH与WebService Flash 与 Web Service 技术的完美结合 flash to js flash 与 后台语言通讯 flash与js通讯(2) flash to js 使用工具包 用Javascript实现鼠标拖拽网页表单 (二) 用Javascript实现鼠标拖拽网页表单(一)
Flash常用代码的介绍
trace · 2007-07-24 · via 博客园 - trace

,用来产生6--20之间的5个不重复的随机数:
1):首先产生一个随机数,放在数组对象中的第一个位置;
2):产生一个新的随机数.
3):检查新产生的随机数和所有目前已产生的随机数是否相同,若是相同则返回(2),否则返回(4)
4):将新的随机数加入数组对象中下一个数组元素内.
5):检查数组对象个数是否已达到5个,若是跳到,否则返回(2)
6):结束.
AS如下:   

data1=newArray(5); 
  tot=1; 
  data1=[tot-1]=random(20-6+1)+6; 
  do{ 
  gen_data=random(20-6+1)+6; 
  reapeat_data=0; 
  for(i=0,i<=tot-1;i++){ 
  if(gen_data==data 
  reapeat_data=1; 
  break; 
  } 
  } 
  if(reapeat_data==0){ 
  tot++ 
  data[tot-1]=reapeat_data; 
  } 
  }while(tot<5); 
  trace(data1); 

8 、如何使得flash一打开就是全屏的,这里说的方法只是用于flash Player (fp)。

9 、如何禁止右键菜单,fscommand的方法还是只能适用于fp,在网页中使用还是必须添加额外的参数,或者用最简单的一句as,在fp和网页中均适用:  

Stage.showMenu=false;

10、载入动画的问题: 

 loadMovie("dd.swf", a); //这里没有引号~

11、播完动画后自动跳到某网页:  

getURL("siteindex.htm", "_self");