[Flashcoders] macromedia.com

2005-12-07 Thread Mick Gow
OOooo

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


Re: [Flashcoders] Tile Bitmap

2005-12-01 Thread Mick Gow
You can also do this in early flash versions (non code) by breaking apart an
image, then use the eyedropper over the bitmap and you can then fill any
vector shape with the bitmap fill.


On 12/2/05, JesterXL [EMAIL PROTECTED] wrote:

 Damn, good find, had no clue that was there.  ...well, there goes 2 weeks
 worth of code I thought was cool...

 - Original Message -
 From: David Rorex [EMAIL PROTECTED]
 To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
 Sent: Thursday, December 01, 2005 6:05 PM
 Subject: Re: [Flashcoders] Tile Bitmap


 What about MovieClip.beginBitmapFill() ?

 Fills a drawing area with a bitmap image. The bitmap can be repeated
 or tiled to fill the area.

 -David R

 On 12/1/05, JesterXL [EMAIL PROTECTED] wrote:
  Yeah man, it's mainly done via BitmapData.copyPixels.  That function is
 so
  fast.  Go look in the ActionScript help in Flash 8, and look at
  BitmapData.copyPixels; there is some example code at the bottom.
  Basically,
  you copy pixels from an area, defined by a rectangle, to a certain
 point.
  You can repeat copypixels over and over, say a forloop, to continually
  copy
  pixels, and continually paint to a bitmap... think if you constantly
  redraw
  using the paint tool in Fireworks/Photoshop.
 
  - Original Message -
  From: John Giotta [EMAIL PROTECTED]
  To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
  Sent: Thursday, December 01, 2005 4:10 PM
  Subject: [Flashcoders] Tile Bitmap
 
 
  I saw a Flash 8 example that will allow you to draw a small bitmap and
  then tile it.
 
  Was this done with BitmapData.clone? I'd like some pointers if anyone
  could help out.
  ___
  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

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


[Flashcoders] proximity grid of scaling images

2005-11-30 Thread Mick Gow
I recall seeing a flash piece in the past that was a grid of images. It had
some interaction where your mouse is over a select image it would scale it
up to say 150%, nearest neighbor images are then scaled to 120%, next
neighbors are 80%, etc.

Does anyone have an example of this type of thing - just a visual example,
but code/class would be great too.

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


Re: [Flashcoders] Style sheet does not load - puzzled.

2005-11-17 Thread Mick Gow
If you have your SWF's in different directories than your HTML pages you may
need to check/add the BASE attrib in your object/embed.
http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_04157

Trace your CSS and check it's actually being loaded.



On 11/18/05, Miles Thompson [EMAIL PROTECTED] wrote:

 Following examples from livedocs, help and a couple of tutorials, I've
 tried to load a style sheet into my movie.

 Nothing radical, the style sheet is named styles.css and is located in
 the same directory as the .swf.

 A new TextField.StyleSheet() object has been created. (Actually, all of
 the
 code I just cut and pasted from MM's livedocs, changing a couple of
 variable names. So I have the .load and .onLoad methods, yet never success
 - always the Styles failed to load message.

 Do I have to place styles.css on the web server alongside the scripts
 which
 feed data to the movie and fetch it from there?

 Suggestions and guidance, as always, will be welcome, code fragment is
 below.

 Thanks for looking at this - Miles Thompson



 Here's the code, much of it will look familiar ...

 var myCSS:TextField.StyleSheet = new TextField.StyleSheet();
 var cssURL:String = styles.css;

 myCSS.onLoad = function(success:Boolean) {
 if (success) {
 trace(Styles loaded:);
 var styles_array:Array = myCSS.getStyleNames();
 trace(styles_array.join(newline));

 txtNews.styleSheet = myCSS;
 txtHead.styleSheet = myCSS;
 } else {
 trace(Styles failed to load.);
 }
 };

 myCSS.load(cssURL);


 ___
 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] Apple using Flash for their newretailstore reservation system

2005-11-17 Thread Mick Gow
and did it really NEED to be done in flash? I guess why not but also,
why ;)


