Re: [Flashcoders] Rotation

2010-01-26 Thread Dave Mennenoh
Beno - I would suggest going to Adobe.com - Communities - Forums - Flash - 
ActionScript... that is a more appropriate place to ask newbie questions, 
and there are a lot of helpful people on there. This list is quite 
advanced... I'd venture to say that most folks on here don't even use the 
Flash IDE.


Dave -
www.offroadfire.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


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


Re: [Flashcoders] Matrix + BitmapData - what exactly happens?

2010-01-26 Thread Dave Mennenoh
Jared, the 1x1 trick doesn't really work that well in Flash as you may have 
already found out. I was using that myself for a project until I learned 
that for some images it was pretty far off. So, I went to a more traditional 
method - getting the average color of each pixel in the image, which 
actually is faster than you might think. Here's the method I am using:


private function averageRGB( source:BitmapData ):uint
 {
  var red:Number = 0;
  var green:Number = 0;
  var blue:Number = 0;
  var count:int = 0;
  var pixel:Number;

  for (var x:int = 0; x  source.width; x++)
  {
   for (var y:int = 0; y  source.height; y++)
   {
pixel = source.getPixel(x, y);

red += pixel  16  0xFF;
green += pixel  8  0xFF;
blue += pixel  0xFF;
count++;
   }
  }

  red /= count;
  green /= count;
  blue /= count;

  return red  16 | green  8 | blue;
 }

HTH


Dave -
www.offroadfire.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


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


Re: [Flashcoders] I am stuck

2008-10-18 Thread Dave Mennenoh
1000.00? I'd have asked five times that minimum for 50 hours of work or I 
wouldn't have done it - especially in a rush and working in the evenings. 
You're getting like $20 an hour... and you still have to pay taxes on it. 
Not that I haven't done stuff on the cheap before, but it's been a while. If 
you're learning as you go, then certainly cheaper is ok, but I'd still not 
go below $75 an hour.


FWIW, I use AMFPHP / remoting to load data from a DB. It's fast and you get 
native data types.


PS - I think Glen had good stuff to say.


Dave -
www.offroadfire.com
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


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


[Flashcoders] WTH am I doing wrong - LoadVars - PHP

2008-07-25 Thread Dave Mennenoh
OK, I cannot see the issue, and have Googled what I can, but have not found 
the answer.


I have a URL like so:
http://1.2.3.4/~theredm1/cms/images/getfolders_rec2.php

It's a php script that returns some XML. Works fine in the browser (of 
course I changed the IP). But in Flash, using a LoadVars.sendAndLoad() I am 
getting an 'Error opening URL'. The only thing I can even begin to think it 
is, is the ~, but I can't remove it... Otherwise, this file worked fine on 
another server from Flash.


Dave -
www.offroadfire.com
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


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


Re: [Flashcoders] WTH am I doing wrong - LoadVars - PHP

2008-07-25 Thread Dave Mennenoh
I had to add a: System.security.allowDomain(http://1.2.3.4/~theredm1/;); to 
my code... This isn't something I normally have to do, and am not entirely 
sure why I need to with this new server. Anyone care to expound?


Dave -
www.offroadfire.com
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


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


Re: [Flashcoders] Overlay problem

2008-07-14 Thread Dave Mennenoh
To disable all underlying links, you can stick a large movie clip on a 
layer, make it invisible, or semi-transparent like in the example, and give 
it an empty onRelease:


blockerClip.onRelease = function(){}

You can do: delete blockerClip.onRelease;
to allow underlying links to function again.


Dave -
www.offroadfire.com
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


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


[Flashcoders] Web Cam question

2008-06-21 Thread Dave Mennenoh
Thought someone here may have some experience with this - my client has a 
Canon VB-C10 web cam. It's an older model not for sale anymore far as I can 
tell. From Flash, we'll just be opening a window to display the Java applet 
the camera uses. That is fine. However - what I'm trying to do is be able to 
get a current still image from the camera, as a jpeg, to use inside Flash as 
a thumbnail.


They supply a 'Glimpse' application that is somewhat what I need, but I 
can't see how to get an actual image format out of it.


Anyone have any experience with this camera or can maybe point me in the 
right direction?



Dave -
www.offroadfire.com
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


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


Re: [Flashcoders] Web Cam question

2008-06-21 Thread Dave Mennenoh
PS - given the camera is old, can anyone recommend a good web cam that can 
stream video, as well as post still images in modern file formats that Flash 
could grab? The camera(s) will be placed at various construction sites, so 
must have their own server, and be weather proof and such...


thanks


Dave -
www.offroadfire.com
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


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


[Flashcoders] Remove Flash on a page?

2008-04-17 Thread Dave Mennenoh
Does anyone know an easy way to remove a Flash object from a page? It's 
embedded using SWFObject, so within a Div tag. I'm calling a JS on the page 
through ExternalInterface and have not had any luck thus far... it's for an 
ad's close button.



Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


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


Re: [Flashcoders] Tweening Engines for AS3

2008-03-24 Thread Dave Mennenoh
I prefer Tweener, and if you've ever used Fuse you'll like it's syntax. It's 
also quite small - adds about 8K.


Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


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


Re: [Flashcoders] clean scripting

2008-03-12 Thread Dave Mennenoh
So yea...WTF? I can't believe after my years of AS2 coding that it would 
have taken me this long to notice.


I think I muttered those exact words. Bizzare behavior. Though I don't think 
I have ever run into it. Someone taught me long ago not to initialize class 
variables in their definitions. So I just never have done that. Really good 
to know though.


Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


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


Re: [Flashcoders] When is 1 not 1?

2008-03-11 Thread Dave Mennenoh

When 1 had line feeds...

Well, I'm not quite sure how yet but somehow I'm getting a couple of line 
feeds in my def variable when it comes back to the LoadVars.onLoad.


I do:
$defUser = 1;
echo(im=.$fName.def=.$defUser);

But I found I get 1 plus a couple of line feeds...

I sure like AMFPHP a whole lot better.



Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


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


[Flashcoders] When is 1 not 1?

2008-03-10 Thread Dave Mennenoh
OK, it's late and I must be an idiot because I am not figuring this out. 
This is from an old project - where I used _global and frames.. hey it's 
like three years ago. :)


