[Flashcoders] Flash on top of flash

2011-09-21 Thread Mikael Enroos
Hi,

I’m trying to position a windowed swf on top of another windowed swf on my 
site. The underlaying swf (windowed) is the main application and now I need to 
add a separate swf on top of it, which is another application.

I tried with some css work including z-layer but without any luck. Has anyone 
else done this?

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


Re: [Flashcoders] Flash on top of flash

2011-09-21 Thread Henrik Andersson
You won't get much luck overlaying anything on top of a flash player. 
Not even another flash player.


I think that the correct solution here is to use just one flash player 
that loads both movies.

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


Re: [Flashcoders] Flash on top of flash

2011-09-21 Thread Karl DeSaulniers

Try wrapping your swf in a span or div and set the z-index to that.
Also, set the object and embed z-index to inherit in your css.

object, embed { z-index:inherit; }

Work in some browsers, but by-and-large very buggy.
I would go with Henrik's suggestion if you can.
You would think this bug would have been fixed years ago.
But, i digress..

Best,
Karl

On Sep 21, 2011, at 2:40 AM, Henrik Andersson wrote:

You won't get much luck overlaying anything on top of a flash  
player. Not even another flash player.


I think that the correct solution here is to use just one flash  
player that loads both movies.

___
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] Flash on top of flash

2011-09-21 Thread Ben Sand
This will probable be inconsistent across browsers and operating systems,
however you can always try!

Also, if you can get it to work, you may lose all 2D (and in the future 3D)
acceleration by the video card, as everything will have to be processed in
software

From memory, window and direct modes allow for 3d, opaque and transparent
specifiy software and allow overlays of other content, eg. html menus
popping up over the flash, possibly other flash player instances too. see
here for more details:

*wmode* - Possible values: window, direct, opaque, transparent, gpu. Sets
the Window Mode property of the Flash movie for transparency, layering,
positioning, and rendering in the browser. If this attribute is omitted, the
default value is window. For more information, see Using Window Mode
(wmode) 
valueshttp://kb2.adobe.com/cps/127/tn_12701.html#main_BrowserSupportForWmodes
 below.
http://kb2.adobe.com/cps/127/tn_12701.html

On 21 September 2011 16:09, Mikael Enroos mikael.enr...@paf.com wrote:

 Hi,

 I’m trying to position a windowed swf on top of another windowed swf on my
 site. The underlaying swf (windowed) is the main application and now I need
 to add a separate swf on top of it, which is another application.

 I tried with some css work including z-layer but without any luck. Has
 anyone else done this?

 Mikael Enroos
 Webmaster

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


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


Re: [Flashcoders] Flash on top of flash

2011-09-21 Thread Glen Pike

Hi,

I had to do some similar hacky workaround for a site that wanted a flash 
navigation that expanded over the top of HTML.


The Flash had to be fullscreen for the intro and then shrink vertically 
to be the navigation bar at the top of the screen when content appeared.


The only way I could figure to do this was to have Flash call JavaScript 
after / before each transition to change the css and expand / contract 
the Flash div over the top of the other content.


If the non-intersecting parts of your 2 swfs is rectangular, this might 
work for you?


HTH

Glen

On 21/09/2011 07:09, Mikael Enroos wrote:

Hi,

I'm trying to position a windowed swf on top of another windowed swf on my 
site. The underlaying swf (windowed) is the main application and now I need to 
add a separate swf on top of it, which is another application.

I tried with some css work including z-layer but without any luck. Has anyone 
else done this?

Mikael Enroos
Webmaster


___
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] Convert flash animation with sound to Ipad

2011-09-21 Thread natalia Vikhtinskaya
Hi
I want to convert Flash application to iPad. Flash is frame based
animation with streaming sound, masks and buttons Back/Next/Stop/Play.
 I googled this subject and did not find any useful information with
examples. Please give me advice where to learn more.

Thank you in advance.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] TLF (TextLayout) markup (or even FXG markup) to PDF: hints/help/advice/save me