On 11/18/05, Wade Arnold [EMAIL PROTECTED] wrote:

 It lacks the apple touch. It looks like the programmers got their
 hands on Illustrator and Photoshop and forgot to invite the designers.
 Still good to see apple using flash rather than quicktime!

 wade


 On Nov 17, 2005, at 9:22 PM, eric dolecki wrote:

  No offense to who put it together, but it doesn't feel... like its
  really done? I mean it may work, but it lacks polish.
 
  On 11/17/05, JesterXL [EMAIL PROTECTED] wrote:
  My first thought too.
 
  - Original Message -
  From: Hindman, Jeff [EMAIL PROTECTED]
  To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
  Sent: Thursday, November 17, 2005 9:50 PM
  Subject: RE: [Flashcoders] Apple using Flash for their newretailstore
  reservation system
 
 
  Silly app ... doesn't resize.
 
  --Jake
 
  -Original Message-
  From: Andy Johnston [mailto:[EMAIL PROTECTED]
  Sent: Thursday, November 17, 2005 6:47 PM
  To: Flashcoders mailing list
  Subject: Re: [Flashcoders] Apple using Flash for their new retailstore
  reservation system
 
 
  mmm flex
 
  Check it out!
 
  http://genius.apple.com/customer/?store=R050
 
  Any news behind the developers?
 
  -Carlos-
  ___
  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
 
  ___
  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] ActionScript Portfolio Guidelines ???

2005-11-16 Thread Mick Gow
As with any portfolio, the most important thing is to highlight the type of
work you think the jobs/employers you're looking at want to see.
Presentation is secondary to the content... let your work speak for itself
and the presentation act as the easiest way to soak in all that talent :)

If you're working on an .as portfolio I would just make sure it's diverse.
Make it 2 tier - you're more than likely going to have 2 types of interviews
with people - technical and non technical, so make sure you have a path for
people to view both aspects.


On 11/17/05, Rich Rodecker [EMAIL PROTECTED] wrote:

 i dont know if there any standards when it comes to a portfolio...i
 think
 you're jsut generally focusing on the work you think is best and that you
 would want to show other people (namely potential clients/employers). If
 youre going mroe for actionscript then focus on some of the apps and other
 cool stuff you've made instead of focusing on design work. I don't know if
 you'd want to post any of your source code, but if you did you could even
 make some downloadable samples.



 On 11/16/05, Manuel Saint-Victor [EMAIL PROTECTED] wrote:
 
  Can anyone give me some pointers on what is the reccomended way to put
  ogether a portfolio with more of a bent for actionscript than design?
 I'm
  not sure if there are standard guidelines that I might have overlooked
 or
  what.
 
  Mani
  ___
  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] Illustrator Flash

2005-11-16 Thread Mick Gow
so you get more accurate results importing the SWF
that it exports into Flash.

I've done some testing and you also get much smaller file sizes exporting
from illustrator as an SWF than importing an .AI into flash.



On 11/17/05, JesterXL [EMAIL PROTECTED] wrote:

 Don't know, but I've always had decent luck with v6. Illustrator nowadays,
 however, can export SWF, so you get more accurate results importing the
 SWF
 that it exports into Flash.
 - Original Message -
 From: Lehr, Theodore M. [EMAIL PROTECTED]
 To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
 Sent: Wednesday, November 16, 2005 9:11 AM
 Subject: [Flashcoders] Illustrator  Flash


 How can I find out what the max. version of Illustrator a file can be to
 be successfully imported into Flash MX?
 ___

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


[Flashcoders] onMouseMove false

2005-11-11 Thread Mick Gow
Is there an efficient way to trigger an onMouseNOTMove without having to run
an interval or do an onEnterFrame to constantly check the mouse?

I want to set a varialble when mouse is moving and reset it when mouse is
still.

ie. something like if it were possible:

this.onMouseMove = function(){
moving=true;
}
this.onMouseStop = function(){
moving=false;
}
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Expandable banners

2005-11-11 Thread Mick Gow
ooh we're back on topic :)

Thanks for your replies, im going to investigate more
about it, just another doubt, an expandable banner
has to be in a layer?

