When using XML as the data source for a Tree, you should use the labelField property to identify what in the data source should be used for the label. The XML data source is being defined inline and has generic element names. But its tag attributes, referred to using @tag, will be used as the labels in the Tree. You can follow the source code I share to see what happen. Another important property is showRoot. In the following code, you couldn’t see the “ROOT” of tree, because I set showRoot=false. (If you don’t like it, you can delete it. The default value of showRoot is true). I hope you enjoy this short article and have fun with flex 4.
Source code:
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600">
<fx:Declarations>
<!-- Place non-visual elements (e.g., services, value objects) here -->
</fx:Declarations>
<mx:Tree labelField="@tag" showRoot="false">
<mx:dataProvider>
<fx:XML>
<note tag="My File">
<note tag="Book"/>
<note tag="Video"/>
<note tag="Homework"/>
<note tag="Photos">
<note tag="family"/>
</note>
</note>
</fx:XML>
</mx:dataProvider>
</mx:Tree>
</s:Application>
<fx:Script>
<! [CDATA[
// ActionScript goes here!
]]>
</fx:Script>
Note that Script is defined within the Flex Core components namespace, fx. This namespace isn’t used in the first two chapters, although Flash Builder adds fx:Declarations tags to the default MXML file.
Also, you should surround your code with the <![CDATA[ and ]]> tags Because the MXML file is XML, many characters commonly found within ActionScript will be invalid when the XML interpreter looks at the page. By wrapping the ActionScript within those tags, the ActionScript code will be ignored by the XML interpreter.
A second way to add ActionScript to a Flex application is to store it in a separate text file. There are two primary benefits to going this route and I really recommend this way. First, it makes it easier to navigate and develop your application, with content in multiple files, saving you from searching through increasingly large and complex MXML documents for any particular code.
The second benefit is that once you’ve separated some ActionScript into another file, you can easily reuse it in other projects. Although it’s considered to be a best practice to write your ActionScript in a separate file, most of the examples in many books you read will not do so, because for the sake of simplicity.A separate ActionScript file can then be included by, or imported into, the MXML document. From a functional standpoint, including an ActionScript file has the same effect as if the code were inserted directly into the MXML. So, up to you which way you want to choose to develop your flex projects. I hope you will enjoy coding and have more fun.
This video is from Adobe. It is good for beginner to have a overview of flex and flash builder. Learn about the basics of using Flex and Flash Builder, including setting up Flash Builder, building data-driven Flex applications, and organizing visual elements and code. In this episode of the Flex in a Week training series, you will learn which technologies make up the Adobe Flash Platform.
Enjoy coding and have more fun.
Hello, I found this nice toturial for creating Httpservice with adobe flash builder CS5. It is really easy to learn more. I tried it. It works very well. I hope you are doing well. Enjoy coding and fun.
Step 1) Use Command Prompt change the folder
After you install it, you click “Start” to open “Command Prompt” to change folder to “platform-tools of Android”. In my case, this folder is on the path(“C:\Program Files\Android\android-sdk-windows\platform-tools”) of my laptop.
Step 2) download and unzip Adobe AIR Runtime
You can go to Adobe website(http://www.adobe.com/products/air/sdk/) to download Adobe AIR Runtime. I did and put it on my laptop. You can find the “Runtime.apk” on the path (C:\Users\Jack\Desktop\AdobeAIRSDK\runtimes\air\android\emulator\).
Step 3) Open your Android emulator
You open your Android emulator you already NEW and keep it on as bellow.
Step 4) Type install apk command
Now, you could type install apk command on your command prompt. The command is “adb install pathofRuntime\Runtime.apk”. In my case, the command is going to be “adb install C:\Users\Jack\Desktop\AdobeAIRSDK\runtimes\air\android\emulator\Runtime.apk”. After that, wait could minutes, you will see the successes message that means Adobe AIR Runtime is installed on you android emulator.
Step 5) Check it out on your emulator
You can take a look if AIR Runtime really is installed. You can see what I’ve done as below.
I’d like use flash-base software to develop AIR Application. We divide into three parts:
Step 1) Java SDK
First of all, you have to download Java SDK (http://www.oracle.com/technetwork/java/javase/downloads/index.html) and install it. If you’ve done this, you can skip this step.
Let get started!
Step1. Go to website and download it(Click here to download). It is zip file. You have to unzip it. You can choose where you want it to be. Just double click it. The Graphic User Interface is just like as below.
Step2. Click “Add files” to add file (image file) from your hard disk as many as you want.
Step 1. Go to Color conversion website.
Step 2. Type in the CMYK color model you already have. Then click Convert buttom.
Step3. You will got three models it convert.
Are you ready? Let get started! Just follow the steps as below. You will get this done soon.
Step1. Open Page NavigationWidget URL.( http://bloggerplugins.org/installers/bloggerpagenavi.html)
Step2. Change the settings for your blog.
Step3. Click customize button. Then click “Add widget to my blog” to add the widget to your blog. (If you don’t log in your blog yet, it will show blog log in page. Just log in)
More important things are that is totally free and portable version. You can have a copy on you usb and bring it anywhere. One thing I am not sure if you can use it on MAC os or Linux os.
You jsut download it and unzip it. That's it. Ah quite simple.
I hope it is useful for you. Enjoy fun!
Download link
CamStudio:CamStudio20.exe
New CamStudio 2.6beta (experts only):CamStudio_2.6b_r273_build_5thOct2010.exe
Lossless Codec:New CamStudioCodec1.4.zip CamStudioCodec14.exe
Support Forum: http://camstudio.org/forum
FAQ: http://camstudio.org/faq.htm
So let’s get started!
Step1. You must have MSN Massager account. (if no, just apply one) [Click here]
Step2. Sign in your account [Click here]
Step3. Create HTML code and choose style you like, you have three options.
大家好,這個消息是來自我的好友,那天和他吃完飯,才得知他的近況是如此的悲慘,以下是他的個人故事。他經由一個好心的主管推薦到一家芬蘭的電子儀器公司(未來在台灣設立公司),老闆是日本人,公司的名字是WASIMO(http://www.wasimo.com/),所應徵的職稱是軟體工程師,原本他和老婆已經在美國一段時間,一開始是利用網路語音面試,互有了解後,公司的老闆不希望他留在美國,若想要這份工作,必須回到台灣,雖然這間公司在台灣尚未成立,我的朋友夫妻二人初步評估就決定回到台灣,並放棄了美國的事情,接受這份"不合理"的工作。
如何不合理呢?工作的合約內容和他口頭答應的都完全不一致:
第1點-合約:不支付加班費,已包含於薪水。事實:每天從早上八點到晚上二點(這是平均時段),最晚曾三天三夜沒睡。
第2點-合約:尊重台灣的休假方式。事實:每到假日,老闆就與我朋友視訊會議,每個週末都這樣搞。
第3點-合約:雙方都可以中止合約。事實:當我朋友提出離職時,離職原因是:生涯規劃。對方居然說若是這個原因的話,他不能接受,還語帶威脅的說,他的離職會造成公司的進度延遲,所造成的損失要我朋友負責。
第4點-合約:若有差旅費,公司會支付。事實:其實他一開始就騙了我朋友,因為他說會在台北內湖找個辦公司,我朋友就在內湖租了房子,最後他居然在桃園租了個公寓,要我朋友去那裡上班,所有的差旅費只費了二次,之後的他都不付了。
合約中有註明的他都可以不履行,更不用說合約沒註明的。
第1點-要求每餐要吃不同的外食,而且他不想搭計程車,都用走路的,有時都要走1個小時以上才找到。
第2點-要去機場接機和送機,就算是凌晨的班機時間,都一定要到。
第3點-他會不讓我朋友回台北的住所洗澡和休息。
第4點-當我朋友跟他報告進度或找一些零件時,向他回報,他居然告訴我朋友,他從來不相信任何人,除了他自己之外。
第5點-買了組合桌,他為了省計程車錢,我朋友居然要搬那個組合桌在下雨天,從桃園IKEA倉庫扛了四十幾分鐘的路程到他住的公寓。
第6點-因為我朋友的離職原因是生涯規劃,他說這不是理由,他說編謊告訴所有的同仁說我朋友是車禍然後斷了手,所以不能寫程式,這種人真的有夠賤。最後要談判時,我朋友就關機,不接他的電話,然後他傳訊息給他的老婆,並講一些威脅的話,後來,他們有出去協調,但他老闆並不覺得這樣子的工作要求有什麼不對,我朋友就告訴他,台灣人已經不是被日本人統制了,還告訴他,連最基本的信任都做不到,你沒有資格當人;他還還到處跟所有的代理商講我朋友健康有問題。
希望我朋友能提早脫離苦海;若有台灣的伙伴要到這家公司工作,自己要多加注意啦!
You can allow others to call you from your website or blog by adding a google call widget to it. You visitors to the website can click the widget, enter their phone number, and Google Voice will call them and connect the call to your Google number. Here's how you can set up a google call widget. Just follow us and step by step:
Step1. Login google voice and Go to Settings.
Step2. Click the Call Widgets tab.
Step3. Click the Add a new Call Widget link.
Step4. Select the appropriate settings for your widget.
Step5. Click the Save Changes. Then, copy and paste the code in the 'Embed' field into your webpage, your blog, your auction or networking site, or anywhere you want.
Step6. If you want to add to your blogger, you have to loging you blogger and paste code to there(Layout->Page Elements->Add a Gadget->Basics->HTML/JavaScript).
PS: It is free within the continental US. All other calls are charged at the rates shown here(https://www.google.com/voice/rates).
Enjoy the hi-tech life and have fun.
Let get started!
Step1. Go to Skepe website (http://www.skype.com/intl/en/tell-a-friend/wizard/)
Step2. Enter your Skype NameStep3. Customise your Skype button. If you choose to show your Skype status, your Skype button will always reflect your availability on Skype.
Step4. Copy & paste the code on your blog(If you have no idea how to paste the code on your blog, you can check my previous article)
I hope you will like my articles. Enjoy it.
Let get started!
Step1. Go to Skepe website (http://www.skype.com/intl/en-us/tell-a-friend/get-a-skype-button/)
Step2. Enter your Skype Name
Step3. Select a button or Skype buttons with status. By the way, If you choose to show your Skype status, your Skype button will always reflect your availability on Skype. This status will be shown to everyone, whether they're in your contact list or not.
Follow the below steps. Let get started.
Step1. Go to whos.amung.us and build your own map.
Step2. Copy the code.
Follow the below steps. Let get started.
Step1. Go to whos.amung.us and copy the code which up to your choice.
Step2. Login your blog
1 egg
2 ½ tablespoons cornstarch
1/4 teaspoon salt
Pinch pepper
3 slices sandwich bread
1 hard−cooked egg yolk
1 slice cooked ham (about 1 ounce)
1 green onion
2 cups vegetable oil
1. Remove shells from shrimp, leaving tails intact. Remove back veinsfrom shrimp. Cut down back of shrimp with sharp knife. Gently pressshrimp with fingers to flatten.
2. Beat 1 egg, cornstarch, salt and pepper in a small bowl until blended.Add shrimp to egg mixture and toss until shrimp are completely coated.
3. Remove crusts from bread. Cut each slice into quarter. Place oneshrimp, cut side down, on each bread piece. Gently press shrimp toadhere to bread. Brush or rub small amount of egg mixture over eachshrimp.
4. Cut egg yolk and ham into 1/2 inch pieces. Finely chop onion.Place one piece each of egg yolk and ham and a scant 1/4 teaspoonchopped onion on each shrimp.
5. Heat oil in wok over medium−high heat until it reaches 375F.Fry 3 or 4 shrimp−bread pieces at a time in the hot oil until golden,1 to 2 minutes on each side. Drain on absorbent paper.
1/2 lb. Chinese pea pods
1/2 lb. Mushrooms
4 Green onions
2 cups Bamboo shoots, drained
1 cup Chicken broth
1/4 cup Soy sauce
2 tb Corn starch
1/2 ts Sugar
1/2 ts Salt
4 tb Salad oil
1 pack Cashew nuts (about 4−oz)
Slice breasts horizontally into very thin slices and cut into inch squares.Place on tray. Prepare vegetables, removing ends and strings from pea pods,slicing mushrooms, green part of onions, and the bamboo shoots. Add to tray.Mix soy sauce, cornstarch, sugar, and salt. Heat 1 tbls of oil in skilletover moderate heat, add all the nuts, and cook 1 min shaking the pan,toasting the nuts lightly. Remove and reserve. Pour remaining oil in pan, frychicken quickly, turning often until it looks opaque. Lower heat to low. Addpea pods, mushrooms, and broth. Cover and cook slowly for 2 mins. Removecover, add soy sauce mixture, bamboo shoots, and cook until thickened,stirring constantly. Simmer uncovered a bit more and add green onions andnuts and serve immediately.
2. Many of the pond animals go through courtship dances to attract a mate.
3. During mating, the female frong's eggs are fertilized by the male.
4.Todpoles hatch from the frog spawn after twenty-one days.
5. The tadpoles grow into froglets. Their gills disappear, and the froglets breathe with lungs.
6.By the end of the summer, the froglets have become fully grown frogs. They will soon be looking for mates.
To add a facebook badge to your website/blog, simply follow the below video.
Enjoy the funny life. Good Lock!
I think you can’t watch Hulu outside the US? Can't watch BBC in the US? I think we can fix both problems with a proxy server! Should we pay money for one? Can we trust a free proxy server? This video is going to answer your questions. Let follow it step by step. Enjoy the funny life. Good Luck!
我問過許多我的國外的朋友,他們的回答是:分享知識、教導不懂的同事或朋友對他們而言是種方法,讓自己如何把懂的部份告知並傳授給對方,這在他們的職場上很重要,如何利用簡短的幾句話讓對方明白;而最重要的不是這一點,最重要的是,他們會終身學習,所以他們不怕,教了你,你會超越過他們。
想一想在台灣的職場上,資深的人員懂的就只有那些,他們大多不願意在自我學習(並非所有資深的同仁都是如此),會造成新進同仁無法提早進入狀況,花太多時間在摸索,當說到這裡,大多人會反駁說:自己摸索才會記得清楚,這些都是他們藉口,因為當你連大方向都不願指導,讓新進同仁覺得壓力大;也有很多資深同事會認為告訴新進同事太多”眉角”,之後自己的地位會不保,這和歐美差太多了。我真希望我們可以吸取歐美的優點(辦公室文化),改進自己的缺點,才能開始談團隊合作或是專案管理,我們總會學習歐美的方法(如專案管理、團隊合作等),但這些都是從他們的文化而演生的,不能一昧著仿照,要從根本做起,這篇文章是我的體驗,也是我的領悟。
Hi, I am going to share the nice book website for children. On the website you can click which book you want to read. It also has audio file with english and spanish pronunciation. You can look at the book trailer. It is easy to use it.
Have a nice reading and fun.
大家好,今天分享一個好的英文網站,它使用起來很簡單;它有分12大類,主要以教授單字為和發音,很適合小朋友,發音也很清楚,雖然是網站教學,但可以看到發音老師的嘴型,是一個不錯的入門喔!
如果不太會使用的話可以留言告訴我,希望大家會喜歡我的分享!
If you go to library or coffee spot with your laptop, you must want to change IP or set IP address unless they do not provide WIFI application.You just follow the video step-by-step then you will get things done easily and quickly.
You still learn how to hide your IP address and also learn common conception of network.If you have any question about this, please don't hesitate to comment. Thank you very much.
This video is very nice Tutorial to create WordPress blog fastly. You can follow this step-by-step. WordPress blog is free for everyone who want to make their own blog. Are you ready to start? Yes, here we go!
Enjoy the fun of life and share intresting thing on your blog!
AUTOZONE Theme has a Unique design and a good layout . This theme is perfect for Automobile, Travel related blogs and sites. The Theme has a number of killer features such as theme options for setting the featured content slider and 125×125 advertisements , JQuery Powered Tabber and social bookmarks etc.
Features:
* Two Column Fixed Layout
Features:
* Options Page
* Featured Content
* 125×125 banners ready (easy editable from admin options)
* 468×60 pixels Header Banner ready (easy editable from admin options)
* Gravatar on Comments
* Compatible with latest WordPress versions
* Widgets Ready * SEO Optimized
* Fixed width
* Logo .PSD included in theme folder.
* Tested and compatible with all major browsers: IE, FF, Safari
有一天我到腳底按摩的店裡,當師傅結束按摩後,我問他一個問題-"你的工作是什麼?",他的回答是"就每天按摩按摩,就那麼簡單!",你認為呢?
這並沒有正確的答案,但我跟他說,你的工作並不只是腳底按摩,而是幫客人解處壓力、讓客人健康一點!他聽之後,認為我是一個不一樣的客人,結果我們變成了朋友,但這並不是重點,重點是他從那次談話後,他對他的工作更積極了,不像我第一次看到他的樣子,一臉無奈,讓我覺得他就只是按一按腳底而已;我發現他的改變後,我仔細想想,這是自我價值的認知,你可曾認為你的工作很無聊,或許可以問一問自己,你工作的價值是什麼?
找到自己的價值很難但很重要,我認為行行出狀元,但有太多人只把這句話當成是口號吧!在台灣大多數的人都會放棄自己的興趣,選擇另一個並不喜歡的工作,為什麼會這樣呢?我想這就是價值認知,我們總覺得錢才是有價值的,但在歐美的國家,他們覺得他們的作品和服務所帶給客人的好處才是無價的,每個行業都有人從事,但在台灣大家一窩蜂的偏向科技業,就只為了較多的薪水嗎?有多少人真的有好好的陪伴著家人和小孩,加班加班還是加班,真的快樂嗎?有享受到人生嗎?我不清楚你,只有你自己才能明白,最重要的還是找到自我的價值。
做自己想做的事,多花點心思,或許可以創造另一個不一樣的行業;或許換個想法,在職場上會快樂一點,人生並不只有金錢,錢真的夠用就好,多少才夠用呢?這就因人而異了,我想還有許多美好的事可以去追求,可曾停下腳步欣賞天空的雲、海邊的浪花等,是如此的美好!
CNET editors' review
----------------------
Reviewed by: CNET staff on December 22, 2009
Traffic Travis provides a simple set of tools for monitoring the popularity and potential viewings for a particular Web site. With great instructions and an easy layout, this is a fantastic Internet research tool.
The program's interface is impressively professional, with top-notch graphic design, intuitive navigation, and helpful tutorial videos that clarify every point. Traffic Travis provides four distinct functions that allow you to collect data and do research on your selected Web site. The first one searches for popular keywords and competition, and another shows your site's ranking amongst the top four search engines. Yet another tracks point-and-click advertisements, and the fourth grades your own site for its search engine optimization. These four combined into a single easy-to-use overview of a particular Web site, one that is particularly rich in useful data. It's easy to imagine this program being especially helpful to the online endeavors of self-promoters and Internet marketers. Traffic Travis is so focused on its core functionality that it basically neglects any extras or special features. This isn't a problem, but given its performance and usefulness, we'd have liked the ability to go directly online to view competitors' sites when they're listed. Nevertheless, this is an eye-opening tool that provides an impressive collection of data.
Traffic Travis is freeware, but it requires a free online registration. It comes as a compressed file. By providing some exciting Web data in an easy-to-use environment, this program succeeds admirably, and we highly recommend it.
What's new in this version:
Version 3.3 accepts full URL paths (previously only accepted domain paths) and adds Google Romania to our growing list of countries.
Reviewed by:
Seth Rosenblatt on January 18, 2010
Avast Free 5, an A-list freeware antivirus app, provides the same steadfast protection of well-known, pricier antivirus programs. Avast is remarkable for both its effectiveness and arguably providing the most complete free antivirus on the market.
Avast Free 5, formerly known as the Home Edition, protects you with multiple guards. The antivirus, antispyware, and heuristics engines form a security core that also includes multiple real-time shields. The adjustable mail and file system shields join the pre-existing behavior, network, instant messaging, peer-to-peer, and Web shields. The behavioral shield is a common-sense feature, as security software publishers leverage their large user bases to detect threats early and warn others. Other new features include a silent-gaming mode and an "intelligent scanner" that only looks at changed files after establishing a baseline. The biggest change in Avast 5, though, is the interface. Gone is the music player default look, which was skinnable but confusing. In its place is a sleek UI that new users should find far more manageable. It's also Aero-friendly, with Explorer-style navigation buttons in case you can't remember where you tweaked a particular setting.
Avast's recent independent third-party testing has been notably solid, able to hold its own against better-known programs from Symantec and Microsoft. Avast 5 Free lacks features in the paid upgrade including antispam measures, a testing sandbox, a Script shield, and a firewall. Even without those, Avast Free 5 is probably the strongest, free antivirus currently available.
Watch the CNET video review of Avast Free Antivirus:
Publisher's description From AVAST Software:
Avast Free Antivirus is based on multiple protective layers that work together to provide security. The product is designed for the average consumer who wants easy-to-use protection for basic email and web surfing. It is limited to home and non-commercial users. New features match top detection with increased efficiency. Computer memory requirements for the new antivirus and antispyware engine have been cut in half. Scanning is 40 percent faster, saving both time and computer resources. Complete rootkit protection includes real-time detection to ward off initial installation, on-demand scanning and boot-time scans. The user friendly 5.0 has a new interface with easy-to-adjust settings, a context-sensitive help menu and graphs showing ongoing protection activities. Users can set the time and conditions for complete scans, with avast even waking up their computer from hibernation for midnight scans before putting it back to bed. Multiple shields prevent the spread of malware via email by checking incoming and outgoing emails for suspect content, identify malware by its anticipated behavior or by looking out for unusual activity and attempts at system modifications.
What's new in this version:
- improved interaction with Windows System Restore; namely, avast now auto repairs itself when it detects a corrupted VPS due to a System Restore (or other reasons)
- aswSP.sys: solved a minor stability issue
- solved a problem related to inserting of the license filesadded the activation code feature
- solved a problem when avast was progressively slowing down (especially in conjunction with the screensaver)
- performance improvements in the Behavior ... see all new features
It is really nice photo I think.