Re: [Flashcoders] Resize stage at runtime

2010-04-27 Thread Ruy Adorno

Take a look at this library: http://swffit.millermedeiros.com/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Flash Projects workflow

2009-12-21 Thread Ruy Adorno

I actually use a variation of this technique.
I'm also working with Flash Builder for coding and Flash IDE to export 
the library. The difference is that I use an implementation of this 
Grant Skinner technique to get the embedded elements from my Flash 
Library without losing the actionscript code. This way I don't need to 
declare a class for each exported asset, neither declare its variables, 
they'll all be accessible. 
http://www.gskinner.com/blog/archives/2007/03/using_flash_sym.html
I'm using PureMVC, so I have a Proxy class implementing the gskinner's 
technique where I just call a getSymbol() method to get each library 
symbol with its linkage reference.

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


Re: [Flashcoders] mac vs pc

2009-08-12 Thread Ruy Adorno
I'm on the 50/50 team, using flexBuilder/mac at working and 
flashDevelop/windows at home.
By now I love so many features in the both world that I can say which 
one is the best, but the flashDevelop native support to haxe is a key 
point when you want to work with it.
Finally, despite all the comparisons, I think that the flash community 
should be really proud to have such a great opensource tool like Flash 
Develop.


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


Re: [Flashcoders] Flash doesn´t detect MOUS E_LEAVE event while dragging outside stage on Firefox

2009-07-29 Thread Ruy Adorno
The last time I came across this problem, I used an MOUSE_MOVE loop to 
check everytime if the x and y mouse positions were inside the stage 
area, and if not I called the same function that should be called on the 
MOUSE_LEAVE event...


Ruy Adorno
http://www.ruyadorno.com

Isaac Alves wrote:

Hello,

Is there any workaround to the issue with Adobe Flash where a Flash Movie
does not receive a MOUSE_LEAVE event if the mouse is dragged outside of the
movie? Neither when i MOUSE_UP outside the stage.

stage.addEventListener(Event.MOUSE_LEAVE, dropIt);

function dropIt(e1:MouseEvent = null, e2:Event = null):void {
textField.text =  OK ;  // extreme debug method
full_mc.stopDrag();
stage.removeEventListener(MouseEvent.MOUSE_UP, dropIt);
stage.removeEventListener(Event.MOUSE_LEAVE, dropIt);
}

That actually works when I run the SWF file, and even on IE.

But on Firefox and Chrome nothing happens, it continues dragging the
MovieClip when the cursor returns to stage. The dropIt function doesn´t run
( the textField.text doesn´t update)

Thanks a lot!
Isaac
___
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] Dancing characters...

2009-07-22 Thread Ruy Adorno

Hello Sander,

Nice to see you around here, I saw in twitter you're starting your own 
dock effect this morning.
It's hard to know the reason for this strange behavior of the elements 
without see the code, but I have a guess that could be some problems 
with float numbers, I already have similar problems caused by this.
You can try to round the elements positions at each enterFrame call, try 
using int() and Math.floor().


Best,

Ruy Adorno
http://www.ruyadorno.com


Sander Schuurman wrote:

Hi list...

I'm trying to make some kind of Dock...

http://www.sentoplene.com/dock

But sometimes when I stop with the mouse, some characters keep on 
moving slightly... How can I get rid of that?


I'm simply doing on Event .ENTER_FRAME: scaleIcons and then 
positionIcons.
I'v tried to trigger the 2 functions only on MouseMove, but the 
responsiveness isn't accurate when you suddenly stop your mouse...


So anyone any idea with this?

thnx!

Sander Schuurman
sentoplene.com
___
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] Ruy Adorno portfolio

2009-06-26 Thread Ruy Adorno

Hello list,

I just released my new flash portfolio this week and want to spread the 
word.
It was developed using opensource programming tools like Haxe, SwfMill 
and FlexSDK.

You can check it online here:

http://www.ruyadorno.com

Thanks,

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


Re: [Flashcoders] Ruy Adorno portfolio

2009-06-26 Thread Ruy Adorno

Many thanks guys!

I used Physaxe as a physics engine, it has an excellent performance and 
is also opensource, you can check the project here: 
http://code.google.com/p/physaxe/


I would love if some of you can tweet it and other things to help me 
spread the word.


Best,

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


Re: [Flashcoders] Re: Fast color-transformation over MovieClip with cacheAsBitmap

