Adobe Dreamweaver Forums



Last 10 THreads :         Table Borders MIssing in JavaHelp (Last Post : soxmann - Replies : 3 - Views : 8 )           »          Clock .getUTC not working (Last Post : bolszo - Replies : 2 - Views : 3 )           »          cfimage error (Last Post : masoud_amen - Replies : 2 - Views : 3 )           »          Dragging components (Last Post : hsfrey - Replies : 2 - Views : 4 )           »          Is file too large? (Last Post : tweaked_eye - Replies : 0 - Views : 1 )           »          Could not find the included template (Last Post : azuro28 - Replies : 2 - Views : 3 )           »          problems linking PDFs (Last Post : Mantzi - Replies : 0 - Views : 1 )           »          flash loader reappears after movie plays (Last Post : lyshamo - Replies : 3 - Views : 4 )           »          How to turn IMAGE into MOVIECLIP??? (Last Post : Snufferson - Replies : 7 - Views : 8 )           »          Embed files in a projector (Last Post : ytlevine - Replies : 0 - Views : 1 )           »         


Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
User Info Statistics
Go Back   Adobe Dreamweaver Forums > Other Macromedia/Adobe Products > Flex
 
Tags:



Reply
  #1 (permalink)  
Old 11-21-2008, 02:15 AM
PaulGene
 
Posts: n/a
Diggs:
Default Tabbing in flash created code

Hello everyone,

I have an XML driven website template ive been coding for a few months in
Flash, no timeline or library involved, its 100% pure Actionscript 3.0 classes.

I wanted to add a shopping cart feature and realised this would be much
better/easier coded within Flex, this plus Flex Builder is much better for
coding Actionscript, i decided to convert it to a Flex project.

Now, after 5 minutes i had everything working perfectly (so i thought..) by
just creating a UIComponent, manualy creating a new instance of my document
class, and adding it to the UIComponent in an addedToStage event handler.

Like i said, everything works perfectly... appart from all my carefully coded
keyboard navigation has gone! :confused;

Pressing the TAB key just bypasses the entire swf and goes back to the
browser, if however i add a flex control like a button, the TAB key gives me
focus on that control and then when i press TAB it goes back out again as if
the rest of the swf is not there.

I've searched the forums and google for hours with no luck, any help is very
much appreciated...



Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 11-21-2008, 01:04 PM
PaulGene
 
Posts: n/a
Diggs:
Default Re: Tabbing in flash created code

I'm still completely lost with this, the template is made up of mainly Flash
Sprite classes, and a few SimpleButton i tried changing these to FlexSprite and
FlexSimpleButton classes but the same problem applies :sad;

Reply With Quote
  #3 (permalink)  
Old 11-21-2008, 02:34 PM
Amy Blankenship
 
Posts: n/a
Diggs:
Default Re: Tabbing in flash created code


"PaulGene" <webforumsuser@macromedia.com> wrote in message
news:gg6bed$jfp$1@forums.macromedia.com...
> I'm still completely lost with this, the template is made up of mainly
> Flash
> Sprite classes, and a few SimpleButton i tried changing these to
> FlexSprite and
> FlexSimpleButton classes but the same problem applies :sad;


I don't think any of those classes support the Flex Framework's idea of
tabbing. I suspect you'll need to do some hard research to figure out how
to put in the hooks yourself.

Good luck ;-)


Reply With Quote


  #4 (permalink)  
Old 11-21-2008, 06:14 PM
PaulGene
 
Posts: n/a
Diggs:
Default Re: Tabbing in flash created code

Arrggg thanks, this all seems very strange, i have found that if i hammer the
tab key as the swf loads i get control of the first sprite in the tab order
(like it should) and i can then move around all the tabenabled controls as
normal with the cursor keys, but the tab key does nothing... so it looks like
the problem is just with the tab key itself.

Reply With Quote
  #5 (permalink)  
Old 11-22-2008, 01:28 AM
PaulGene
 
Posts: n/a
Diggs:
Default Re: Tabbing in flash created code

Still haven't solved my problem but digging deep into flex has been interesting


Its made me think about what flex actualy is... just a layer that sits on on
top of the flash player's classes like sprite and adds all the functionality,
and obviously my flash code is sitting underneath that layer, hence no keyboard
navigation.

It looks like flex handles keyboard navigation with the FocusManager, and this
is overiding the flash players, so ...

to any flex guru's out there, is there a way to stop this?

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 11:35 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Cheap Car Insurance - Compare Motor Insurance
Endsleigh Car Insurance Natwest Car Insurance
More Than Car Insurance Norwich Union Car Insurance
Prudential Car Insurance Zurich Car Insurance
Inactive Reminders By Mished.co.uk