relevant PHP called with LoadVars:

$defUser = 1;
echo(im=.$fName.def=.$defUser);


And in Flash on frame A:

rv.onLoad = function(success:Boolean){
 if (success) {
  _global.userData.isDefault = this[def];
 trace(isDefault: +this[def]);

It traces isDefault: 1 as I expect it should...

Next Frame - frame B I go:

trace(_global.userData.isDefault: +_global.userData.isDefault);
 if(_global.userData.isDefault == 1){
  trace(_global.userData.isDefault == 1: true);
 }else{
  trace(_global.userData.isDefault == 1: false);
 }

It traces _global.userData.isDefault: 1

and: _global.userData.isDefault == 1: false

I cannot figure out why it isn't true. I have tried in my LoadVars doing: 
_global.userData.isDefault = String(this[def]); to make sure it's 1, and 
I've tried testing for the number 1, but it's still false.


Service Capture shows the 1 being returned properly from PHP... maybe I 
should not use 1...


WTH?




Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


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


[Flashcoders] FileReference.download problem

2008-02-21 Thread Dave Mennenoh
I let users download an image - using FileRef.download - it works fine, 
except that some users are not getting the .jpg appended to the file name. 
I've tried using issuing a default file name, and just letting FileRef make 
the name from the download URL and just the image name appears - minus the 
extension.


I tested here (XP - IE and FireFox) and I see the .jpg on both browsers. My 
client does not see the extension - XP, IE - same version I have (she says).


Odd. Anyone else seen this? I'm not sure what to tell her... published from 
CS3 as AS2/Player 8



Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


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


Re: [Flashcoders] FileReference.download problem

2008-02-21 Thread Dave Mennenoh
Has she turned Hide extensions for known file types on?  - Windows 

Explorer-Tools-FolderOptions [View] tab - in the list???

I feel silly. That almost has to be it... I didn't even think of that.

Thank You!



Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] How did they do it?? A particular flash site.

2008-02-08 Thread Dave Mennenoh

I remember someone saying that the developper told him that:

*Scenes were rendered using Maya*

That was me. I emailed them and asked. Yeah it's very well done, no doubt.



Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] MS Access?

2008-02-08 Thread Dave Mennenoh
Thanks guys, much appreciated. I will tell them that they need to use a 
real database.  They currently don't even have a site and were asking 
about hosting too. All the top hosts I looked at (IX, Lunar, BlueHost, 
HostMonster, etc) don't even offer Access as an option - which makes telling 
them they can't use it even easier.



Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


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


[Flashcoders] MS Access?

2008-02-07 Thread Dave Mennenoh

Sorry for that title... I didn't mean to do that.

I have a client who wants to use Access for their database - yeesh... Is it
possible to use AMFPHP (Flash8) with MS Access? Is Access SQL capable? Any 
decent hosts that offer PHP and Access? Seems unlikely... Should I just tell 
them to man-up and use MySQL?



Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


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


Re: [Flashcoders] Scott A Mowry is out of the office.

2008-02-07 Thread Dave Mennenoh
I have a client who wants to use Access for their database - yeesh... Is it 
possible to use AMFPHP (Flash8) with MS Access? Is Access SQL capable?


Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


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


Re: [Flashcoders] Simple compression algo?

2008-02-05 Thread Dave Mennenoh
Hi Juan - I don't think it's assigning the string that's slow. It's calling 
sendAndLoad that is slow, because I think when you make the call the data is 
urlencoded or something. I've already found that, and am not calling it. I 
was simply outputting the before and after string lengths to see how Base64 
and LZW worked. Could be the class I was using, but either way it was way 
too slow to be useful to me. My simple array compressor is nearly instant 
and on some images it's getting me an 80%+ reduction in the array size, 
which is more than enough for my needs. On average it's only around a 20% or 
so reduction, but that's still good enough as my images are not very big.
I think you're idea is great, and for AS3 a definite, but in AS2 I fear it's 
just going to be too slow. Plus, I've already spent far too long on this 
little aside and should be moving on, though I do enjoy these kinds of 
things. If you want to see some of my test results, I posted a little 
article on my blog: www.dmennenoh.blogspot.com


Thanks much!


Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


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


Re: [Flashcoders] Simple compression algo?

2008-02-04 Thread Dave Mennenoh

Sounds a bit like Run Length Encoding


Right, I mentioned that. :) I kept it simple to be able to reconstruct the 
image from it more easily in PHP. Gotta try the base64 thing next.



Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


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


Re: [Flashcoders] Save MC as JPG

2008-02-03 Thread Dave Mennenoh

Nobody?
I am still not figuring this out. Using getPixel() on certain clips is 
returning #FF when it's cleary not a white pixel. But it makes no sense. 
On one clip it works, on another it doesn't. Both are just movie clips 
containing imported bitmap images. I've searched for problems with 
getPixel() but haven't found anything regarding returning white when it 
shouldn't. This is frustrating.


Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


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


Re: [Flashcoders] Save MC as JPG

