RE: [Flashcoders] as3 -re-dimensioning spirte but not its children

2009-07-30 Thread Chris Foster
Or you could create a new 'duplicate' sprite (instead of scaling the
original) and re-parent the children to the new sprite using:

newParent.addChild(objectToReparent);

C:


-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Ashim
D'Silva
Sent: Thursday, 30 July 2009 3:38 PM
To: Flash Coders List
Subject: Re: [Flashcoders] as3 -re-dimensioning spirte but not its
children

I'd say extend a new class from Sprite, and override the getters and
setters for width and height, and scaleX and scaleY if you need them.

However, if you don't want to do that, make two sprites inside your
sprite. One with things you want to change and one width those you
don't. Then just resize the sprite that you want to.

Ashim

The Random Lines
My online portfolio
www.therandomlines.com



2009/7/30 Isaac Alves isaacal...@gmail.com:
 Hi list,

 Is it possible to alter the width or height of a sprite dynamically
 without altering the width and height of its children ?

 Even when I add children to a Sprite that had its dimensions altered
 dynamically, these children have their dimensions changed.

 Could I do something like sprite.resetScaleXandY ?

 What do you suggest in this kind of situation?

 Thanks in advance,
 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


This e-mail, including any attached files, may contain confidential and 
privileged information for the sole use of the intended recipient.  Any review, 
use, distribution, or disclosure by others is strictly prohibited.  If you are 
not the intended recipient (or authorized to receive information for the 
intended recipient), please contact the sender by reply e-mail and delete all 
copies of this message.

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


[Flashcoders] Re: Flashcoders Digest, Vol 22, Issue 32

2009-07-30 Thread Isaac Alves
i-ve just done that , it worked out well  thanks!


 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] Compiling API Docs with Flex 3 SDK

2009-07-30 Thread Jeff Fox
I've tried a few times to compile my API docs for a framework I am working
on with the asdoc tool that comes in the FLEX 3 SDK, but I always run into a
number of strange compile errors that don't come up with the regular Flex
compiler. I've tried using both FlashDevlop's integrated ASDoc Tool as well
as the command line version. Anyone have any tips or suggestions?

Regards,
-JFox
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] ExternalInterface.call not working on desktop...??

2009-07-30 Thread BOYD SPEER
Hi all,
I am probably missing something obvious but I have a flash .swf in embedded in 
.html and an ExternalInterface.call( to javascript). 
It works great  from my website in both I.E. and Firefox - but not from the 
computer desktop (even though all the files are in the same relationship in 
their folders, etc..) Is there some security setting or other setting that I 
need to check to make this work? or is it just not possible?
Thanks for any insights!

-Boyd

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


Re: [Flashcoders] ExternalInterface.call not working on desktop...??

2009-07-30 Thread Karl DeSaulniers

Check you publish settings, you probably have it set to network only.

Karl


On Jul 30, 2009, at 5:21 PM, BOYD SPEER wrote:


Hi all,
I am probably missing something obvious but I have a flash .swf in  
embedded in .html and an ExternalInterface.call( to javascript).
It works great  from my website in both I.E. and Firefox - but not  
from the computer desktop (even though all the files are in the  
same relationship in their folders, etc..) Is there some security  
setting or other setting that I need to check to make this work? or  
is it just not possible?

Thanks for any insights!

-Boyd

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


Karl DeSaulniers
Design Drumm
http://designdrumm.com

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


Re: [Flashcoders] ExternalInterface.call not working on desktop...??

2009-07-30 Thread BOYD SPEER
The menu.swf actually is set to Access local files only and seems to work 
only from the website...

Thanks for responding Karl... would changing the setting to Access network 
files only allow a broader or narrower selection of files...?