Yes, because the unexpanded banner space is a fixed size to fit within the
page content, the only way to allow the expanded banner to have the new size
is to lay it on a layer on top of the existing. This also means you need 2
seperate SWFs for the expanded/unexpanded - there are way to make the two
communicate (your banner publisher will have documents and special
FScommands for this).

I don't know of any books that deal with the technical side of expandable
banners (as all publishers handle it differently and are always changing
their methods). The only way to get good is really experience and trial and
error.

- Mick



On 11/12/05, JesterXL [EMAIL PROTECTED] wrote:

 I agree to disagree.

 - Original Message -
 From: Pete Hotchkiss [EMAIL PROTECTED]
 To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com
 Sent: Thursday, November 10, 2005 7:19 AM
 Subject: RE: [Flashcoders] Expandable banners


 I think this tread ahs gone WAY OT now - lets just agree to disagree on
 this one. It's realy not all that important :)


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL
 Sent: 10 November 2005 00:36
 To: Flashcoders mailing list
 Subject: Re: [Flashcoders] Expandable banners


 I don't need to accept them at all; it's called FlashBlock.

 - Original Message -
 From: [EMAIL PROTECTED]
 To: flashcoders@chattyfig.figleaf.com
 Sent: Wednesday, November 09, 2005 7:22 PM
 Subject: Re: [Flashcoders] Expandable banners


 I agree - but we dont live in a perfect world and not all websites can
 be google. And if they were it would be a pretty grey/vnial/boring
 world.

 I do understand you might feel that flash based ads are intrusive - but
 you
 need
 to accpet them as just an important part of the online landscape as
 google keywords. Wether you coose to belive me or not they do work.


 on 10/11/05 12:05 AM, Flashcoders mailing list
 flashcoders@chattyfig.figleaf.com wrote:

  Jakob Nielsen said it best; Google's done well because they made ads
  that aren't annoying. Google ads can remain on a webpage and allow
  me to read without giving me a seizure, nor to do they appear over the

  top of my webpage that I'm reading with no discernable close button.
 
  Google has not become the billion dollar company they are because of
  ads; they became that because of good search capabilities, ads that
  are relevant  not distracting, and allowing others to share in the
  revenue they generate.
 
  - Original Message -
  From: Daniel [EMAIL PROTECTED]
  To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
  Sent: Wednesday, November 09, 2005 6:41 PM
  Subject: Re: [Flashcoders] Expandable banners
 
  something to consider is that google works off adds. If it weren't
  for thier adds you would have to pay for it. Same with Yahoo. I
  could keep going but I won't. I agree with pete here. I don't like
  adds being everywhere, but I do see the purpose and so I accept it.
  Its easy enough to ignor. Sometimes you'll get lucky and find
  something interesting. But if you don't, just ignor it. Flash
  banners, java script banners, basic jpeg/gif banners really arn't that

  much different. The flash ones are just more fun to play with. ;)
  Personaly I'd hate it if they got rid of banner advertising. They
  would probably go back to pop ups everywhere wich is even more
  anoying. Oh, and some of us arn't rich and can't afford to pay for
  every site we go to.
 
  Daniel
 
  ryanm wrote:
 
  But when the quality of programming on TVnose dives,
 
  You mean it gets worse than America's Next Top Model and The
  Biggest Loser? 8-O
 
  Right now I pay $12.99 a month for high quality programming
  without commercials, it's called HBO.
 
  it costs you $60 to go to the movies,
 
  At $9 a ticket we're not far from that now.
 
  a daily news papaer is $10 a day,
 
  Like I'd pay to read that crap...
 
  and finaly you have to pay $99 per month just to use your favour
  websites (that used to be free)
 
  The good ones don't need ads. If you content is worth consuming,
  people will pay to consume it.
 
  ryanm
  ___
  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
 

Re: [Flashcoders] Double line returns when reading vars.txt file

2005-11-11 Thread Mick Gow
Try either saving your text file in unix format (or dos format - you can do
this in word).

Or replacing carriage returns in flash with line breaks.

yourText = blah blah;
temp = yourText.split(%r);
finalText = temp.join(\r);

I'm not 100% sure that %r is the right code for a carriage return, may
have to look that up.