2008-02-03 Thread Dave Mennenoh
OK -it seems to be the BitmapData.draw() method that is failing. On just 
certain images (though all are jpeg's imported into Flash and turned into 
MC's) draw() is copying an all white image, and on some it works. It doesn't 
seem to be a size issue since some rather large images are working.



Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


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


Re: [Flashcoders] Save MC as JPG

2008-02-03 Thread Dave Mennenoh
Sorry... I have it figured out now. Some of the clips I was given had their 
registration points at bottom left, instead of top left. Changing them all 
to top-left cured the issue. Funny how those little things can trip you up 
for a day!



Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


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


[Flashcoders] Simple compression algo?

2008-02-03 Thread Dave Mennenoh
Hi all, I've been working on allowing users to dowload a jpeg from a 
movieClip in AS2 and came up with a simple, yet novel compression idea, 
that's a bit like RLE but not quite.


Basically it is this - analyze the image pixel by pixel to get the hex color 
codes into an array. Then, make a new array the same length as the colors 
array, but filled with  - so it's full of nulls. I then iterate the colors 
array and if the current color is the same as the previous color, I don't 
add it to the new array - otherwise I do.


So if I have: [ff, ff, ff, aa, ff, aa, aa, aa, aa] the new array would be 
[ff, , , aa, ff, aa, , , ]


It makes it easy to reconstruct too, and it's taken about 7 seconds off in 
my tests. Saving a 300x320 image went from about 26sec to now 19sec. It's 
not huge, but everything is something...




Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


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


[Flashcoders] Save MC as JPG

2008-02-02 Thread Dave Mennenoh
Does this make sense to anyone - I have a jpeg outputter working for the 
most part. However, I just swapped out my test clip, for a different image 
and it seems any other image (MC) I try to use just shows up as solid 
white - with the correct dimensions though. I tried a couple different ones 
same thing... drop back in my original test and it works. Anyone seen 
something like this?



Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


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


Re: [Flashcoders] LoadVars and SQL Query issue

2008-02-01 Thread Dave Mennenoh

You can escape() the string in Flash, then use urldecode() on it in PHP.

Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] LoadVars maximum?

2008-01-31 Thread Dave Mennenoh
I've been looking and looking and cannot find the info... I am trying to 
send an array containing many thousands of entries to a php page for db 
storage. However when I get too much info into a loadvars property, it just 
stops working and sits there. What's the max I can send in one LV property? 
I am doing toString() on the array, but I guess I need to break the array 
into multiple arrays - just wondering what granularity if best for speed and 
such.



Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


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


Re: [Flashcoders] LoadVars maximum?

2008-01-31 Thread Dave Mennenoh

Are you sending GET or POST ?


I _just_ realize about 1/2 sec before reading your reply that since I'm 
testing from the IDE, I'm using GET regardless, and that I must test this 
from a browser... sometimes...



Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


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


Re: [Flashcoders] LoadVars maximum?

2008-01-31 Thread Dave Mennenoh

OK, I got it working. It was because I was testing from the IDE. Thanks!


Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Gateway URL to AMFPHP generating error...

2008-01-30 Thread Dave Mennenoh
No clue here, this just started happening - it's been working. From Flash, 
when I try and call a AMFPHP service I get an error opening URL message - 
pointing to my gateway url.
If I go to the gateway URL in FireFox I get the message: amfphp and this 
gateway are installed correctly. You may now connect to this gateway from 
Flash.
The function I am trying to call is a simple test at the moment, that does 
nothing but return true. Anyone know why calling the service would generate 
the url error, but going to the url works? This is the first time I've 
really ever had any problems with amfphp, and like I said it was working 
just a couple hours ago. I'm perplexed.


Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


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


Re: [Flashcoders] Gateway URL to AMFPHP generating error...

2008-01-30 Thread Dave Mennenoh



Try to get hold of Charles the proxy debugger, it is really good for
watching comms between Flash  the server and you can see all your
NetDebug messages.

Have you tried using the AMFPHP service browser to call the commands to
see what happens.

Are you calling a gateway on http://www.domain.com/gateway.php from
http://domain.com/flash.swf



Thanks much Glen. I use ServiceCapture instead of Charles... is Charles 
better? The service browser was working. I am doing this from the IDE right 
now... And for whatever reason it has just started working again. I'm not 
sure... I rebooted. Still no go but still fine if I went right to the URL of 
the gateway though... so I started up ServiceCapture and it just started 
working. And continues to. I got nothing...




Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


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


Re: [Flashcoders] MultiLanguage

2008-01-24 Thread Dave Mennenoh
Thanks much for the great advice. I'm getting there... However, soon as I 
include the Chinese glyphs my swf gets to near 5MB. Is there an easy way to 
embed only the chinese glyphs in a separate swf and load them only if 
needed? AS2...  With Cryllic, Hangul, and everything else I get a 
respectable 300K, but the chinese adds too much to just leave it in.


Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


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


Re: [Flashcoders] MultiLanguage

2008-01-24 Thread Dave Mennenoh

One solution would be to avoid embeding the chinese fonts if you could -

depends on what you want for your project

Except I am embedding, so I can anti-alias. I'm not sure how I could embed 
all the other glyphs and have the chinese still render at all.


Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


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


Re: [Flashcoders] MultiLanguage

2008-01-24 Thread Dave Mennenoh

Can you get by with just the Level 1 characters? I'm guessing you probably

can. Those 5,000+ characters are probably enough, unless you're doing
something really specialized.

I'd think so, but it doesn't seem to be the case. In my interface for 
example,  I need to support Chinese simplified and traditional - and in my 
tests some characters are not appearing if I just choose the traditional 
level 1 support. So I need to include support for both which is like 18,000 
glyphs. For some reason traditional is 5609 glyphs and 'simplified' is 
13000+. Simple my ass.
Hmmm - a thought... maybe I can just do the 5609 and then add in missing 
characters as needed. So far, there only a couple that are not showing if I 
use only the level 1 support.





Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


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


Re: [Flashcoders] MultiLanguage

2008-01-23 Thread Dave Mennenoh
Little update - I guess it is the font. I tried Lucida Sans Unicode and now 
the Chinese displays OK. However the Korean still shows boxes... Geez. I was 
hoping to not have to buy the Arial Unicode font, it's not on my system...


Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


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


Re: [Flashcoders] MultiLanguage

2008-01-23 Thread Dave Mennenoh

It's essential that you use a Unicode font--I use Arial Unicode for Asian

languages, because it has all the languages I typically need. Embed the
font, of course.

Gotcha. This is fairly new to me so I've been reading as much as I can. I 
found that true type fonts, like regular Arial, adhere to Unicode standards. 
In Flash, if I use Arial I can embed Korean (Hangul), and a few different 
Chinese glyphs. However, I cannot see the incoming UTF-8 encoded chinese 
text from my XML. Russian and all my other languages are working fine. But I 
get squares when trying to display Chinese or Korean, even though the glyphs 
are embedded for both. Hmmm... do I need a different font (Arial 'Unicode') 
or am I doing something wrong?