- Original Message -
From: Karl DeSaulniers k...@designdrumm.com
Date: Thursday, July 30, 2009 5:31 pm
Subject: Re: [Flashcoders] ExternalInterface.call not working on desktop...??
To: Flash Coders List flashcoders@chattyfig.figleaf.com

 Check you publish settings, you probably have it set to network only.
 
 Karl
 
 
 On Jul 30, 2009, at 5:21 PM, BOYD SPEER wrote:
 
  Hi all,
  I am probably missing something obvious but I have a flash 
 .swf in  
  embedded in .html and an ExternalInterface.call( to javascript).
  It works great  from my website in both I.E. and Firefox -
 but not  
  from the computer desktop (even though all the files are in 
 the  
  same relationship in their folders, etc..) Is there some 
 security  
  setting or other setting that I need to check to make this 
 work? or  
  is it just not possible?
  Thanks for any insights!
 
  -Boyd
 
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 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


Re: [Flashcoders] ExternalInterface.call not working on desktop...??

2009-07-30 Thread Karl DeSaulniers
I think if the loaded swf is in a main swf, it inherits the root  
security?


Not positive.

Karl

Sent from losPhone

On Jul 30, 2009, at 5:49 PM, BOYD SPEER bsp...@shaw.ca wrote:

The menu.swf actually is set to Access local files only and seems  
to work only from the website...


Thanks for responding Karl... would changing the setting to Access  
network files only allow a broader or narrower selection of files...?


- Original Message -
From: Karl DeSaulniers k...@designdrumm.com
Date: Thursday, July 30, 2009 5:31 pm
Subject: Re: [Flashcoders] ExternalInterface.call not working on  
desktop...??

To: Flash Coders List flashcoders@chattyfig.figleaf.com


Check you publish settings, you probably have it set to network only.

Karl


On Jul 30, 2009, at 5:21 PM, BOYD SPEER wrote:


Hi all,
I am probably missing something obvious but I have a flash

.swf in

embedded in .html and an ExternalInterface.call( to javascript).
It works great  from my website in both I.E. and Firefox -

but not

from the computer desktop (even though all the files are in

the

same relationship in their folders, etc..) Is there some

security

setting or other setting that I need to check to make this

work? or

is it just not possible?
Thanks for any insights!

-Boyd

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


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] ExternalInterface.call not working on desktop...??

2009-07-30 Thread Barry Hannah
AFAIK ExternalInterface doesn't work in the standalone player, only in the 
browser.

You should be getting error messages to that effect. You can test whether or 
not it's available to use with the Boolean ExternalInterface.available property.


BH




-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com 
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of BOYD SPEER
Sent: Friday, 31 July 2009 10:49 a.m.
To: Flash Coders List
Subject: Re: [Flashcoders] ExternalInterface.call not working on desktop...??

The menu.swf actually is set to Access local files only and seems to work 
only from the website...

Thanks for responding Karl... would changing the setting to Access network 
files only allow a broader or narrower selection of files...?

- Original Message -
From: Karl DeSaulniers k...@designdrumm.com
Date: Thursday, July 30, 2009 5:31 pm
Subject: Re: [Flashcoders] ExternalInterface.call not working on desktop...??
To: Flash Coders List flashcoders@chattyfig.figleaf.com

 Check you publish settings, you probably have it set to network only.
 
 Karl
 
 
 On Jul 30, 2009, at 5:21 PM, BOYD SPEER wrote:
 
  Hi all,
  I am probably missing something obvious but I have a flash 
 .swf in  
  embedded in .html and an ExternalInterface.call( to javascript).
  It works great  from my website in both I.E. and Firefox -
 but not  
  from the computer desktop (even though all the files are in 
 the  
  same relationship in their folders, etc..) Is there some 
 security  
  setting or other setting that I need to check to make this 
 work? or  
  is it just not possible?
  Thanks for any insights!
 
  -Boyd
 
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 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] Seek bar not working with FLVPlayback Component?

2009-07-30 Thread Peter B
From the article Sam links to:

Navigation cue points are used for navigation and seeking, and to
trigger ActionScript methods when the cue point is reached. Embedding
a navigation cue point inserts a keyframe at that point in the video
clip to enable viewers to seek to that point in the video.

As I said, it's an issue with keyframes, not cue points.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Seek bar not working with FLVPlayback Component?

2009-07-30 Thread Karl DeSaulniers
Well in that case, how would you create the navigation without  
increasing the size of the flv? If he only has two frames, can he set  
cue points for a time based navigation instead of frame based?


Karl

Sent from losPhone

