I had a little play this morning with Apollo and Flex, and I apologize to all you Flexers out there, I haven’t as yet had the time to REALLY get into Flex, so all of this is really obvious to you all.
Anyway, I made a little browser implementation, you can load a URL and browse as you normally would, but if you have bad eyesight (as I do at 6 am) its nice to be able to zoom into the web page, hence zoomBrowser!
The code for this is really simple:
<?xml version="1.0" encoding="utf-8"?>
</code>
There are two functions, loadURL and zoomBrowser. LoadURL is called either when you press enter in the mx:TextInput field or when you click on the “Go” button. The mx:HTML item is simply bound to the slider and it resizes with the values.
Amazing that you can build such a complicated app (if you think about it) with so few lines of code!
Download and unzip and give it a whirl (you need to download the Apollo runtime from Adobe Labs)
Tweet
comments powered by Disqus