Thanks much.


Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


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


Re: [Flashcoders] MultiLanguage

2008-01-22 Thread Dave Mennenoh
Thanks again for all the advice. Pete, I definitely like that shared fonts 
tip. I have one more question - Chinese and Korean seem to be the only 
stickers on this one. However I installed the east asian language support 
for XP. I then went to BabelFish and translated Hello into Chinese simp, and 
then copy/pasted into Flash. Worked a treat - where before I installed 
support it just pasted rubbish. The swf shows the chinese properly on 
another machine in the office as well - a Vista machine. Haven't tried it 
elsewhere but so far so good. Any tips here are most appreciated.



Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


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


[Flashcoders] MultiLanguage

2008-01-21 Thread Dave Mennenoh
I may be doing an app that has to be deployed in various languages, and I'm 
trying to find a good method of doing it. I guess my main issue is that the 
interface is Flash, and would be created by a designer. Content is pretty 
much all external, but things like button text, tool tip text, etc. are put 
in place by the designer.


I'd thought of just making different interface 'shells' for the various 
languages, but that'd be more difficult to maintain. What'd be perfect is 
language plugins but then I'm not quite sure on how to handle sizing 
problems - especially with certain languages like chinese.


Just looking for some guidance.


Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


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


Re: [Flashcoders] MultiLanguage

2008-01-21 Thread Dave Mennenoh
Right, thanks. I realize that, my concern is still sizing issues though. 
This will be an app that is 'pretty' it has nice looking buttons and such. 
If everything could be scrollable text fields I would have no problem. 
Consider something as something as simple as 'stop', which is something like 
'anschlag' in german. Doubling the character count in a field can make a big 
diff for formatting...


Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


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


Re: [Flashcoders] MultiLanguage

2008-01-21 Thread Dave Mennenoh
Thanks for all the suggestions. I have thought of Flex, but have not used 
before, so I wouldn't feel comfortable. I like the idea of just leaving room 
in the design. Some testing will be required, but this may work.
Anyone recommend a good translation service? It may be upwards of eight 
languages - but it's not a lot of text... I think the Help will be the 
most - much of it will be single words used for buttons.




Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


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


[Flashcoders] FlashVar question

2008-01-17 Thread Dave Mennenoh
This is one of those that I feel I should know, or be able to figure out - 
but I'm on a deadline, it's late, and I'm sick of Googling. So here goes... 
On our server, sometimes when I go to a url, the www is removed. Normally 
this is not an issue, but on this particular project it seems to hose my 
query parameters, that are injected into the Flash with SWFObject.


Example:
This url doesn't work properly:
http://blurredistinction.com/test/albany/?door=ultrasecurefeature=6

However, this one does - only diff being the www:
http://www.blurredistinction.com/test/albany/?door=ultrasecurefeature=6

Also, if I just type the following url into the browser:
www.blurredistinction.com/test/albany

It goes to the page, but becomes:
http://blurredistinction.com/test/albany/

The www is removed... This hasn't been an issue until now. I've noticed the 
www being removed but have never taken the time to figure out why. Now, it 
seems I need to.


Clues for the clueless?


Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


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


Re: [Flashcoders] FlashVar question

2008-01-17 Thread Dave Mennenoh
Thanks. Odd... I was just talking with tech support, and they told me they 
had to investigate further. But I just tried the top link again, and indeed 
the video opens. It wasn't working, I swear. I didn't have an .htaccess in 
place, so I am not sure what they did - they told me they did nothing.
The only stuff I've ever put in any .htaccess anyway was to block minijegos. 
What would pull off the www?


Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


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


Re: [Flashcoders] Is Key Object Changed With New Plugin Update?

2008-01-07 Thread Dave Mennenoh

Works fine here. How / where is it not working for you?

Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Software Patent Question

2008-01-04 Thread Dave Mennenoh
Thanks, for the opinions. I have to agree with Charles on this - the patent 
is bunk. I just wanted to hear it from someone else. Makes me want to make 
an open-source makeover engine. It might be something to do in all my 
free-time. Heh



Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


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


[Flashcoders] Software Patent Question

2008-01-02 Thread Dave Mennenoh
Question - as a software developer, are we free to create anything we want 
if we use our own, from scratch, code? For instance, we created a Flash 
based Virtual Makeover application a couple years back. We may make a new 
one for a new client but our old client has issue. Evidently they invented 
this makeover system, and even have a patent: http://tinyurl.com/2yxj8v
But there are other examples of such systems. Maybe they're not identical, 
but the good ones work much the same. To me, it's utterly ridiculos that I 
could be stopped from writing any kind of software. I could make a Riven 
clone called Raven if I wanted, couldn't I? Anyone have any input?



Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


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


Re: [Flashcoders] Site effect

2007-09-03 Thread Dave Mennenoh
I emailed the guy at Sennep who did those effects and he said they are 
pre-rendered in Maya and then shaded frame by frame in Flash - very time 
consuming, and I agree - beautiful.



Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Take movieclips from one mc and attach to another

2007-08-23 Thread Dave Mennenoh
I don't think having the class extend MovieClip is the right way to do this. 
I'd just create a class and pass it an array of linkage names in which to 
attach. Try this:


class Ellipse
{
function Ellipse(attachTo:MovieClip, linkageArray:Array)
{
 var N:Number = linkageArray.length;
 var A:Number = 150;
 var B:Number = 50;
 var X:Number = 200;
 var Y:Number = 150;
 var GR:Number = Math.PI / 180;
 var ref:MovieClip;

 for (var i:Number = 0; i  N; i++) {
  ref = attachTo.attachMovie(linkageArray[i], linkageArray[i], i);
  ref.alpha = 0+i*(360/N);
  ref.onEnterFrame = function() {
   this.alpha += (_root._xmouse - X) / 100;
   this._x = X + A * Math.cos(this.alpha * GR);
   this._y = this._xscale = this._yscale = Y + B * Math.sin(this.alpha * 
GR);

   this.swapDepths(this._y);
  };
 }

}
}