On Jul 30, 2009, at 7:53 PM, Peter B pete...@googlemail.com wrote:


From the article Sam links to:


Navigation cue points are used for navigation and seeking, and to
trigger ActionScript methods when the cue point is reached. Embedding
a navigation cue point inserts a keyframe at that point in the video
clip to enable viewers to seek to that point in the video.

As I said, it's an issue with keyframes, not cue points.
___
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] Seek bar not working with FLVPlayback Component?

2009-07-30 Thread Peter B
You can't. Setting cue points for time based navigation inserts a key
frame. You can only seek to key frames. It's all covered in that
article, specifically:

Specify the type of cue point you want to embed. You can embed either
a navigation or event cue point.

 * Event cue points are used to trigger ActionScript methods when the
cue point is reached, and let you synchronize the video playback to
other events within the Flash presentation.


 * Navigation cue points are used for navigation and seeking, and to
trigger ActionScript methods when the cue point is reached. Embedding
a navigation cue point inserts a keyframe at that point in the video
clip to enable viewers to seek to that point in the video.

Note: Adding additional keyframes can lower the overall quality of a
video clip. For this reason, navigation cue points should only be used
when users will need to seek to a particular point within the video.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] Seek bar not working with FLVPlayback Component?

2009-07-30 Thread Barry Hannah
Fwiw, you can set Actionscript cue points that trigger when your flv reaches a 
frame. That wouldn't increase flv file size.
This works irrespective of keyframes in the video file. However it has less 
accuracy (+/- 500ms apparently) than a metadata cue point and associated 
keyframe.

var cue1:Object = new Object();
cue.time = 8.5; // seconds
cue.name = THIS_IS_MY_CUE_POINT;
cue.type = CuePointType.ACTIONSCRIPT;
myFlvPlaybackInstance.addASCuePoint(cue);
myFlvPlaybackInstance.addEventListener(MetadataEvent.CUE_POINT, handleCuePoint);


BH.



-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com 
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Peter B
Sent: Friday, 31 July 2009 1:29 p.m.
To: Flash Coders List
Subject: Re: [Flashcoders] Seek bar not working with FLVPlayback Component?

You can't. Setting cue points for time based navigation inserts a key
frame. You can only seek to key frames. It's all covered in that
article, specifically:

Specify the type of cue point you want to embed. You can embed either
a navigation or event cue point.

 * Event cue points are used to trigger ActionScript methods when the
cue point is reached, and let you synchronize the video playback to
other events within the Flash presentation.


 * Navigation cue points are used for navigation and seeking, and to
trigger ActionScript methods when the cue point is reached. Embedding
a navigation cue point inserts a keyframe at that point in the video
clip to enable viewers to seek to that point in the video.

Note: Adding additional keyframes can lower the overall quality of a
video clip. For this reason, navigation cue points should only be used
when users will need to seek to a particular point within the video.
___
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] Seek bar not working with FLVPlayback Component?

2009-07-30 Thread Karl DeSaulniers
Great points both of you. Thanks for the input. Hopefully one of these  
approaches works for him. I know I learned something.


Best,

Karl

Sent from losPhone

On Jul 30, 2009, at 8:51 PM, Barry Hannah ba...@shift.co.nz wrote:

Fwiw, you can set Actionscript cue points that trigger when your flv  
reaches a frame. That wouldn't increase flv file size.
This works irrespective of keyframes in the video file. However it  
has less accuracy (+/- 500ms apparently) than a metadata cue point  
and associated keyframe.


var cue1:Object = new Object();
cue.time = 8.5; // seconds
cue.name = THIS_IS_MY_CUE_POINT;
cue.type = CuePointType.ACTIONSCRIPT;
myFlvPlaybackInstance.addASCuePoint(cue);
myFlvPlaybackInstance.addEventListener(MetadataEvent.CUE_POINT,  
handleCuePoint);



BH.



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

Sent: Friday, 31 July 2009 1:29 p.m.
To: Flash Coders List
Subject: Re: [Flashcoders] Seek bar not working with FLVPlayback  
Component?


You can't. Setting cue points for time based navigation inserts a key
frame. You can only seek to key frames. It's all covered in that
article, specifically:

Specify the type of cue point you want to embed. You can embed either
a navigation or event cue point.

* Event cue points are used to trigger ActionScript methods when the
cue point is reached, and let you synchronize the video playback to
other events within the Flash presentation.


* Navigation cue points are used for navigation and seeking, and to
trigger ActionScript methods when the cue point is reached. Embedding
a navigation cue point inserts a keyframe at that point in the video
clip to enable viewers to seek to that point in the video.

Note: Adding additional keyframes can lower the overall quality of a
video clip. For this reason, navigation cue points should only be used
when users will need to seek to a particular point within the video.
___
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] Seek bar not working with FLVPlayback Component?

2009-07-30 Thread Peter B
Sure Barry, that's the first type of cue point described in the
article. You can't seek to an event cue point though.

Cheers Karl ;)
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Seek bar not working with FLVPlayback Component?

2009-07-30 Thread Sam Brown
great threat, thanks for all the input -

event cue points == good times..great for triggering transitions and
such..(e.g. rendered video from AE)

myVideo_mc.addEventListener(MetadataEvent.CUE_POINT, onCuePoint);
function onCuePoint(event:MetadataEvent):void
{
   trace(Elapsed time in seconds:  + flvPlayback.playheadTime);
   trace(Cue point name is:  + event.info.name);
   trace(Cue point type is:  + event.info.type);
}

if using from Flash IDE, don't forget: import fl.video.VideoEvent;
 import
fl.video.MetadataEvent;



On Thu, Jul 30, 2009 at 7:34 PM, Peter B pete...@googlemail.com wrote:

 Sure Barry, that's the first type of cue point described in the
 article. You can't seek to an event cue point though.

 Cheers Karl ;)
 ___
 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] [JOB] Flash/Flex Developer, San Mateo, CA | 75-120k

2009-07-30 Thread Beau Gould (OSS)
Flash/Flex Developer, San Mateo, CA | 75-120k 

Our client is extremely well-known and offers a truly fun and casual
work environment. You'll be in a team of highly talented and creative
developers.  Benefits include: shares in the company, 401K, 10 Company
Paid Holidays as well as 15 PTO days per year - and your birthday is a
paid day off!  Medical, Dental, and Vision as well as Life Insurance,
Short  Long Term Disability, and an Employee Assistance Program. 

This role requires expertise in Flash/Flex Development. This position
will work closely with Product Managers, Designers, User Experience and
Creative Teams to deliver hot, cutting edge web and client based
applications and affiliated presentation components.

For this role we require the following: 

1. Minimum of 3+ years of Flash/Flex Development working on Major Flash
RIA 
2. Strong command of ActionScript 3.0 and OOP 
3. Experience working with Flash Apps that use XML and Server Side
Technologies (including an understanding of XSD/DTD for validation. 
4. Understanding of Flash Memory Management 
5. Solid understanding of Web Browsers 
6. Ability to mentor and coach others in Flash/Flex 

To be considered, please submit your resume and preferably a portfolio
as well along with your salary requirements to
beau-AT-open-source-staffing.com  

Thank you, 

Beau J. Gould 
Open Source Staffing 
www.open-source-staffing.com 
beau-AT-open-source-staffing.com 

Flash, Flex, AIR (and related) Discussion / Jobs 
http://www.linkedin.com/groups?gid=990627 

Keywords (please ignore) 

Flash 8, Flash 9, ActionScript, ActionScripting, Action Script, AS1,
AS2, AS3, Flex, Flex 2, Flex 3, Adobe Flex Builder 3, Flex Builder 3,
Flex 3 SDK, Flex lite, Flexlite, Flash Media Server, Flash Remoting,
Flash Video, Flash Game, AMFPHP, OpenAMF, AIR, Cairngorm, BlazeDS,
Director, Lingo, ACID, Sound Forge, Toast, Quicktime, After Effects,
PhotoShop, Illustrator, Dreamweaver, Fireworks, Javascript, Lingo, PHP,
AJAX, ASP, MySQL, Visual Basic, XML, MXML, HTML, CSS, OOP, Rich Internet
Application, RIA 

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