12 第1页 | 共2 页下一页
返回列表 发新帖
查看: 5396|回复: 15
打印 上一主题 下一主题

[Anark] Set Property from Text (Text Behavior)

[复制链接]
Asen    

867

主题

0

听众

1万

积分

外协人员

Rank: 7Rank: 7Rank: 7

纳金币
17488
精华
1
跳转到指定楼层
楼主
发表于 2011-10-15 10:59:00 |只看该作者 |倒序浏览






               Set Property from Text (Text Behavior)
              









           Summary
         

           Set a property on the parent object to be the text contained in another text object.
         





               Category
              


              Latest Behaviors
            




               Author
              


              Gavin Kistner
            




               Difficulty
              


              (Reference)
            




               Time to Complete
              


              5 Minutes
            








           Downloads
         


            Click Here
           
           to download the associated files.
         


            (This document covers version 0.8 of the 'Set Property from Text' behavior, current as of 2005-Feb-11)
           

            Description
           


             This behavior changes a property on the parent object (specified with the
            
              Property Name
            
             property) to be the same as the text string of a Text object (chosen with the
            
              Text Object
            
             property).
            

             If
            
              As Number?
            
             is checked, the value of the text object will be turned into a number before setting the property to that value. If the string isn’t a number (such as “z”, “1a”, or even “1,000”), then the value will not be changed.
            

             If
            
              While Editing?
            
             is checked, this behavior will continuously update the property if the user is editing the text, using the Editable Text behavior. Otherwise, the property will only be updated when the user finishes editing the text.
            

             A simple demonstration of this behavior in action can be seen on the example for the Progress Bar behavior, where this behavior is used to allow the user to change the
            
              URL
            
             that will be loaded by the Preload Module behavior.
            


            Basic Properties
           



              Text Object
            

              The Text object to use the text of.
            

              Property Name
            

              The script name of the property on the parent to set.
            



            Advanced Properties
           



              As Number?
            

              Treat the text string as a number?
            

              While Editing?
            

              Update the value continuously while the text is being edited?
            



分享到: QQ好友和群QQ好友和群 腾讯微博腾讯微博 腾讯朋友腾讯朋友 微信微信
转播转播0 分享淘帖0 收藏收藏0 支持支持0 反对反对0
回复

使用道具 举报

1023

主题

3

听众

359

积分

设计实习生

Rank: 2

纳金币
335582
精华
0

最佳新人

沙发
发表于 2012-1-25 23:29:45 |只看该作者
春节即将来到,我用祝福捻制成的绒线,烛光下为您织起一件红色的毛衣:前身是平安,后身是幸福,吉祥是厚厚的肩,如意戴在袖子里,领子蕴藏着体贴,口袋把快乐盛满,穿在身上让暖和包裹着您,让我的心陪伴您度过新年。
回复

使用道具 举报

tc    

5089

主题

1

听众

33万

积分

首席设计师

Rank: 8Rank: 8

纳金币
-1
精华
0

最佳新人 活跃会员 热心会员 灌水之王 突出贡献

板凳
发表于 2012-2-6 23:28:51 |只看该作者
真不错,全存下来了.
回复

使用道具 举报

5969

主题

1

听众

39万

积分

首席设计师

Rank: 8Rank: 8

纳金币
-1
精华
0

最佳新人 活跃会员 热心会员 灌水之王 突出贡献

地板
发表于 2012-2-6 23:36:45 |只看该作者
很经典,很实用,学习了!
回复

使用道具 举报

tc    

5089

主题

1

听众

33万

积分

首席设计师

Rank: 8Rank: 8

纳金币
-1
精华
0

最佳新人 活跃会员 热心会员 灌水之王 突出贡献

5#
发表于 2012-3-26 23:34:06 |只看该作者
既来之,则看之!
回复

使用道具 举报

1023

主题

3

听众

359

积分

设计实习生

Rank: 2

纳金币
335582
精华
0

最佳新人

6#
发表于 2012-3-29 23:30:30 |只看该作者
发了那么多,我都不知道该用哪个给你回帖了,呵呵
回复

使用道具 举报

1023

主题

3

听众

359

积分

设计实习生

Rank: 2

纳金币
335582
精华
0

最佳新人

7#
发表于 2012-7-18 23:19:52 |只看该作者
百度的叫度娘,网易的叫易娘,新浪内部还在为是叫新娘还是浪娘而争论不休!……不管你们是企鹅的额娘,豆瓣的伴娘,还是华为的伪娘,都要记得,淘宝才是你们的亲娘啊!亲!!
回复

使用道具 举报

   

671

主题

1

听众

3247

积分

中级设计师

Rank: 5Rank: 5

纳金币
324742
精华
0

最佳新人 活跃会员 热心会员 灌水之王 突出贡献

8#
发表于 2012-7-21 23:28:09 |只看该作者
都闪开,介个帖子,偶来顶
回复

使用道具 举报

   

671

主题

1

听众

3247

积分

中级设计师

Rank: 5Rank: 5

纳金币
324742
精华
0

最佳新人 活跃会员 热心会员 灌水之王 突出贡献

9#
发表于 2012-10-20 23:28:05 |只看该作者
不错哦,顶一下......
回复

使用道具 举报

462

主题

1

听众

31万

积分

首席设计师

Rank: 8Rank: 8

纳金币
2
精华
0

最佳新人 活跃会员 热心会员 灌水之王 突出贡献

10#
发表于 2013-2-20 23:19:28 |只看该作者
加精、加亮滴铁子,尤其要多丁页丁页
回复

使用道具 举报

12 第1页 | 共2 页下一页
返回列表 发新帖
您需要登录后才可以回帖 登录 | 立即注册

手机版|纳金网 ( 闽ICP备2021016425号-2/3

GMT+8, 2025-7-20 19:50 , Processed in 0.070479 second(s), 28 queries .

Powered by Discuz!-创意设计 X2.5

© 2008-2019 Narkii Inc.

回顶部