Then in Flash pass the constructor an attach to clip, and an array with 
linkage names.


var e:Ellipse = new Ellipse(this, 
[sym_1,sym_2,sym_3,sym_4,sym_5,sym_6,sym_7]);


PS - this way you can use a variable number of clips also - you don't need 
to use seven.


HTH


Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Big size Image and Thumbnail

2007-08-23 Thread Dave Mennenoh
To avoid loading twice times the image (first in 100% and second in 
thumbnail navigation image) ... how could i copy content of first 
movieclip to second one with fixed size?


You can't really, but since the image is cached once it's downloaded the 
first time, loading it again into the thumbnail will be nearly instant.



Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Intro to OOP using ActionScript: patterns derail!

2007-08-22 Thread Dave Mennenoh
How do you handle onLoad's famous scope? ... It is not magic or advanced. 
If a pattern was shown to a new programmer without giving it a fancy name, 
they would just accept it as the best way to do the task and would never 
give it moment's thought.


Right. Delegate - ie Proxy. I agree. I wasn't saying patterns shouldn't be 
taught, or used - I doubt you could teach a Flash class these days without 
teaching Observer, but you might not ever call it that. In fact, I wonder 
who does call it that in a class? Actually, the more I think about it, I 
think for students it might be best not to call these patterns and just 
teach them. Then, once they know how to use them, tell them what they are. 
It's a bit like teaching encapsulation I think - if you just show your 
students how to write classes, and they see how classes work for organizing 
code, they will likely just use them.




Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Intro to OOP using ActionScript

2007-08-21 Thread Dave Mennenoh
.I do not believe that starting people out doing things the wrong way is 
ever a good start. Teach OOP from the day one. Not as a name or a theory 
but as a normal way to program.


Right on Ron.



Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Intro to OOP using ActionScript

2007-08-21 Thread Dave Mennenoh
Of course inheritance, polymorphism, encapsulation, etc. come much later, 
and design patterns even later. No one would dispute that, I think.


I'd disagree a little. Encapsulation especially, is a really simple concept. 
It's about organization and teaching students to stay organize - ie to keep 
cats in one class and dogs in another is not advanced - no more so than 
having them build a function that can be reused.


Lots of programmers never need design patterns as they don't help much 
unless your architecting large apps, and lots of Flash programmers aren't 
developing those kinds of apps. Keeping your code organized however should 
be taught from day one and certain oop concepts are perfect for that.


It's pretty awesome to show students something like a utility class that 
might store a url for a php script - and use that script in a bunch of 
movies... then show them how one simple change in the class affects every 
movie. This is the kind of thing they will appreciate and make use of. 
Newbies figure out templates in Dreamweaver... sticking code in a class is 
about the same.


I typically use a combination of OOP and procedural - keeping code pertinent 
to a given movie in that movie if it makes sense, while using classes to 
store code I use in multiple movies. I usually find it pretty awkward to try 
and objectify an entire project - it just doesn't help. I find the combo 
works quite well for me - and besides, it's still all oop if you think about 
it...


Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Dang IE...

2007-08-09 Thread Dave Mennenoh

It's a problem with External Interface under IE.


Actually it was not. ExternalInterface works fine... It was a problem with 
SWFObject - in that I had the name of the object's ID set to that of the 
div. IE didn't like that I guess. All fixed now, but thanks.



Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Dang IE...

2007-08-08 Thread Dave Mennenoh
Anyone seen this? In IE I am getting this error: Line: 1, Char: 86, Object 
doesn't support this property or method, Code:0


Page validates with the W3 school's validator service. Works without error 
in FF. Works fine in IE, but generates this error that I cannot figure out, 
and my client is not liking it...


The URL: http://65.211.160.184

Still in testing...but almost ready to launch...



Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Backend compiled Java or scripted PHP?

2007-07-19 Thread Dave Mennenoh
I guess it depends on what you know and what you need. PHP is no more harder 
to maintain than ActionScript - it all depends on who's coding it. 
Personally, I really like PHP - the syntax is similar enough to ActionScript 
that development in it is quite straightforward for an AS person. If you're 
making executables then Java of course would be better, but if you're 
creating server-side stuff for Flash movies then I'd recommend PHP... I 
think it's a bit like mac's vs pc's - they both work fine - use what works 
for you.



Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Firefox disappearing act

2007-07-14 Thread Dave Mennenoh
What exactly is the issue? I see no diff in IE or FF. Maybe your player for 
FF is old?


Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] RE: SEO Question

2007-07-10 Thread Dave Mennenoh

Don't remember where it was posted, but there is a serious problem with

DIV layers holding transparent Flash - Google considers it cloaking/spam.

I can see that. We have no transparency though - ie wmode is not set. We're 
just using the div to hold plain html content that matches the Flash 
content - minus the pretty graphics and images. From my research thus far, 
this technique has been fine by Google on thousands of sites, and is 
recommended by Geoff Stearns -creator of SWFObject. Since it allows for 
accessibility as well, I can't see why it would be an issue.



Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] MC height/width with mask problem

2007-07-09 Thread Dave Mennenoh

Why not use the height of the mask?

Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] SEO Question

2007-07-09 Thread Dave Mennenoh
do not use the div section of the page  to put links there and content, we 
did  it and google banned us for like three weeks...


Well, you must've done something wrong as that is the accepted way to do it. 
Just using metatags are decidedly not the right way.



Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] SEO Question

2007-07-07 Thread Dave Mennenoh
We're developing a site in Flash - it's all Flash - one page, and I'm now 
tasked with doing some SEO work for it. I'm doing the 'standard' way of 
creating the HTML portion, for the spiders, with a div that is overwritten 
by SWFObject. Mostly all is well, ad much of my content is database driven. 
My question is in regards to the fact the Flash is all on one page - 
index.php. However, I need multiple pages in the HTML version... what's the 
best way to do this? Embed the Flash on all pages as well? Not care and just 
have multiple php/html pages? My feeling is I should have the Flash on all 
pages too, and just use a url var to bring up the correct content, if Flash 
is viewable... Just want to be sure the best route here.



Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Q:Using BitmapData for alpha masking

