RE: [Flashcoders] Advice on creating dynamic crossword cluesth resize function

2009-05-22 Thread Paul Steven
Thanks Kevin - it is working now and does exactly what I need.

Many thanks for your patience!

Cheers

Paul

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Kevin Bath
Sent: 21 May 2009 16:03
To: 'Flash Coders List'
Subject: RE: [Flashcoders] Advice on creating dynamic crossword cluesth
resize function

Now Glen's suggestion will work - just stick a dynamic textfield offscreen,
set font to Times New Roman, and embed fonts in that. That seems to make the
font available to FP8  9.



-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Paul Steven
Sent: 21 May 2009 14:32
To: 'Flash Coders List'
Subject: RE: [Flashcoders] Advice on creating dynamic crossword cluesth
resize function

Bah - added the txtClue.embedFonts = true; but still no text. Is there a
particular font I need to have? I can't see any reference to any particular
font

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Kevin Bath
Sent: 21 May 2009 13:50
To: 'Flash Coders List'
Subject: RE: [Flashcoders] Advice on creating dynamic crossword cluesth
resize function

Yay! Will work with FP9 and 8 if you add...

txtClue.embedFonts = true;

(doh - sorry)

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Paul Steven
Sent: 21 May 2009 12:41
To: 'Flash Coders List'
Subject: RE: [Flashcoders] Advice on creating dynamic crossword cluesth
resize function

There are no fonts mentioned in the code. And no fonts appear in font
mapping. I have even tried adding

txtClue.font = Times New Roman;

But the text just doesn't seem to want to display:(

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Glen Pike
Sent: 21 May 2009 12:38
To: Flash Coders List
Subject: Re: [Flashcoders] Advice on creating dynamic crossword cluesth
resize function

You are probly missing a font...

Paul Steven wrote:
 Kev, when I publish this for Flash Player 8 or 9 the text does not appear.
 It is definitely there as the highlights are the correct position and
