Posts tagged XML
PROTOTYPE 0.4
0Is been a while since the last prototype. It is because this version’s scope is pretty large which involves all the possible page elements that will be present in the web page.
Same as the previous navigation menu, all the page content elements are constructed through the XML data file. The page content elements supported now includes:
- Basic text with text formats
- Images files like JPEG, GIF, PNG
- Multimedia file like SWF
- Background color and background image
- Rectangles of different appearance for framing
- Text or graphic linkings
- Linkings further divided into internal Flash and external HTTP links
The next step will be implementing the editor (Action) part of these page elements, hopefully will be completed after Lunar New Year. And this will probably named as Release 1.
PROTOTYPE 0.2
0This version is a simple upgrade of the prototype 0.1, which involves the editing and saving function.
The workflow is as follows:
1. User using the original Flash navigation menu
2. User suddenly want to change the menu layout
3. User click on the “Action Mode” button
4. Flash changes to “Edit Mode”
5. User can drag and drop the navigation items anywhere they want
6. User click on the “Save Settings” button
7. User click on the “Edit Mode” Button / Reload the Flash
8. User can use the new modified navigation menu
The hardest part here is to define a well XML exporting mechanism, because all the other components, e.g. page contents will use the same mechanism.In the next version, I will be focusing on the messaging section. That is showing the system messages. It is a small part however important to let the user know whats going on.
And then the page content part will be done. And finally the page building and linking section. All of these will probably wrap up as prototype 1.0 which I hope can be finished before starting of semester B.
PROTOTYPE 0.1
0The prototype 0.1 is done within the revision and examination period XD, actually this is a very large one in terms of code size and is a very important milestone for the forthcoming development.
The prototype 0.1 mainly works on the navigation menu and is a trial on the real time building of the Flash contents based on the XML data file.
The workflow is like this:
1. XML (storing the data for the navigation menu)
2. Flash read the XML
3. Flash interpret the XML data
4. Flash dynamically builds the navigation menu
5. Finish (user can use the navigation menu)
The next step will be working on the navigation menu editing and saving function.
繼續學會去輸
0呢一段時間裡面最大件事都莫過於 web usability 個 assignment 得 55 分…
講真我開頭知道做唔到 top 10 已經好著緊點之知道 d 分之後直頭呆左
之後自己 email Sigma (web 的 grader) 問佢點解佢第一句就話
“First, it is very important you need to know, the report is 90% of the total marks, while the web page is only 10%”
跟住佢仲極之詳細咁解釋比我聽… 真係有 d 感動
當我知道自己衰 d 乜之後即刻開心返晒 XDDD
我就係咁奇怪既人… 我唔怕衰
最緊要衰得明明白白
好彩 mid term 拉返高晒者 (好似係 top tim… ccc)
今日 exam 都考得唔錯希望拎返隻 A 仔啦~~!!
FYP 進度繼續因為各種原因拖慢
不過總算將我自己覺得最難o個 part 寫完
依家我已經成功做到一個 Flash 能夠透過 PHP 寫得出一個 XML
而呢個 XML 又能夠食入另一個 Flash 入面從而做到一個 naviagtion menu
下一步就係將第一 part Flash -> PHP o個 part interactive 化從而做到 WYSIWYG editor~
Google Sitemaps (Beta)
0I guess everyone already trying Andy’s CityU Web Hacker event. Usually what we can do will be simply using meta tag or submitting to those web engines. However, can we be even more active to direct the search engine to crawl our site?
Google Sitemaps (Beta) is a brand new technology from Google which allows web administrators to guide Google how to crawl our web!
The logic is very simple and worth to try! First you must own a Google account (e.g. gmail), login to the system. And then submit your web’s sitemap using XML format. The format of the XML file is detaily described here.
After submitting the sitemap, a simple verification is still needed before it really works. Finally after a few days, you can check the statistics it provided to see how and when google crawl your site!I am still testing this technology too, so anyone who works please share :p
COMPLETION of MY FIRST OO FLASH APP
0HURRAH~~~!!!!!I finally finish my first object oriented Flash application – Fly’s Bookmark 1.0
It is a very very simple Flash application which draws data from a XML and generate the correponding links.
The objective of this small application is for me to practice OOP in Flash. As I have said… I am a newbie in this…The main point here is the class design using MovieClip class extension. It is hard to understand at first but ultimately powerful when equiped. The following are some articles that are worth to read about this ultimate technique.
Flash MX2004 Actionscript 2.0 class Tutorial. [Online]. Steve’s Tutes. Available: http://www.video-animation.com/flash_15.shtml
Simple design patterns in Macromedia Flash MX 2004. [Online]. Peter Parente. Available: http://www.cs.unc.edu/~parente/tech/tr03.shtml
The next step is to define my FYP’s requirement specification asap. As I have used too much time in this little application.
Will I further develope Fly’s Bookmark?? Maybe :p
WELCOME and PAST PROGRESS
0Welcome to my Final Year Project Blog.
The establishment of here is to acheive the following:
1. Allow my FYP supervisor (Dr. Andy CHUN) to know my latest progress, give comments and guidelines.
2. Allow my classmates to know what I am currently working on and share ideas.
—————————————————————
Progress in September
In September, I have done a very brief research on my topic, that is the Flash based personal content management system. (I am thinking if it is good to change the title to FlashBlog which is shorter :p) I found that there are only one to two companies in this world developed or developing this kind of product. Further their product is not so rigid and user friendly. So I guess I will base on their product to work on mine.I have written the project plan draft which stated my FYP objectives, planned research areas and most importantly my schedule. (You can view them through the links on the right)
—————————————————————
How about now?
Now, I am trying to find the best framework to work on my FYP. I have written Flash and Actionscripts for around 6 – 7 years already. However I never tried any special model or framework. What I did before is simply using a bunch of functions…
Starting from last week, I tried to build my very first Flash Class using Object-oriented approach. (Yup… my first time to do so… my OO knowledge is bad, so this time I asked my classmate Tim SHIU to give me a short tutorial on this XD thanks~)
My testing application is like this:
- A simple bookmark application
- Feed data using XML
- Contains three classes mainly (Bookmark, BookmarkCategory and BookmarkLink)
Written for around 4 days and finished already. However the class design is still not perfect. The problem is as follows:
- BookmarkCategory class contains a movieclip which act as an interface to display
- The movieclip itself has an onpress event handler
- However the event handler cant use back the BookmarkCategory class functions… -,-
Yesterday I finally got the solution from various experts in the actionscript.org forum. The method is to make the BookmarkCategory itself an extended MovieClip class, and then override the onpress function…. =.=|||
I will modify my class tomorrow and hope that the class will be perfect :p
After that I think I will start my requirement specification and application flow design. Hope I can catch up my schedule.