2007-05-16 Thread Dave Mennenoh

You can use threshold to do that.

var bitmap:BitmapData = BitmapData.loadBitmap(myPNG);
bitmap.threshold(bitmap, bitmap.rectangle, bitmap.rectangle.topLeft, '', 
0x, 0x);

maskClip.attachBitmap(bitmap, 1);

That will turn all pixels with some alpha to red and full alpha.

Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] flash projector sending xml to php (sendAndLoad) orphp variables...

2007-05-16 Thread Dave Mennenoh
What doesn't work? Either method should work fine - but remember you'll need 
to use $_REQUEST, or $_GET on the PHP page, since $_POST will only work when 
sent from the browser. I'd also suggest looking into AMFPHP, as it just 
makes communicating with the server a whole lot easier.


Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] AS2 - erase bitmap?

2007-05-15 Thread Dave Mennenoh
Hi guys - I have a small bitmap (a stain) on stage that needs to be erased 
by dragging an eraser over it. It's easy ennough to reveal it, by drawing 
into a dynamic mask, but I'm having trouble going the other way. I can, of 
course, use the mask method and just reveal a chunk of background above the 
stain, but I need to remove the alpha too, as the clip will be placed 
randomly on a page, so I need to be able to see whatever page is behind the 
stain when it's gone. Lastly, I also need a way of determining if the stain 
has been fully 'erased' - or close enough...



Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] AS2 - erase bitmap?

2007-05-15 Thread Dave Mennenoh
I don't quite understand the bulk of what you wrote - but for the last 
bit:


Nice. Thanks for that tip. I'll try to explain more clearly. I have an 
'eraser' that can be dragged over a 'stain' image. When the user clicks I 
need to have the eraser remove bits of the stain image. The trouble I'm 
having with it is that I need the actual alpha of the stain to be removed as 
well, so that the user can see a varying background image underneath.



Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] AS2 - erase bitmap?

2007-05-15 Thread Dave Mennenoh

If your background image is static, that should do what you want it to.


It isn't... I got it working the way I wanted though. I made a transparent 
'brush' bitmap, then copypixeled that into my stain bitmap... works 
perfectly and affects the alpha like I need.


Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Slow-Running Script alert

2007-05-11 Thread Dave Mennenoh
I've had this happen when styling a bunch of components all at one time. 
Usually it's some kind of loop, since you need to be stuck in the same code 
for 15 secs, as other have mentioned. In my case, I was calling an init 
function within a series of loaded movies. Each movies init styled its 
components. The outer loop going through the clip array and calling init() 
was taking more than 15 secs to finish and I'd get that dialog. Now I call 
init as each clip is loaded, and not all at once. Works - except it is 
noticeably slower.



Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Random Error

2007-04-27 Thread Dave Mennenoh
Once in a while, when compiling, I get an error from one of my classes. The 
error is something like: 'property System not found', and it is thrown from 
this function:


public static function getPlayerVersion()
{
 return(System.capabilities.version);
}


I only see the error once out of 20 compiles or so... thoughts?


Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] How is it done? coca-cola creator

2007-04-14 Thread Dave Mennenoh
Real nice. It didn't quite work for me though - the jpg I downloaded had a 
grayscale background image... Otherwise it was ok.



Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


___
[EMAIL PROTECTED]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Little OT - USB drive autorun?

2007-04-13 Thread Dave Mennenoh

Does this help?


No. Like I said - I was looking for something that did not require first 
installing software on the target machine. Anybody else, or I guess the 
answer is just 'no'.



Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


___
[EMAIL PROTECTED]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Make page ads refresh on Flash click events

2007-04-13 Thread Dave Mennenoh
Using the ExternalInterface class you can call JavaScript on the page easily 
enough. From there you should be able to replace the content of a div with 
something like: document.getElementById(divName).innerHTML = newContent

I'm sure there are other/better ways, but that's where I'd start anyway.

Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


___
[EMAIL PROTECTED]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Little OT - USB drive autorun?

2007-04-12 Thread Dave Mennenoh
Anyone know if a USB pen drive can be made to autorun without first 
installing something on the users machine? Looks to me like the answer is 
no, but I thought I'd check here. I did find some info on U3 smart drives (I 
think that's what they were called) but those are special drives and my 
client already has the drives they want to use.



Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


___
[EMAIL PROTECTED]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] scale 9?

2007-04-03 Thread Dave Mennenoh

Hi Steven - I'm using a vector - a simple rectangle.

Paul - thanks for the insight. I've tried a few things now and nothing I do 
gets the clip to be at the proper size. I'm giving up on it and may use 
Patrick's suggestion of the Bevel filter.


Patrick - I did originally try using bevel, but it never gives me a really 
clean line even with Blur at 0 and quality at High. But, I think it may be 
good enough.


FWIW - I also had a embosser class I wrote, to extend MC. But then I had 
issues with my drawn lines appearing over things since I couldn't draw into 
the clip itself - as it was scaled. I think Bevel is going to be the least 
hassle, even though it's not exactly what I wanted.


Thanks!


Dave -
Head Developer
www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] scale 9?

2007-04-03 Thread Dave Mennenoh
PS - Bevel works fine actually, it was my clip not being located at an 
integer pixel value that made the bevel look off. Sometimes...


Dave -
Head Developer
www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Date.getTime rounded in PocketPC player

2007-04-03 Thread Dave Mennenoh
I don't have any suggestions regarding the less accurate timing mechanism on 
the PDA, but I'd suggest this: Instead of timing how long it takes to do 
something - maybe you can do something x times in say 10 seconds. So instead 
of the speed via time, you get the speed via number of loop iterations. Can 
you do it that way?


Dave -
Head Developer
www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] scale 9?