size.
 Any idea why the text is not actually visible?

 Also out of curiousity what is the XMP metadata?

 Thanks

 Paul

 -Original Message-
 From: flashcoders-boun...@chattyfig.figleaf.com
 [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Kevin Bath
 Sent: 21 May 2009 11:33
 To: 'Flash Coders List'
 Subject: RE: [Flashcoders] Advice on creating dynamic crossword cluesth
 resize function

 Paul - I've knocked up a quick example of moving a masked movieclip which
 contains textfields populated by xml data. It should work with any length
 clue and demonstrates how to get a list of clues/textfields to autoscroll
to
 a position - and resizes the highlight to match height of clue textfield.
 Just click on the numbers to get it to move.

 It's not pretty and the code is a bit rough (and in AS2) - but it
 demonstrates the principle. You may be well ahead of this by now - but I
 fancied a fiddle!

 You can grab it here. www.flowdigital.co.uk/download/crosswordclues.zip


 Kev.


 -Original Message-
 From: flashcoders-boun...@chattyfig.figleaf.com
 [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Paul
Steven
 Sent: 21 May 2009 08:44
 To: 'Flash Coders List'
 Subject: RE: [Flashcoders] Advice on creating dynamic crossword cluesth
 resize function

 Thanks Kerry

 Yes I do have the Advanced Lingo for Games book that has a crossword
 puzzle example which has proven very helpful for the main engine behind
the
 crossword. I also have ActionScript 3.0 Game Programming University but
 that only has a word search.

 My main problem is being able to highlight individual clues and ensure
they
 are visible within the scrollable area. I need to be able to put a
highlight
 over the entire clue (which can be one or more lines long). If I put all
the
 clues in one text field, the scrolling works fine - I am just not sure how
 to determine how high the highlight should be - especially as this will
 change if the text size is toggled. If someone clicks on a word on the
 crossword, if the corresponding clue is not currently visible (due to the
 need to scroll to get to it) I need to adjust the scroll to ensure this
clue
 is visible and then also highlight the clue. So I effectively need to know
 what the scroll position is to display each clue and also how to determine
 the top and bottom of this clue. The highlight will extend the entire
width
 of the clue text field so there is no need to work out widths.

 Any suggestions most welcome.

 Thanks

 Paul





 -Original Message-
 From: flashcoders-boun...@chattyfig.figleaf.com
 [mailto:flashcoders-boun

RE: [Flashcoders] Advice on creating dynamic crossword cluesth resize function

2009-05-21 Thread Paul Steven
Thanks Kevin

Would a scrollpane work if I have custom graphics for the scroll buttons.
This is for young kids so the scroll buttons are non standard big
illustrator arrow buttons. I don't want to have OS style scroll bar or
scroll arrows.

Paul

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Kevin Bath
Sent: 20 May 2009 22:32
To: 'Flash Coders List'
Subject: RE: [Flashcoders] Advice on creating dynamic crossword cluesth
resize function

Paul - why don't you use a scrollpane, add all the clues as separate mc's
into this component. That way you can target them separately to change the
text colour if you click on a square. You could space the clue mc's by using
the textheight property of the textfield within the clue mc.

If you toggle the text size - you'll just have to iterate through all the
clips in the scrollpane and re-space them out.

You'll have to display both across and down clues if you click on certain
squares. 

There may be better ways though!

rgds - Kevin.



-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Paul Steven
Sent: 20 May 2009 19:45
To: 'Flash Coders List'
Subject: [Flashcoders] Advice on creating dynamic crossword cluesth resize
function

I am creating a crossword where the words and clues are read in from an xml
file. I need to be able to display the clues in a small area hence these
will need to scroll. I also need to highlight a particular clue if the word
on the crossword is clicked. Problem is that some clues will be on more than
one line so I am not sure how best to approach this and would appreciate
some advice. Also I need to include a function to toggle the text between
small and large. Btw I am programming this in Flash 8 with AS2.

My alternative solutions are as follows:

1.Attach a separate movie clip for each clue - not sure how I would position
these vertically and the effect of toggling the text size
2.Put all the clues in one dynamic text field  - not sure how I would select
a particular clue. With this solution would I be best to use a mask and
therefore have all the clues effectively displayed in the dynamic text field
at once.

Any advice on how best to deal with this would be really appreciated. 

Thanks

Paul





___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] Advice on creating dynamic crossword cluesth resize function

2009-05-21 Thread Paul Steven
Thanks Kerry

Yes I do have the Advanced Lingo for Games book that has a crossword
puzzle example which has proven very helpful for the main engine behind the
crossword. I also have ActionScript 3.0 Game Programming University but
that only has a word search.

My main problem is being able to highlight individual clues and ensure they
are visible within the scrollable area. I need to be able to put a highlight
over the entire clue (which can be one or more lines long). If I put all the
clues in one text field, the scrolling works fine - I am just not sure how
to determine how high the highlight should be - especially as this will
change if the text size is toggled. If someone clicks on a word on the
crossword, if the corresponding clue is not currently visible (due to the
need to scroll to get to it) I need to adjust the scroll to ensure this clue
is visible and then also highlight the clue. So I effectively need to know
what the scroll position is to display each clue and also how to determine
the top and bottom of this clue. The highlight will extend the entire width
of the clue text field so there is no need to work out widths.

Any suggestions most welcome.

Thanks

Paul





-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Kerry
Thompson
Sent: 20 May 2009 20:11
To: 'Flash Coders List'
Subject: RE: [Flashcoders] Advice on creating dynamic crossword cluesth
resize function

Paul Steven wrote:

 I am creating a crossword where the words and clues are read in from an
xml
 file. I need to be able to display the clues in a small area hence these
 will need to scroll. I also need to highlight a particular clue if the
word
 on the crossword is clicked. Problem is that some clues will be on more
than
 one line so I am not sure how best to approach this and would appreciate
 some advice. Also I need to include a function to toggle the text between
 small and large. Btw I am programming this in Flash 8 with AS2.snip
 Any advice on how best to deal with this would be really appreciated.

Gary Rosenzweig has a really good book, Macromedia Flash MX ActionScript
for Fun and Games. I'm pretty sure it has the source for a crossword game
in it, and it's AS2. It's pretty cheap--around a dollar on Amazon. He also
has an updated book with AS3 code, ActionScript 3.0 Game Programming
University.

I haven't used this book, but I did use a similar book he had for Director,
and I adapted his crossword code for the now defunct Learning Network. It's
pretty good code, and easy to adapt. My version might even still be up on
Family Education Network (www.fen.com). I haven't checked, but they
inherited everything from Learning Network.

Cordially,

Kerry Thompson

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] Advice on creating dynamic crossword cluesth resize function

2009-05-21 Thread Kevin Bath
Paul - I've knocked up a quick example of moving a masked movieclip which
contains textfields populated by xml data. It should work with any length
clue and demonstrates how to get a list of clues/textfields to autoscroll to
a position - and resizes the highlight to match height of clue textfield.
Just click on the numbers to get it to move.

It's not pretty and the code is a bit rough (and in AS2) - but it
demonstrates the principle. You may be well ahead of this by now - but I
fancied a fiddle!

You can grab it here. www.flowdigital.co.uk/download/crosswordclues.zip


Kev.


-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Paul Steven
Sent: 21 May 2009 08:44
To: 'Flash Coders List'
Subject: RE: [Flashcoders] Advice on creating dynamic crossword cluesth
resize function

Thanks Kerry

Yes I do have the Advanced Lingo for Games book that has a crossword
puzzle example which has proven very helpful for the main engine behind the
crossword. I also have ActionScript 3.0 Game Programming University but
that only has a word search.

My main problem is being able to highlight individual clues and ensure they
are visible within the scrollable area. I need to be able to put a highlight
over the entire clue (which can be one or more lines long). If I put all the
clues in one text field, the scrolling works fine - I am just not sure how
to determine how high the highlight should be - especially as this will
change if the text size is toggled. If someone clicks on a word on the
crossword, if the corresponding clue is not currently visible (due to the
need to scroll to get to it) I need to adjust the scroll to ensure this clue
is visible and then also highlight the clue. So I effectively need to know
what the scroll position is to display each clue and also how to determine
the top and bottom of this clue. The highlight will extend the entire width
of the clue text field so there is no need to work out widths.

Any suggestions most welcome.

Thanks

Paul





-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Kerry
Thompson
Sent: 20 May 2009 20:11
To: 'Flash Coders List'
Subject: RE: [Flashcoders] Advice on creating dynamic crossword cluesth
resize function

Paul Steven wrote:

 I am creating a crossword where the words and clues are read in from an
xml
 file. I need to be able to display the clues in a small area hence these
 will need to scroll. I also need to highlight a particular clue if the
word
 on the crossword is clicked. Problem is that some clues will be on more
than
 one line so I am not sure how best to approach this and would appreciate
 some advice. Also I need to include a function to toggle the text between
 small and large. Btw I am programming this in Flash 8 with AS2.snip
 Any advice on how best to deal with this would be really appreciated.

Gary Rosenzweig has a really good book, Macromedia Flash MX ActionScript
for Fun and Games. I'm pretty sure it has the source for a crossword game
in it, and it's AS2. It's pretty cheap--around a dollar on Amazon. He also
has an updated book with AS3 code, ActionScript 3.0 Game Programming
University.

I haven't used this book, but I did use a similar book he had for Director,
and I adapted his crossword code for the now defunct Learning Network. It's
pretty good code, and easy to adapt. My version might even still be up on
Family Education Network (www.fen.com). I haven't checked, but they
inherited everything from Learning Network.

Cordially,

Kerry Thompson

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Advice on creating dynamic crossword cluesth resize function

2009-05-21 Thread allandt bik-elliott (thefieldcomic.com)
You could try something like
http://www.tutorialized.com/view/tutorial/Search-and-Replace-String-1.0/2913to
add html tags to the text string

if it was in as3, you could probably do this much better with regular
expressions

a

On Thu, May 21, 2009 at 11:32 AM, Kevin Bath ke...@flowdigital.co.ukwrote:

 Paul - I've knocked up a quick example of moving a masked movieclip which
 contains textfields populated by xml data. It should work with any length
 clue and demonstrates how to get a list of clues/textfields to autoscroll
 to
 a position - and resizes the highlight to match height of clue textfield.
 Just click on the numbers to get it to move.

 It's not pretty and the code is a bit rough (and in AS2) - but it
 demonstrates the principle. You may be well ahead of this by now - but I
 fancied a fiddle!

 You can grab it here. www.flowdigital.co.uk/download/crosswordclues.zip


 Kev.


 -Original Message-
 From: flashcoders-boun...@chattyfig.figleaf.com
 [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Paul
 Steven
 Sent: 21 May 2009 08:44
 To: 'Flash Coders List'
 Subject: RE: [Flashcoders] Advice on creating dynamic crossword cluesth
 resize function

 Thanks Kerry

 Yes I do have the Advanced Lingo for Games book that has a crossword
 puzzle example which has proven very helpful for the main engine behind the
 crossword. I also have ActionScript 3.0 Game Programming University but
 that only has a word search.

 My main problem is being able to highlight individual clues and ensure they
 are visible within the scrollable area. I need to be able to put a
 highlight
 over the entire clue (which can be one or more lines long). If I put all
 the
 clues in one text field, the scrolling works fine - I am just not sure how
 to determine how high the highlight should be - especially as this will
 change if the text size is toggled. If someone clicks on a word on the
 crossword, if the corresponding clue is not currently visible (due to the
 need to scroll to get to it) I need to adjust the scroll to ensure this
 clue
 is visible and then also highlight the clue. So I effectively need to know
 what the scroll position is to display each clue and also how to determine
 the top and bottom of this clue. The highlight will extend the entire width
 of the clue text field so there is no need to work out widths.

 Any suggestions most welcome.

 Thanks

 Paul





 -Original Message-
 From: flashcoders-boun...@chattyfig.figleaf.com
 [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Kerry
 Thompson
 Sent: 20 May 2009 20:11
 To: 'Flash Coders List'
 Subject: RE: [Flashcoders] Advice on creating dynamic crossword cluesth
 resize function

 Paul Steven wrote:

  I am creating a crossword where the words and clues are read in from an
 xml
  file. I need to be able to display the clues in a small area hence these
  will need to scroll. I also need to highlight a particular clue if the
 word
  on the crossword is clicked. Problem is that some clues will be on more
 than
  one line so I am not sure how best to approach this and would appreciate
  some advice. Also I need to include a function to toggle the text between
  small and large. Btw I am programming this in Flash 8 with AS2.snip
  Any advice on how best to deal with this would be really appreciated.

 Gary Rosenzweig has a really good book, Macromedia Flash MX ActionScript
 for Fun and Games. I'm pretty sure it has the source for a crossword game
 in it, and it's AS2. It's pretty cheap--around a dollar on Amazon. He also
 has an updated book with AS3 code, ActionScript 3.0 Game Programming
 University.

 I haven't used this book, but I did use a similar book he had for Director,
 and I adapted his crossword code for the now defunct Learning Network. It's
 pretty good code, and easy to adapt. My version might even still be up on
 Family Education Network (www.fen.com). I haven't checked, but they
 inherited everything from Learning Network.

 Cordially,

 Kerry Thompson

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] Advice on creating dynamic crossword cluesth resize function

2009-05-21 Thread Paul Steven
Hey thanks a million Kev! I will have a look at this now. I really
appreciate your time knocking up this file.

Cheers

Paul

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Kevin Bath
Sent: 21 May 2009 11:33
To: 'Flash Coders List'
Subject: RE: [Flashcoders] Advice on creating dynamic crossword cluesth
resize function

Paul - I've knocked up a quick example of moving a masked movieclip which
contains textfields populated by xml data. It should work with any length
clue and demonstrates how to get a list of clues/textfields to autoscroll to
a position - and resizes the highlight to match height of clue textfield.
Just click on the numbers to get it to move.

It's not pretty and the code is a bit rough (and in AS2) - but it
demonstrates the principle. You may be well ahead of this by now - but I
fancied a fiddle!

You can grab it here. www.flowdigital.co.uk/download/crosswordclues.zip


Kev.


-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Paul Steven
Sent: 21 May 2009 08:44
To: 'Flash Coders List'
Subject: RE: [Flashcoders] Advice on creating dynamic crossword cluesth
resize function

Thanks Kerry

Yes I do have the Advanced Lingo for Games book that has a crossword
puzzle example which has proven very helpful for the main engine behind the
crossword. I also have ActionScript 3.0 Game Programming University but
that only has a word search.

My main problem is being able to highlight individual clues and ensure they
are visible within the scrollable area. I need to be able to put a highlight
over the entire clue (which can be one or more lines long). If I put all the
clues in one text field, the scrolling works fine - I am just not sure how
to determine how high the highlight should be - especially as this will
change if the text size is toggled. If someone clicks on a word on the
crossword, if the corresponding clue is not currently visible (due to the
need to scroll to get to it) I need to adjust the scroll to ensure this clue
is visible and then also highlight the clue. So I effectively need to know
what the scroll position is to display each clue and also how to determine
the top and bottom of this clue. The highlight will extend the entire width
of the clue text field so there is no need to work out widths.

Any suggestions most welcome.

Thanks

Paul





-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Kerry
Thompson
Sent: 20 May 2009 20:11
To: 'Flash Coders List'
Subject: RE: [Flashcoders] Advice on creating dynamic crossword cluesth
resize function

Paul Steven wrote:

 I am creating a crossword where the words and clues are read in from an
xml
 file. I need to be able to display the clues in a small area hence these
 will need to scroll. I also need to highlight a particular clue if the
word
 on the crossword is clicked. Problem is that some clues will be on more
than
 one line so I am not sure how best to approach this and would appreciate
 some advice. Also I need to include a function to toggle the text between
 small and large. Btw I am programming this in Flash 8 with AS2.snip
 Any advice on how best to deal with this would be really appreciated.

Gary Rosenzweig has a really good book, Macromedia Flash MX ActionScript
for Fun and Games. I'm pretty sure it has the source for a crossword game
in it, and it's AS2. It's pretty cheap--around a dollar on Amazon. He also
has an updated book with AS3 code, ActionScript 3.0 Game Programming
University.

I haven't used this book, but I did use a similar book he had for Director,
and I adapted his crossword code for the now defunct Learning Network. It's
pretty good code, and easy to adapt. My version might even still be up on
Family Education Network (www.fen.com). I haven't checked, but they
inherited everything from Learning Network.

Cordially,

Kerry Thompson

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] Advice on creating dynamic crossword cluesth resize function

2009-05-21 Thread Paul Steven
There are no fonts mentioned in the code. And no fonts appear in font
mapping. I have even tried adding

txtClue.font = Times New Roman;

But the text just doesn't seem to want to display:(

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Glen Pike
Sent: 21 May 2009 12:38
To: Flash Coders List
Subject: Re: [Flashcoders] Advice on creating dynamic crossword cluesth
resize function

You are probly missing a font...

Paul Steven wrote:
 Kev, when I publish this for Flash Player 8 or 9 the text does not appear.
 It is definitely there as the highlights are the correct position and
size.
 Any idea why the text is not actually visible?

 Also out of curiousity what is the XMP metadata?

 Thanks

 Paul

 -Original Message-
 From: flashcoders-boun...@chattyfig.figleaf.com
 [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Kevin Bath
 Sent: 21 May 2009 11:33
 To: 'Flash Coders List'
 Subject: RE: [Flashcoders] Advice on creating dynamic crossword cluesth
 resize function

 Paul - I've knocked up a quick example of moving a masked movieclip which
 contains textfields populated by xml data. It should work with any length
 clue and demonstrates how to get a list of clues/textfields to autoscroll
to
 a position - and resizes the highlight to match height of clue textfield.
 Just click on the numbers to get it to move.

 It's not pretty and the code is a bit rough (and in AS2) - but it
 demonstrates the principle. You may be well ahead of this by now - but I
 fancied a fiddle!

 You can grab it here. www.flowdigital.co.uk/download/crosswordclues.zip


 Kev.


 -Original Message-
 From: flashcoders-boun...@chattyfig.figleaf.com
 [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Paul
Steven
 Sent: 21 May 2009 08:44
 To: 'Flash Coders List'
 Subject: RE: [Flashcoders] Advice on creating dynamic crossword cluesth
 resize function

 Thanks Kerry

 Yes I do have the Advanced Lingo for Games book that has a crossword
 puzzle example which has proven very helpful for the main engine behind
the
 crossword. I also have ActionScript 3.0 Game Programming University but
 that only has a word search.

 My main problem is being able to highlight individual clues and ensure
they
 are visible within the scrollable area. I need to be able to put a
highlight
 over the entire clue (which can be one or more lines long). If I put all
the
 clues in one text field, the scrolling works fine - I am just not sure how
 to determine how high the highlight should be - especially as this will
 change if the text size is toggled. If someone clicks on a word on the
 crossword, if the corresponding clue is not currently visible (due to the
 need to scroll to get to it) I need to adjust the scroll to ensure this
clue
 is visible and then also highlight the clue. So I effectively need to know
 what the scroll position is to display each clue and also how to determine
 the top and bottom of this clue. The highlight will extend the entire
width
 of the clue text field so there is no need to work out widths.

 Any suggestions most welcome.

 Thanks

 Paul





 -Original Message-
 From: flashcoders-boun...@chattyfig.figleaf.com
 [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Kerry
 Thompson
 Sent: 20 May 2009 20:11
 To: 'Flash Coders List'
 Subject: RE: [Flashcoders] Advice on creating dynamic crossword cluesth
 resize function

 Paul Steven wrote:

   
 I am creating a crossword where the words and clues are read in from an
 
 xml
   
 file. I need to be able to display the clues in a small area hence these
 will need to scroll. I also need to highlight a particular clue if the
 
 word
   
 on the crossword is clicked. Problem is that some clues will be on more
 
 than
   
 one line so I am not sure how best to approach this and would appreciate
 some advice. Also I need to include a function to toggle the text between
 small and large. Btw I am programming this in Flash 8 with AS2.snip
 Any advice on how best to deal with this would be really appreciated.
 

 Gary Rosenzweig has a really good book, Macromedia Flash MX ActionScript
 for Fun and Games. I'm pretty sure it has the source for a crossword game
 in it, and it's AS2. It's pretty cheap--around a dollar on Amazon. He also
 has an updated book with AS3 code, ActionScript 3.0 Game Programming
 University.

 I haven't used this book, but I did use a similar book he had for
Director,
 and I adapted his crossword code for the now defunct Learning Network.
It's
 pretty good code, and easy to adapt. My version might even still be up on
 Family Education Network (www.fen.com). I haven't checked, but they
 inherited everything from Learning Network.

 Cordially,

 Kerry Thompson

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo

Re: [Flashcoders] Advice on creating dynamic crossword cluesth resize function

2009-05-21 Thread Glen Pike

You are probly missing a font...

Paul Steven wrote:

Kev, when I publish this for Flash Player 8 or 9 the text does not appear.
It is definitely there as the highlights are the correct position and size.
Any idea why the text is not actually visible?

Also out of curiousity what is the XMP metadata?

Thanks

Paul

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Kevin Bath
Sent: 21 May 2009 11:33
To: 'Flash Coders List'
Subject: RE: [Flashcoders] Advice on creating dynamic crossword cluesth
resize function

Paul - I've knocked up a quick example of moving a masked movieclip which
contains textfields populated by xml data. It should work with any length
clue and demonstrates how to get a list of clues/textfields to autoscroll to
a position - and resizes the highlight to match height of clue textfield.
Just click on the numbers to get it to move.

It's not pretty and the code is a bit rough (and in AS2) - but it
demonstrates the principle. You may be well ahead of this by now - but I
fancied a fiddle!

You can grab it here. www.flowdigital.co.uk/download/crosswordclues.zip


Kev.


-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Paul Steven
Sent: 21 May 2009 08:44
To: 'Flash Coders List'
Subject: RE: [Flashcoders] Advice on creating dynamic crossword cluesth
resize function

Thanks Kerry

Yes I do have the Advanced Lingo for Games book that has a crossword
puzzle example which has proven very helpful for the main engine behind the
crossword. I also have ActionScript 3.0 Game Programming University but
that only has a word search.

My main problem is being able to highlight individual clues and ensure they
are visible within the scrollable area. I need to be able to put a highlight
over the entire clue (which can be one or more lines long). If I put all the
clues in one text field, the scrolling works fine - I am just not sure how
to determine how high the highlight should be - especially as this will
change if the text size is toggled. If someone clicks on a word on the
crossword, if the corresponding clue is not currently visible (due to the
need to scroll to get to it) I need to adjust the scroll to ensure this clue
is visible and then also highlight the clue. So I effectively need to know
what the scroll position is to display each clue and also how to determine
the top and bottom of this clue. The highlight will extend the entire width
of the clue text field so there is no need to work out widths.

Any suggestions most welcome.

Thanks

Paul





-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Kerry
Thompson
Sent: 20 May 2009 20:11
To: 'Flash Coders List'
Subject: RE: [Flashcoders] Advice on creating dynamic crossword cluesth
resize function

Paul Steven wrote:

  

I am creating a crossword where the words and clues are read in from an


xml
  

file. I need to be able to display the clues in a small area hence these
will need to scroll. I also need to highlight a particular clue if the


word
  

on the crossword is clicked. Problem is that some clues will be on more


than
  

one line so I am not sure how best to approach this and would appreciate
some advice. Also I need to include a function to toggle the text between
small and large. Btw I am programming this in Flash 8 with AS2.snip
Any advice on how best to deal with this would be really appreciated.



Gary Rosenzweig has a really good book, Macromedia Flash MX ActionScript
for Fun and Games. I'm pretty sure it has the source for a crossword game
in it, and it's AS2. It's pretty cheap--around a dollar on Amazon. He also
has an updated book with AS3 code, ActionScript 3.0 Game Programming
University.

I haven't used this book, but I did use a similar book he had for Director,
and I adapted his crossword code for the now defunct Learning Network. It's
pretty good code, and easy to adapt. My version might even still be up on
Family Education Network (www.fen.com). I haven't checked, but they
inherited everything from Learning Network.

Cordially,

Kerry Thompson

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] Advice on creating dynamic crossword cluesth resize function

2009-05-21 Thread Paul Steven
Kev, when I publish this for Flash Player 8 or 9 the text does not appear.
It is definitely there as the highlights are the correct position and size.
Any idea why the text is not actually visible?

Also out of curiousity what is the XMP metadata?

Thanks

Paul

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Kevin Bath
Sent: 21 May 2009 11:33
To: 'Flash Coders List'
Subject: RE: [Flashcoders] Advice on creating dynamic crossword cluesth
resize function

Paul - I've knocked up a quick example of moving a masked movieclip which
contains textfields populated by xml data. It should work with any length
clue and demonstrates how to get a list of clues/textfields to autoscroll to
a position - and resizes the highlight to match height of clue textfield.
Just click on the numbers to get it to move.

It's not pretty and the code is a bit rough (and in AS2) - but it
demonstrates the principle. You may be well ahead of this by now - but I
fancied a fiddle!

You can grab it here. www.flowdigital.co.uk/download/crosswordclues.zip


Kev.


-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Paul Steven
Sent: 21 May 2009 08:44
To: 'Flash Coders List'
Subject: RE: [Flashcoders] Advice on creating dynamic crossword cluesth
resize function

Thanks Kerry

Yes I do have the Advanced Lingo for Games book that has a crossword
puzzle example which has proven very helpful for the main engine behind the
crossword. I also have ActionScript 3.0 Game Programming University but
that only has a word search.

My main problem is being able to highlight individual clues and ensure they
are visible within the scrollable area. I need to be able to put a highlight
over the entire clue (which can be one or more lines long). If I put all the
clues in one text field, the scrolling works fine - I am just not sure how
to determine how high the highlight should be - especially as this will
change if the text size is toggled. If someone clicks on a word on the
crossword, if the corresponding clue is not currently visible (due to the
need to scroll to get to it) I need to adjust the scroll to ensure this clue
is visible and then also highlight the clue. So I effectively need to know
what the scroll position is to display each clue and also how to determine
the top and bottom of this clue. The highlight will extend the entire width
of the clue text field so there is no need to work out widths.

Any suggestions most welcome.

Thanks

Paul





-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Kerry
Thompson
Sent: 20 May 2009 20:11
To: 'Flash Coders List'
Subject: RE: [Flashcoders] Advice on creating dynamic crossword cluesth
resize function

Paul Steven wrote:

 I am creating a crossword where the words and clues are read in from an
xml
 file. I need to be able to display the clues in a small area hence these
 will need to scroll. I also need to highlight a particular clue if the
word
 on the crossword is clicked. Problem is that some clues will be on more
than
 one line so I am not sure how best to approach this and would appreciate
 some advice. Also I need to include a function to toggle the text between
 small and large. Btw I am programming this in Flash 8 with AS2.snip
 Any advice on how best to deal with this would be really appreciated.

Gary Rosenzweig has a really good book, Macromedia Flash MX ActionScript
for Fun and Games. I'm pretty sure it has the source for a crossword game
in it, and it's AS2. It's pretty cheap--around a dollar on Amazon. He also
has an updated book with AS3 code, ActionScript 3.0 Game Programming
University.

I haven't used this book, but I did use a similar book he had for Director,
and I adapted his crossword code for the now defunct Learning Network. It's
pretty good code, and easy to adapt. My version might even still be up on
Family Education Network (www.fen.com). I haven't checked, but they
inherited everything from Learning Network.

Cordially,

Kerry Thompson

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Advice on creating dynamic crossword cluesth resize function

2009-05-21 Thread Glen Pike
I am guessing you might want to publish for older players to see it 
working - can't open the file as I only have CS3 here, sorry.


Try chucking a text field with the Times font embedded off the stage 
somewhere - not sure if that helps, but it might...


XMP metadata is Adobe's proprietry XML structure for adding info to 
files - I guess this helps exchanging data between Adobe products...


http://en.wikipedia.org/wiki/Extensible_Metadata_Platform

HTH

Glen


Paul Steven wrote:

There are no fonts mentioned in the code. And no fonts appear in font
mapping. I have even tried adding

txtClue.font = Times New Roman;

But the text just doesn't seem to want to display:(

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Glen Pike
Sent: 21 May 2009 12:38
To: Flash Coders List
Subject: Re: [Flashcoders] Advice on creating dynamic crossword cluesth
resize function

You are probly missing a font...

Paul Steven wrote:
  

Kev, when I publish this for Flash Player 8 or 9 the text does not appear.
It is definitely there as the highlights are the correct position and


size.
  

Any idea why the text is not actually visible?

Also out of curiousity what is the XMP metadata?

Thanks

Paul

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Kevin Bath
Sent: 21 May 2009 11:33
To: 'Flash Coders List'
Subject: RE: [Flashcoders] Advice on creating dynamic crossword cluesth
resize function

Paul - I've knocked up a quick example of moving a masked movieclip which
contains textfields populated by xml data. It should work with any length
clue and demonstrates how to get a list of clues/textfields to autoscroll


to
  

a position - and resizes the highlight to match height of clue textfield.
Just click on the numbers to get it to move.

It's not pretty and the code is a bit rough (and in AS2) - but it
demonstrates the principle. You may be well ahead of this by now - but I
fancied a fiddle!

You can grab it here. www.flowdigital.co.uk/download/crosswordclues.zip


Kev.


-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Paul


Steven
  

Sent: 21 May 2009 08:44
To: 'Flash Coders List'
Subject: RE: [Flashcoders] Advice on creating dynamic crossword cluesth
resize function

Thanks Kerry

Yes I do have the Advanced Lingo for Games book that has a crossword
puzzle example which has proven very helpful for the main engine behind


the
  

crossword. I also have ActionScript 3.0 Game Programming University but
that only has a word search.

My main problem is being able to highlight individual clues and ensure


they
  

are visible within the scrollable area. I need to be able to put a


highlight
  

over the entire clue (which can be one or more lines long). If I put all


the
  

clues in one text field, the scrolling works fine - I am just not sure how
to determine how high the highlight should be - especially as this will
change if the text size is toggled. If someone clicks on a word on the
crossword, if the corresponding clue is not currently visible (due to the
need to scroll to get to it) I need to adjust the scroll to ensure this


clue
  

is visible and then also highlight the clue. So I effectively need to know
what the scroll position is to display each clue and also how to determine
the top and bottom of this clue. The highlight will extend the entire


width
  

of the clue text field so there is no need to work out widths.

Any suggestions most welcome.

Thanks

Paul





-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Kerry
Thompson
Sent: 20 May 2009 20:11
To: 'Flash Coders List'
Subject: RE: [Flashcoders] Advice on creating dynamic crossword cluesth
resize function

Paul Steven wrote:

  


I am creating a crossword where the words and clues are read in from an

  

xml
  


file. I need to be able to display the clues in a small area hence these
will need to scroll. I also need to highlight a particular clue if the

  

word
  


on the crossword is clicked. Problem is that some clues will be on more

  

than
  


one line so I am not sure how best to approach this and would appreciate
some advice. Also I need to include a function to toggle the text between
small and large. Btw I am programming this in Flash 8 with AS2.snip
Any advice on how best to deal with this would be really appreciated.

  

Gary Rosenzweig has a really good book, Macromedia Flash MX ActionScript
for Fun and Games. I'm pretty sure it has the source for a crossword game
in it, and it's AS2. It's pretty cheap--around a dollar on Amazon. He also
has an updated book with AS3 code, ActionScript 3.0 Game

RE: [Flashcoders] Advice on creating dynamic crossword cluesth resize function

2009-05-21 Thread Kevin Bath
Hmm...

See what you mean. FP 10 - font is visible - FP 9, 8 - not showing. Strange.

Pretty sure it is an embedded font issue as Glen says - as when mask is
removed font shows.

Will have a play...

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Glen Pike
Sent: 21 May 2009 12:38
To: Flash Coders List
Subject: Re: [Flashcoders] Advice on creating dynamic crossword cluesth
resize function

You are probly missing a font...

Paul Steven wrote:
 Kev, when I publish this for Flash Player 8 or 9 the text does not appear.
 It is definitely there as the highlights are the correct position and
size.
 Any idea why the text is not actually visible?

 Also out of curiousity what is the XMP metadata?

 Thanks

 Paul

 -Original Message-
 From: flashcoders-boun...@chattyfig.figleaf.com
 [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Kevin Bath
 Sent: 21 May 2009 11:33
 To: 'Flash Coders List'
 Subject: RE: [Flashcoders] Advice on creating dynamic crossword cluesth
 resize function

 Paul - I've knocked up a quick example of moving a masked movieclip which
 contains textfields populated by xml data. It should work with any length
 clue and demonstrates how to get a list of clues/textfields to autoscroll
to
 a position - and resizes the highlight to match height of clue textfield.
 Just click on the numbers to get it to move.

 It's not pretty and the code is a bit rough (and in AS2) - but it
 demonstrates the principle. You may be well ahead of this by now - but I
 fancied a fiddle!

 You can grab it here. www.flowdigital.co.uk/download/crosswordclues.zip


 Kev.


 -Original Message-
 From: flashcoders-boun...@chattyfig.figleaf.com
 [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Paul
Steven
 Sent: 21 May 2009 08:44
 To: 'Flash Coders List'
 Subject: RE: [Flashcoders] Advice on creating dynamic crossword cluesth
 resize function

 Thanks Kerry

 Yes I do have the Advanced Lingo for Games book that has a crossword
 puzzle example which has proven very helpful for the main engine behind
the
 crossword. I also have ActionScript 3.0 Game Programming University but
 that only has a word search.

 My main problem is being able to highlight individual clues and ensure
they
 are visible within the scrollable area. I need to be able to put a
highlight
 over the entire clue (which can be one or more lines long). If I put all
the
 clues in one text field, the scrolling works fine - I am just not sure how
 to determine how high the highlight should be - especially as this will
 change if the text size is toggled. If someone clicks on a word on the
 crossword, if the corresponding clue is not currently visible (due to the
 need to scroll to get to it) I need to adjust the scroll to ensure this
clue
 is visible and then also highlight the clue. So I effectively need to know
 what the scroll position is to display each clue and also how to determine
 the top and bottom of this clue. The highlight will extend the entire
width
 of the clue text field so there is no need to work out widths.

 Any suggestions most welcome.

 Thanks

 Paul





 -Original Message-
 From: flashcoders-boun...@chattyfig.figleaf.com
 [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Kerry
 Thompson
 Sent: 20 May 2009 20:11
 To: 'Flash Coders List'
 Subject: RE: [Flashcoders] Advice on creating dynamic crossword cluesth
 resize function

 Paul Steven wrote:

   
 I am creating a crossword where the words and clues are read in from an
 
 xml
   
 file. I need to be able to display the clues in a small area hence these
 will need to scroll. I also need to highlight a particular clue if the
 
 word
   
 on the crossword is clicked. Problem is that some clues will be on more
 
 than
   
 one line so I am not sure how best to approach this and would appreciate
 some advice. Also I need to include a function to toggle the text between
 small and large. Btw I am programming this in Flash 8 with AS2.snip
 Any advice on how best to deal with this would be really appreciated.
 

 Gary Rosenzweig has a really good book, Macromedia Flash MX ActionScript
 for Fun and Games. I'm pretty sure it has the source for a crossword game
 in it, and it's AS2. It's pretty cheap--around a dollar on Amazon. He also
 has an updated book with AS3 code, ActionScript 3.0 Game Programming
 University.

 I haven't used this book, but I did use a similar book he had for
Director,
 and I adapted his crossword code for the now defunct Learning Network.
It's
 pretty good code, and easy to adapt. My version might even still be up on
 Family Education Network (www.fen.com). I haven't checked, but they
 inherited everything from Learning Network.

 Cordially,

 Kerry Thompson

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman

RE: [Flashcoders] Advice on creating dynamic crossword cluesth resize function

2009-05-21 Thread Kevin Bath
Yay! Will work with FP9 and 8 if you add...

txtClue.embedFonts = true;

(doh - sorry)

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Paul Steven
Sent: 21 May 2009 12:41
To: 'Flash Coders List'
Subject: RE: [Flashcoders] Advice on creating dynamic crossword cluesth
resize function

There are no fonts mentioned in the code. And no fonts appear in font
mapping. I have even tried adding

txtClue.font = Times New Roman;

But the text just doesn't seem to want to display:(

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Glen Pike
Sent: 21 May 2009 12:38
To: Flash Coders List
Subject: Re: [Flashcoders] Advice on creating dynamic crossword cluesth
resize function

You are probly missing a font...

Paul Steven wrote:
 Kev, when I publish this for Flash Player 8 or 9 the text does not appear.
 It is definitely there as the highlights are the correct position and
size.
 Any idea why the text is not actually visible?

 Also out of curiousity what is the XMP metadata?

 Thanks

 Paul

 -Original Message-
 From: flashcoders-boun...@chattyfig.figleaf.com
 [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Kevin Bath
 Sent: 21 May 2009 11:33
 To: 'Flash Coders List'
 Subject: RE: [Flashcoders] Advice on creating dynamic crossword cluesth
 resize function

 Paul - I've knocked up a quick example of moving a masked movieclip which
 contains textfields populated by xml data. It should work with any length
 clue and demonstrates how to get a list of clues/textfields to autoscroll
to
 a position - and resizes the highlight to match height of clue textfield.
 Just click on the numbers to get it to move.

 It's not pretty and the code is a bit rough (and in AS2) - but it
 demonstrates the principle. You may be well ahead of this by now - but I
 fancied a fiddle!

 You can grab it here. www.flowdigital.co.uk/download/crosswordclues.zip


 Kev.


 -Original Message-
 From: flashcoders-boun...@chattyfig.figleaf.com
 [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Paul
Steven
 Sent: 21 May 2009 08:44
 To: 'Flash Coders List'
 Subject: RE: [Flashcoders] Advice on creating dynamic crossword cluesth
 resize function

 Thanks Kerry

 Yes I do have the Advanced Lingo for Games book that has a crossword
 puzzle example which has proven very helpful for the main engine behind
the
 crossword. I also have ActionScript 3.0 Game Programming University but
 that only has a word search.

 My main problem is being able to highlight individual clues and ensure
they
 are visible within the scrollable area. I need to be able to put a
highlight
 over the entire clue (which can be one or more lines long). If I put all
the
 clues in one text field, the scrolling works fine - I am just not sure how
 to determine how high the highlight should be - especially as this will
 change if the text size is toggled. If someone clicks on a word on the
 crossword, if the corresponding clue is not currently visible (due to the
 need to scroll to get to it) I need to adjust the scroll to ensure this
clue
 is visible and then also highlight the clue. So I effectively need to know
 what the scroll position is to display each clue and also how to determine
 the top and bottom of this clue. The highlight will extend the entire
width
 of the clue text field so there is no need to work out widths.

 Any suggestions most welcome.

 Thanks

 Paul





 -Original Message-
 From: flashcoders-boun...@chattyfig.figleaf.com
 [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Kerry
 Thompson
 Sent: 20 May 2009 20:11
 To: 'Flash Coders List'
 Subject: RE: [Flashcoders] Advice on creating dynamic crossword cluesth
 resize function

 Paul Steven wrote:

   
 I am creating a crossword where the words and clues are read in from an
 
 xml
   
 file. I need to be able to display the clues in a small area hence these
 will need to scroll. I also need to highlight a particular clue if the
 
 word
   
 on the crossword is clicked. Problem is that some clues will be on more
 
 than
   
 one line so I am not sure how best to approach this and would appreciate
 some advice. Also I need to include a function to toggle the text between
 small and large. Btw I am programming this in Flash 8 with AS2.snip
 Any advice on how best to deal with this would be really appreciated.
 

 Gary Rosenzweig has a really good book, Macromedia Flash MX ActionScript
 for Fun and Games. I'm pretty sure it has the source for a crossword game
 in it, and it's AS2. It's pretty cheap--around a dollar on Amazon. He also
 has an updated book with AS3 code, ActionScript 3.0 Game Programming
 University.

 I haven't used this book, but I did use a similar book he had for
Director,
 and I adapted his crossword code for the now defunct Learning Network.
It's

RE: [Flashcoders] Advice on creating dynamic crossword cluesth resize function

2009-05-21 Thread Paul Steven
Bah - added the txtClue.embedFonts = true; but still no text. Is there a
particular font I need to have? I can't see any reference to any particular
font

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Kevin Bath
Sent: 21 May 2009 13:50
To: 'Flash Coders List'
Subject: RE: [Flashcoders] Advice on creating dynamic crossword cluesth
resize function

Yay! Will work with FP9 and 8 if you add...

txtClue.embedFonts = true;

(doh - sorry)

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Paul Steven
Sent: 21 May 2009 12:41
To: 'Flash Coders List'
Subject: RE: [Flashcoders] Advice on creating dynamic crossword cluesth
resize function

There are no fonts mentioned in the code. And no fonts appear in font
mapping. I have even tried adding

txtClue.font = Times New Roman;

But the text just doesn't seem to want to display:(

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Glen Pike
Sent: 21 May 2009 12:38
To: Flash Coders List
Subject: Re: [Flashcoders] Advice on creating dynamic crossword cluesth
resize function

You are probly missing a font...

Paul Steven wrote:
 Kev, when I publish this for Flash Player 8 or 9 the text does not appear.
 It is definitely there as the highlights are the correct position and
size.
 Any idea why the text is not actually visible?

 Also out of curiousity what is the XMP metadata?

 Thanks

 Paul

 -Original Message-
 From: flashcoders-boun...@chattyfig.figleaf.com
 [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Kevin Bath
 Sent: 21 May 2009 11:33
 To: 'Flash Coders List'
 Subject: RE: [Flashcoders] Advice on creating dynamic crossword cluesth
 resize function

 Paul - I've knocked up a quick example of moving a masked movieclip which
 contains textfields populated by xml data. It should work with any length
 clue and demonstrates how to get a list of clues/textfields to autoscroll
to
 a position - and resizes the highlight to match height of clue textfield.
 Just click on the numbers to get it to move.

 It's not pretty and the code is a bit rough (and in AS2) - but it
 demonstrates the principle. You may be well ahead of this by now - but I
 fancied a fiddle!

 You can grab it here. www.flowdigital.co.uk/download/crosswordclues.zip


 Kev.


 -Original Message-
 From: flashcoders-boun...@chattyfig.figleaf.com
 [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Paul
Steven
 Sent: 21 May 2009 08:44
 To: 'Flash Coders List'
 Subject: RE: [Flashcoders] Advice on creating dynamic crossword cluesth
 resize function

 Thanks Kerry

 Yes I do have the Advanced Lingo for Games book that has a crossword
 puzzle example which has proven very helpful for the main engine behind
the
 crossword. I also have ActionScript 3.0 Game Programming University but
 that only has a word search.

 My main problem is being able to highlight individual clues and ensure
they
 are visible within the scrollable area. I need to be able to put a
highlight
 over the entire clue (which can be one or more lines long). If I put all
the
 clues in one text field, the scrolling works fine - I am just not sure how
 to determine how high the highlight should be - especially as this will
 change if the text size is toggled. If someone clicks on a word on the
 crossword, if the corresponding clue is not currently visible (due to the
 need to scroll to get to it) I need to adjust the scroll to ensure this
clue
 is visible and then also highlight the clue. So I effectively need to know
 what the scroll position is to display each clue and also how to determine
 the top and bottom of this clue. The highlight will extend the entire
width
 of the clue text field so there is no need to work out widths.

 Any suggestions most welcome.

 Thanks

 Paul





 -Original Message-
 From: flashcoders-boun...@chattyfig.figleaf.com
 [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Kerry
 Thompson
 Sent: 20 May 2009 20:11
 To: 'Flash Coders List'
 Subject: RE: [Flashcoders] Advice on creating dynamic crossword cluesth
 resize function

 Paul Steven wrote:

   
 I am creating a crossword where the words and clues are read in from an
 
 xml
   
 file. I need to be able to display the clues in a small area hence these
 will need to scroll. I also need to highlight a particular clue if the
 
 word
   
 on the crossword is clicked. Problem is that some clues will be on more
 
 than
   
 one line so I am not sure how best to approach this and would appreciate
 some advice. Also I need to include a function to toggle the text between
 small and large. Btw I am programming this in Flash 8 with AS2.snip
 Any advice on how best to deal with this would be really appreciated.
 

 Gary Rosenzweig has

RE: [Flashcoders] Advice on creating dynamic crossword cluesth resize function

2009-05-21 Thread Paul Steven
Hey no apologies requires - I think a big thank you is more appropriate!

Cheers - this is a really nice implementation!



-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Kevin Bath
Sent: 21 May 2009 13:50
To: 'Flash Coders List'
Subject: RE: [Flashcoders] Advice on creating dynamic crossword cluesth
resize function

Yay! Will work with FP9 and 8 if you add...

txtClue.embedFonts = true;

(doh - sorry)

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Paul Steven
Sent: 21 May 2009 12:41
To: 'Flash Coders List'
Subject: RE: [Flashcoders] Advice on creating dynamic crossword cluesth
resize function

There are no fonts mentioned in the code. And no fonts appear in font
mapping. I have even tried adding

txtClue.font = Times New Roman;

But the text just doesn't seem to want to display:(

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Glen Pike
Sent: 21 May 2009 12:38
To: Flash Coders List
Subject: Re: [Flashcoders] Advice on creating dynamic crossword cluesth
resize function

You are probly missing a font...

Paul Steven wrote:
 Kev, when I publish this for Flash Player 8 or 9 the text does not appear.
 It is definitely there as the highlights are the correct position and
size.
 Any idea why the text is not actually visible?

 Also out of curiousity what is the XMP metadata?

 Thanks

 Paul

 -Original Message-
 From: flashcoders-boun...@chattyfig.figleaf.com
 [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Kevin Bath
 Sent: 21 May 2009 11:33
 To: 'Flash Coders List'
 Subject: RE: [Flashcoders] Advice on creating dynamic crossword cluesth
 resize function

 Paul - I've knocked up a quick example of moving a masked movieclip which
 contains textfields populated by xml data. It should work with any length
 clue and demonstrates how to get a list of clues/textfields to autoscroll
to
 a position - and resizes the highlight to match height of clue textfield.
 Just click on the numbers to get it to move.

 It's not pretty and the code is a bit rough (and in AS2) - but it
 demonstrates the principle. You may be well ahead of this by now - but I
 fancied a fiddle!

 You can grab it here. www.flowdigital.co.uk/download/crosswordclues.zip


 Kev.


 -Original Message-
 From: flashcoders-boun...@chattyfig.figleaf.com
 [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Paul
Steven
 Sent: 21 May 2009 08:44
 To: 'Flash Coders List'
 Subject: RE: [Flashcoders] Advice on creating dynamic crossword cluesth
 resize function

 Thanks Kerry

 Yes I do have the Advanced Lingo for Games book that has a crossword
 puzzle example which has proven very helpful for the main engine behind
the
 crossword. I also have ActionScript 3.0 Game Programming University but
 that only has a word search.

 My main problem is being able to highlight individual clues and ensure
they
 are visible within the scrollable area. I need to be able to put a
highlight
 over the entire clue (which can be one or more lines long). If I put all
the
 clues in one text field, the scrolling works fine - I am just not sure how
 to determine how high the highlight should be - especially as this will
 change if the text size is toggled. If someone clicks on a word on the
 crossword, if the corresponding clue is not currently visible (due to the
 need to scroll to get to it) I need to adjust the scroll to ensure this
clue
 is visible and then also highlight the clue. So I effectively need to know
 what the scroll position is to display each clue and also how to determine
 the top and bottom of this clue. The highlight will extend the entire
width
 of the clue text field so there is no need to work out widths.

 Any suggestions most welcome.

 Thanks

 Paul





 -Original Message-
 From: flashcoders-boun...@chattyfig.figleaf.com
 [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Kerry
 Thompson
 Sent: 20 May 2009 20:11
 To: 'Flash Coders List'
 Subject: RE: [Flashcoders] Advice on creating dynamic crossword cluesth
 resize function

 Paul Steven wrote:

   
 I am creating a crossword where the words and clues are read in from an
 
 xml
   
 file. I need to be able to display the clues in a small area hence these
 will need to scroll. I also need to highlight a particular clue if the
 
 word
   
 on the crossword is clicked. Problem is that some clues will be on more
 
 than
   
 one line so I am not sure how best to approach this and would appreciate
 some advice. Also I need to include a function to toggle the text between
 small and large. Btw I am programming this in Flash 8 with AS2.snip
 Any advice on how best to deal with this would be really appreciated.
 

 Gary Rosenzweig has a really good book, Macromedia

RE: [Flashcoders] Advice on creating dynamic crossword cluesth resize function

2009-05-21 Thread Kevin Bath
Now Glen's suggestion will work - just stick a dynamic textfield offscreen,
set font to Times New Roman, and embed fonts in that. That seems to make the
font available to FP8  9.



-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Paul Steven
Sent: 21 May 2009 14:32
To: 'Flash Coders List'
Subject: RE: [Flashcoders] Advice on creating dynamic crossword cluesth
resize function

Bah - added the txtClue.embedFonts = true; but still no text. Is there a
particular font I need to have? I can't see any reference to any particular
font

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Kevin Bath
Sent: 21 May 2009 13:50
To: 'Flash Coders List'
Subject: RE: [Flashcoders] Advice on creating dynamic crossword cluesth
resize function

Yay! Will work with FP9 and 8 if you add...

txtClue.embedFonts = true;

(doh - sorry)

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Paul Steven
Sent: 21 May 2009 12:41
To: 'Flash Coders List'
Subject: RE: [Flashcoders] Advice on creating dynamic crossword cluesth
resize function

There are no fonts mentioned in the code. And no fonts appear in font
mapping. I have even tried adding

txtClue.font = Times New Roman;

But the text just doesn't seem to want to display:(

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Glen Pike
Sent: 21 May 2009 12:38
To: Flash Coders List
Subject: Re: [Flashcoders] Advice on creating dynamic crossword cluesth
resize function

You are probly missing a font...

Paul Steven wrote:
 Kev, when I publish this for Flash Player 8 or 9 the text does not appear.
 It is definitely there as the highlights are the correct position and
size.
 Any idea why the text is not actually visible?

 Also out of curiousity what is the XMP metadata?

 Thanks

 Paul

 -Original Message-
 From: flashcoders-boun...@chattyfig.figleaf.com
 [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Kevin Bath
 Sent: 21 May 2009 11:33
 To: 'Flash Coders List'
 Subject: RE: [Flashcoders] Advice on creating dynamic crossword cluesth
 resize function

 Paul - I've knocked up a quick example of moving a masked movieclip which
 contains textfields populated by xml data. It should work with any length
 clue and demonstrates how to get a list of clues/textfields to autoscroll
to
 a position - and resizes the highlight to match height of clue textfield.
 Just click on the numbers to get it to move.

 It's not pretty and the code is a bit rough (and in AS2) - but it
 demonstrates the principle. You may be well ahead of this by now - but I
 fancied a fiddle!

 You can grab it here. www.flowdigital.co.uk/download/crosswordclues.zip


 Kev.


 -Original Message-
 From: flashcoders-boun...@chattyfig.figleaf.com
 [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Paul
Steven
 Sent: 21 May 2009 08:44
 To: 'Flash Coders List'
 Subject: RE: [Flashcoders] Advice on creating dynamic crossword cluesth
 resize function

 Thanks Kerry

 Yes I do have the Advanced Lingo for Games book that has a crossword
 puzzle example which has proven very helpful for the main engine behind
the
 crossword. I also have ActionScript 3.0 Game Programming University but
 that only has a word search.

 My main problem is being able to highlight individual clues and ensure
they
 are visible within the scrollable area. I need to be able to put a
highlight
 over the entire clue (which can be one or more lines long). If I put all
the
 clues in one text field, the scrolling works fine - I am just not sure how
 to determine how high the highlight should be - especially as this will
 change if the text size is toggled. If someone clicks on a word on the
 crossword, if the corresponding clue is not currently visible (due to the
 need to scroll to get to it) I need to adjust the scroll to ensure this
clue
 is visible and then also highlight the clue. So I effectively need to know
 what the scroll position is to display each clue and also how to determine
 the top and bottom of this clue. The highlight will extend the entire
width
 of the clue text field so there is no need to work out widths.

 Any suggestions most welcome.

 Thanks

 Paul





 -Original Message-
 From: flashcoders-boun...@chattyfig.figleaf.com
 [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Kerry
 Thompson
 Sent: 20 May 2009 20:11
 To: 'Flash Coders List'
 Subject: RE: [Flashcoders] Advice on creating dynamic crossword cluesth
 resize function

 Paul Steven wrote:

   
 I am creating a crossword where the words and clues are read in from an
 
 xml
   
 file. I need to be able to display the clues in a small area hence these
 will need to scroll. I

RE: [Flashcoders] Advice on creating dynamic crossword cluesth resize function

2009-05-21 Thread Paul Steven
Thanks Glen

Unfortunately that didn't work. Perhaps my PC is just playing up?! 

Cheers

Paul

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Glen Pike
Sent: 21 May 2009 12:55
To: Flash Coders List
Subject: Re: [Flashcoders] Advice on creating dynamic crossword cluesth
resize function

I am guessing you might want to publish for older players to see it 
working - can't open the file as I only have CS3 here, sorry.

Try chucking a text field with the Times font embedded off the stage 
somewhere - not sure if that helps, but it might...

XMP metadata is Adobe's proprietry XML structure for adding info to 
files - I guess this helps exchanging data between Adobe products...

http://en.wikipedia.org/wiki/Extensible_Metadata_Platform

HTH

Glen


Paul Steven wrote:
 There are no fonts mentioned in the code. And no fonts appear in font
 mapping. I have even tried adding

 txtClue.font = Times New Roman;

 But the text just doesn't seem to want to display:(

 -Original Message-
 From: flashcoders-boun...@chattyfig.figleaf.com
 [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Glen Pike
 Sent: 21 May 2009 12:38
 To: Flash Coders List
 Subject: Re: [Flashcoders] Advice on creating dynamic crossword cluesth
 resize function

 You are probly missing a font...

 Paul Steven wrote:
   
 Kev, when I publish this for Flash Player 8 or 9 the text does not
appear.
 It is definitely there as the highlights are the correct position and
 
 size.
   
 Any idea why the text is not actually visible?

 Also out of curiousity what is the XMP metadata?

 Thanks

 Paul

 -Original Message-
 From: flashcoders-boun...@chattyfig.figleaf.com
 [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Kevin
Bath
 Sent: 21 May 2009 11:33
 To: 'Flash Coders List'
 Subject: RE: [Flashcoders] Advice on creating dynamic crossword cluesth
 resize function

 Paul - I've knocked up a quick example of moving a masked movieclip which
 contains textfields populated by xml data. It should work with any length
 clue and demonstrates how to get a list of clues/textfields to autoscroll
 
 to
   
 a position - and resizes the highlight to match height of clue textfield.
 Just click on the numbers to get it to move.

 It's not pretty and the code is a bit rough (and in AS2) - but it
 demonstrates the principle. You may be well ahead of this by now - but I
 fancied a fiddle!

 You can grab it here. www.flowdigital.co.uk/download/crosswordclues.zip


 Kev.


 -Original Message-
 From: flashcoders-boun...@chattyfig.figleaf.com
 [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Paul
 
 Steven
   
 Sent: 21 May 2009 08:44
 To: 'Flash Coders List'
 Subject: RE: [Flashcoders] Advice on creating dynamic crossword cluesth
 resize function

 Thanks Kerry

 Yes I do have the Advanced Lingo for Games book that has a crossword
 puzzle example which has proven very helpful for the main engine behind
 
 the
   
 crossword. I also have ActionScript 3.0 Game Programming University but
 that only has a word search.

 My main problem is being able to highlight individual clues and ensure
 
 they
   
 are visible within the scrollable area. I need to be able to put a
 
 highlight
   
 over the entire clue (which can be one or more lines long). If I put all
 
 the
   
 clues in one text field, the scrolling works fine - I am just not sure
how
 to determine how high the highlight should be - especially as this will
 change if the text size is toggled. If someone clicks on a word on the
 crossword, if the corresponding clue is not currently visible (due to the
 need to scroll to get to it) I need to adjust the scroll to ensure this
 
 clue
   
 is visible and then also highlight the clue. So I effectively need to
know
 what the scroll position is to display each clue and also how to
determine
 the top and bottom of this clue. The highlight will extend the entire
 
 width
   
 of the clue text field so there is no need to work out widths.

 Any suggestions most welcome.

 Thanks

 Paul





 -Original Message-
 From: flashcoders-boun...@chattyfig.figleaf.com
 [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Kerry
 Thompson
 Sent: 20 May 2009 20:11
 To: 'Flash Coders List'
 Subject: RE: [Flashcoders] Advice on creating dynamic crossword cluesth
 resize function

 Paul Steven wrote:

   
 
 I am creating a crossword where the words and clues are read in from an
 
   
 xml
   
 
 file. I need to be able to display the clues in a small area hence these
 will need to scroll. I also need to highlight a particular clue if the
 
   
 word
   
 
 on the crossword is clicked. Problem is that some clues will be on more
 
   
 than
   
 
 one line so I am not sure how best to approach this and would appreciate
 some advice. Also I need

Re: [Flashcoders] Advice on creating dynamic crossword cluesth resize function

2009-05-21 Thread Charles Parcell
But will Kevin make an honest file? :) Couldn't resist.

Charles P.


On Thu, May 21, 2009 at 7:19 AM, Paul Steven paul_ste...@btinternet.comwrote:

 snip I really appreciate your time knocking up this file.

 Cheers

 Paul

 -Original Message-

 I've knocked up a quick example of moving a masked movieclip which
 contains textfields populated by xml data.snip

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] Advice on creating dynamic crossword cluesth resize function

2009-05-20 Thread Kerry Thompson
Paul Steven wrote:

 I am creating a crossword where the words and clues are read in from an
xml
 file. I need to be able to display the clues in a small area hence these
 will need to scroll. I also need to highlight a particular clue if the
word
 on the crossword is clicked. Problem is that some clues will be on more
than
 one line so I am not sure how best to approach this and would appreciate
 some advice. Also I need to include a function to toggle the text between
 small and large. Btw I am programming this in Flash 8 with AS2.snip
 Any advice on how best to deal with this would be really appreciated.

Gary Rosenzweig has a really good book, Macromedia Flash MX ActionScript
for Fun and Games. I'm pretty sure it has the source for a crossword game
in it, and it's AS2. It's pretty cheap--around a dollar on Amazon. He also
has an updated book with AS3 code, ActionScript 3.0 Game Programming
University.

I haven't used this book, but I did use a similar book he had for Director,
and I adapted his crossword code for the now defunct Learning Network. It's
pretty good code, and easy to adapt. My version might even still be up on
Family Education Network (www.fen.com). I haven't checked, but they
inherited everything from Learning Network.

Cordially,

Kerry Thompson

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] Advice on creating dynamic crossword cluesth resize function

2009-05-20 Thread Kevin Bath
Paul - why don't you use a scrollpane, add all the clues as separate mc's
into this component. That way you can target them separately to change the
text colour if you click on a square. You could space the clue mc's by using
the textheight property of the textfield within the clue mc.

If you toggle the text size - you'll just have to iterate through all the
clips in the scrollpane and re-space them out.

You'll have to display both across and down clues if you click on certain
squares. 

There may be better ways though!

rgds - Kevin.



-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Paul Steven
Sent: 20 May 2009 19:45
To: 'Flash Coders List'
Subject: [Flashcoders] Advice on creating dynamic crossword cluesth resize
function

I am creating a crossword where the words and clues are read in from an xml
file. I need to be able to display the clues in a small area hence these
will need to scroll. I also need to highlight a particular clue if the word
on the crossword is clicked. Problem is that some clues will be on more than
one line so I am not sure how best to approach this and would appreciate
some advice. Also I need to include a function to toggle the text between
small and large. Btw I am programming this in Flash 8 with AS2.

My alternative solutions are as follows:

1.Attach a separate movie clip for each clue - not sure how I would position
these vertically and the effect of toggling the text size
2.Put all the clues in one dynamic text field  - not sure how I would select
a particular clue. With this solution would I be best to use a mask and
therefore have all the clues effectively displayed in the dynamic text field
at once.

Any advice on how best to deal with this would be really appreciated. 

Thanks

Paul





___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders