Realtime CSS Updater powerd by Flex2StyleExplorer
I customized Flex2StyleExplorer and I made a module that update css of your Flex2 application in runtime browser. This doesn't use Runtime CSS feature of Flex 2.0.1. This use LocalConnection class. So you can change design of your application from Flex2StyleExplorer on other browser.
This is hard to explain with my skill of English. So just try it :D
Step 1. Launch this sample that is RealTimeCSS in my Flex2Samples.
Step 2. Launch customized Flex2StyleExplorer in my Flex2Samples.
Step 3. try to change styles on Flex2StyleExplorer ;)
You can launch IE for Step1 and launch FireFox for Step2.
This is just an idea. Is this useful??
If this is useful, I'll improve feature and publish those source code that need to brush up.
BTW, I couldn't figure out a mechanism of "crossdomain.xml" yet.
In RealTimeCSS sample, I used Module mechanism in Flex 2.0.1. The Code is below.
If domain is different, Security sandbox error happen. How should I??
I uploaded "crossdomain.xml" everywhere on my site. I wrote Security.allDomain(...) and I tried Security.loadPolicyFile(...). But it had never worked. Who can explain this mechanism exactly??
If you want to try this, download SyncCSSModule.swf and download (Customized) Flex2StyleExplorer.swf (use right click and save as).
And write a code like below in your application,
This is hard to explain with my skill of English. So just try it :D
Step 1. Launch this sample that is RealTimeCSS in my Flex2Samples.
Step 2. Launch customized Flex2StyleExplorer in my Flex2Samples.
Step 3. try to change styles on Flex2StyleExplorer ;)
You can launch IE for Step1 and launch FireFox for Step2.
This is just an idea. Is this useful??
If this is useful, I'll improve feature and publish those source code that need to brush up.
BTW, I couldn't figure out a mechanism of "crossdomain.xml" yet.
In RealTimeCSS sample, I used Module mechanism in Flex 2.0.1. The Code is below.
<mx:ModuleLoader url="http://shigeru-nakagaki.com/flex_samples/Style/RealTimeCSS/SyncCSSModule.swf"/>
If domain is different, Security sandbox error happen. How should I??
I uploaded "crossdomain.xml" everywhere on my site. I wrote Security.allDomain(...) and I tried Security.loadPolicyFile(...). But it had never worked. Who can explain this mechanism exactly??
If you want to try this, download SyncCSSModule.swf and download (Customized) Flex2StyleExplorer.swf (use right click and save as).
And write a code like below in your application,
<mx:ModuleLoader url="http://your-domain/your-path/SyncCSSModule.swf"/>
|
Banner Ads
( TYPE EN B ) Google Analytics report of my site. If you want to put a banner ads here, please contact me. |
referenced here:
http://livedocs.adobe.com/flex/201/langref/flash/n...
like the concept btw... look forward to seeing how you did it.
I have a question. Is there any wish feature else?