2007-04-02 Thread Dave Mennenoh
I have a clip, with a single pixel border to get an embossed effect. I have 
it set to 9 slice scaling... it works nicely when I simply place the clip on 
stage and scale it - such as I do for behind my fields. However, I also use 
it as the background for a dynamically loaded image - and the images are of 
various sizes. I am setting the width and height of the embosser clip to 
that of the image, but the clip doesn't quite fit the image like it should. 
The clip is either not quite wide enough, or not quite tall enough... It 
must be the 9 slice scaling, since if I use a normal clip, without 9 slice 
enabled, it sizes it properly. But then my border gets hosed...


Thoughts?


Dave -
Head Developer
www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] The great CS3 Swindle

2007-04-01 Thread Dave Mennenoh
it makes sense it would be more expensive over there since products and 
goods coming from the US usually take longer to get over there, if they 
want it at the same time as us they have to pay more ! =D


No... that does not make sense. Have you looked at UPS shipping costs? 
Shipping is hardly the reason. I'd go with 'because they can'. Because it's 
the _only_ reason that makes any sense.


Dave -
Head Developer
www.blurredistinction.com 


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] ColorMatrix

2007-03-28 Thread Dave Mennenoh

I'd check out the Fuse Kit. You can tween color's super easy:

import com.mosesSupposes.fuse.*;
ZigoEngine.doTween(myMC, _tint ,0xFF, 3);

Will tween myMC to red in 3 seconds... Couldn't be much simpler. 



Dave -
Head Developer
www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] OT - Installing PHP, MySQL?

2007-03-26 Thread Dave Mennenoh
Thanks everyone, for the advice. They're giving remote desktop access, so 
I'm going to install and see how it goes...


Anyone know a good SQL group?



Dave -
Head Developer
www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] OT - Installing PHP, MySQL?

2007-03-23 Thread Dave Mennenoh
Thanks everyone. Both WAMP and XAMPP say they are for testing only, and 
should not be used for production - which is of course what I need. This 
will be on IIS, so hopefully it will be doable. I guess I'll attempt 
installing first and see how it goes.




Dave -
Head Developer
www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] OT - Installing PHP, MySQL?

2007-03-22 Thread Dave Mennenoh
Anyone have any experience in this area? We're developing a Flash site for a 
new client, who keeps all their own web servers in-house. They are MS house 
using .net and such. They are setting up a new server just for their new 
site, and since they are not familiar with PHP or MySQL (which is what we 
develop with) they are asking us to install them. They will give us remote 
access to the server...


How hard / not-hard is it to install PHP and MySQL on a remote server? 
Anything to be weary of? Is it something I should just skip attempting and 
hire an IT guy to do it?



Dave -
Head Developer
www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] OT - Installing PHP MySQL on a remote server

2007-03-22 Thread Dave Mennenoh
Sorry if this ends up coming through twice, but I sent it 2.5 hours ago and 
it hasn't reached the list yet.


Anyone have any experience in this area? We're developing a Flash site for a
new client, who keeps all their own web servers in-house. They are MS house
using .net and such. They are setting up a new server just for their new
site, and since they are not familiar with PHP or MySQL (which is what we
develop with) they are asking us to install them. They will give us remote
access to the server...

How hard / not-hard is it to install PHP and MySQL on a remote server?
Anything to be weary of? Is it something I should just skip attempting and
hire an IT guy to do it?




Dave -
Head Developer
www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Problems with Key event

2007-03-21 Thread Dave Mennenoh
Have you disabled shortucts? When you test the SWF - go to control  
disable... I trap delete and such that way.



Dave -
Head Developer
www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Super and this

2007-03-19 Thread Dave Mennenoh
Isn't that what 'instantiate' means? By 'instantiate' I mean 'make an 
instance of'.


Correct.

Instantiate an instance... now that makes no sense.




Dave -
Head Developer
www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Remoting - url encoded text

2007-02-24 Thread Dave Mennenoh
I am using remoting with AMFPHP for a project and, for the most part, it's 
going great. However, I have one little issue and I'm not quite sure of the 
best way to solve it. I have a MySQL table I select a bunch of fields from 
and return the result to Flash - which it is then used as the dataProvider 
for a grid object. Two of those fields are url encoded - one of which is 
displayed in the grid - with it's encoding. When I select an item in the 
grid for display, I unescape it. There's my problem - where to decode? I 
like being able to use the result directly as the dataProvider, but maybe I 
need to build and return an array from PHP instead - then decode before 
setting it as the provider. Any thoughts?



Dave -
Head Developer
www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Little Problem with AMFPHP browser

2007-02-07 Thread Dave Mennenoh
I've started playing with AMFPHP today, and it's pretty darned cool! I have 
a little service written, that sends back an SQL query to a datagrid - all 
is good. But I can't get the online service browser to work - it's a path 
problem I think.


Within the config.inc.php file it has this:

/**
 * This is the path to your services folder.  It should be fully qualified
 * and must include a trailing /  If you leave the value blank an attempt
 * will be made to search the INCLUDE_PATH for it.
 */

$cfg['AmfphpPath'] = realpath(dirname(dirname(__FILE__))) . '/amfphp/';
$cfg['ServicesPath'] = $cfg['AmfphpPath'] . 'services/';
$cfg['CodePath'] = str_replace('\\', '/', $cfg['AmfphpPath'] . 'src/');

I've tried a few things and the browser just complains. It's in the default 
amfphp install folder - webroot/amfphp/browser: 
http://www.blurredistinction.com/amfphp/browser/


But it complains it can't find the ServiceBrowser.php file.




Dave -
Head Developer
www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Little Problem with AMFPHP browser

2007-02-07 Thread Dave Mennenoh

In the error message, it's got amfphp repeated in the path


Argh... I never even noticed that, I was looking at the bold text only which 
didn't show it repeated twice. Removing it from the path line did the trick. 
Thanks for catching that.



Dave -
Head Developer
www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] SCORM?