2011-09-21 Thread Cédric Muller
Does anyone know if Adobe did a TextLayout FXG markup to PDF  
converter ? (that would be a blast to envision such txt layout  
without building a bridge towards PDF !! Seriously, I am about to  
whine as I didn't find anything ... just wondering what to do next)


What I have found, and I am not happy about it:
I have TLF markup - I convert to XML - I use XSL:FO and render to  
PDF ???


Never used to beg or anything, but pleeease  (Why do I feel left  
alone when I opt for TextLayout action ? )


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


Re: [Flashcoders] Convert flash animation with sound to Ipad

2011-09-21 Thread Deepanjan Das
Hi Natavi,
You need to use Adobe Flash CS5 to export flash for iPad.
Remember to use touch events and no mouse over and mouse outs in Ipad.

Warm Regards
Deepanjan Das
W: http://deepanjandas.wordpress.com
|| Om Manasamarthadata Shri Aniruddhaya Namah
||http://www.manasamarthyadata.com/
*Think of the environment before printing this email
__
*

On Wed, Sep 21, 2011 at 4:29 PM, natalia Vikhtinskaya natavi.m...@gmail.com
 wrote:

 Hi
 I want to convert Flash application to iPad. Flash is frame based
 animation with streaming sound, masks and buttons Back/Next/Stop/Play.
  I googled this subject and did not find any useful information with
 examples. Please give me advice where to learn more.

 Thank you in advance.
 ___
 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] Convert flash animation with sound to Ipad

2011-09-21 Thread natalia Vikhtinskaya
Do I need CS5 or CS5.5? I am looking  for any working example or
tutorial for using timeline animation and touch events.

2011/9/21 Deepanjan Das deepanjan@gmail.com:
 Hi Natavi,
 You need to use Adobe Flash CS5 to export flash for iPad.
 Remember to use touch events and no mouse over and mouse outs in Ipad.

 Warm Regards
 Deepanjan Das
 W: http://deepanjandas.wordpress.com
 || Om Manasamarthadata Shri Aniruddhaya Namah
 ||http://www.manasamarthyadata.com/
 *Think of the environment before printing this email
 __
 *

 On Wed, Sep 21, 2011 at 4:29 PM, natalia Vikhtinskaya natavi.m...@gmail.com
 wrote:

 Hi
 I want to convert Flash application to iPad. Flash is frame based
 animation with streaming sound, masks and buttons Back/Next/Stop/Play.
  I googled this subject and did not find any useful information with
 examples. Please give me advice where to learn more.

 Thank you in advance.
 ___
 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] Flash on top of flash

2011-09-21 Thread Matt S.
You're pretty much guaranteed some weirdness in the display. I was
able to get this working, in a few latest-greatest browsers, but even
there if you had motion happening in both layers at once I was getting
some odd artifacts and overlaps. I dont think the browsers, or Flash
for that matter, are really set up to deal with layered object's.

.m

On Wed, Sep 21, 2011 at 2:09 AM, Mikael Enroos mikael.enr...@paf.com wrote:
 Hi,

 I’m trying to position a windowed swf on top of another windowed swf on my 
 site. The underlaying swf (windowed) is the main application and now I need 
 to add a separate swf on top of it, which is another application.

 I tried with some css work including z-layer but without any luck. Has anyone 
 else done this?

 Mikael Enroos
 Webmaster

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



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


Re: [Flashcoders] Flash on top of flash

2011-09-21 Thread Cédric Muller

SWF on top of another SWF: in Flash or in HTML ?

In Flash, it could be easier, by loading the SWF into a container,  
and doing a '_lockroot' (if AS2)


hth,
Cedric


You're pretty much guaranteed some weirdness in the display. I was
able to get this working, in a few latest-greatest browsers, but even
there if you had motion happening in both layers at once I was getting
some odd artifacts and overlaps. I dont think the browsers, or Flash
for that matter, are really set up to deal with layered object's.

.m

On Wed, Sep 21, 2011 at 2:09 AM, Mikael Enroos  
mikael.enr...@paf.com wrote:

Hi,

I’m trying to position a windowed swf on top of another windowed  
swf on my site. The underlaying swf (windowed) is the main  
application and now I need to add a separate swf on top of it,  
which is another application.


I tried with some css work including z-layer but without any luck.  
Has anyone else done this?


Mikael Enroos
Webmaster

___
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] Question about SWC elements for use in Flex

2011-09-21 Thread Eric E. Dolecki
Apologies but I haven't done any Flex in a few years and I am getting back
into it.

I created a FLA and then created some visual assets in the Library, with
Linkage names. I then published a SWC of these.

In my Flex app project I linked the SWC with my project. Then I try to call
the stuff up and place  I get an error:

fx:Script
![CDATA[
private function init():void {
var s:Sphere = new Sphere();
this.addElement(s);
}
]]
/fx:Script

TypeError: Error #1034: Type Coercion failed: cannot convert
Sphere@46b0179to mx.core.IVisualElement.

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


Re: [Flashcoders] Flash on top of flash

2011-09-21 Thread Cédric Muller
ok, but overlaying a container over another container in Flash is  
somewhat straightforward. What isn't is the way the 2 SWFs could/must  
communicate ...


thanks for the precisions


I think we're specifically talking in HTML here. I meant that Flash
isnt really designed to display while overlapping multiple swf objects
embedded in an html page.

.m

2011/9/21 Cédric Muller flashco...@benga.li:

SWF on top of another SWF: in Flash or in HTML ?


___
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] Question about SWC elements for use in Flex

2011-09-21 Thread Cédric Muller

what if you do 'var s:Sphere = new Sphere() as IVisualElement' ?`


Apologies but I haven't done any Flex in a few years and I am  
getting back

into it.

I created a FLA and then created some visual assets in the Library,  
with

Linkage names. I then published a SWC of these.

In my Flex app project I linked the SWC with my project. Then I try  
to call

the stuff up and place  I get an error:

fx:Script
![CDATA[
private function init():void {
var s:Sphere = new Sphere();
this.addElement(s);
}
]]
/fx:Script

TypeError: Error #1034: Type Coercion failed: cannot convert
Sphere@46b0179to mx.core.IVisualElement.

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


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


Re: [Flashcoders] Flash on top of flash

2011-09-21 Thread Matt S.
Yep, I agree, I'm not the original question-asker though, just tryin to help :)

.m

2011/9/21 Cédric Muller flashco...@benga.li:
 ok, but overlaying a container over another container in Flash is somewhat
 straightforward. What isn't is the way the 2 SWFs could/must communicate ...

 thanks for the precisions

 I think we're specifically talking in HTML here. I meant that Flash
 isnt really designed to display while overlapping multiple swf objects
 embedded in an html page.

 .m

 2011/9/21 Cédric Muller flashco...@benga.li:

 SWF on top of another SWF: in Flash or in HTML ?

 ___
 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] Flash on top of flash

2011-09-21 Thread Kevin Newman
There is an old solution - put the top layered Object in its own HTML 
page, and load that into an iframe, then position the iframe over the 
windowed flash movie.


I haven't tried that in ages, but I think it still works.

Kevin N.


On 9/21/11 2:09 AM, Mikael Enroos wrote:

Hi,

I'm trying to position a windowed swf on top of another windowed swf on my 
site. The underlaying swf (windowed) is the main application and now I need to 
add a separate swf on top of it, which is another application.

I tried with some css work including z-layer but without any luck. Has anyone 
else done this?

Mikael Enroos
Webmaster


___
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] Question about SWC elements for use in Flex

2011-09-21 Thread Eric E. Dolecki
*implicit coercion of a value of type mx.core.IVisualElement to unrelated
type Sphere.*
:/

2011/9/21 Cédric Muller flashco...@benga.li

 what if you do 'var s:Sphere = new Sphere() as IVisualElement' ?`


  Apologies but I haven't done any Flex in a few years and I am getting back
 into it.

 I created a FLA and then created some visual assets in the Library, with
 Linkage names. I then published a SWC of these.

 In my Flex app project I linked the SWC with my project. Then I try to
 call
 the stuff up and place  I get an error:

 fx:Script
 ![CDATA[
 private function init():void {
var s:Sphere = new Sphere();
this.addElement(s);
 }
 ]]
 /fx:Script

 TypeError: Error #1034: Type Coercion failed: cannot convert
 Sphere@46b0179to mx.core.IVisualElement.

 ?
 __**_
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.**com Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/**mailman/listinfo/flashcodershttp://chattyfig.figleaf.com/mailman/listinfo/flashcoders


 __**_
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.**com Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/**mailman/listinfo/flashcodershttp://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] Question about SWC elements for use in Flex

2011-09-21 Thread Eric E. Dolecki
If I make an ActionScript Project - things work fine. I link the SWC, import
the asset's stub class  I can use it. However I can't figure how to do the
same for a Flex Project or Flex Mobile Project yet.


  Google Voice: (508) 656-0622
  Twitter: eric_dolecki  XBoxLive: edolecki  PSN: eric_dolecki
  http://blog.ericd.net



On Wed, Sep 21, 2011 at 10:51 AM, Eric E. Dolecki edole...@gmail.comwrote:

  *implicit coercion of a value of type mx.core.IVisualElement to unrelated
 type Sphere.*
 :/


 2011/9/21 Cédric Muller flashco...@benga.li

 what if you do 'var s:Sphere = new Sphere() as IVisualElement' ?`


  Apologies but I haven't done any Flex in a few years and I am getting
 back
 into it.

 I created a FLA and then created some visual assets in the Library, with
 Linkage names. I then published a SWC of these.

 In my Flex app project I linked the SWC with my project. Then I try to
 call
 the stuff up and place  I get an error:

 fx:Script
 ![CDATA[
 private function init():void {
var s:Sphere = new Sphere();
this.addElement(s);
 }
 ]]
 /fx:Script

 TypeError: Error #1034: Type Coercion failed: cannot convert
 Sphere@46b0179to mx.core.IVisualElement.

 ?
 __**_
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.**com Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/**mailman/listinfo/flashcodershttp://chattyfig.figleaf.com/mailman/listinfo/flashcoders


 __**_
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.**com Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/**mailman/listinfo/flashcodershttp://chattyfig.figleaf.com/mailman/listinfo/flashcoders



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


Re: [Flashcoders] Convert flash animation with sound to Ipad

2011-09-21 Thread Kevin Newman

On 9/21/11 9:29 AM, natalia Vikhtinskaya wrote:

Do I need CS5 or CS5.5? I am looking  for any working example or
tutorial for using timeline animation and touch events.
You can use MouseEvent.CLICK and the like, it's just that mouse over 
interactions will be problematic (the events are fired in a different 
sequence on iPad, and there is no way to hover on touch screens).


Stick to MouseEvent.CLICK, and assume no rollovers, and you should be 
fine. Also, make your hotspots bigger, so they are finger friendly.


Kevin N.

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


Re: [Flashcoders] Convert flash animation with sound to Ipad

2011-09-21 Thread Kevin Newman

That question could mean 1 of two different targets:

1. HTML5 - so that the flash app runs in Mobile Safari, integrated 
with the website. In that case, you need to port or convert to 
HTML/JS/CSS. I haven't found anything particular hands free to do that 
conversion, but you could try Google Swiffy if it's AS2 (don't know if 
it supports Sound). I'm not sure what you'd use for AS3 (there is 
Jangaroo, but it doesn't convert fla or swf, only AS3, and doesn't run 
particular well on the current version of iOS).


2. An iOS App Store app, that can be installed through that system. In 
that case AIR for iOS is probably a good bet. If you don't have Flash 
CS5 (or 5.5), you can use the free SDK to compile the necessary app. 
Make sure to use at least AIR 2.7 (especially if you target CPU mode), 
as it's much much faster than previous versions.


Which do you mean?

Kevin N.


On 9/21/11 6:59 AM, natalia Vikhtinskaya wrote:

I want to convert Flash application to iPad.


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


Re: [Flashcoders] Convert flash animation with sound to Ipad

2011-09-21 Thread natalia Vikhtinskaya
I have Flash CS5. And I try to find way to convert animation into iPad
application. Flash file has not much scripting: stop() and script for
navigation buttons. So I have two questions:
1. What format should I save  in Flash CS5?
2. Should I have CS5.5 for better result?
3. What  should I change in scripting so that play correctly in iPad?
I am looking for simple example that can help.


Google Swifty can not convert flash with streaming sound and masks.

2011/9/21 Kevin Newman capta...@unfocus.com:
 That question could mean 1 of two different targets:

 1. HTML5 - so that the flash app runs in Mobile Safari, integrated with
 the website. In that case, you need to port or convert to HTML/JS/CSS. I
 haven't found anything particular hands free to do that conversion, but you
 could try Google Swiffy if it's AS2 (don't know if it supports Sound). I'm
 not sure what you'd use for AS3 (there is Jangaroo, but it doesn't convert
 fla or swf, only AS3, and doesn't run particular well on the current version
 of iOS).

 2. An iOS App Store app, that can be installed through that system. In that
 case AIR for iOS is probably a good bet. If you don't have Flash CS5 (or
 5.5), you can use the free SDK to compile the necessary app. Make sure to
 use at least AIR 2.7 (especially if you target CPU mode), as it's much much
 faster than previous versions.

 Which do you mean?

 Kevin N.


 On 9/21/11 6:59 AM, natalia Vikhtinskaya wrote:

 I want to convert Flash application to iPad.

 ___
 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] Question about SWC elements for use in Flex

2011-09-21 Thread jchilcott

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


RE: [Flashcoders] Question about SWC elements for use in Flex

2011-09-21 Thread jchilcott
(I hate webmail apps... resent)

addElement() is meant for display objects that extend the
SpriteVisualElement class, which are a part of the Flex libraries. What
you need to do if you want to use Sphere as you have made it, is to
create a wrapper display object that extends SpriteVisualElement and
have the wrapper add your Sphere object via an addChild(). You would do
an addElement() on your wrapper.


jord
 Original Message 
Subject: Re: [Flashcoders] Question about SWC elements for use in Flex
From: Eric E. Dolecki edole...@gmail.com
Date: Wed, September 21, 2011 11:04 am
To: Flash Coders List flashcoders@chattyfig.figleaf.com

If I make an ActionScript Project - things work fine. I link the SWC,
import
the asset's stub class  I can use it. However I can't figure how to do
the
same for a Flex Project or Flex Mobile Project yet.


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


Re: [Flashcoders] Question about SWC elements for use in Flex

2011-09-21 Thread Eric E. Dolecki
Thanks for your response. I have to weigh whether or not I want to jump
through the extra hoop or not (I can create a non-MXML app where I can do
things straight away).

Thanks again,
Eric


On Wed, Sep 21, 2011 at 1:11 PM, jchilc...@interactivityunlimited.comwrote:

 (I hate webmail apps... resent)

 addElement() is meant for display objects that extend the
 SpriteVisualElement class, which are a part of the Flex libraries. What
 you need to do if you want to use Sphere as you have made it, is to
 create a wrapper display object that extends SpriteVisualElement and
 have the wrapper add your Sphere object via an addChild(). You would do
 an addElement() on your wrapper.


 jord
  Original Message 
 Subject: Re: [Flashcoders] Question about SWC elements for use in Flex
 From: Eric E. Dolecki edole...@gmail.com
 Date: Wed, September 21, 2011 11:04 am
 To: Flash Coders List flashcoders@chattyfig.figleaf.com

 If I make an ActionScript Project - things work fine. I link the SWC,
 import
 the asset's stub class  I can use it. However I can't figure how to do
 the
 same for a Flex Project or Flex Mobile Project yet.


 ___
 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] can flash do more than one thing in thr same time

2011-09-21 Thread nasim hhhhh




Dear Friend

hi

1)  I dont know why the timer counter slow down when the loop start
working?

how can i solve it

2)

My bigest Problem is , why flash speed goes down , during this program, Is this
correct that some people said flash can not do more than one thing in same
time? other languages like vb has the property applicationdoevent , that it
update event and timers,or other process doesent affect each other , but in
flash if u see hthe proccess has affect on each other , the cpu usage goes up ,
frame rate goes down 

how can i solve it, is there equal instruction  (applicationdoevent in vb
)that we can do it in as3?

 



please help me

 

 

code:

import flash.utils.Timer;

import flash.events.TimerEvent;

var a:int=0

var timer1:Timer=new Timer(1)

timer1.start()

timer1.addEventListener(TimerEvent.TIMER,Func_time1)

function Func_time1(e:TimerEvent):void

{

    timer1txt.text=String(e.target.currentCount)

    e.updateAfterEvent();

}

//trace(timer1.running)

btn1.addEventListener(MouseEvent.CLICK,clickwhile)

function clickwhile(e:MouseEvent):void

{   a=0

    whiletxt.text=

    while(a20)

    {

       
whiletxt.text=loop_Number=+String(a);

        

        a++

        

    }

    

}

 


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


RE: [Flashcoders] Question about SWC elements for use in Flex

2011-09-21 Thread jchilcott
If you don't need to use Flex, then it's all good. However, if Flex is
required, it's not really an arduous task to create a wrapper. We do
this this for various sprites developed in FLA's to maintain
reuseability throughout.

jord

 Original Message 
Subject: Re: [Flashcoders] Question about SWC elements for use in Flex
From: Eric E. Dolecki edole...@gmail.com
Date: Wed, September 21, 2011 1:24 pm
To: Flash Coders List flashcoders@chattyfig.figleaf.com

Thanks for your response. I have to weigh whether or not I want to jump
through the extra hoop or not (I can create a non-MXML app where I can
do
things straight away).

Thanks again,
Eric




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


Re: [Flashcoders] Convert flash animation with sound to Ipad

2011-09-21 Thread Kevin Newman
To make an app, you'll want to change the publishing settings to publish 
as iPhone app.


The only thing is, you'll be publishing with AIR 2.0 by default from 
Flash CS5 - there is a way to overlay the AIR package to get it to work 
with newer AIR builds (AIR 2.7 is fast much much faster, and supports 
iPad, retina, etc.).


Alternatively, you could use the command line, and not worry about 
overlaying the AIR SDK:

http://icodesnip.com/snippet/actionscript-3/adt-command-line-to-compile-ios-app-in-air-26

You could put that command line in a bat file (and edit it as needed), 
and run that after you do a test movie from Flash (to generate the swf). 
I do that to get access to the interpreter builds (which you can't get 
from Flash's iOS publish dialog) for more rapid iteration (a full AOT 
compile is very very slow, but produces quick runtime performance, vs. 
the interpreter which compiles fast, but runs more slowly).


This is windows centric, but I found it the easiest entry point to 
getting up and running with PFI (the old name)/AIR for iOS:

http://gotoandlearn.com/play.php?id=133

Kevin N.


On 9/21/11 12:50 PM, natalia Vikhtinskaya wrote:

I have Flash CS5. And I try to find way to convert animation into iPad
application. Flash file has not much scripting: stop() and script for
navigation buttons. So I have two questions:
1. What format should I save  in Flash CS5?
2. Should I have CS5.5 for better result?
3. What  should I change in scripting so that play correctly in iPad?
I am looking for simple example that can help.


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


Re: [Flashcoders] Convert flash animation with sound to Ipad

2011-09-21 Thread natalia Vikhtinskaya
Thank you very much. Not all is clear for me but I try to understand.

2011/9/21 Kevin Newman capta...@unfocus.com:
 To make an app, you'll want to change the publishing settings to publish as
 iPhone app.

 The only thing is, you'll be publishing with AIR 2.0 by default from Flash
 CS5 - there is a way to overlay the AIR package to get it to work with newer
 AIR builds (AIR 2.7 is fast much much faster, and supports iPad, retina,
 etc.).

 Alternatively, you could use the command line, and not worry about
 overlaying the AIR SDK:
 http://icodesnip.com/snippet/actionscript-3/adt-command-line-to-compile-ios-app-in-air-26

 You could put that command line in a bat file (and edit it as needed), and
 run that after you do a test movie from Flash (to generate the swf). I do
 that to get access to the interpreter builds (which you can't get from
 Flash's iOS publish dialog) for more rapid iteration (a full AOT compile is
 very very slow, but produces quick runtime performance, vs. the interpreter
 which compiles fast, but runs more slowly).

 This is windows centric, but I found it the easiest entry point to getting
 up and running with PFI (the old name)/AIR for iOS:
 http://gotoandlearn.com/play.php?id=133

 Kevin N.


 On 9/21/11 12:50 PM, natalia Vikhtinskaya wrote:

 I have Flash CS5. And I try to find way to convert animation into iPad
 application. Flash file has not much scripting: stop() and script for
 navigation buttons. So I have two questions:
 1. What format should I save  in Flash CS5?
 2. Should I have CS5.5 for better result?
 3. What  should I change in scripting so that play correctly in iPad?
 I am looking for simple example that can help.

 ___
 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] can flash do more than one thing in thr same time

2011-09-21 Thread Kerry Thompson
nasim h wrote:

 1)  I dont know why the timer counter slow down when the loop start
 working?

 how can i solve it

 2)

 My bigest Problem is , why flash speed goes down , during this program, Is 
 this
 correct that some people said flash can not do more than one thing in same
 time? other languages like vb has the property applicationdoevent , that it
 update event and timers,or other process doesent affect each other , but in
 flash if u see hthe proccess has affect on each other , the cpu usage goes up 
 ,
 frame rate goes down 

Didn't we go through this last week?

You have a timer trying to fire 1,000 times per second. It takes
longer than 1/1000 second to write to the text field and update it. Of
course the timer slows down.

Flash is not multi-threaded, which means it can do only one thing at a
time. I've heard some talk that there is a new version of the Flash
player that will handle multiple threads, but as it stands now, there
is no way to make your program work faster except to call the timer
less often.

Try new Timer(100), which will fire 10 times per second. Then your
text might be able to keep up with the timer. It depends on a lot of
things--your cpu speed, how many processes are running, and other
factors. The only thing I can pretty much guarantee is that you're not
going to get a timer to fire 1,000 times a second, at least not if
you're doing anything when it fires.

Cordially,

Kerry Thompson

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


Re: [Flashcoders] Flash on top of flash

2011-09-21 Thread Karl DeSaulniers

With that solution, I have an idea.  Using Flashvars and javascript.
Set up a javascript file that tells when the two flash files are  
hovering over each other and have it put an invisible png between them.
This png will be inside a div, so technically you would put the div  
between them. Making the png stretch to the size of the bottom swf.  
Cover it.

Basically blocking any flash interactions on the one below?

Also, in order for this to work, I think you may want to assign z- 
index:0 to the body.

That way it explicitly sets zero first.

extra swf z-index:3 
div z-index:2  transparent png img/div
main swf z-index:1 

Kind-of like an invisible button does inside flash.
Not tested,
JAT,

Best,
Karl


On Sep 21, 2011, at 9:43 AM, Kevin Newman wrote:

There is an old solution - put the top layered Object in its own  
HTML page, and load that into an iframe, then position the iframe  
over the windowed flash movie.


I haven't tried that in ages, but I think it still works.

Kevin N.


On 9/21/11 2:09 AM, Mikael Enroos wrote:

Hi,

I'm trying to position a windowed swf on top of another windowed  
swf on my site. The underlaying swf (windowed) is the main  
application and now I need to add a separate swf on top of it,  
which is another application.


I tried with some css work including z-layer but without any luck.  
Has anyone else done this?


Mikael Enroos
Webmaster


___
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


Karl DeSaulniers
Design Drumm
http://designdrumm.com

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


Re: [Flashcoders] Flash on top of flash

2011-09-21 Thread Karl DeSaulniers

Unless you need them to interact.
In that case they need to be in the same swf.

Best,
Karl

On Sep 21, 2011, at 6:30 PM, Karl DeSaulniers wrote:


With that solution, I have an idea.  Using Flashvars and javascript.
Set up a javascript file that tells when the two flash files are  
hovering over each other and have it put an invisible png between  
them.
This png will be inside a div, so technically you would put the div  
between them. Making the png stretch to the size of the bottom swf.  
Cover it.

Basically blocking any flash interactions on the one below?

Also, in order for this to work, I think you may want to assign z- 
index:0 to the body.

That way it explicitly sets zero first.

extra swf z-index:3 
div z-index:2  transparent png img/div
main swf z-index:1 

Kind-of like an invisible button does inside flash.
Not tested,
JAT,

Best,
Karl


On Sep 21, 2011, at 9:43 AM, Kevin Newman wrote:

There is an old solution - put the top layered Object in its own  
HTML page, and load that into an iframe, then position the iframe  
over the windowed flash movie.


I haven't tried that in ages, but I think it still works.

Kevin N.


On 9/21/11 2:09 AM, Mikael Enroos wrote:

Hi,

I'm trying to position a windowed swf on top of another windowed  
swf on my site. The underlaying swf (windowed) is the main  
application and now I need to add a separate swf on top of it,  
which is another application.


I tried with some css work including z-layer but without any luck.  
Has anyone else done this?


Mikael Enroos
Webmaster


___
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


Karl DeSaulniers
Design Drumm
http://designdrumm.com

___
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] Flash on top of flash

2011-09-21 Thread Kevin Newman
If it's like a popup thing, I guess you'd want to block access - 
however, that won't work anyway in wmode=window. The iframe is what 
divides the two swfs, and allows the one on top to display over another 
swf with wmode set to window (which as I understood it could not be 
changed), by forcing the browser to create another system window (for 
the iframe).


Kevin N.

On 9/21/2011 7:30 PM, Karl DeSaulniers wrote:

With that solution, I have an idea.  Using Flashvars and javascript.
Set up a javascript file that tells when the two flash files are 
hovering over each other and have it put an invisible png between them.
This png will be inside a div, so technically you would put the div 
between them. Making the png stretch to the size of the bottom swf. 
Cover it.

Basically blocking any flash interactions on the one below?

Also, in order for this to work, I think you may want to assign 
z-index:0 to the body.

That way it explicitly sets zero first.

extra swf z-index:3 
div z-index:2  transparent png img/div
main swf z-index:1 

Kind-of like an invisible button does inside flash.
Not tested,
JAT,

Best,
Karl


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


Re: [Flashcoders] Flash on top of flash

2011-09-21 Thread Kevin Newman
If one the two swfs need to interact (if I understood) LocalConnection 
could be used. That works even when two swfs are on different domains, 
running in two different browsers (as long as they are on the same machine).


Kevin N.


On 9/21/2011 7:38 PM, Karl DeSaulniers wrote:

Unless you need them to interact.
In that case they need to be in the same swf. 


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


[Flashcoders] ustream on flash tutorial

2011-09-21 Thread Gustavo Duenas
does anyone knows how to integrate ustream with flash or at least  
point me to a good tutorial about it.


Thanks,

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


Re: [Flashcoders] ustream on flash tutorial

2011-09-21 Thread Karl DeSaulniers
I think there is an list archive on this one. 

Best,
Karl

Sent from losPhone

On Sep 21, 2011, at 8:32 PM, Gustavo Duenas gdue...@leftandrightsolutions.com 
wrote:

 does anyone knows how to integrate ustream with flash or at least point me to 
 a good tutorial about it.
 
 Thanks,
 
 Gus
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] Flash on top of flash

2011-09-21 Thread Karl DeSaulniers
That's true. I've done that. 
I was referring to a drag-and-drop scenario of interaction I guess. 

Karl

Sent from losPhone

On Sep 21, 2011, at 8:25 PM, Kevin Newman capta...@unfocus.com wrote:

 If one the two swfs need to interact (if I understood) LocalConnection could 
 be used. That works even when two swfs are on different domains, running in 
 two different browsers (as long as they are on the same machine).
 
 Kevin N.
 
 
 On 9/21/2011 7:38 PM, Karl DeSaulniers wrote:
 Unless you need them to interact.
 In that case they need to be in the same swf. 
 
 ___
 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] ustream on flash tutorial

2011-09-21 Thread Gustavo Duenas
Yep I tried, but it is so obscure and in the ustream site they don't  
have something like a step by step tutorial, don't you know other  
place or a page?


gus
On Sep 21, 2011, at 9:38 PM, Karl DeSaulniers wrote:


I think there is an list archive on this one.

Best,
Karl

Sent from losPhone

On Sep 21, 2011, at 8:32 PM, Gustavo Duenas gdue...@leftandrightsolutions.com 
 wrote:


does anyone knows how to integrate ustream with flash or at least  
point me to a good tutorial about it.


Thanks,

Gus
___
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] ustream on flash tutorial

2011-09-21 Thread Karl DeSaulniers

try these..

http://www.ustream.tv/forum/showthread.php?5816-Custom-as3-player-Live-stream
http://www.conversationmarketing.com/2007/09/streaming_video_creating_a_pro.htm

the latter looked promising. dont have time to read out.
HTH,

Best,
Karl

OH.. and I googled as3 and ustream tutorial  ;)


On Sep 21, 2011, at 10:03 PM, Gustavo Duenas wrote:

Yep I tried, but it is so obscure and in the ustream site they don't  
have something like a step by step tutorial, don't you know other  
place or a page?


gus
On Sep 21, 2011, at 9:38 PM, Karl DeSaulniers wrote:


I think there is an list archive on this one.

Best,
Karl

Sent from losPhone

On Sep 21, 2011, at 8:32 PM, Gustavo Duenas gdue...@leftandrightsolutions.com 
 wrote:


does anyone knows how to integrate ustream with flash or at least  
point me to a good tutorial about it.


Thanks,

Gus
___
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


Karl DeSaulniers
Design Drumm
http://designdrumm.com

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