Search the web
Sign In
New User? Sign Up
flexcoders · RIA Development with Adobe Flex
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
why I want to see WebKit as a standard Flex control (not just for AI   Message List  
Reply | Forward Message #89804 of 150922 |

the code below is an app that I used Judah's HTMLcontrol.swc for - in
three places. While it mostly works, the fact that it uses IFrames and
javascript is still a compromise. No disrespect to Judah but I'm
trying to totally remove the influence of the browser - that's why I'm
using Flash in the first place.

I realise people have a problem with a browser control within Flash
within the browser but this app has the dynamically loaded HTML very
much subservient to the Flex code. It just doesn't make sense to tear
the app to pieces and have a DHTML app with Flash "bits". The standard
Flex text control that takes HTML just doesn't cut what I have to do.

I need to control the app's environment. Webkit can give me that for
external HTML content that has to be loaded into the SWF (I'm using
dynamic "bookmarks" - named anchors in the HTML) - but this is only
for AIR, or using Judah's HTMLControl.swc (which is a ticking
time-bomb). Judah has already updated his control to address some
issues I've had but the app is now out of my hands - I can't afford to
repeat that). Who knows what future browser versions might do?

the other reason is that I'm wanting to build both on-line (Flex) and
desktop (AIR using Flex components) versions of apps. Ideally, this
should be achievable with the minimum of fuss and maximin code re-use.

Surely these reasons are good enough to see WebKit turned into a
standard Flex control... yes?


<mx:TabNavigator width="100%" height="100%">
<mx:Canvas label="Diagnostic Tool" width="100%" height="100%">
<mx:VBox width="100%" height="100%">

<mx:HBox width="100%" height="45%">
<mx:Canvas label="Protocol" width="50%" height="100%">

<!--## use one ##-->
<ns1:HTML elementType="iframe" source="{bookmark}"
id="myframe2" width="100%" height="100%" />
</mx:Canvas>
<mx:Accordion width="50%" height="100%">

...
</mx:Accordion>
</mx:HBox>

<mx:Panel width="100%" height="55%" layout="vertical"
title="Indicate your response by moving the slider">

... </mx:Panel>

</mx:VBox>
</mx:Canvas>
<mx:Canvas label="Protocol" width="100%" height="100%">
<!--## use two ##-->
<ns1:HTML width="100%" height="100%" elementType="iframe"
source="{protocolDoc}" id="protocol_html"/>
</mx:Canvas>

<mx:Canvas label="Help" width="100%" height="100%">
<!--## use three ##-->
<ns1:HTML width="100%" height="100%" elementType="iframe"
source="{helpDoc}" id="help_html"/>
</mx:Canvas>

</mx:TabNavigator>










Sat Oct 6, 2007 12:24 pm

barry.beattie
Offline Offline
Send Email Send Email

Forward
Message #89804 of 150922 |
Expand Messages Author Sort by Date

the code below is an app that I used Judah's HTMLcontrol.swc for - in three places. While it mostly works, the fact that it uses IFrames and javascript is...
barry.beattie
Offline Send Email
Oct 6, 2007
12:25 pm

I gotta say I totally agree it would be incredibly cool. I am doing some stuff in AIR with the HTML control that has nothing to do with local access. The only...
hank williams
hank777williams
Offline Send Email
Oct 6, 2007
3:33 pm

... that adobe ... hang on, wouldn't it be seperate to the Flash player itself - just like all the other Flex controls - downloaded as part of the SWF? This...
barry.beattie
Offline Send Email
Oct 7, 2007
11:47 am

Flex is written in actionscript. WebKit is C and or C++ and so is not a component but something that would have to be built in in the same way that "movieclip"...
hank williams
hank777williams
Offline Send Email
Oct 7, 2007
12:40 pm

... has left ... [sigh] I admit this is because I'm using Flex as a content player, and an external HTML doc as such content. To be perfectly honest, I've had...
barry.beattie
Offline Send Email
Oct 7, 2007
11:03 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help