2007-02-01 Thread Dave Mennenoh
Thanks for all the info on SCORM, it really helped a lot. Carolina mentioned 
using objectives to record all 21 answers. Nice idea... But I'm not entirely 
sure about what you mentioned regarding having to initialize them all first. 
I have an array of 21 values - can I just iterate that and set the 
objectives at the end, before closing the LMS?


Dave -
Head Developer
www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] SCORM?

2007-01-29 Thread Dave Mennenoh

For your FLV, you should load it dynamically and keep it external. We

had lots of external assets used by our SWF (MP3, FLV, pictures) and we
kept them out of the SCOs and out of the imsmanifest.xml, it was
becoming hard to list all those files in there ! But if you only have a
few external files, then you should (as it is best practice) keep them
listed in the manifest.

Great, glad to know this is possible. However, did you have control of the 
LMS server? Or are the FLV's on a separate server? I as as the whole point 
of scorm and sco's are to enable them to be deployed by almost any LMS, and 
the admins of this one seem to think that is important.


Thanks for the scoring info. I think we'll just keep the overall score for 
now as that should work fine.



Dave -
Head Developer
www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] SCORM?

2007-01-27 Thread Dave Mennenoh
I did a small quiz for a client and now they've decided to make it integrate 
into their LMS. I did some looking and it seems using external interface and 
calling the LMS like so: ExternalInterface.call(LMSInitialize); should 
work pretty well. However two things are not making sense to me. I see how I 
can call LMSSetValue to set the users score but I only see min, max, and raw 
score entries. The quiz has 21 questions, can I not track the response for 
each question?
Finally, this quiz has a bunch of associated FLV's - 50MB worth. Can the 
video content be kept outside of the SCO package? Does it need to be 
included in the manifest XML file? I thought I could just place the flvs on 
their server and reference them from Flash... that's what I was hoping.


Thanks for any insight.


Dave -
Head Developer
www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] SCORM?

2007-01-27 Thread Dave Mennenoh
Thanks for the info, but saying I should include the files in the manifest 
xml file is not saying I should need ti include them within the SCO itself. 
Do I need to? I can see from the perspective of allowing any LMS to deploy 
this SCO that the video files should be in the SCO... but is a 50MB SCO a 
normal thing? Seems to negate the whole point of using streaming files.


Also, Alain said - have all 21 questions in one SCO and send the score at 
the end. This is what I have... they wanted SCORM at the end so it was never 
developed for scorm compatibility in the first place... From what I see 
though sending at the end only allows me to send the min,max or core 
scores... so min at 0 and max at 21 and they got 18 right - so that's the 
core score... it works OK, but is not the best. Without having separate 
SCO's for each question, is it possible to record the answers for each 
question - or is it only possible to record the fact that they got 18 right 
out of 21...?



Dave -
Head Developer
www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Undefined value

2006-11-14 Thread Dave Mennenoh

You have an incorrect not equal:  !==

There's just one equal sign: !=



Dave -
Head Developer
www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Undefined value

2006-11-14 Thread Dave Mennenoh
!== is strict inequality, it tests for the exact opposite of the strict 
equality (===) operator.


My bad... I guess I never use the strict operators... Sorry.


Dave -
Head Developer
www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] onMouseup bug?

2006-10-20 Thread Dave Mennenoh
You don't need to use hitTest - you can just assign a function to the 
onRelease event within the constructor:


class com.blurredistinction.Mtest extends MovieClip {
function Mtest(){
 this.onRelease = function(){
  trace(this);
 }
}
}




Dave -
Head Developer
www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] AS3 SVG embedding resources

2006-10-20 Thread Dave Mennenoh
63K for that monitor? And it's vector? That's useless. A bitmap would be way 
smaller... Why are svg's so bloated? And why the heck would you want to use 
them?



Dave -
Head Developer
www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] AS3 SVG embedding resources

2006-10-20 Thread Dave Mennenoh
Thanks for the additional info. Using the those four example images just 
threw me off then, as any one of those images done in swf would be tiny 
compared to the svg counterpart.


Dave -
Head Developer
www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Php Host

2006-07-12 Thread Dave Mennenoh

Try www.ixwebhosting.com

They are inexpensive, offer everything you need and more, and are always in 
the top 10 on any host ranking site. Number 1 on the hosting chart even. 
IMO, you can't do much better.




Dave -
Adobe Community Expert
www.blurredistinction.com
http://www.adobe.com/communities/experts/ 


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Flash 9 Public Alpha ...

2006-07-06 Thread Dave Mennenoh

If you find the speed of technology to be too fast for you, or you find

Moore's law inconvenient, perhaps you should get a job working for the
government or a bank (I think they're up to the Flash 6 player by now),
or choose a different career path, like plumbing, carpentry or anything
that doesn't involve computers.


I've often thought working in a toll booth would be a nice change. 





Dave -
Adobe Community Expert
www.blurredistinction.com
http://www.adobe.com/communities/experts/
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Flash and Javascript Interaction

2006-06-12 Thread Dave Mennenoh

Where should I put those files?  Where is my class path?


Edit  Preferences  Click the ActionScript 2.0 Settings... button



Dave -
Adobe Community Expert
www.blurredistinction.com
http://www.adobe.com/communities/experts/
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] when can you read properties of a loaded swf?

2006-05-26 Thread Dave Mennenoh

You want onLoadInit instead of onLoadComplete.


Dave -
Adobe Community Expert
www.blurredistinction.com
www.macromedia.com/support/forums/team_macromedia/
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] New wrinkle in IE activation issue...

2006-04-20 Thread Dave Mennenoh
FlashObject seems to work well.. Just downloaded and Installed IE7 - my site 
still works without having to activate it, which is a relief, but I have to 
click to activate anything at macromedia.com. The aforemention hgtv.com also 
works without activation.


One odd thing after installing IE7 - my text seems antialiased in outlook 
express now... definitely different. Have to look into that.



Dave -
Adobe Community Expert
www.blurredistinction.com
www.macromedia.com/support/forums/team_macromedia/ 


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


  1   2   >