On 11/12/05, Marc Hoffman [EMAIL PROTECTED] wrote:

 I need help getting a text field to do single line-spacing under an
 odd circumstance.

 I'm using LoadVars to read a txt file that my non-programmer client
 will maintain on his site. To make it more readable for him, I have
 it formatted like this:
 ---
 myContacts=

 John Doe
 15 Elm St.
 Newville, MD 12345

 Bill Henry
 23 Apple Terrace
 Oldtown, ID 54321

 Jo Hill
 14 Walnut
 Metropolis, MN 32415

 etc.
 --

 This gets displayed in a text field. Problem is, Flash is
 double-spacing every carriage return.

 I could reduce the line spacing in the text field, but I also have
 some text that's displayed from a constant and that text then gets
 sqeezed much too tight.

 I don't want to ask the client to put all the text on one line, with
 br tags. Is there any other way to make the above line breaks come
 out single rather than double?

 TIA,
 Marc


 ___
 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] strange behavior of img in textfield

2005-11-11 Thread Mick Gow
try:

different image alignments (or no image alignment)
img src='file.jpg' align='left' or img src='file.jpg'

or put some brbr after your image

or
img src='file.jpg'
Pput your text after the image inside paragraph breaks/P


On 11/12/05, MetaArt [EMAIL PROTECTED] wrote:

 Well, I load dynamically some text into a textfield, from a .txt file.
 The file has inside the HTML code to load some jpg images too.
 The size of textfield is 576 px horizontal, and 403 vertical.
 The first strange behavior, is that if the image is large 570 px, the
 textfield show it truncated on right side, and dont load the following
 text;
 after some trying, I solve this setting the size of image at 540 px.
 Well, now the image is showed fully, and the following text is loaded...
 but - and this is the very strange behavior - the text is hidden behind
 the
 image for the rows that is equivalent to height of image itself!
 The only way to see all the text, is to set the image size at a
 significant
 minor width than the textfield width (i.e., 360 px); if so, the text flow
 around the image.
 The problem is that I need some large image. How can I move around this
 bug?

 Enrico Tomaselli
 + web designer +
 [EMAIL PROTECTED]
 http://www.metatad.it

 ___
 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] Flash and ASP/MSSQL

2005-10-30 Thread Mick Gow
Have you thought about not using flash? You could create an imagemap (even
though they're old hat) with about 15 pre-defined regions over an image (I'm
guess that's as accurate as you need it). Clicking a region could run a
javascript function that tells the form what region it is an submits it.

 On 10/30/05, Martin Wood [EMAIL PROTECTED] wrote:

  The person who gave me the brief said something along the lines of Sure
  Flash can talk straight to a database! All you need to do is set the
  connection string or something! I hitherto hadn't realised this was
  possible - I've always thought you used loadVariables to call an (in my
  experience) ASP or PHP page that talked to the database. Can anyone
 clear
  this one up for me please?

 Im pretty sure that unless someone has done some magic ive not heard of,
 you will need to use some kind of middle layer to talk to the database.

 thanks,

 Martin
 ___
 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] OT: Macromedia Central - is it a flop?

2005-10-27 Thread Mick Gow
I'd be curious to see how many people actually have central - my general
thoughts are that the only real people that use it are flash developers :) I
don't know of anyone that uses it other than some developers that installed
it once and had a look.

 On 10/28/05, Chris Velevitch [EMAIL PROTECTED] wrote:

 In my mind, the big advantage of Central is the occasionally connected
 computing aspect, that is the ability to synchronisation data the next
 time you are able to reliably connect to a network. If you read the
 Flash Platform Overview paper, it indicates that Flex 2 will provider
 better support for this data synchronisation and occasionally
 connected computing.

 What is still unclear that this stage is whether the Central Shell
 (the part that allows you to install the application on your system
 and keep it the application up-to-date) will provide branding
 customisation and the ability to package your own applications for the
 enterprise market. I'm certainly keen on that aspect of Central.


 Chris
 --
 Chris Velevitch
 Manager - Sydney Flash Platform Developers Group
 www.flashdev.org.au http://www.flashdev.org.au
 ___
 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