2009-06-09 Thread Ruy Adorno
Why don't you create a BitmapData from the original background and apply 
the light on this new bitmapdata which even yourself said it's faster. 
Then, everytime the stage is resized you can just create another 
BitmapData from the original background.

This is not really a solution, but seems a nice and fast workaround.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Text field doesn't show hand cursor over links.

2009-05-13 Thread Ruy Adorno
You have to embed 2 times the same font in your library, I think you can 
use just the same id, but you should import one as bold and another as a 
simple font.


natalia Vikhtinskaya wrote:

I solved problem with hand cursor. Still can not make text bold. If I
check properties in library font- bold all text becomes bold.

2009/5/13 natalia Vikhtinskaya natavi.m...@gmail.com:
  

Thank you for help, but that does not help.  I added text area with
embeded Arial letters- normal and bold on stage.


2009/5/13 Karl DeSaulniers k...@designdrumm.com:


Hi Natalia,

On May 13, 2009, at 4:26 AM, natalia Vikhtinskaya wrote:

  

font-family: Arial;  // I have font Arial in the library with id “Arial”.



Try placing a instance of your embeded font off stage where your loading
your textBox.

  

Another problem if I have bold tags bsome text/b that text is not


Try strongyour text here/strong

HTH

Karl DeSaulniers
Design Drumm
http://designdrumm.com

___
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] Text field doesn't show hand cursor over links.

2009-05-13 Thread Ruy Adorno

And what about different ids and the same linkage?

natalia Vikhtinskaya wrote:

Not possible to have them with the same id.

2009/5/13 Ruy Adorno r...@lesite.ca:
  

You have to embed 2 times the same font in your library, I think you can use
just the same id, but you should import one as bold and another as a simple
font.

natalia Vikhtinskaya wrote:


I solved problem with hand cursor. Still can not make text bold. If I
check properties in library font- bold all text becomes bold.

2009/5/13 natalia Vikhtinskaya natavi.m...@gmail.com:

  

Thank you for help, but that does not help.  I added text area with
embeded Arial letters- normal and bold on stage.


2009/5/13 Karl DeSaulniers k...@designdrumm.com:



Hi Natalia,

On May 13, 2009, at 4:26 AM, natalia Vikhtinskaya wrote:


  

font-family: Arial;  // I have font Arial in the library with id
“Arial”.




Try placing a instance of your embeded font off stage where your loading
your textBox.


  

Another problem if I have bold tags bsome text/b that text is not



Try strongyour text here/strong

HTH

Karl DeSaulniers
Design Drumm
http://designdrumm.com

___
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] How to embed assets in pure as3?

2009-05-13 Thread Ruy Adorno
In fact, I think it should be intanciated as Bitmap or BitmapData since 
they're images.

But you can also try:

var img1:* = new newImage();
addChild(img1);


Glen Pike wrote:

Hi,

   I think you have to instanciate them as Sprite or MovieClip?

   Glen

ACE Flash wrote:
hi there, I'd like to use pure  actionscript 3 to embed my assets in 
flash.

and use addChild() to add them on the stage.

The code seem doesn't work for me, any suggestions?

thanks


[Embed(source=/assets/img1.gif , mimeType=image/gif)]
public var newImage:Class;

[Embed(source=/assets/img2.gif , mimeType=image/gif)]
public var oldImage:Class;


var img1:Shape= new newImage() as Shape;;
addChild( img1 );
___
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] FitFlash - smart flash resize script

2007-10-19 Thread Ruy Adorno
A friend o'mine made a javascript that automatically resizes flash to 
100% wid/hei when the browser window is greater than the minimum desired 
size and
resizes flash to the minimum desired size when the browser window is 
smaller... it makes the default browser scroll appears and make the 
content more accessible..


i think it's very useful for flash sites that uses 100% wid/hei..

http://fitflash.millermedeiros.com/

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


Re: [Flashcoders] AS 2 Delegate question

2007-06-02 Thread Ruy Adorno
Well, what I understand about the Delegate class, is that you can´t send 
any parameter through the Delegate.create method, any parameter you want 
to pass, must be send by the event.


btnCollection.onRollOver = Delegate.create(this, btnRollOver);


In this case the delegate will send to the btnRollOver function only 
the parameters of the event onRollOver.
You will have to find another way to solve this problem... maybe extend 
the MovieClip class, or maybe it could be better to not use the delegate.


I hope this could help.
___
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