[Flashcoders] Building ActionScript-Only State-of-the-Art Video Players -- An In-Depth How-To Code Walkthrough (Using Codebase of Open Source Strobe Media Playback)

2010-11-15 Thread greg h
Flash Player 10.1 introduced vital new video delivery options:

   - HTTP Dynamic Streaming  (Live and VoD)
   - RTMFP Groups for Peer Assisted Multicasting (Live)
   - Flash Access DRM Support (Live and VoD)

Each of these 3 new delivery options requires significant logic client-side
in the video player.  Adobe is providing all required client-side logic via
open source projects:  OSMF and Strobe Media Playback.

With Flash Player now on mobile and devices (Google TV, AIR for TV) it is
now important to integrate support for these new APIs into video players.

Wednesday November 17 at 12:00 noon PDT the OSMF User
Grouphttp://osmf.groups.adobe.com/is hosting an online code
walk-through of the open source Strobe
Media Playback http://osmf.org/strobe_mediaplayback.html video player
codebase.

The code walk-through will be led by Andrian
Cucuhttp://be.linkedin.com/pub/andrian-cucu/1/318/9a9who is Adobe's
Project Leader on the Flash and Strobe Media Playback video
player project.

Strobe Media Playback also supports OSMF's plug-in architecture.  Current
plug-ins include partners for advertising, analytics, CDNs and others.
Certified plug-in partner list maintained here:
http://osmf.org/partner.php

To join the SMP code walk-through, just go to the following link at the
meeting time to join the OSMF User Group's Connect room:
http://experts.na3.acrobat.com/osmf/

For further details (including time zone conversions), and to RSVP see the
following link:
http://osmf.groups.adobe.com/index.cfm?event=post.displaypostid=30846

** ALL ARE WELCOME! **
** PLEASE FORWARD THIS MEETING NOTICE TO ALL WHO YOU THINK MAY BE
INTERESTED! **
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] **TODAY** Developers: Flash Platform -- Building State of the Art Video and Media Players ** Online-only, Public User Group Meeting -- TODAY Wednesday January 20 @ 12:00 NOON PST

2010-01-19 Thread greg h
The online-only OSMF User Group
http://groups.adobe.com/groups/7af970e6e4is pleased to have a live
presentation **TODAY** on OSMF's new features by a
developer from the OSMF Team, Edwin van
Rijkomhttp://nl.linkedin.com/in/vanrijkom,
Sr. Computer Scientist at Adobe. This meeting is open to all who are
interested. Please forward notice about this meeting to all who you think
may be interested.

The link for the online meeting room can be found in the meeting
announcement link here:
http://groups.adobe.com/posts/3e8fddb492

Edwin will be reviewing changes and new features in OSMF delivered in Sprint
8 (released December), as well as providing an overview of new features in
Sprint 9 (releasing next week).

Topics to be covered include:

   - API Refactoring
Changeshttp://opensource.adobe.com/wiki/download/attachments/34373765/ReleaseNotesv08.pdf
   - Subclip 
Supporthttp://opensource.adobe.com/wiki/display/osmf/Subclip+Specification
   - Live Streaming
Supporthttp://opensource.adobe.com/wiki/display/osmf/Live+Support+Mini-Spec
   - Flash Media Manifest File
Formathttp://opensource.adobe.com/wiki/display/osmf/Flash+Media+Manifest+File+Format+Specification(F4M)
Support
- Multi-BitRate (MBR) Streaming;
  - Digital Rights Management (DRM) via Flash
Accesshttp://www.adobe.com/products/flashaccess/,

  - For full details see specification
herehttps://mail.google.com/mail/html/compose/static_files/Flash%20Media%20Manifest%20File%20Format%20Specification
  - Closed Captioning
Plug-inhttp://opensource.adobe.com/wiki/display/osmf/Captioning+Plugin
   - Pre-Assigned
Durationshttp://help.adobe.com/en_US/OSMF/1.0/AS3LR/org/osmf/video/VideoElement.html#defaultDuration

Edwin previously presented at the Adobe MAX 2009 conference as a
co-presenter on the session entitled Introduction to Adobe's Open Source
Media Framework. Following is a link for a recording of Edwin's MAX Session
(Edwin's portion starting at 24:00 in the recording timecode):
http://max.adobe.com/online/session/332

OSMF is an open source ActionScript 3 framework for building video and media
players supporting cutting edge Flash Platform features for media delivery.
If you have any curiosity about media players in Flash or Flex, this is a
great forum for exploring and getting questions answered.
If you have an ongoing interest in this area, *please join this group by
logging in **at
**groups.adobe.com/groups/7af970e6e4*http://groups.adobe.com/groups/7af970e6e4
* and selecting the JOIN THIS GROUP link* (red graphic on right side).

This online-only OSMF User Group
http://groups.adobe.com/groups/7af970e6e4meets regularly at this
time and day of every month. That is the 3rd
Wednesday of every month @ 12:00 NOON PST time [Time Zone Converter
herehttp://www.timeanddate.com/worldclock/converter.html].
All meetings are recorded.  Links for prior meeting recordings are on the
group site in various places including on the group home
pagehttp://groups.adobe.com/groups/7af970e6e4under the heading
Previous Connect Sessions.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Flash Video and Media Player Developer User Group Launching (Online-only) | Thur 11/19 @ 10:00 AM PST

2009-11-17 Thread greg h
Build State of the Art Flash Video and Media Players.

Targeting worldwide specialists who develop and deploy Flash Video and Media
Players, a new online-only, public user group is launching this Thursday
11/19 @ 10:00 AM PST.  All are welcome.  Please forward notice about this
meeting to all who you think may be interested.

Please see the user group home page for details about how to attend.  Home
page here:
http://groups.adobe.com/groups/7af970e6e4

Presenter for this inaugural meeting will be Adobe's Brian Riggs who is a
technical lead for the Open Source Media
Framework.(OSMF)http://opensourcemediaframework.com/.
Brian will present via a live screencast.  Brian will provide a brief
overview of OSMF and will dedicate the bulk of his presentation to providing
a detailed walk through on how to implement OSMF features now available.
Questions and answers will be taken throughout via text chat pods, and at
the end as well.

OSMF is a cutting edge, ActionScript Media Player component framework.  OSMF
is vastly expanding capabilities available for media players, thus
dramatically reducing cost for new media player development.

Future Flash components based on OSMF long term will replace the existing
FLVPlayback component.

This user group is online-only and media player developers and business
managers worldwide are welcome.  There is no cost to attend or participate.
Just connect via the link provided on the user group home
pagehttp://groups.adobe.com/groups/7af970e6e4at the appropriate hour
(please do timezone adjustments as necessary to
match your timezone).

This initial meeting is scheduled to last 1 hour and 30 minutes.

Future meetings will be on the 3rd Wednesday of every month. Please watch the
user group home page http://groups.adobe.com/groups/7af970e6e4 for
announcements about future meeting details.

Please help us get the word out!
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Weak eventListener Problem

2009-11-08 Thread Keith H
I make destroy methods, avoid using extra references to listeners and am 
compulsive about cleaning them up, still some continue to execute 
imperviously.

I hate when this happens cause its unpredictable and unexplainable.

All I know is the Real garbage collectors are sometimes late picking 
up my garbage after I put it outside for them.


-- Keith H --
www.keith-hair.net




Steven Sacks wrote:
No, it's not true.  You're misunderstanding how weak listeners work, 
how anonymous functions work (you shouldn't use those anyway), and 
you're also misunderstanding how the garbage collector works.


Whenever you addEventListener, immediately write a function that 
removes the event listener (such as a destroy method).  If you get 
into this habit, you will never forget to do it and you'll never have 
this issue ever again.

___
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] localconnection in as2

2009-09-19 Thread Keith H
-If you don't want to worry about a send/receive limit on a String sent, 
take a look at this post here.
-If you just want to measure the size being sent,  you can look at the 
part where the poster is dividing the length of the String sent by the 
limit.


http://www.ultrashock.com/forums/actionscript/40k-byte-size-limit-on-localconnection-56395.html

...hope that leads you in the way you want to go.


-- Keith H --
www.keith-hair.net





Hans Wichman wrote:

Hi list,

as I understand it, there is a send/receive limit of 40k to the
localconnection object in actionscript2.
Mostly the objects passed in my application will probably be under 40k, but
the question is: how can you tell?

Is there some way to grab the actual AMF object flash is going to try and
pass and cut it up into pieces if necessary?
Or should you serialize and cut up everything beforehand just to be sure?

regards,
Hans
___
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] Weird htmlText line break behavior

2009-08-21 Thread Keith H

Maybe the lettercase of a property is causing an error.

myTF.wordwrap = true;  //Need to be wordWrap




-- Keith H --
www.keith-hair.net

Joel Stransky wrote:

I'm encountering an odd problem in as3/fp9-10 when dealing with embedded
fonts, condensed whitespace, style sheet objects and  br / tags. I wanted
to see if you guys have heard of it or can verify it as a bug.

I have a textfield set up as such. The intent is to remove all p tag
indents and get fully left justified text with paragraphs having larger
leading than individual lines :

var myTF:TextField = new TextField();
myTF.autoSize = TextFieldAutoSize.LEFT;
myTF.embedFonts = true;
myTF.condenseWhite = true;
myTF.antiAliasType = AntiAliasType.ADVANCED;
myTF.multiline = true;
myTF.wordwrap = true;
myTF.styleSheet = myStyleSheet;

The stylesheet is an imported .css file and below is the html imported from
an .xml file and protected by a CDATA tag:

h2About Us/h2br /
p class=normalstrongLorem/strong ipsum dolor sit amet,
consectetur/pbr /
p class=normalLorem ipsum dolor sit amet, consectetur./pbr /
p class=normalLorem ipsum dolor sit amet, consectetur./pbr /
p class=normalLorem ipsum dolor sit amet, consectetur./p

The result is fully left justified text but the br / tags are ignored.
Each paragraph does start on a new line but directly below the the previous.

I decided to try a version of the css clear break trick used in xhtml which
produced the results I wanted but for no discernible reason.

I created this style in the .css file,

.lineBreak {
  leading: 20;
}

and altered ONLY the first br / tag to this p class=lineBreak /
The weird thing is that not only did the first paragraph get the correct
amount of space, they all did. For some reason, an empty styled p / tag
caused the following br / tags to be recognized.

Thoughts?

  



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


Re: [Flashcoders] How to add a DisplayObject into a container without using addChild() method.

2009-08-18 Thread Keith H
Back when I was using AS2 and Javascript || operator was useful to me. 
I was so glad when AS3 brought default parameters.

var value:String = foo || bar;

-- Keith H --
www.keith-hair.net




Steven Sacks wrote:

Dave, come on. Take a stand on the issue. Stop straddling the fence.

Pick a side. Im or Ex?

I'm not about writing cryptic PERL-like statements, but writing != 
null is a waste of time.  It's obviously a null comparison (by nature 
of it being an instance).  Calling it out as such is redundant.


It also lends itself to very readable code with inline ORs.

var value:String = foo || bar;

If foo is null, value = bar.  Great for default values such as with XML.

var value:String = x...@foo || ;

Very readable and so much better than

var value:String = ;
if (x...@foo != undefined) value = x...@foo;
___
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] maintainable code

2009-08-18 Thread Keith H

WTF comes from trying to plan for worse case scenarios.
I did not write this. My doppleganger did  :)

var WorstCaseSenario:*= 0x00 ;
trace(toBoolean(WorstCaseSenario) == false);

function toBoolean(bool:*):Boolean
{
   if (bool ==  || !bool) {
   return false;
   }
   if (bool is Boolean == false) {
   bool=String(bool);
   }
   if (bool is String) {
   bool=String(bool).toLowerCase().replace(/^\s+|\s+$/mig,);
   if (/\d+|\dx\d+/.test(bool)) {
   if (Number(bool) == 1) {
   return true;
   }
   if (Number(bool) == 0) {
   return false;
   }
   }
   if (bool == true) {
   return true;
   }
   if (bool == false) {
   return false;
   }
   return false;
   }
   return bool;
}


-- Keith H --
www.keith-hair.net


Juan Pablo Califano wrote:

This remainds me of a utility method written by a former coworker at my
previous job, that rightfully belongs in the daily WTF.

public static function mtd_validarVar (variable : Object) :Boolean
{
 if (
  variable == false  ||
  variable == undefined   ||
  variable == ||
  variable == null
  )
 {
  return false
 }else
 {
  return true
 }
}
Had he checked against 0, at least this method could have been used as a
generic replacement for the obscure and unreadable implicit boolean
coercion...

He also had the chutzpah to put this method in our core library, in a class
conveniently named VarUtils, so the whole team could benefit from it.

To add insult to injury, he had a very personal take on hungarian notation
and code formatting as well. Not to mention he was also in the tabs should
be 8 spaces here, there and everywhere, and if you and the rest of the world
use 4 spaces, rest asured I will reformat any such piece of crap as soon as
I get a chance to put my hands on it camp.
Nevertheless, he was a cool guy.

Cheers
Juan Pablo Califano

2009/8/18 Latcho spamtha...@gmail.com

  

some great optimalistations can be found here:
http://mindprod.com/jgloss/unmain.html

for ex.

class Truth
 {
 boolean isTrue ( boolean assertion )
{
if ( assertion != false )
   {
   return assertion;
   }
else
   {
   return assertion;
   }
}
 }
...

var doIt:Boolean;

var trutherizer:Truth = new Truth();
if ( trutherizer.isTrue( s.equals( t ) ) )
 {
 doIt = true;
 }
else
 {
 doIt = false;
 }



// hint: all the above accomplishes is:
doIt = (s==t);

___
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 add a DisplayObject into a container without using addChild() method.

2009-08-17 Thread Keith H


Steven,

Maybe its just me but...
Just doing a Boolean check on DisplayObjects always put my scripts in 
high risk of runtime errors.

Especially in the case of cleanup operations.
Sometimes I might have a function that attempts removing a DisplayObject 
that has not been added to the stage or has already been removed.


So I check if the stage property is null for almost all cases now.

var myDO:Sprite=new Sprite();
try {
   //if (myDO) { //Creates runtime error
   if (myDO  myDO.stage != null) {
   myDO.parent.removeChild(myDO);
   }   
} catch (e:Error) {

   trace(e.message);
}

-- Keith H --
www.keith-hair.net






Steven Sacks wrote:
I don't understand why you would not want to write a single line of 
code in the class where it would provide the most clarity, and instead 
write MORE code in another class obscuring the behavior that is going 
on.  In other words, you're writing more code to write the same code.  
You're going to write addChild either way, why make it more 
complicated than it needs to be?


Always follow the KISS principle.


BTW, Ekameleon, you should use

if (target)

Instead of

if (target != null)




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


Re: [Flashcoders] How to add a DisplayObject into a container without using addChild() method.

2009-08-17 Thread Keith H

Thanks.
That is a better way to write the check. (Clever! you escaped from using 
null once again LOL)

BTW I just put the try/catch there to demonstrate error.

-- Keith H --
www.keith-hair.net



Steven Sacks wrote:

Here's the best way to write that. No try catch required.

if (myDO  myDO.parent) myDO.parent.removeChild(myDO);


Keith H wrote:


Steven,

Maybe its just me but...
Just doing a Boolean check on DisplayObjects always put my scripts in 
high risk of runtime errors.

Especially in the case of cleanup operations.
Sometimes I might have a function that attempts removing a 
DisplayObject that has not been added to the stage or has already 
been removed.


So I check if the stage property is null for almost all cases now.

var myDO:Sprite=new Sprite();
try {
   //if (myDO) { //Creates runtime error
   if (myDO  myDO.stage != null) {
   myDO.parent.removeChild(myDO);
   }   } catch (e:Error) {
   trace(e.message);
}

-- Keith H --
www.keith-hair.net

___
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] array.indexOf problem

2009-06-16 Thread Keith H

trace (buttonsArray.indexOf(e.target.name));


Looking at the aboveyour buttonsArray  is  an  Array containing 
Objects.

And you are using the indexOf method looking for a String.

Take off the .name property and you should see a difference.


-- Keith H --
www.keith-hair.net





Isaac Alves wrote:

Hi fellows,
Cannot solve this problem:

function buttonClicked(e:Event):void {
 trace (buttonsArray.indexOf(e.target.name));

It always  traces -1. This code should trace the index of the Array
element right? for ex: 0, 1, 2 or 3.

If i do this, it will trace the correct name of the element.

function buttonClicked(e:Event):void {
 trace (e.target.name);

If I do this, it will trace the name of the second element:

function buttonClicked(e:Event):void {
 trace (buttonsArray[1].name);

Why indexOf doesn´t work properly?

Thanks a lot!
___
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] textField fed htmlText renders title

2008-08-27 Thread H
I think pre parsing the string is your only option.

textField.htmlText = myString.replace(/title.+?\/title/g, );

Might be easier to do if the html text is xml compliant. Make it an xml
object and run an xml query on to get all nodes where node.name().toString()
!= title...

H

On Wed, Aug 27, 2008 at 10:03 AM, Mendelsohn, Michael 
[EMAIL PROTECTED] wrote:

 Hi list...

 I'm feeding some htmlText into a TextField and the string within the
 title tag of the html is rendering in the TextField.  Is there a trick
 to hide this?

 Thanks,
 - Michael M.

 ___
 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] textField fed htmlText renders title

2008-08-27 Thread H
Hey Mike,

public static function stripTag(s:String, t:String):String {
if(typeof(s) == 'string'){
t = t.toUpperCase();
var i:Number = s.length-1, oT:String = ''+t, cT:String =
'/'+t, upString:String = s.toUpperCase();
while(true){
var c:Number = upString.lastIndexOf(oT, i);
var d:Number = upString.lastIndexOf(cT, i);
var a:Number = Math.max(c, d);
if(a==-1) break;
else {
var b:Number = s.indexOf('', a)+1;
s = s.substring(0, a) + s.substring(b, s.length);
i = a-1;
}
}
} else s = '';
return s;
}

A little something I had laying around...

H

On Wed, Aug 27, 2008 at 1:00 PM, Mendelsohn, Michael 
[EMAIL PROTECTED] wrote:

 Perfect answer, H.

 (Too bad it's AS2.)  :-(

 Thanks!
 - MM


 ___
 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] textField fed htmlText renders title

2008-08-27 Thread H
Hi sebastian,

s = string and t = tag - that should help with using the function...

Well, I can briefly explain it.

It begins by checking whether you passed in for a string is actually a
string. I had this function hooked into a data driven series of processes,
so the actual string I was working with was on occasion null...

We set the tag var t to upper case, and set the string we are stripping to
upper case since lastIndexOf is a case sensitive method. Note that we don't
actually change the string - we assign the upper case version of the string
to upString. oT and cT are open tag and close tag. We don't need  for those
strings since we want to hit / as well as  for self closing tags. i is our
index, we set it to the end of the string since we will be going in reverse.
I think I had originally done this to avoid throwing off the current index
when going through the string (this would happen since the string length
would change) but no longer seems relevant. In any case, it should be no
different than going forward since we copy the string to begin with.

I can see how it might have gotten confusing when I used a, b, c, and d as
index vars. I used to code like this, and I sometimes still do when I don't
think anyone will need to read the code but less so than I used to. It's
also sometimes easier to think with arbitrary vars instead of trying to
categorize them.

So, we start by defining c and d, which are the open and close tags we are
looking for. var a serves as the tag closer to the end of the string. If a
is -1 that just means that the opening or closing tag was never there to
begin with, or has been completely removed. Now that I look at this, I don't
think we need else there :) break would skip the rest of loop...

So, we run indexOf on  starting from a to get the end of the tag and
assign the result to b. We then set the string to the substring that is the
beginning of the string to a, to the substring starting from b to the end of
the string. This removes the tag...

But not the content between the tag... Good thing you made me go through
this again sebastian :S

Eh...

function stripTagAndContent(s:String, t:String):String {
if(typeof(s) == 'string'){
t = t.toUpperCase();
var i:Number = s.length-1, oT:String = ''+t, cT:String = '/'+t,
upString:String = s.toUpperCase();
while(true){

var otIndex:Number = upString.lastIndexOf(oT, i);
var ctIndex:Number = upString.lastIndexOf(cT, i);

if(otIndex+ctIndex == -2) break;
if(otIndexctIndex) ctIndex = otIndex; //this is self closing or
dangling

var endIndex:Number = s.indexOf('', ctIndex)+1;
s = s.substring(0, otIndex) + s.substring(endIndex, s.length);
i = otIndex-1;

}
} else s = '';
return s;
}

This one should be easier to read too :)

H

On Wed, Aug 27, 2008 at 2:16 PM, sebastian [EMAIL PROTECTED] wrote:

 Looks cool, but any chance you could replace your micro-variable names with
 real-world words for easy reading? Reminds me of moments when I decide I
 need to run for coffee at work...
 ;)


 H wrote:

 Hey Mike,

public static function stripTag(s:String, t:String):String {
if(typeof(s) == 'string'){
t = t.toUpperCase();
var i:Number = s.length-1, oT:String = ''+t, cT:String =
 '/'+t, upString:String = s.toUpperCase();
while(true){
var c:Number = upString.lastIndexOf(oT, i);
var d:Number = upString.lastIndexOf(cT, i);
var a:Number = Math.max(c, d);
if(a==-1) break;
else {
var b:Number = s.indexOf('', a)+1;
s = s.substring(0, a) + s.substring(b, s.length);
i = a-1;
}
}
} else s = '';
return s;
}

 A little something I had laying around...

 H

 On Wed, Aug 27, 2008 at 1:00 PM, Mendelsohn, Michael 
 [EMAIL PROTECTED] wrote:

  Perfect answer, H.

 (Too bad it's AS2.)  :-(

 Thanks!
 - MM


 ___
 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] Removing loaded swf...

2008-08-15 Thread H
Hmm, Loader.unload() only removes the content from the loader object. It
might be a good idea to remove it from the container you are adding it to.

Make sure currentPage has no listeners to objects outside of its own scope,
or objects inside of its scope listening to anything out of its scope, or
objects outside of its scope referencing anything inside of its scope, and
all streams closed when you unload. Always clean up timers and enterframe
listeners from the swf being loaded. It is a good idea to have a deinit()
like method that you call for clean up. I think you're okay if you're
cleanly in general :)

Here is a nice article about System.gc(), it might be helpful:
http://www.craftymind.com/2008/04/09/kick-starting-the-garbage-collector-in-actionscript-3-with-air/

And if you haven't already, check this out:
http://www.gskinner.com/blog/archives/2008/04/failure_to_unlo.html

H

On Fri, Aug 15, 2008 at 7:41 AM, Sander Schuurman 
[EMAIL PROTECTED] wrote:

 Hi cool list!

 I'm trying do build a generic structure of pages (swf's) loaded in a main
 swf, and unloading as well ofcourse.
 Now I'm trying to unload a loaded swf, with the famous Garbage Collection.
 But I'm not sure I'm doing it the right way. Hope you could point me in the
 right direction.

 My code:

 private function loadPage( qUrl :String ) :void
 {
var mLoader:Loader= new Loader();
var mRequest:URLRequest = new URLRequest( qUrl );

mLoader.contentLoaderInfo.addEventListener( Event.COMPLETE,
 pageComplete );
mLoader.load( mRequest );
 }
 private function pageComplete( e :Event ) :void
 {
currentPage = e.currentTarget.content;

 currentPage.addEventListener( Page.PAGE_INIT, initPage );
currentPage.addEventListener( Page.GOTO_PAGE, gotoPage );

addChild(currentPage);
 }
 private function gotoPage( e :Event ) :void
 {
var nextPage = currentPage.gotoPage;

currentPage.removeEventListener( Page.PAGE_INIT, initPage );
currentPage.removeEventListener( Page.GOTO_PAGE, gotoPage );

var loader:Loader = Loader( e.target );
loader.unload();

loadPage( nextPage );
 }

 I'm not sure about the gotoPage method, if I can make a Loader object of
 the currentPage and unload it. Is it totally ready for the GC to be deleted?
 Thnx in advance.

 Sander
 ___
 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] Removing loaded swf...

2008-08-15 Thread H
It is a bit like that isn't it :)

H

On Fri, Aug 15, 2008 at 9:13 AM, Hans Wichman 
[EMAIL PROTECTED] wrote:

 Hi,

 I thought the point of Grant's article was that it's hopelessly bugged in
 player 9 even if you are an academic?:)

 greetz
 JC



 On Fri, Aug 15, 2008 at 3:47 PM, Eduardo Omine [EMAIL PROTECTED]
 wrote:

  In gotoPage(), try this:
 
  var loader:Loader = Loader(currentPage.parent);
 
 
  instead of:
 
  var loader:Loader = Loader(e.target); // e.target refers to currentPage
 
 
  --
  Eduardo Omine
  http://blog.omine.net/
  http://www.omine.net/
   ___
  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] Odd compiler errors in CS3

2008-08-15 Thread H
Have any swc components in the library that could be causing it? Are there
any other classes in your class path?

If it's as simple as you've described, maybe you should create a new fla and
move code and timelines over little by little - when the new fla begins
throwing the errors, you will know what it is.
Another way to debug it would be to comment out all document class code and
make layers guides. If it compiles then re-enable parts of the fla slowly to
find the issue.

H

On Fri, Aug 15, 2008 at 3:11 PM, Merrill, Jason 
[EMAIL PROTECTED] wrote:

 I am getting odd compiler errors in my .fla.  I'm not using any
 Webservices, RemoteObject classes, or HTTPServices at all.  I don't know why
 the compiler would complain:

 1046: Type was not found or was not a compile-time constant: WebService.
 1046: Type was not found or was not a compile-time constant: RemoteObject.
 1046: Type was not found or was not a compile-time constant: HTTPService.

 Only the description shows and it doesn't say where the error originates
 from.  I have not used any of these objects in the history of this .fla.
  The .fla is a simple animation on the root timeline of some movie clips. I
 have deleted ASO files but still no luck. The document class looks like
 this:

 package com.venice.view.network.atom
 {
import flash.display.MovieClip;
import flash.events.MouseEvent;

/**
* ...
* @author Jason Merrill
*/
public class AtomMenu extends MovieClip
{
public var viewProfileButton:MovieClip;
public var viewNetworkButton:MovieClip;
public var peekNetworkButton:MovieClip;

public function AtomMenu()
{
stop();
createListeners();
}

private function createListeners():void
{

  viewProfileButton.addEventListener(MouseEvent.MOUSE_DOWN,
 onViewProfileMouseDown);

  viewNetworkButton.addEventListener(MouseEvent.MOUSE_DOWN,
 onViewNetworkMouseDown);

  peekNetworkButton.addEventListener(MouseEvent.MOUSE_DOWN, onPeekMouseDown);
}

private function
 onViewProfileMouseDown(event:MouseEvent):void
{
gotoAndPlay(transitionOut);
}

private function
 onViewNetworkMouseDown(event:MouseEvent):void
{
gotoAndPlay(transitionOut);
}

private function onPeekMouseDown(event:MouseEvent):void
{
gotoAndPlay(transitionOut);
}

}

 }

 ??? Any ideas?


 Jason Merrill
 Bank of America
 Enterprise Technology  Global Risk LLD
 Instructional Technology  Media

 Join the Bank of America Flash Platform Developer Community  blocked::
 http://sharepoint.bankofamerica.com/sites/tlc/flash/default.aspx

 Are you a Bank of America associate interested in innovative learning ideas
 and technologies?
 Check out our internal  Innovative Learning Blog blocked::
 http://sharepoint.bankofamerica.com/sites/ddc/rd/blog/default.aspx  
 subscribe blocked::
 http://sharepoint.bankofamerica.com/sites/ddc/rd/blog/_layouts/SubNew.aspx?List=\{41BD3FC9-BB07-4763-B3AB-A6C7C99C5B8D\}Source=http://sharepoint.bankofamerica.com/sites/ddc/rd/blog/Lists/Posts/Archive.aspxhttp://sharepoint.bankofamerica.com/sites/ddc/rd/blog/_layouts/SubNew.aspx?List=%5C%7B41BD3FC9-BB07-4763-B3AB-A6C7C99C5B8D%5C%7DSource=http://sharepoint.bankofamerica.com/sites/ddc/rd/blog/Lists/Posts/Archive.aspx
 .


 ___
 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] Odd compiler errors in CS3

2008-08-15 Thread H
I think if your Flex main source folder is the project root (just blank) and
not something like src or source, your .fla document class will be part of
the flex project classes... If the document class was at the root of the
main source folder, the document class would be considered an application
class by Flex, and Flex classes would be part of the . classpath of the
.fla. This is kind of silly, but if all these assumptions hold true, it is
possible that there might have been a swc or name space conflict between
your Flex project source and the Flash CS3 core classes
$(AppConfig)/ActionScript 3.0/Classes. Just a thought...

H

On Fri, Aug 15, 2008 at 4:25 PM, Dave Watts [EMAIL PROTECTED] wrote:

  So I got it fixed, but it's still perplexing.  I mean, it's a
  large project, we do use Webservices and such in it,  but I
  wouldn't think Flash CS3 would get messed up compilinng the
  doc class when it's right next to the fla, no matter what
  other files are around it.  Very odd.

 I know that if you're using Flex Builder, it compiles every file in every
 open project, and reports compiler errors for all of them if such errors
 exist.

 Dave Watts, CTO, Fig Leaf Software
 http://www.figleaf.com/

 Fig Leaf Software provides the highest caliber vendor-authorized
 instruction at our training centers in Washington DC, Atlanta,
 Chicago, Baltimore, Northern Virginia, or on-site at your location.
 Visit http://training.figleaf.com/ for more information!
 ___
 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] AS3 accessing functions from other classes

2008-08-14 Thread H
Sorry man I didn't read the original post :S ...

main_site is loaded into gallery, and main_site has some buttons that when
you press them, they should trigger handlers in gallery.

I think it goes like this - add this code to your loader complete function
in gallery:

//where target is Loader
var main_site_instance:Sprite = ev.target.content as Sprite;
main_site_instance.addEventListener(bk2globe, bk2globeListener);
main_site_instance.addEventListener(randomImg, randomImgListener);

main_site should dispatch these events when you interact with it. This needs
to happen on the document class level...

H

On Thu, Aug 14, 2008 at 8:55 AM, SJM - Flash [EMAIL PROTECTED] wrote:

 Again another solution i tried but this too does not work!

 Thanks
 SJM
   - Original Message -
  From: Kenneth Kawamoto
  To: Flash Coders List
   Sent: Thursday, August 14, 2008 1:36 PM
  Subject: Re: [Flashcoders] AS3 accessing functions from other classes


   You should be able to do access the parent by using, parent.

  Kenneth Kawamoto
  http://www.materiaprima.co.uk/

  SJM - Flash wrote:
   Hi guys, im having some trouble accessing a function from another class
 and I would like to know how its done.
  
   In my project i have 2 FLAs 'gallery.fla' and 'main_site.fla', each of
 the FLAs has its own document class 'gallery.as' and 'main_site.as'. When
 compiled the second SWF(main_site) is loaded into the first SWF(gallery).
  
   In the same class that loads the SWF there is a number of other
 functions i want to access from buttons located within the loaded SWF
 (main_site).
  
   The SWF is loaded using this code...
  
   // CODE from within FUNCTION
   var swfLoader:Loader = new Loader();
   var swfURL:URLRequest = new URLRequest(filename);
   swfLoader.load (swfURL);
   swfLoader.contentLoaderInfo.addEventListener(Event.COMPLETE,
 swfLoadComplete);
  
   // CODE from within 'swfLoadComplete' FUNCTION
  addChild(ev.target.content);
  var loader:LoaderInfo = LoaderInfo(ev.target);
  loader.content.x = 0;
  loader.content.y = 0;
  
   SJM
  ___
  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] Binary Data Question

2008-08-14 Thread H
Compress it to a PNG or a JPEG - these formats will output a tidy ByteArray
for you. If you don't have AMF or trouble with writing HTTP Post headers,
you can always pack it into a Base64 encoded string.

Use Loader.loadBytes() to load it. This is in fact synchronous but occurs
asynchronously. I don't even think it's worth listening for the result.
Loader.content should be a Bitmap object...

H

On Thu, Aug 14, 2008 at 10:21 AM, Omar Fouad [EMAIL PROTECTED]wrote:

 Hello all,
 I was wondering if I can get the binary data from a bitmap data, and send
 it
 to database (blob) or/and getting the binary data from the database and in
 flash reform it to display the bitmap back.

 I've been reading about the ByteArray Class but I am still confused whether
 to use it or to use URLStreaming.


 Thanks.

 --
 Omar M. Fouad - Digital Emotions
 http://www.omarfouad.net

 This e-mail and any attachment is for authorised use by the intended
 recipient(s) only. It may contain proprietary material, confidential
 information and/or be subject to legal privilege. It should not be copied,
 disclosed to, retained or used by, any other party. If you are not an
 intended recipient then please promptly delete this e-mail and any
 attachment and all copies and inform the sender. Thank you.
 ___
 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] urgent TweenMax easing question

2008-08-13 Thread H
I don't think so. It sounds like your issue has to do with rendering
changing transparent objects on top of one another. This is inherently slow.

On Wed, Aug 13, 2008 at 5:44 AM, allandt bik-elliott (thefieldcomic.com) 
[EMAIL PROTECTED] wrote:

 Hi guys

 I'm having a problem with a TweenMax animation.

 I'm animating a shape (broken apart text) over a transparent png but as the
 text hits the edge of the png, it slows down. Is there something I can do
 to
 stop this happneing?

 thanks
 a
 ___
 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] AS3 accessing functions from other classes

2008-08-13 Thread H
Call to a possibly undefined method addEventListener through a reference
with static type Class

I think you're calling these methods on the Class main_site.

Try this:

var main_site_instance:main_site = new main_site();
main_site_instance.addEventListener(bk2globe, bk2globeListener);

But, if you are having trouble with this, grab a copy of actionscript 3.0
essentials http://www.amazon.com/Essential-ActionScript-3-0/dp/0596526946.

Here is a short article that might help you:
http://www.adobe.com/devnet/flash/quickstart/creating_class_as3/

Keep at it!

H

On Wed, Aug 13, 2008 at 4:14 PM, Merrill, Jason 
[EMAIL PROTECTED] wrote:

 Is main_site the name of the instance?  It doesn't seem like it if you
 are getting that error.  Does it also import EventDispatcher or at
 least, extend it?  Depending on where the code sits, you could do:
 this.addEventListener instead of main_site - main_site should be an
 instance name - you cannot listen to events from non-instances.

 Jason Merrill
 Bank of America
 Enterprise Technology  Global Risk LLD
 Instructional Technology  Media

 Join the Bank of America Flash Platform Developer Community

 Are you a Bank of America associate interested in innovative learning
 ideas and technologies?
 Check out our internal  GTO Innovative Learning Blog  subscribe.



 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf
 Of SJM - Flash
 Sent: Wednesday, August 13, 2008 1:47 PM
 To: Flash Coders List
 Subject: Re: [Flashcoders] AS3 accessing functions from other classes
 
 Hi Eduardo, thanks for your help! Ive implimented this into
 my code but still does not work, i now get a couple of errors...
 
 Desc: 1061: Call to a possibly undefined method
 addEventListener through a reference with static type Class.
 Src: main_site.addEventListener(bk2globe, bk2globeListener);
 
 Desc: 1061: Call to a possibly undefined method
 addEventListener through a reference with static type Class.
 Src: main_site.addEventListener(randomImg, randomImgListener);
 
 here is my code
 
 * * * * * * * * * *
 main_site.as
  dispatchEvent(new Event(bk2globe));
  dispatchEvent(new Event(randomImg));
 
 * * * * * * * * * *
 
 gallery.as
 main_site.addEventListener(bk2globe, bk2globeListener);
 main_site.addEventListener(randomImg, randomImgListener);
 
   private function bk2globeListener(ev:Event):void
   {
goBackToMain();
   }
   private function randomImgListener(ev:Event):void
   {
loadPhoto(randRange(1, 52));
   }
 
 * * * * * * * * * *
 
 Thanks
 SJM
   - Original Message -
   From: Eduardo Omine
   To: Flash Coders List
   Sent: Wednesday, August 13, 2008 6:19 PM
   Subject: Re: [Flashcoders] AS3 accessing functions from
 other classes
 
 
   Dispatch an event from the loaded SWF and let the parent
 SWF handle the action.
 
   * * * * * * * * * *
   MainSite.as
   dispatchEvent(new Event(myEventName));
 
   * * * * * * * * * *
 
   Gallery.as
   mainSite.addEventListener(myEventName, myListener);
 
   private function myListener(e:Event):void
   {
   // call desired method here
   }
 
   * * * * * * * * * *
 
   HTH
 
   --
   Eduardo Omine
   http://blog.omine.net/
   http://www.omine.net/
   ___
   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] Object vs *

2008-08-11 Thread H
Hmm, it is done pretty well on this sony style web site...

On Mon, Aug 11, 2008 at 10:56 AM, Romuald Quantin 
[EMAIL PROTECTED] wrote:

 It has been done there, after the intro:
 http://www.sonystyle.com.mx/lounge/

 It is working pretty well I guess.

 Romu
 www.soundstep.com



 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Merrill,
 Jason
 Sent: 11 August 2008 15:31
 To: Flash Coders List
 Subject: RE: [Flashcoders] Object vs *

 You sort of can, but not online.

 You can online if you are OK with faking it.  You can set up a virtual
 cursor you control with Actionscript - hide the real cursor and use a
 graphic of one that looks just like it, and control it's behavior with
 Actionscript, including dispatching of events.  If you're not doing
 anything fancy, the user will  know no difference if you use it right.
 Then show the real cursor as needed for more complex mouse actions like
 dragging and dropping. Here is a virtual mouse class:

 http://www.kirupa.com/forum/archive/index.php/t-266801.html


 Jason Merrill
 Bank of America
 Enterprise Technology  Global Risk LLD
 Instructional Technology  Media

 Join the Bank of America Flash Platform Developer Community

 Are you a Bank of America associate interested in innovative learning
 ideas and technologies?
 Check out our internal  GTO Innovative Learning Blog  subscribe.



 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf
 Of eric e. dolecki
 Sent: Monday, August 11, 2008 9:32 AM
 To: Flash Coders List
 Subject: Re: [Flashcoders] Object vs *
 
 To the hijacker,
 You sort of can, but not online.
 
 run full screen, run a socket server and connect to it, have
 the socket server answer a command and position the system
 cursor (with Java let's say here). I've done this before
 myself, but it has to be a standalone executable with the
 running socket server, etc. A custom setup.
 
 On Sun, Aug 10, 2008 at 6:13 PM, Kerry Thompson
 [EMAIL PROTECTED]wrote:
 
  thomas nordahl wrote:
 
   is  there any way in AS3 to set the coordinates of the cursor?
 
 ___
 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] Object vs *

2008-08-10 Thread H
String, Boolean, Number, int, uint are all Objects...

var a:String = ;
trace(a is Object); //true

var b:uint;
trace(b is Object); //true

I find * useful when I don't want to explicitly type cast:

function a():Object {
return hi;
}
var b:String = a(); //compile time error

function a():* {
return hi;
}
var b:String = a(); //this is legal


H

On Sat, Aug 9, 2008 at 6:12 PM, Claus Wahlers [EMAIL PROTECTED] wrote:

 Also, mind this:

 var a:*;
 trace(a);
 // undefined

 var b:Object;
 trace(b);
 // null

 An Object can't be undefined.

 Cheers,
 Claus.


 Ian Thomas wrote:

  '*' means discard type checking
 'Object' means 'treat it as type Object'

 If you have functions:

 public function getThing():*
 {
  return new Bucket();
 }

 public function getAnotherThing():Object
 {
  return new Bucket();
 }

 then this will compile:

 var someVar:Bucket=getThing();  // Ignores type checking

 And this won't:

 var someVar:Bucket=getAnotherThing();   // Tries to assign Object to
 Bucket. Compile-time error.

 (while this will - with a cast:

 var someVar:Bucket=getAnotherThing() as Bucket;

 )

 HTH,
   Ian

 On Fri, Aug 8, 2008 at 11:07 PM, Dave Segal [EMAIL PROTECTED] wrote:

 What is the difference between typing an instance as * and typing it as
 Object?



 ___
 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] Object vs *

2008-08-10 Thread H
No... I believe the reason is related to security.

This is unrelated to the subject, though. I think you would get a quicker
response if you emailed the list with a fresh subject related to your
question.

H

On Sun, Aug 10, 2008 at 7:21 AM, thomas nordahl [EMAIL PROTECTED]wrote:

 is  there any way in AS3 to set the coordinates of the cursor?

 I want to make the cursor skip to a spesific place in my swf when a
 spesific
 object is clicked.

 Anyone?


 Thomas
 ___
 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] Using Copy Motion to Actionscript 3.0 Document Class

2008-08-08 Thread H
I actually ran into the same issue when I first used this...

Another thing to look out for is FileReference. I haven't tested anything
outside of the following case, so I don't really know the rules surrounding
the cause.

Well, if you define FileReference inside the same function body that you
call download()/upload() - it will fail. You get an I/O Error... In this
case, when the function defining FileReference is finished executing, the
reference to the FileReference instance is gone, so it should have a
reference count of 0. This leads me to believe that the issue is some how
linked to garbage collection. What is strange is that this doesn't cause any
other classes that have asynchronous methods to misbehave (Loader,
URLLoader.) Stranger yet, callbacks to IOErrorEvent.IO_ERROR are still
invoked. I've yet to run this with the Profiler to see what is going on...

H

On Thu, Aug 7, 2008 at 8:42 PM, Ed Haack [EMAIL PROTECTED] wrote:

 Ok, I'm a little slow to adopt all of the nifty cool features of CS3 --
 just
 now taking advantage of Copy Motion to Actionscript 3.0 where it gens the
 Animator AS3 code for you. Nice.

 It works if you place the code on the timeline/frame. Fantastic.

 But to really put this to use, I need it to work in a class... So, I
 created
 a simple fla, with a document class (I know it's wired up correctly, with a
 trace(crack) in the constructor, which is coming back. Added the public
 var for the clip on the stage mcTest -- and just under the
 trace(crack),
 added mcText.alpha = 1; (it's alpha 0 on the stage)... and that worked...
 so
 I know the doc class is wired to the stage instance. (BTW: AS3 settings,
 Auto declare stage instances : unchecked)  so we're all good

 Now the fun part: paste the same Animator code into the constructor,
 verifying the correct instance name on the stage -- (making sure to execute
 the play method... duh) and the animation *does not play*.

 Then I stumbled on this from :

 http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/fl/motion/Animator.html

 If you plan to call methods of the Animator class within a function,
 declare the Animator instance outside of the function so the scope of the
 object is not restricted to the function itself. If you declare the
 instance
 within a function, Flash Player deletes the Animator instance at the end of
 the function as part of Flash Player's routine garbage collection and the
 target object will not animate.

 So that's it! The animator instance must be a global member to the class...
 and presto! It works.

 Hope this helps others...
 ___
 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] Re: Another Sound Bug - transform.pan

2008-08-07 Thread H
Have you ever used Captivate :S

On Thu, Aug 7, 2008 at 8:08 PM, Steven Sacks [EMAIL PROTECTED]wrote:

 Update: Unfortunately, it looks like even if you set the pan all the way in
 one direction or the other, it doesn't actually work. You can still hear the
 sound coming out of the side that it is panned away from. So, I guess this
 bug is moot since pan doesn't actually work properly in the first place.

 Jeez.  The more I use the Sound class, the more I'm unimpressed with
 Adobe's quality control.
 ___
 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] AS3 frustration - help get component working

2008-08-07 Thread H
Are you sure that the carousel is of type CarouselEvent?

Also, make sure everything is consistent with whether you have autodeclare
instances turned on or off... If you are new to AS3 and are working with
Flash CS3 I think it's valuable to know about the effects of this option.

File-Publish Settings-Flash-Settings...-Automatically Declare Stage
Instances

H

On Thu, Aug 7, 2008 at 8:11 PM, Steven Sacks [EMAIL PROTECTED]wrote:

 The issue isn't Gaia.  If you try to load that component living in a child
 swf into a parent swf it doesn't work.

 Many component authors never take into account the extremely common use
 case of loading their component into another swf.  Many PV3D components I
 have seen suffer from this exact problem.

 ___
 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] Integrating Flash SWFs with Flex

2007-08-03 Thread greg h
Hi Matt,

First, Flex 2 is AS3 only.  So if you intend your interactive charting
widget to integrate with Flex create it in Flash CS3 using AS3.
(The background is ... In Flash Player, AS3 runs in its own AVM2
(ActionScript Virtual Machine 2).  AVM2 exists only in Flash Player 9 and
higher.  In Flash Player 9, AS1/AS2 runs in what is retroactively being
called AVM1.  The issue is, there is a firewall between AVM1 and AVM2.  That
is, properties and methods on objects in AVM1 can not be directly called by
AS in AVM2, and vice versa.)

Second, you wrote Flex is a language for tying together individual Flash
components into an overall UI/RIA.  Actually Flex is:  a) a component
library; b) at authortime components can be instantiated with using either
ActionScript, or via tag based declarative MXML.  (By comparison, in the
Flash IDE components can be instantiated using ActionScript or by dragging
them on the stage and using the property inspector to set their values).  So
just think of Flex as an extensive set of Flash components with a tag based
option for instantiating them.  And, Flex has no drawing tools, no
timelines, etc.

Third, Flex 2 has charting components.  And they are extensible.  Just
straight Object Oriented ActionScript.  I don't know how customized your
requirement is, but you might be able to extend one of the Flex 2 Charting
Components.  To get a sense of the charting components, check out the Flex 2
Component Explorer at the following link at the bottom of the component tree
expand Charts:
http://examples.adobe.com/flex2/inproduct/sdk/explorer/explorer.html

Fourth, the official name for the FlexComponentKit that Troy referred to
is:  Flex Component Kit for Flash CS3.  You can find it here:
http://labs.adobe.com/wiki/index.php/Flex_Component_Kit_for_Flash_CS3
Fyi, as of Flex 3, this component kit functionality will be part of the Flex
product (it currently is included in the Flex 3 beta up on labs.)

Fifth, lot of links on this topic here:
Flex Flash Integration Resources
http://blog.halcyonsolutions.net/2007/06/30/flex_flash_integration_resources/

Last, please post back regarding how you ultimately proceed (and about what
you learn along the way :-)

hth,

g
___
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 to use media server alongwith webserver for video streaming

2007-07-24 Thread greg h

Hi Abhishek,

Bob's summary is 100% correct.

For more detail, you might want to check out the heading About streaming
video here on the Delivery options for Flash video page of the Flash
video learning guide:
http://www.adobe.com/devnet/flash/articles/video_guide_02.html

Also this page may help too:
Streaming Video (FLV) -- Delivering Flash Video: Understanding the
Difference Between Progressive Download and Streaming Video
http://www.adobe.com/devnet/flash/articles/flv_download_04.html

Following is a basic sequence of events at runtime:
1) browser requests a SWF from the web server via HTTP
2) browser receives SWF, SWF contains logic for RTMP call to FMS
3) SWF requests FLV stream from FMS
4) FMS starts stream to the SWF
5) SWF receives FLV stream and displays it.

So, basically, there is no direct interaction between the FMS and web
server.

Please post back if you have any further questions.

hth,

g

On 7/23/07, creativity [EMAIL PROTECTED] wrote:


Hi,

Can anyone guide me on how to use flash media server with a web server for
streaming media asses like videos and audios.
I wish to know how to set up this service and how web application running
on
webserver handles media related requests using flash media server.
--
Abhishek Kumar


___
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] Flash Media Server Component Usage Survey

2007-07-12 Thread greg h

Do you work with the Flash Media Server?  If so, the FMS product team would
like feedback on how you use the FMS
componentshttp://www.adobe.com/devnet/flashmediaserver/articles/components.html.
Or, if you do not use them, why not.  The product team has opened up a
survey at the following link.  Please take a moment to share your experience
with them:

Survey of FMS2 Component Usage
http://www.pollcat.com/K10B9FDA2A66F193CCB5
___
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] Alternate ActionScript-centric Support Mailing Lists

2007-07-01 Thread greg h

Just curious, other than FlashCoders, are there any active
ActionScript-centric support mailing lists?

Recommendations of any good ones would be appreciated  ;-)

g
___
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] fyi ... Adobe's Marketing Of Flash and Apollo Should Be Copied By Others

2007-06-26 Thread greg h

Following is a link for a blog post that is a nice, feel good piece for the
teams at Adobe and for the Adobe community:

Adobe's Marketing Of Flash and Apollo Should Be Copied By Others
http://blog.streamingmedia.com/the_business_of_online_vi/2007/06/adobes-marketin.html

I just hope competitors never figure out Adobe's secret  ;-)

g
___
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 CS3 Prof copy: missing Tree component.

2007-06-07 Thread greg h

Ian, thank you for the link on Robert Taylor's FlashInterface.

Regarding Scott's intuitive response, the responses by Austin, Muzak and Ian
pretty much tell the story.

When I used the word stupefying the other day this is what I meant.

Just to recap:  AS2 to AS3 - At runtime can only integrate through external
APIs - Only a small subset of AS2 components got rev'ed up to AS3 -
leaving Flash application developers a choice of staying at AS2, building
their own AS3 components, programming to lower level APIs in AS3, or
integrating Flex into their workflow/architecture.

Anyway, since Flex 2 is AS3 only, Flash/Flex developers have been confronted
for a full year now with the runtime firewall between AVM1 and AVM2.

None has been more eloquent in analyzing this than Jesse Warden.  See in
particular the following among his posts:

Integrating a Flash Interface into Flex 2
http://www.jessewarden.com/archives/2006/12/integrating_a_f.html

Here is an excerpt.  To make the relevance of Jesse's original Flash/Flex
comments apparent to our current AS2/AS3 discussion, in the excerpt I use
square brackets to replace Jesse's original references to Flash and Flex
with [AS2] and [AS3].  I will include Jesse's original, unedited language at
the end.  Of course, see Jesse's original post for his full analysis.

EXCERPT:
Why Integration?
...
For security  various other engineering reasons, the AVM's cannot talk to
each other. This results in a SWF written in [AS2] not being able to talk
to a [AS3] SWF. The need for doing such is that the [Flash AS2 components]
allows creation of design content that [Flash AS3 components] cannot create
on it's own. ...
There are a few solutions out there.  ...
Another is to utilize a small set of classes to communicate via
LocalConnection. ...
A third one is to utilize ExternalInterface. ...
So, why not use one of the above methods. First off, [since the AS2
components are a complete component set (including data components), the AS2
components] is powerful; it's not just a design asset. So, simply being
loaded in isn't good enough for some functionality; [AS2]  [AS3] need to
talk. Secondly, LocalConnection isn't syncronous, and doesn't have good
error checking. This makes debugging long and frustrating. Third,
Externalnterface uses JavaScript. You've now gone from 2 languages to 3;
ActionScript 3, ActionScript 2 (or 1), and JavaScript as well as at least 2
different tools; Flex Builder for ActionScript 3 and JavaScript and Flash 8

btw ... Integrating even Flash AS3 content into Flex 2 apps requires special
processes.  See the following post by Jesse for details on using the Flex
Component Kit for Flash
CS3http://labs.adobe.com/wiki/index.php/Flex_Component_Kit_for_Flash_CS3
that is now on labs:

Example for Flex Component Kit for Flash CS3
http://www.jessewarden.com/archives/2007/04/example_for_fle.html

hth,

g


[ORIGINAL LANGUAGE]
Why Integration?
...
For security  various other engineering reasons, the AVM's cannot talk to
each other. This results in a SWF written in the Flash 8 IDE not being able
to talk to a Flex 2 SWF. The need for doing such is that the Flash IDE
allows creation of design content that Flex cannot create on it's own. ...
There are a few solutions out there.  ...
Another is to utilize a small set of classes to communicate via
LocalConnection. ...
A third one is to utilize ExternalInterface. ...
So, why not use one of the above methods. First off, Flash is powerful; it's
not just a design asset. So, simply being loaded in isn't good enough for
some functionality; Flash  Flex need to talk. Secondly, LocalConnection
isn't syncronous, and doesn't have good error checking. This makes debugging
long and frustrating. Third, Externalnterface uses JavaScript. You've now
gone from 2 languages to 3; ActionScript 3, ActionScript 2 (or 1), and
JavaScript as well as at least 2 different tools; Flex Builder for
ActionScript 3 and JavaScript and Flash 8
___
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] Flash Remoting for Flash CS3 AS3

2007-06-06 Thread greg h

As yet Adobe has not updated Flash Remoting for Flash CS3 AS3.

Following are links to 3 sources documenting how to make remoting calls in
AS3 using 
NetConnection.call(...)http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/NetConnection.html#call%28%29
.

NOTE:  I have not tested the following sources.  If you use any of these,
please post back regarding your experience.


  - AS3 Lightweight Remoting Framework
  http://osflash.org/as3lrf
  - AS3 Flash Remoting Example
  http://www.oscartrelles.com/archives/as3_flash_remoting_example
   - ActionScript 3.0 Cookbook -- Chapter 21: Web Services and Flash
  Remoting
  http://www.oreilly.com/catalog/actscpt3ckbk/toc.html
  Section 21.4 Calling Flash Remoting Methods
  Section 21.5 Handling Flash Remoting Responses
  NOTE:  These sections expand on the TOC page link above for viewing
  first several paragraphs.
  NOTE #2:  The Web Services Sections of this chapter use Flex 2
  components, and are not for Flash CS3 AS3


In addition to a recent thread here on FlashCoders where this came up
(Flash CS3 Prof copy: missing Tree component), this issue was also
discussed by developers on the Adobe forums at this link:

Great Alternative To Flash Remoting - AMFPHP
http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=15catid=250threadid=1245196enterthread=y
NOTE:  Go to comments starting in thread on April 19.

hth,

g
___
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 CS3 Prof copy: missing Tree component.

2007-06-06 Thread greg h

Jason,

Regarding How about calling a WSDL - Webservice?  Not possible in CS3?

First I just want to rephrase that as Flash CS3 AS3 because for the AS2
components (aka V2 components) nothing has changed from Flash MX 2004 to
Flash 8 to Flash CS3 (except FLVPlayback being introduced with Flash 8).

The issue is with AS3 components only.  As of Flash CS3 the package fl.* has
been added for AS3 components.  (In Flash the package mx.* remains AS2.
Confusingly, Flex 2 has now appropriated mx.* for all of its components,
which in Flex 2 are all AS3.)

So, back to your question let me first finish rephrasing it:  How about
calling a WSDL - Webservice?  Not possible in CS3 AS3?

At the following link shockzone wrote on 11-10-2006:
http://www.actionscript.org/forums/archive/index.php3/t-121396.html
I got an email from Joey Lott the author of the AS3 Cookbook. Basically he
said that in Flash 9 AS3 there is no built in web services. The only way you
can do it is manually assemble and de-assemble SOAP request. Ouch.

Note:  the quote above predates the release of Flash CS3.  Still, I see
nothing in the released version of Flash CS3 that contradicts the quote
above.  Of course if anyone else can provide links to solutions for AS3 web
services for Flash CS3 developers, please post asap :-)

Now couple the quote above with what cayennecode wrote on the remoting
thread on 5/11/2007 on the Adobe forums
threadhttp://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=15catid=250threadid=1245196enterthread=y
:
But yeah, the DataSet class, RDBMSResolver class haven't been refactored for
AS3. Making your life of easily walking through the remoting results more
difficult, as well as listening to changes in the data model. Have fun
building it !!!

So is it possible?  I guess so.  But no, there are no AS3 components
provided.  And again, since at runtime AS2 and AS3 live in separate virtual
machines, you can not use the AS2 components in building AS3 solutions.

And, of course, the whole point of components is so that we do not have to
build everything from scratch.  Rapid Application Development and all that.

So to recap.  I think that Adobe made a misjudgment in not revving the full
component set up to AS3.  This thread makes me suspect that a few others on
this list may feel the same way.  (Mainly those who use Flash to create
applications.)  Maybe someday Adobe will deem it in their strategic interest
to provide Flash a comprehensive, updated component set in-product.

fwiw, when I have an opening in my schedule, a key Adobe employee that I
will escalate this to is Richard Galvan.  Richard took over as technical
product manager for Flash back in
Februaryhttp://blogs.adobe.com/rgalvan/2007/02/hello_and_welcome_1.html.
Richard is a great guy.  If anyone on this list knows Richard, please do not
hesitate to contact him regarding your concerns.  fyi, Richard blogs at:
http://blogs.adobe.com/rgalvan/

Oh, and in the course of doublechecking this I found an example of Adobe
disingenuousness here in the form of a blog post by Adobe employee Justin
Everett-Church.  Justin's post is a glowing review of the Flash CS3 AS3
components and is entitled AS2 and AS3 Components in Flash CS3
Professional.  Of course he makes no mention that the AS3 component set is
a dramatically scaled back set relative to the AS2 component set.  But
Justin was open in his biases in writing:
http://justin.everett-church.com/index.php/2007/04/27/as2-and-as3-components-in-flash-cs3-professional/
I have to admit that I have never liked components. I prefer to build things
from the ground up myself and have complete design control.

fwiw, Justin has now moved onto the Flash Player product management
teamhttp://justin.everett-church.com/index.php/2007/02/08/joining-the-flash-player-team/,
so no sense in bothering him about the current sorry state of AS3 components
in Flash CS3.

Another example is in the docs.  The docs do include ActionScript
2.0Migration, but it does not include components.  What I think Adobe
does
reasonably owe us is a doc on ActionScript 2.0 to ActionScript
3.0Component Migration.  Boy, now that sure would be a ringing
indictment.

Sorry that I can not offer anything more helpful at this time.  If I do come
up with solutions, I will post back.  Of course if others have more to add,
please post asap :-)

g
___
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] Exporting a swf to an FLV

2007-06-06 Thread greg h

Patrick,

I know of no way to export swf directly to FLV.  Flash CS3 has introduced a
new option on export to Quicktime.  Once an MOV has been rendered, you can
use the Flash Video Encoder (or encoder of your choice) to transcode into
FLV.

Animators who use Flash for broadcast have long established workflows for
exporting to Quicktime.  What the new CS3 feature adds is support for
animations in nested movie clips and ActionScript animation.  I believe
neither of these were previously possible.  (Anyone please correct me if I
am incorrect on this :-)

The description of the new options are:
http://www.adobe.com/uk/products/flash/upgrade/
Advanced QuickTime export
Render content published in a SWF file as a QuickTime video using the
advanced QuickTime exporter. Export content that includes nested MovieClips,
content generated with ActionScript language, and runtime effects such as
drop shadow and blur.

The livedocs page on Exporting QuickTime is here:
http://livedocs.adobe.com/flash/9.0/UsingFlash/WS6A15AAE2-C176-4161-BAB6-FB082F63B65B.html

The livedocs page includes a link to the following demo video:
http://www.adobe.com/designcenter/video_workshop/?id=vid0142

In Flash CS3 you access this functionality from the main menu via:
File  Export  Export Movie.
A key new feature is the option Stop exporting using After time elapsed.

A happy user's review is here:
Flash CS3's Export to Movie: Quicktime, I Love You!
http://visualrinse.com/2007/05/10/flash-cs3s-export-to-movie-quicktime-i-love-you/

Please post back regarding whether or not this helps.

hth,

g

On 6/6/07, Patrick Lemiuex [EMAIL PROTECTED] wrote:


Sorry, this may be a pretty obvious question - how do I export a
flash swf to an FLV?


Thanks,
Patrick
___


___
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 CS3 Prof copy: missing Tree component.

2007-06-05 Thread greg h

Yes, who would have believed that Flash CS3 would yield AS3 components that
are:

  - a reduced set of UI components from AS2
   - no data components
  - elimination of databinding

And as Randy points out, all this in the run up to Microsoft's Silverlight
release.  Based on my decades of experience in the computer industry, my
opinion is that Microsoft does not necessarily win, so much as their
competition fails.  I see Adobe's abandoning the commitment to provide a
comprehensive, updated component set in-product with Flash CS3 as just such
a failure.

Tragic.

g

P.S.  Since Adobe abandoned Flash data components for AS3, I am proceeding
on the assumption that it is illogical that they would now provide an AS3
remoting update for Flash.
___
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 CS3 Prof copy: missing Tree component.

2007-06-05 Thread greg h

Yes, Flex has AS3 versions of all of the components that Flash 8 had and
then some.  That is the point.

The message is pretty clear:  If you want a comprehensive, state of the art
component set use Flex.

You can preview the full set of Flex UI components here:
http://examples.adobe.com/flex2/inproduct/sdk/explorer/explorer.html

The decision to not rev all Flash 8 components up to AS3 was a conscious
business decision.  In retrospect maybe not a good business decision, but
certainly a conscious business decision.

g

P.S.  Remember, the Flex framework is far more heavy than the Flash CS3
AS3 component framework.

P.P.S.  I regret that Adobe has consciously chosen not to fully support AS3
application development in both Flash and Flex.  As much as Flex supports an
authoring style better suited for some developers than the Flash IDE, the
Flex IDE will not suit some developers for whom the Flash IDE is good.  By
not providing a comprehensive, updated component set in-product with Flash
CS3 Adobe is alienating some of the most talented and capable Flash
developers who have been vital to their success in the first place.

P.P.P.S.  In addition to gskinner.com, the other half of the team that
created the Flash CS3 AS3 components was metaliq.com.  I have to say, I
personally find it disconcerting that the first entry listed by the
Silverlight product manager touting the Silverlight release is a Silverlight
application built by metaliq.com.  Microsoft video of metaliq.com's Top
Banana video editor sample application here:
http://silverlight.net/learn/learnvideo.aspx?video=73
Silverlight product manager page which was source for the link above is
here:
http://weblogs.asp.net/scottgu/archive/2007/05/07/silverlight.aspx
___
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 CS3 Prof copy: missing Tree component.

2007-06-05 Thread greg h

Regarding Jason's question, NO.  As yet Flash CS3 has no AS3
classes/components for WebService or Remoting.  And no where have I seen any
promised.  (I would like to see them, so if anyone from Adobe is on this
list and might like to tell us that there one day will be Flash CS3 AS3 Data
Components, please chime in  :-)

If you would like to see the inventory of what we have, here is the top
level link for livedocs for Flash CS3:
http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/js/html/wwhelp.htm

And here is the top level for the Flash CS3 ActionScript 3.0 Language and
Components Reference:
http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/index.html

Regarding integrate parts of the flex framework components into flash, as
Claus points out, there are issues.  I am confident that if it were straight
forward, Adobe would have done it for the Flash CS3 AS3 components.  Though
this thread suggests that some of us consider the Flash CS3 AS3 component
set to be incomplete, one goal that Adobe did achieve was keeping them as
lightweight as possible.  As we all know, Flex is not lightweight.  There is
the devil's bargain in component development.  What makes Flex Flex is that
it is not Flash.  And the fact that the Flash CS3 AS3 components are so
lightweight really highlights this.

fwiw ... Even going the easier route of integrating Flash AS3 content in to
Flex is a little involved.  Adobe has put up on labs the Adobe Flex
Component Kit for Adobe Flash CS3.  The thumbnail description is Allows
you to easily convert Flash content into Flex components providing seamless
integration between Flash CS3 and Flex.  But it is a one way street, Flash
into Flex only.  Details here:
http://labs.adobe.com/wiki/index.php/Flex_Component_Kit_for_Flash_CS3

Regarding Austin's earlier statement about possible time factor
considerations, I assume that this is a hypothesis on Austin's part.  Unless
Austin knows something that I don't know I am sticking with my firsthand
understanding that The decision to not rev all Flash 8 components up to AS3
was a conscious business decision.  No issues regarding time factors.
Just priorities.  I.e. conscious strategic business decisions.

I do totally concur with Austin that Most new releases of a software don't
remove functionality.  And Adobe might just say we did not remove any of
the AS2 components ...  But because AS2 and AS3 logic live in separate
virtual machines, were anyone from Adobe to say that they did not remove
functionality, I would think them disingenuous.

And please note that Grant did reply to that thread on his blog.  And
Grant's only reply is for us to email our requests for a comprehensive,
state of the art component set to [EMAIL PROTECTED]  lol.

And with Flash Player 9 likely to be at 90% or so by the June
studyhttp://weblogs.macromedia.com/emmy/archives/2007/04/sneak_peek_at_t.cfm
this month, it is getting safe for us to be moving on to AS3 development.

I concur with Austin that Removing something like the tree component or web
services from flash 9 cs3 is a major mistake.  However, I neither work for
Adobe nor was I consulted when they made that (for us) fateful decision  :-(

Lastly, since gskinner.com and metaliq.com had teamed
uphttp://www.gskinner.com/blog/archives/2005/07/glic_is_dead.htmlin
the AS2 era to deliver the mCOM
components http://metaliq.com/mcom/, I kind of hoped that they would
deliver AS3 components to fill the gap.  Heck, Adobe did pay them to create
the Flash CS3 AS3
componentshttp://www.gskinner.com/blog/archives/2006/09/building_the_v3.html.
How hard would it be for them to create some more?  But based on my limited
conversations with Beau and others at Metaliq my sense is that this is not
going to happen  :-(

What really slays me is that all the early reviews of these components were
universally glowing.  Only now that we developers are going about our work
did anyone comment on the huge chunk of the component set that did not get
included in the Flash CS3 AS3 components.  But hey, that just get's back to
Kalani's I did not speak out verse at the top of this thread.

/rant

g
___
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 CS3 Prof copy: missing Tree component.

2007-06-05 Thread greg h

Spot on Austin.

Yup.  You then get the new software ... and try to port an application and
You then cannot ... because you ... have ... components ... missing.  Yes
sirree, that is how I figured it out.

Regarding It would be good if Adobe could make an official statement on
this.  Like maybe a technote?

I am tempted to bet you $100 that this will not happen.  But to me it is so
stupifying I imagine that at some point Adobe will need to put out at least
a technote or someting to explain this illogical gap.  (So I am not going to
offer the bet.)

And regarding all flash developers ... now port[ing] existing projects over
to flex.  Well, if anyone is porting their apps I am hoping it is to Flex.
... and not Silverlight.

As I wrote earlier I regret that Adobe has consciously chosen not to fully
support AS3 application development in both Flash and Flex.

g
___
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] Error 2152 when selecting Fullscreen Button on Flash CS3 AS3 FLVPlayback component

2007-05-29 Thread greg h

I am wondering if anyone has encountered the following (and if so if you
offer any solutions).

Flash CS3 includes an AS3 FLVPlayback component which has several skins that
support fullscreen.

When running the resulting SWF in a browser that has the debug player, when
the fullscreen button is selected it fails and the following is displayed in
the debug player's error window:

SecurityError: Error #2152: Full screen mode is not allowed.
   at flash.display::Stage/set displayState()
   at
fl.video::UIManager/http://www.adobe.com/2007/flash/flvplayback/internal::dispatchMessage
()
   at
fl.video::UIManager/http://www.adobe.com/2007/flash/flvplayback/internal::handleButtonEvent
()


Any assistance would be appreciated.

g
___
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: should be simple: MovieClip drawing API

2007-04-27 Thread greg h

fyi ...

For AS3 examples of Drawing API this link is the bomb:
http://www.3gcomm.fr/Flex/PrimitiveExplorer/Flex2PrimitiveExplorer.html
Each primative class includes Class Call Sample code.  Right-click for
View Source.  On source page, bottom right has Download source option.

Explanation by the Primitive Explorer's creator (with links to prior work)
is here:
http://flexibleexperiments.wordpress.com/2007/03/14/flex-20-primitive-explorer/

Other similar explorers are listed here:
The Flex Style Explorer is a Proud Papa
http://weblogs.macromedia.com/mc/archives/2007/03/the_flex_style.cfm

g
___
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 CS3 - Key questions

2007-04-26 Thread greg h

Regarding Flash / Flex integration ...

As a Flash developer I have felt that Adobe was doing a pretty crappy job
explaining Flash / Flex integration.  Now I understand that they were just
waiting to release Flash CS3.  After all, Flex 2 is exclusively AS3 based.
So in retrospect it seems fair that Adobe has been waiting until a GA
release of Flash authoring was out that support AS3 authoring.

First, from what I have seen so far Flash / Flex integration is generally a
one-way street.  That is Flash authored content can be integrated into Flex
projects.  I have not yet seen anything regarding integrating Flex 2
authored content into Flash projects.  But again this may be because Flash
CS3 has not yet hit the streets.  IF ANYONE KNOWS OF FLEX IN FLASH EXAMPLES,
PLEASE POST THEM?  :-)

Anyhow, since Austin's original post starting this thread Flash CS3 has been
announced and Adobe has started opening up the floodgates on information
about Flash / Flex integration.

The first big salvo is the Flex Component Kit for Flash
CS3http://labs.adobe.com/wiki/index.php/Flex_Component_Kit_for_Flash_CS3now
up on labs.  On Monday
JesseWarden.com did a very nice piece using the Component Kit and which
shows how well the Flash/Flex can integrate together.  Jesse's post is here:
http://www.jessewarden.com/archives/2007/04/example_for_fle.html
(Thank you again Jesse!)

At the labs 
pagehttp://labs.adobe.com/wiki/index.php/Flex_Component_Kit_for_Flash_CS3,
there is a watch this presentation link with an Acrobat Connect recording
by Glenn Ruehle.  Glenn is a lead from the team that created the Flex
Component Kit for Flash CS3.  Just click the following link and let Glenn
walk you through it:
http://adobedev.adobe.acrobat.com/p75214263/

Also Grant Skinner, a lead on the team that created the AS3 components that
ship with Flash CS3, has posted about integrating Flash/Flex too:
http://www.gskinner.com/blog/archives/2007/03/flex_loves_flas.html
http://www.gskinner.com/blog/archives/2007/03/using_flash_sym.html
http://www.gskinner.com/blog/archives/2007/04/flash_cs3_compo.html

Please post back any additional links that you might find.

Happy Flashing!

g
___
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] Adobe to Open Source Flex!!!

2007-04-25 Thread greg h

Oh, my God.  Who would ever have thunk it!

ADOBE HAS PUT UP AN ANNOUNCEMENT THAT THEY WILL BE OPEN SOURCING FLEX.  THE
WHOLE KIT AND KABOODLE!!!

http://labs.adobe.com/wiki/index.php/Flex:Open_Source

It will take time, but likely by this time next year it will all be out
there!

TRULY, NOW, FLEX/FLASH WILL RULE THE WORLD!!!

Oh, and now I better understand why the name change on Flex Data Services to
LiveCycle Data Services.

g
___
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] You Tube + Progressive download of flvs

2007-04-10 Thread Cay Garrido H.
Its progressive download, Google Video uses streaming... You can check 
it by jumping forward to a certain point in an unloaded clip and check 
if it loads from the start of the video till that point, or if it loads 
from that point on... the latter is streaming ;)


How YouTube is handling the large traffic with progressive download?
I think you should read a bit more about what the differences are between 
progressive download and streaming, I think you'll get it then... ;)

Cheers,

Cay

Sumeet Kumar escribió:

Hi All

 


Can any one tell me what YouTube is using for playing the flv's?
Progressive download or Video Streaming.

 


Regards

Sumeet Kumar

 

 


___
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@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-03-30 Thread Cay Garrido H.
Of the top of my head a possible reason is that higher prices 
respond to the amount of illegal software used in Europe in comparison 
to the US... I could be wrong, but the system seems far more controlled 
over there, and there are less companies using pirated copies... now, I 
don't see how this measures could improve the situation over here, but 
the logic might be to get some compensation, plus pressuring legal 
companies to act against ilegal companies in order to expect lower 
exchange rates... still, I don't think it's a particulary smart 
measure... specially when developing budgets are usually much lower in 
Europe than in the US...


Cheers...

John Dowdell escribió:

Mike Mountain wrote:
For those prices it would literally be cheaper to fly out to the US 
to buy

it.
Adobe has FUBAR'd these prices - we demand an explanation - but who 
from?


For what it's worth, I had been pushing before launch for better 
information about the reasons for regional pricing disparities, but I 
did not succeed at doing so.


I suspect there are reasonable explanations, because Macromedia, 
Adobe, and most other software houses show similar differences across 
national boundaries, but I don't yet know the authoritative reasons 
myself, sorry.


(My suspicion is that it's due to decisionmaking being both at the 
central and at the regional level... I think each region is 
responsible for its own prices and these are shaped, but not dictated, 
by the main office, so there's no single owner of pricing worldwide... 
that's just my best current guess of why I haven't been able to gain 
traction in getting this documented, though.)


What I'm doing now is trying to collect similar reactions for my 
partners, to show that this is indeed a frequently-asked question, and 
one that deserves a definitive explanation on the Adobe site. (The 
FlashCoders web archive is not viewable to non-subscribers, so I'm 
snipping threads to give a flavor of the whole.)


So... my apologies for the confusion. I think it's definitely a 
legitimate question, and one that I'm working to get addressed.


tx,
jd





___
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] Image Caching Problem

2007-03-25 Thread Cay Garrido H.

Hi,

By default cache I think you refer to the local storage setting in 
the Flash Player configuration... AFAIK, that's the amount of info you 
can store with SharedObjects, and has nothing to do with the cache used 
for storing loaded assets... the later depends exclusively on the 
browser's cache settings.
A preloader is ALWAYS necessary when doing a loadMovie, 'cause even when 
they are in cache, there's a slight delay of a few frames till they 
actually appear on stage... so any operation dependant on the image 
would fail.
So, your options are the ones you describe... preload everything when 
doing a loadMovie (My advice is to use a proxy function, or a loader 
class, so you never use loadMovie directly, making sure everything is 
loaded before beeing used), or else switch to Flash 8 and use 
BitmapData. BitmapData allows you to load images and store them in 
variables (the same way you would do with text from a loadVars 
operation), and use them as many times as you want (attachBitmap). The 
bitmapdata information stays in the computer's memory (ram when 
available, then virtual memory), so there is absolutely no problem if 
you only use 380Kb of images.


Cheers...

David Beermann escribió:

Why don't you use BitmapData for storing the loaded images once and
placing them in different movie clips as many times as you want?

  Attila


Thanks, Attila. I forgot to mention that the project I'm currently 
working on is Flash7/AS2. So using the BitmapData Class is no option 
here.




Am 10.03.2035 um 21:51 schrieb Alain Rousseau:
There is a limit in each browser for the amount of cache available, 
if your files go over that amount, not all the files will stay in the 
cache ! You should try Attila's solution to this


You right about the cache, Alain. The default cache setting allows 
each website to store 100 KB.  My images add up to about 380 KB (76 
files range from between 2 to 7 KB each). So caching could really be 
the problem.


So my options are, to create a preloader for all areas where I need my 
thumbnails or the convince my client to switch to Flash 8. Would the 
switch really help or would I end up in another caching problem? I 
couldn't find any information in the AS2.0 Language Reference where 
the BitmapData Class stores its data. Or even better, is there any 
other solution to this problem?


Thanks for your help.
David



___
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@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.media.Camera.setMode Freeze SWF

2007-03-14 Thread l u c h y x

Hi guy's.
I´m doing a component CameraDisplay. and other componente
CameraSettings, wich enable you to change few settings of the camera. (in
beta)
With this component I test the capabilities and limitations of me webcam,
and under the test process I noticed the freeze behavior.
I know that change size and aspect ratio settings will force the camera to
display in non-native size.
But I just wondering if exist any technique to do it smoother
Here is the component :
http://www.riaevolution.com/development/red5samples/main.swf

Feedback are welcome.!
;)


Luciano Bustos - Luchyx

r i a e v o l u t i o n (r)
[EMAIL PROTECTED]
http://www.riaevolution.com
Phone: +54 (11) 4931-7006
___
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] flash.media.Camera.setMode Freeze SWF

2007-03-13 Thread l u c h y x

Hi list!.
Does anybody here know why calling Camera.setMode freeze the movie ?
I know that calling Camera.names will trigger a new scan for camera devices
on the machine but what Camera.setMode really do ?
Any idea to make this action run smoothly ??.

Thank's

--
Luciano Bustos - Luchyx

r i a e v o l u t i o n (r)
[EMAIL PROTECTED]
http://www.riaevolution.com
Phone: +54 (11) 4931-7006
___
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] Controlling flv

2007-03-13 Thread greg h

Adrian,

Have you gotten this resolved yet?

I am a little rusty on the FLVPlayback component.  It wraps the VideoPlayer
class.  If you look on the docs there are a number of properties on
VideoPlayer that you might be able to use to construct the logic you
describe.  Docs here:
http://livedocs.adobe.com/flash/8/main/3645.html

For instance, do your FLVs have encoding showing values on the property
VideoPlayer.totalTime?  If so, perhaps you can have a listener watch
VideoPlayer.playheadTime and as it reaches totalTime you can have the logic
pause on the last frame of the video before fading to black.

Also, I don't know if you might be able to use the event
VideoPlayer.complete.

Maybe somebody from YouTube is on the list and they can share how their
player is coded  :-)

Regardless, please post back and let us know if you have resolved this, and
if so how.

hth,

g


On 3/12/07, Adrian MacTaggart [EMAIL PROTECTED] wrote:


Hi,

I'm working with Flash 8 and I've imported an flv to the stage and set
it as a progressive download, using a preset skin to control the video.
This has created a Flash Video component on the stage.

This works fine but the clip ends abruptly before returning to the
start.
I'd like to pause on the last frame of the video before fading to black
over a few seconds. It can then return to the start.

As the video is not on the timeline, is this possible? Can the video be
controlled with script to do this?

Thanks,

Adrian


___
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] Append variables to SWF server-side

2007-02-27 Thread Cay Garrido H.

search FlashVars ;)

Mick G escribió:

Does anyone know if there is a way to add data to a SWF file server-side?

Eg. I have a swf that site on my server. I want users to be able to 
select
an option from a dropdown such as Select a color: BLUE. This would 
then send

them a SWF to download that has the variable color=blue embedded into the
SWF. I guess this would mean the server would need to recompile a SWF 
which
would require large CPU so I'm not sure if this is possible but 
thought I'd

ask anyway.
___
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@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] List changes- Help!!

2007-02-23 Thread Jack H
Same problem here.I checked my settings and I'm suppose to get these emails by 
digest, not individually. Can the administrator of this email list look into 
this problem?




- Original Message 
From: [EMAIL PROTECTED] [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Friday, February 23, 2007 7:01:39 AM
Subject: [Flashcoders] List changes-   Help!!

Not sure what happened but I was on the digest version of this list and now  
I am getting separate messages and my email box is  full!  How do I change 
back to digest??
 
Joan
BRBRBR**BR AOL now offers free 
email to everyone.  Find out more about what's free from AOL at 
http://www.aol.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





 

Expecting? Get great news right away with email Auto-Check. 
Try the Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html
___
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] load jpg/gif to player 6 AS1?

2007-02-19 Thread Cay Garrido H.

Before Flash 8 you cant load anything but non-progressive JPEG, and SWFs.
Flash MX loadMovie documentation will tell you exactly that ;)
Cheers,

Arseniy Shklyaev escribió:

loadMovie(../widegames/scrnshots/bladeofinnocence.gif,
screenshot);flashcoders@chattyfig.figleaf.com
When I publish it to player 8 AS1 it works. When I publish to player 6 
AS1

it not works.
I have help for Flash MX and seems there is the same way.
Need to load screenshots into some movieclip on stage.
my old games works published to 6 player AS1
flashcoders@chattyfig.figleaf.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] problem with fl9 beta

2007-02-18 Thread Cay Garrido H.
The error is weird, 'cause it says line 5 and you showed only 4 lines 
of code check that...

About the code, it's not AS3... you need to use something like this:

miButton.addEventListener ( rollOver, miFunction);
function miFunction (event) {
  miButton.rotation--;
}

See that the event declaration changed, and that _rotation is now 
rotation.
And you can write all the code you want in any timeline... don't bother 
using classes unless you want to learn OOP...


Gustavo Duenas escribió:
Hi, Ive been doing some experiments (some dumb ones) with the beta of 
flash 9 from adobe labs and I just run this code, something happens, 
maybe its me, but is some basic code. it shouldn't happened that way.
and other issue with this is that the beta doesn't have the check code 
able, so I don't know if I writing this bad or not.



this is the code.:



stop();
this.onRollOver = function(){
this._rotation--;
}


and this is the message.


**Error** frame1 : Line 5, Column 1 : [Compiler] Error #1087: Syntax 
error: extra characters found after end of program.

}
ReferenceError: Error #1065: Variable 
Timeline1_3526e27cbdd211dbb7a6016cb38e89c is not defined.


ReferenceError: Error #1065: Variable 
Timeline0_3526c86ebdd211dbb7a6016cb38e89c is not defined.






Gustavo Duenas

___
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@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] Detecting Rollover w/o onRollOver

2007-02-06 Thread Cay Garrido H.
I usually delete the rollOver handler while I'm over it, detecting the 
rollOut event through hitTest instead of onRollOut... its something like 
this:


myFunction
 clip.onRollOver
delete clip.onRollOver
clip.onMouseMove
 if(!clip.hitTest(_xmouse,_ymouse))
  delete clip.onMouseMove
  myFunction //redeclare onRollOver

Holth, Daniel C. escribió:

It seems like in many of the projects I'm doing I need to have
simultaneous onRollOver events. For example, a small movie clip with
additional buttons needs to enlarge when the mouse is over it so the
user can clearly click the buttons.  However, when the user mouses over
a button, flash no longer detects that the mouse is still over the
movieclip and thus executes the onRollOut event making the movieclip
shrink and the user can't see the buttons clearly anymore.

I've used some code which can tell if the mouse is over an object, and
attaching that to onMouseMove events can basically make two mouse overs.
While its not checking the mouse position every frame, its still not as
efficient as I'd like.


Does anyone have any thoughts on a more efficient way to detect two
mouse over events at the same time?

Thanks!

Daniel Holth




This e-mail and its attachments are intended only for the use of the 
addressee(s) and may contain privileged, confidential or proprietary 
information. If you are not the intended recipient, or the employee or agent 
responsible for delivering the message to the intended recipient, you are 
hereby notified that any dissemination, distribution, displaying, copying, or 
use of this information is strictly prohibited. If you have received this 
communication in error, please inform the sender immediately and delete and 
destroy any record of this message. Thank you.
___
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@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] SVG format

2007-02-05 Thread Cay Garrido H.
You could try printing (with printJob) through a virtual printer and 
generate some kind of File... I know Adobe PDF virtual printer will 
generate a vector based document that you could import to Illustrator 
and then create the SVG file. Maybe there is even a SVG virtual printer 
out there... dunno...


Cheers...

Amandeep Singh escribió:

Hi Matthias,

I need to do the same at runtime. How can I convert the flash output into AI
at runtime and then convert the same to SVG?

Thanks anyways for replying.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Matthias
Dittgen
Sent: Monday, February 05, 2007 1:26 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] SVG format

Hello.

you might try export as AI (Adobe Illustrator) and convert it with an
appropiate software, like Adobe Illustrator to svg, can't you?
Regards,
Matthias

2007/2/5, Amandeep Singh [EMAIL PROTECTED]:
  

Thank you sir,

I knew it, if no one answer, then you will be the one to answer.

Thanks a lot sir.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of rishi
Sent: Monday, February 05, 2007 10:08 AM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] SVG format

Hi Amandeep

You can use SVG Parser provided by Burak Kalyaci. Also you can write
your own svg files. Its same as xml just a little bit study for
different mappings of your objects as well as there properties on stage.

Keep in touch.

Rishi



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Amandeep
Singh
Sent: Monday, February 05, 2007 10:02 AM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] SVG format

Hi,



Can anyone tell me that how can I get the SVG format from flash through
ActionScript at runtime.



Let say I am designing a template in flash which uses text, images, and
vector graphics. I need to export the same as a high resolution JPEG and
also need to export the same as SVG format.



I know how to export the high resolution JPEG, but I don't know how to
export the SVG format. Can anyone help me in doing the same?



Thanks in advance.



___
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@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@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@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@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@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] gotoandlearn.com (what is he using to capture his input)

2007-02-02 Thread greg h

Back in May 2005, I had asked Lee.  At that time he graciously replied.  I
am confident that Lee won't object to my sharing with you his reply from
that time:

I have been using Camtasia to record the screen into AVI files. From there I
bring them into Premiere and edit them together if there are any cuts or
application changes. I record the dialogue in Audtion and bring it into
Premiere to finish it off. After exporting from Premiere I use Sorenson
Squeeze to encode the file into an FLV file. I have been experimenting with
Captivate but I haven't started using it for tutorials yet.


On 1/31/07, Sunnrunner [EMAIL PROTECTED] wrote:


Can anyone tell me what they think/know Lee Brimelow is using to create
these tutorials in terms of capturing his input?

www.gotoandlearn.com

I thought he might be using Captivate but, it just doesn't feel the same.

Thanks ahead


___
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] fullscreen javascript

2007-02-01 Thread Cay Garrido H.

man, I hate that... ^^

Hairy Dog Digital escribió:

Gustavo,

You could write a Javascript function that resizes the browser window to
screen size. it's not exactly the same and maximizing, but it would fill the
screen. 


...Rob


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Gustavo
Duenas
Sent: Thursday, February 01, 2007 2:03 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] fullscreen javascript

well it works on safari, there is a way to detect the browser type in order
to redirect or to open a window



Regards.



On Feb 1, 2007, at 1:58 PM, Helmut Granda wrote:

  

Gustavo,

the fullScreen command only works in IE (I didnt know it did work in 
Safari). So you have to look for an alternative to launch a fullscreen 
in FF/Netscape/Moz




On 2/1/07, Gustavo Duenas [EMAIL PROTECTED] wrote:


hi guys Iknow this is not for javascript but I think you might know
of this, is a easy thing, I'm trying to open a browser window
fullscreen, using javascript, in safari looks great and maybe in IE
but in firefox,
open the window but less than I expect in size.

the code is.
  If one of you can help me out, I'll appreciate.

   area shape=rect coords=216,310,370,334  onclick= javaScript:
window.open('fullpage.html', 'LRS', 'fullScreen', 'scrollBars')  /


regards

Gustavo Duenas

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




Gustavo Duenas

___
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@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@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:Hittest and transparent PNG's

2007-02-01 Thread Cay Garrido H.
You could convert it to a bitmapData and check the transparency level 
with getPixel32...


[EMAIL PROTECTED] escribió:

Hi
Does anyone know if there is a way to get hitTest to ignore transparent areas 
in dynamically loaded PNG's?

[e] jbach at bitstream.ca
[c] 416.668.0034
[w] www.bitstream.ca

...all improvisation is life in search of a style.
 - Bruce Mau,'LifeStyle'
___
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@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] Progresivly track upload speed

2007-01-31 Thread Cay Garrido H.

onProgress(file, bytesLoaded, bytesTotal);

Chase Brammer escribió:

Is there any way to progressively track upload speed in flash?

Cheers,
Chase

___
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@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] Flex vs. Laszlo

2007-01-30 Thread greg h

Cort,

Thank you very much for your very thoughtful and informed post.

This is a great time to be a Flash developer.  It is great watching the
Flash/SWF ecosystem expanding.

I have my hands full with Flash and Flex.  But I appreciate having an
understanding of how others generate swfs.  Your post was very informative
for me in this way.

And with Apollo likely launching sometime this year, wow, look out!

 Best regards,

 g
___
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] Flex vs. Laszlo

2007-01-29 Thread greg h

William,

This came up on FlexCoders last month.  Following is a link to a reply I
posted there (that in turn includes links out to other sources):
http://tech.groups.yahoo.com/group/flexcoders/message/59767

I am interested in a thorough comparison of Flex 2 vs Laszlo, so if anyone
can provide a link I would appreciate it.

Has anyone here actually used Laszlo?  Can anyone provide first hand
impressions?

Following are a few more bits of what I have heard.

Back in the Flex 1.x days the price difference between Flex and Laszlo was
enormous.  Since Adobe rationalized pricing with Flex 2, Laszlo's price
advantage now is negligible.

At this point, the only runtime Flex 2 targets is Flash Player 9/AS3.
Laszlo targets FP7/AS2, plus Ajax/DHTML and soon Java ME.  I believe Laszlo
shows future development targeting FP9/AS3.


From what I can tell, Laszlo has limited IDE support.  Or at least not as

robust a support as Flex Builder 2 provide for Flex 2 development.  Back in
2005 an IBM alphaworks project was announced to provide Laszlo support in
Eclipse:
http://www.alphaworks.ibm.com/tech/ide4laszlo

hth,

g


On 1/29/07, William Smith [EMAIL PROTECTED] wrote:


I am looking at both of these and they seem to be pretty similar. I was
looking for people who have used both and the pros/cons of each. Also just
a
general overall opinion. Thanks.


___
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] LoadVars.send() in Flash 9 Player

2007-01-19 Thread greg h

David,

Per the link that follows below, the AS2 LoadVars.send() Method is changed
in AS3 to flash.net.sendToURL()

Source:  ActionScript 2.0 Migration: The following table describes the
differences between ActionScript 2.0 and 3.0.
http://livedocs.macromedia.com/labs/as3preview/langref/migration.html

More:
Note: The ActionScript 2.0 MovieClipLoader and LoadVars classes are not used
in ActionScript 3.0. The Loader and URLLoader classes replace them.

Source:  Class Loader in ActionScript 3.0 Language Reference
http://livedocs.macromedia.com/labs/as3preview/langref/flash/display/Loader.html

fyi ... brace yourself, there are quite a few of these everything is still
the same, but still everything is different changes.  Just scan that first
link above and you will get a sense.

The good news is that now that ActionScript is tied to a standard
(ECMA-262), I believe Adobe will no longer be making these types of
disruptive changes going forward.

For quick backgrounds on what and why many changes were made with AS3,
following are some good links to articles and presentations by Flash Player
Engineer Gary Grossman:
Devnet Article:
http://www.adobe.com/devnet/actionscript/articles/actionscript3_overview.html
Connect Recording of Presentation:
https://admin.adobe.acrobat.com/_a227210/p64058844/
PDF of Slides:
http://www.adobe.com/communities/developerweek/2006_devweek_as3.pdf

hth,

g




On 1/19/07, Waller, David [EMAIL PROTECTED] wrote:


I am having trouble with a LoadVars send which refuses to send in the
Flash player 9.

The swf works just fine in the 8 version of the player but in 9 it seems
to just pass over the command.

I have tried several different things including:

crossdomain.xml
System.security.allowDomain()

However, nothing seems to work.

Any input would be greatly appreciated.

Dave Waller


___
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] Will the new iPhone run flash?

2007-01-10 Thread l u c h y x

I think ADOBE must talk with me friend Steve and maybe release a version of
flash player for iPhone.
iPhone has new hardware capabilities: the accelerometer, which detect the
rotation of the phone, the proximity sensor that detect if your are holding
your phone on a call or using like a 'PALM'.
The price is very cheap, I'm on Argentina and for example the Nokia N70  is
about u$s 300 and the Nokia N93 is u$s 1200. !!
But in Argentina singular not exist as Services provider.
I don't know what happen in the case I buy
iPhone.http://www.mercadolibre.com.ar/jm/item?site=MLAid=25236376


--
l   u   c   h   y   x
r i a e v o l u t i o n (r)
[EMAIL PROTECTED]
http://www.riaevolution.com
Phone: +54 (11) 4931-7006
___
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] FlexBuilder/Actionscript 3 Meta Tags

2007-01-02 Thread greg h

Kalani,

For code hints, I believe you are looking for the [Inspectable] metadata
tag.

[Inspectable] is used by both Flash and Flex components.

For Flash 8, the doc page on [Inspectable] is here:
http://livedocs.macromedia.com/flash/8/main/3033.html

For Flex 2, the doc page on [Inspectable] is here:
http://livedocs.macromedia.com/flex/2/docs/1658.html
and the doc page listing metadata tags is here:
http://livedocs.macromedia.com/flex/2/docs/1651.html

Unfortunately, the currently available Flash 9 AS3 Preview
docshttp://livedocs.macromedia.com/labs/as3preview/docs/wwhelp/wwhimpl/js/html/wwhelp.htmdo
not include coverage of metadata tags for components like
[Inspectable].

fyi, both of Jim's suggestions are excellent.  ASDoc is for creating
LiveDocs style documentation.  And the Flexcoders list will likely provide
better support in cases where you are using Flex Builder for authoring ;-)

hth,

g
___
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] FileReference + ASP + FlashPlayer9

2006-12-29 Thread l u c h y x

Yep yep.
The same behavior here.
Did you check the privacy settings ?

Also check this Firefox plug-in.
http://www.sephiroth.it/weblog/archives/2006/10/flash_switcher_for_firefox.php

Best


On 12/29/06, Evan Bond [EMAIL PROTECTED] wrote:


Hi all, this is my first post on this list :)

Hope someone can help me out with this...

There seems to be an issue with the new Flash Player 9 in combination with
FileReference and uploading through ASP.

I tested the following scenario's

Flash 8 Player - PHP = OK
Flash 8 Player - CF = OK
Flash 8 Player - ASP = OK

Flash 9 Player - PHP = OK
Flash 9 Player - CF = OK
Flash 9 Player - ASP = DOES NOT WORK

It seems like flash player 9 has difficulties uploading through ASP. We
tried this on 2 ASP servers which are running ASP 1+.

I used the asp script in combination with FreeAspUpload.asp a popular asp
component.

Has anyone else experienced problems like this? I submitted feedback to
the
FlashPlayer9 feedback submission page on adobe.com. But in any case they
never reply to emails unless to obtain more info.

Here is an example:
http://ppt.unisurv.com/test/FileReference.html

If you uninstal FlashPlayer9 and install FlashPlayer8 you can see it work.
Once you upload your file will be here:
http://ppt.unisurv.com/test/upload/files/

Any help is much appreciated.

Cheers,

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





--
l   u   c   h   y   x
r i a e v o l u t i o n (r)
[EMAIL PROTECTED]
http://www.riaevolution.com
Phone: +54 (11) 4931-7006
___
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:AS2 AS3 and loop speed

2006-12-22 Thread greg h

Hi jbach,

You ask about differences for as2, and as3.  But you preface it with I
know this has been discussed ad nauseam for as1.

I think any performance comparisons of AS1 to AS3 would be the same for AS2
to AS3.

fwiw, my understanding is that *at runtime* AS1 and AS2 are
one-and-the-same.  Or as the  post at following link put it 2 weeks ago AS2
was just syntactical sugar on top of AS1:
http://www.flashmagazine.com/1363.htm

As of Flash Player 9, there are now 2 virtual machines in the Flash
Player:  AVM1 and AVM2.  The AVM and AS numbering are not synchronized.  So,
AS3 compiles into bytecode rendered by AVM2.  And both AS1 and AS2 compile
into bytecode rendered by AVM1.  (btw ... the 1 on AVM1 likely was added
retroactively upon the appearance of AVM2.)

If my understanding is correct, the performance comparisons at the following
link comparing AS2 and AS3 imply similar performance for AS1 as those shown
for AS2:
http://oddhammer.com/actionscriptperformance/set4/

If I am incorrect in any of this, I would appreciate someone correcting me.

hth,

g


On 12/22/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:


I know this has been discussed ad nauseam for as1, but what's the scoop on
loop speed differences for as2, and as3?

Is there as much of a difference between for, do while loops etc?


[e] jbach at bitstream.ca
[c] 416.668.0034
[w] www.bitstream.ca



___
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] 8 sounds maximum limit

2006-12-19 Thread greg h

Patrick,

I can not answer this one from experience.  However, following is a link
into the LiveDocs for Sound object the Flash AS3 preview:
http://livedocs.macromedia.com/labs/as3preview/langref/flash/media/Sound.html#play()http://livedocs.macromedia.com/labs/as3preview/langref/flash/media/Sound.html#play%28%29

And it says:
Returns
SoundChannelhttp://livedocs.macromedia.com/labs/as3preview/langref/flash/media/SoundChannel.html—
A SoundChannel object, which you use to control the sound. This method
returns null if you have no sound card or if you run out of available sound
channels. The maximum number of sound channels available at once is 32.

If you test this and can confirm that you can now play up to 32 sounds,
please post back on this thread and let us know.

fyi ... should you be up for interesting reading on the Sound class,
following is a thread from a year ago when Flash Player 9 was in beta (then
known as FP 8.5).  Note that FP Product Manager made it known that she was
watching the thread,  Taking notes... and looking into what sound
improvements need to be made for the next version of Flash Player.
www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=581threadid=1086327enterthread=y#4069271

hth,

g

On 12/19/06, Patrick Matte | BLITZ [EMAIL PROTECTED] wrote:


Does anybody know if the new AS3 sound object in flash 9 will still be
limited to playing only 8 sounds at a time ?


___
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@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] Cairngorm

2006-12-18 Thread greg h

Bram,

Cairngorm has been used on Flash only projects (although not by me ;-).
Following are 3 links related to 2 occasions that this question came up last
month here on this list.

http://chattyfig.figleaf.com/pipermail/flashcoders/2006-November/175801.html

http://tech.groups.yahoo.com/group/cairngorm-documentation/message/156

http://chattyfig.figleaf.com/pipermail/flashcoders/2006-November/176244.html

Yours is the first mention I have seen of a Cairngorm AS3 project not
related to Flex.  Please do post back and give us an update on your
experience if you do move ahead using Cairngorm on an AS3 Flash only
project.

If you have follow on questions, you might also try posting on either or
both of the following lists:
cairngorm-documentationhttp://tech.groups.yahoo.com/group/cairngorm-documentation/and
cairngorm-devel http://tech.groups.yahoo.com/group/cairngorm-devel/

hth,

g


On 12/18/06, Webdevotion [EMAIL PROTECTED] wrote:


Hello Flashcoders,

Is it allright to use Cairngorm for AS 3 projects?
I'm getting up to speed with Flex and AS 3.0 and
want to start learning some relevant frameworks.

Which ones are among the best choices for
strictly AS 3 projects ?
Any articles concerning those choices ?

Bram


___
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 with Flash Authoring 9

2006-12-16 Thread greg h

Daniel,

AS3 requires Flash Player 9.  Is that dependency ok for your application?

As of the latest FP penetration stats (Sept '06), FP9 is only at around 36%
(of the known universe).  Some have reported successfully deploying on
external facing sites with the express install very easily upgrading anyone
who doesn't have FP9.

If you are ok with the FP9 dependency, I personally encourage you to
immediately migrate now into AS3, using the beta version of the Flash
Authoring  #9.

FP9 is substantially faster.  The changes between AS2 and AS3 are not
trivial.  If AS3 is in your future, and if you are ok with the FP9
dependency now, I would encourage you to not building any more legacy AS2
code.

My 2¢

I am eager to hear other people's thoughts too :-)

hth,

g


On 12/16/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:


Hello,

I am getting ready to launch officially a major project of e-learning
programs with a lot of interactive graphics and animation.

I have already started the project with AS 2 code.

I am wondering whether it would be a good idea and worthwhile direction to
migrate  now into AS 3, using the beta version of the Flash Authoring  #9.

Any ideas and suggestions?

Thanks,

Daniel


___
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] Flashcoders - Flashcomm

2006-12-08 Thread greg h

Dennis,

The Flashcomm list has been back up since Nov 1.  My guess is that you need
to resubscribe.  I think the corruption that brought the list down resulted
in the subscriber list being lost.  I am guessing that because there has
been very low traffic since it came back up.  The following link has some
details from Dave Watts about what brought the list down:
http://blog.owenvandijk.nl/2006/09/flashcomm_updat.html

You can resubscribe here:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

btw ... while the Flashcomm list was down I got onto another list, the Flash
Media List.  It currently remains busier than the revived Flashcomm list.
Plus most of the high level specialists are now on the Flash Media List,
including some Adobe employees and product managers.  You can subscribe to
the Flash Media List here:
http://www.flashcomguru.com/flashmedialist/

hth,

g


On 12/8/06, Dennis - I Sioux [EMAIL PROTECTED] wrote:


Hey,

Was just wondering if anyone knew any news about the fixing of the
flashcoders Flashcomm list (believe it was a database problem).

With kind regards,

Dennis
I Sioux


___
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: Performance of AS3 vs Java

2006-12-07 Thread greg h

I am not at all knowledgeable about 3D.  So I offer the following
observations only as an observer looking in.

Adobe already has 3D in Acrobat.

Six weeks ago at MAX there was a sneak peek of an Acrobat 3D / Flash
mashup.  Here is the description off of
FlashMagazine.com/1336.htmhttp://www.FlashMagazine.com/1336.htm:

  Michael Kaplan, Acrobat 3D
  Awesome demo. I snapped a video of this one. Will add it to this article
as soon
  as I get it uploaded, but the key takeaway is FULL swf support in Acrobat
3D.

So Adobe definitely has Flash and 3D in their brains.

As yet I haven't heard any buzz about FP10, but likely we will have heard
something about FP10 by this time next year.

And in 2007 we will likely see the introduction of Apollo which has been
preannounced as being a Flash/Acrobat/HTML/CSS mashup.

So hopefully something in 2007 or 2008 giving some sort of 3D functionality
for Flash developers to work with :-)

g
___
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] weird htmlText split and join behavior

2006-11-29 Thread l u c h y x

HI gregory.
Yes the htmlText is a pain.! The problems never end.
And macromedia now adobe never fix those behaviors in the text field.

I think that you can check for flash 8 movie if you have filters available
or other flash 8 functions like setTimeOut.  if(_global.setTimeout() !=
undefined) return 8 else return 7;
This is not a reliable solution because if you write a function in F7 called
setTimeOut. It faill.
I can't remenber if you have a object that tell this inside SWF but try a
loop in the _root object.
var ro = _root;
for (var t in ro){ trace(t+  +ro[t])}

Flash player 9 can tell that.;)

Best's



On 11/29/06, GregoryN [EMAIL PROTECTED] wrote:


Marcelo and luchyx, thanks for replies.

A few words about my case.
This is a kind of digest page where summary blocks are followed by
click to see details links. When user clicks such a link, details
info will be displayed right below the link on this page.
Click again - hide details.
As you know, this is easy to do in html+javascript by
element.style.display = block; (or none to hide)

In flash, it's more tricky:
I have placeholder tags (tag_to_replace id=n) in my text which
will be replaced by details_texts_array[n] when user clicks a link.

So, I can't use a button.
However, rebuilding the textfield (if just redefining all params won't
be enough) IS a solution. Frankly, I wouldn't like to rewrite
well-working (in v7) code, but...


 Flash ignore the unsupported html tags.!
Well, seems it's only v8 and by random (i.e., depending on it's
mood :-). The work-around is easy - just store html text in string
variable and play with it instead of field.htmlText ...
Also, I can't use %_replaceme_% because I need it to be a tag (not
shown in html textfield).

Also, my tags_for_css are not ignored! Thus, maybe it (player v8) just
doesn't like valid XHTML tags (like my_tag /) but feels ok to
my_tag ?


The worst thing here is that I don't know a way to determine at
runtime if the movie was published for v7 or v8...
So, I'll have to make two versions of the class OR probably make

public static var publishedForPlayer:Number = 8; // or 7

to be set manually... ;-) A lot of fun, right?


If there's anyone else who wants to suggest anything on the subject,
I'd appreciate it very much.


--
Best regards,
GregoryN

http://GOusable.com
Flash components development.
Usability services.



 === Marcelo Volmaro wrote:
 V8 of the player (i donA?t know 9) seems to have a BIG problem with
 textfields. Anytime you modify the contents of an html text field from
 WITHING the text field (ie: you are modifying the textfield using a link
 on the textfield) the player start doing weird things with the content.

 I have the same problem in an html editor i made, where you can click
on
 the images. The player starts duplicating the image and you will end
with
 two, three or more images stacked. In your case, the player is
duplicating
 the link all over the textfield.

 Try doing the same but using a button... No problem and all works as
 expected.
 My solution (because i canA?t use a button to edit the image) was to
 rebuild the area. Yes... each time you edit an image, i rebuild the
entire
 textarea...


 === l u c h y x wrote:
 First do a Trace of (my_text1.htmlText) and see what happens with the
HTML
 content.
 Usually you can do this
 my_text1.htmlText = my_text1.htmlText.split( tag2replace ).join(
my_replace
 );

 But the string tag to replace string2replace:String =
 brbr*tag_to_replace /*brbr;
 After you put on the htmlText area become in brbr**brbr;
 Flash ignore the unsupported html tags.!
 So I suggest you do something like  var string2replate =
%_replaceme_%;
 And then use
 my_text1.htmlText = my_text1.htmlText.split(string2replate).join(
my_replace
 );


___
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





--
l   u   c   h   y   x
r i a e v o l u t i o n (r)
[EMAIL PROTECTED]
http://www.riaevolution.com
Phone: +54 (11) 4931-7006
___
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] SCM/Project management tool

2006-11-29 Thread l u c h y x

Yes I´m using Streber-PM here.
But the file manager is pretty simple and doesn't support SVN.
I think you need something like a mix of Streber+Track SVN. That's could be
awesome.

Luchyx


On 11/29/06, Ian Thomas [EMAIL PROTECTED] wrote:


On 11/29/06, Marcelo de Moraes Serpa [EMAIL PROTECTED] wrote:

  * How do you handle projects that consists of a client (flash) and a
server
 written in another language? A trac enviroment for both of them?

No - we use the same environment for both, and Ant build scripts to
install the appropriately built code to the server/client. Or
sometimes directly SVN update into the appropriate working directory
on the server, depending on the complexity of the project.

Personally I think it'd be crazy to seperate the front-end and
back-end code into different repositories - it's the same project, you
want to be able to version track/bugfix the same project (is that bug
in the front end or back end?) and, importantly, you want to be able
to branch and tag the same project.

 * About the syntax highliting, is there support for AS2/AS3?
Don't know, I'm afraid.

HTH,
  Ian
___
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





--
l   u   c   h   y   x
r i a e v o l u t i o n (r)
[EMAIL PROTECTED]
http://www.riaevolution.com
Phone: +54 (11) 4931-7006
___
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] weird htmlText split and join behavior

2006-11-28 Thread l u c h y x

First do a Trace of (my_text1.htmlText) and see what happens with the HTML
content.
Usually you can do this
my_text1.htmlText = my_text1.htmlText.split( tag2replace ).join( my_replace
);

But the string tag to replace string2replace:String =
brbr*tag_to_replace /*brbr;
After you put on the htmlText area become in brbr**brbr;
Flash ignore the unsupported html tags.!
So I suggest you do something like  var string2replate = %_replaceme_%;
And then use
my_text1.htmlText = my_text1.htmlText.split(string2replate).join( my_replace
);

Best..
luchyx




On 11/28/06, Marcelo Volmaro [EMAIL PROTECTED] wrote:


V8 of the player (i don´t know 9) seems to have a BIG problem with
textfields. Anytime you modify the contents of an html text field from
WITHING the text field (ie: you are modifying the textfield using a link
on the textfield) the player start doing weird things with the content.

I have the same problem in an html editor i made, where you can click on
the images. The player starts duplicating the image and you will end with
two, three or more images stacked. In your case, the player is duplicating
the link all over the textfield.

Try doing the same but using a button... No problem and all works as
expected.
My solution (because i can´t use a button to edit the image) was to
rebuild the area. Yes... each time you edit an image, i rebuild the entire
textarea...

Regards,

On Tue, 28 Nov 2006 10:05:34 -0300, GregoryN [EMAIL PROTECTED] wrote:

 Hello all,

 I'm upgrading a project from v7 to v8 player. Main reason is better
 text readability.
 In this project, split().join() combination is used to hide/show some
 text (similar to css tricks in normal html).
 It works great in player v7, but, when published for v8, all text
 becomes underlined...
 Here is a test movie (click replace link):

http://gousable.com/flash/temp/flashcoders/split_join_bug/textSplitJoin_1.html

 Source:

http://gousable.com/flash/temp/flashcoders/split_join_bug/textSplitJoin1_source.zip

 In my (original) movie, all the text also becomes a link...

 Code:
 // === START OF CODE ===
 var lorem_ipsum:String = Lorem ipsum dolor sit amet, consectetuer
 adipiscing elit. Donec vehicula. Nullam orci. Nulla viverra. Curabitur
 venenatis. Quisque nisi. Aliquam in turpis a tellus semper cursus. ;
 Nulla viverra. Curabitur venenatis. Quisque nisi. Aliquam in turpis a
 tellus semper cursus. ;

 var string2replace:String = brbr*tag_to_replace /*brbr;

 var links_area:String = ua
 href=\asfunction:doReplace,var1\replace: case #1/a/ubrbr;

 // NOTE:
 // createTextField()  does NOT return a tf object in player v7

 // show system info
 this.createTextField(sys_info, this.getNextHighestDepth(), 10, 10,
 400, 30);
 sys_info.text = Flash Player:   +System.capabilities.version;
 sys_info.border = true;
 sys_info.borderColor = 0xff;

 var is_v8_or_later:Boolean =
 (Number(System.capabilities.version.substr(4,1)) =8) ;
 //trace(is_v8player = +is_v8_or_later);
 sys_info.text += ,   is_v8_or_later = +is_v8_or_later;

 var my_format:TextFormat = new TextFormat();
 my_format.font = Verdana;

 this.createTextField(my_text1, this.getNextHighestDepth(), 10, 50,
 400, 300);
 my_text1.multiline = true;
 my_text1.wordWrap = true;
 my_text1.antiAliasType = advanced;
 my_text1.html= true;
 my_text1.border = true;
 my_text1.borderColor = 0x00ff00;
 my_text1.embedFonts = true;

 var startText:String =  lorem_ipsum + string2replace + links_area
 + lorem_ipsum;
 my_text1.htmlText = startText;
 my_text1.setTextFormat(my_format);

 // doReplace
 function doReplace(p:String):Void{
  trace(doReplace called);
 var tag2replace:String = tag_to_replace /;
 var my_replace:String = === Lorem ipsum ===;
 my_text1.htmlText= startText.split( tag2replace
 ).join( my_replace );
 my_text1.setTextFormat(my_format);
 }

 // === END OF CODE ===


 What is it - known bug or I'm missing something?
 Any help is appreciated.




--
_
Marcelo Volmaro
___
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





--
l   u   c   h   y   x
r i a e v o l u t i o n (r)
[EMAIL PROTECTED]
http://www.riaevolution.com
Phone: +54 (11) 4931-7006
___
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] Image as intro to FLV

2006-11-27 Thread greg h

Not to detract in any way from Jason's excellent solution.  I very much
appreciate his sharing.  And I love the fotoko.com UI.  Very nicely done :-)

Just as an fyi ... a solution is also provided in a January 2005 Devnet
article by Lisa Larson under the heading Generating Dynamic Thumbnails:
Creating a Dynamic Playlist for Streaming Flash Video
http://www.adobe.com/devnet/flash/articles/video_player_05.html

In Lisa's source code the key logic follows the comments:
//get first frame of video
and:
//begin at the specified start point, and play one frame
ns.play( stream, start, 0 );

Rather than using close() Lisa's code specifies a len argument of 0 on
play().
LiveDocs for play() method on NetStream here:
http://livedocs.macromedia.com/flash/8/main/2565.html

hth,

g

On 11/27/06, Jason Ross [EMAIL PROTECTED] wrote:


Hi - I had this same question a while back and never really found an
answer via the list. What I ended up doing works very well, if what you
want to do is get the first frame of the video to be the image.

...




___
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] migrating to Flex

2006-11-27 Thread greg h

Millie,

I think Dave and Kent pretty much answered your question about Flex cost.
Since you mention education licenses, one thing I can add is that academic
licenses for Flex 2 w/Components are a mere $79!  Of course you have to be a
student, teacher, professor, etc.  One source here:
www.academicsuperstore.com/market/marketdisp.html?PartNo=760814

Also, since you already have Flash 8 Pro you can use that to start doing AS3
programming today, by just downloading and adding in the Flash Professional
9 ActionScript 3.0 Preview:
http://labs.adobe.com/technologies/flash9as3preview/
(btw ... since you have had issues with upgrade licenses, I suggest you
download the AS3 Preview today just in case you do not upgrade to Flash 9
immediately upon it's release.  Likely the AS3 Preview will disappear off of
labs as soon as Flash 9 ships.)

Lastly, Flash and Flex play to completely different audiences.  Flex barely
steps on Flash's turf, if at all.  For instance you ask What if anything
will I lose by switching to Flex?  Well for starters:  drawing tools,
timeline, swf's under 119KB.

Flash developers who do crossover work in Flex offer customization options
that straight Flex developers can not.  But if Flex Framework components do
not address your requirements, then you may have little or no need to commit
any of your time or $$ to Flex.

Following are links to some well enunciated observations about Flex from a
pair of powerhouse Flash developers:  Jesse Warden and Grant Skinner.

Flash Components vs. Flex Components
www.jessewarden.com/archives/2006/09/flash_component.html

Flex 2 from a Flash Developer's Perspective
www.gskinner.com/blog/archives/2006/07/flex_2_from_a_f.html

Flex Seminar Presentation, Flex and Flash, Online
http://www.jessewarden.com/archives/2006/09/flex_seminar_pr.html
(see especially the link for Jesse's Using Flash  Flex Together
presentation which streams off the net here:
http://www2.sys-con.com/webinararchive.cfm?registered=onpid=wc_rwf6_s06warden
I saw Jesse's deliver a later version of this presentation at MAX and it
should be required viewing for Flash developers thinking about Flex)

btw ... if you want an idea of why Flex even exists, check out under the
heading We Call This 'The Timeline.' No, Wait, Come Back! from what I
still think is the classic explanation from Flash powerhouse Nigel Pegg:
www.adobe.com/devnet/flex/articles/flash_perspective.html

I hope that some or all of this helps.  If you (or others reading this) do
do some crossover work in Flex, please post back with your impressions and
insights.

hth,

g

On 11/26/06, Millie Niss [EMAIL PROTECTED] wrote:


Am I the only one on this list who (still) uses the Flash IDE (Flash 8
Pro) and hasn't migrated to AS 3.0 or any version of Flex?

I am interested in both but do not want to fork over any more $$ to
ex-Macromedia.  (I feel cheated by having paid for many versions of the
educational versions because they don't upgrade then many versions of full
software because the Macromedia packages I had didn't have an upgrade path
to the newer bundled Adobe products such as Creative Suite 2 or the Adobe
Video Bundle.)

What is the minimum cost to start using Flex?  (I mean in a production
version.  I do not want to start using a beta or a trial of something and
then have it break and be stuck.)  What are the ongoing costs to deploy Flex
apps?  I have looked at the website but found it confusing and they keep
changing pricing...   I want a rough idea of what it actually costs
developers to switch to Flex and deploy the apps etc.

What if anything will I lose by switching to Flex?  I use the Flash IDE a
lot for design now but most projects have extensive coding as well.  Can I
use Flex for the code and still use the IDE for design?


___
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 webcam sites ...

2006-11-15 Thread greg h

I am kind of surprised that no one else replied on Stephen's Flash webcam
sites ... post last month.

I am posting the following link from Grant Skinner as an addendum to the
list I had posted off of incomplet.gskinner.com.  This new link technically
is not a webcam application (seeing how it includes media vans, red screens,
masking, etc) but we did see much of it first using webcams :-)   Here is
the addendum link:
www.gskinner.com/blog/archives/2006/11/camera_interact.html

Also, anyone who got to MAX and checked out the
IntroNetworkshttp://www.intronetworks.com/demos/eventnet.htmlapplication
may have seen its Create a Video option for using Flash with a
webcam for capturing up to 30-second video.  This certainly qualifies as an
example of a community site using Flash webcam.

Lastly, 2 weeks ago Chris Benjaminsen posted the following link here at
FlashCoders for his FREE Flash 8 webcam component:
http://parentnode.org/uncategorized/free-webcam-based-barcode-scanner-component/

Does anyone have any other Flash webcam sites they can add to the list?

hth,

g


On 10/2/06, greg h [EMAIL PROTECTED] wrote:


Stephen,

Following are some sample sites.  Not Community sites or online chat.
Perhaps others can post examples of those?

Please post back regarding how you might use webcams in your Flash
projects.

hth,

g

Flex Barcode Reader
http://renaun.com/blog/2006/05/17/33/

Grant Skinner Flash 8 experiments w/ webcam.  Note: several include links
for source code or weblog entries that provide further detail.  Others may
include video demos too.
http://incomplet.gskinner.com/index2.html#webcamfire
http://incomplet.gskinner.com/index2.html#snowcam
http://incomplet.gskinner.com/index2.html#camgoo
http://incomplet.gskinner.com/index2.html#savebmp
http://incomplet.gskinner.com/index2.html#vidpong
http://incomplet.gskinner.com/index2.html#mister
http://incomplet.gskinner.com/index2.html#camwriter
http://incomplet.gskinner.com/index2.html#camwriter2
http://incomplet.gskinner.com/index2.html#psychadelic
http://incomplet.gskinner.com/index2.html#dynamickeying
http://incomplet.gskinner.com/index2.html#drumkit
http://incomplet.gskinner.com/index2.html#motiondj


On 10/2/06, Stephen Ford [EMAIL PROTECTED] wrote:

 I have recently purchased a webcam for my pc.

 Does anyone know of any sites (flash or other) that currently
 incorpotate webcams into their site.

 Community sites / online chat / etc, I want to see how webcams are
 currently being used on the net.

 I saw one site a while back that used flash with webcams, but can't
 recall the URL.

 Cheers.



___
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] Remoting bytesLoaded/bytesTotal

2006-11-14 Thread l u c h y x

How big can be a resulset if you didn't do the query, or open a file or
wherever you do on the server side?
You can show a indeterminate progress bar. When result come back remove It.



On 11/13/06, Yehia Shouman [EMAIL PROTECTED] wrote:


If there's a way for the server people to add a content header with
content
length, it might work

On 11/13/06, Janis Radins [EMAIL PROTECTED] wrote:

 hye ppl!

 I'm in a situation that remoting calls get slow at some point for users
 with
 slow connection, hence client asked for loading progress display.
 As far as i know there is no sutch thing as bytesLoaded /total for
 remoting
 calls, I just serched help docs and that only confirmed that.

 I just would like to know if anyone have hacked/found the way to do that
 for
 AS2 and remoting calls or confirmation that it is impossible.

 tnx in advance

 jānis

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





--
l   u   c   h   y   x
r i a e v o l u t i o n (r)
[EMAIL PROTECTED]
http://www.riaevolution.com
Phone: +54 (11) 4931-7006
___
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] ActionScript 3 API Poster (PDF download @ Flex.org)

2006-10-18 Thread greg h

ActionScript 3 API PDF at Flex.org
www.flex.org/download/AS3API_01.pdf
print dimensions 40x28

fyi ... Acrobat Drawing Error has been reported by some on opening the
pdfs

also ...
Flex 2 Framework API PDF at Flex.org
www.flex.org/download/FX2API_01.pdf
print dimensions 48x36

For sale onsite at MAX.
Details at:
www.onflex.org/ted/2006/10/cube-wallpaper-as3-and-flex-api.php
___
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] Now Shipping: ActionScript 3. 0 Cookbook – Solutions for Flash Platform and F lex Application Developers

2006-10-15 Thread greg h

fyi ... O'Reilly is now shipping:

ActionScript 3.0 Cookbook
Solutions for Flash Platform and Flex Application Developers
By Joey Lott, Darron Schall, Keith Peters
http://www.oreilly.com/catalog/actscpt3ckbk/#top
___
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: [haXe] Flash Player 9 FullScreen Mode

2006-10-05 Thread l u c h y x

You need the latest version of the player
version: 9.0.18

On 10/5/06, slangeberg [EMAIL PROTECTED] wrote:


Throws errors in IE and Firefox for me:

ReferenceError: Error #1065: Variable flash.display::StageDisplayState is
not defined.
at main/goFullScreen()

Scott


On 10/4/06, l u c h y x [EMAIL PROTECTED] wrote:

 Yesss it here.! now available.
 Detailed example here  http://www.riaevolution.com/blog/?p=44



 --
 l   u   c   h   y   x
 r i a e v o l u t i o n (r)
 [EMAIL PROTECTED]
 http://www.riaevolution.com
 Phone: +54 (11) 4931-7006
 --
 haXe - an open source web programming language
 http://haxe.org




--

: : ) Scott
___
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





--
l   u   c   h   y   x
r i a e v o l u t i o n (r)
[EMAIL PROTECTED]
http://www.riaevolution.com
Phone: +54 (11) 4931-7006
___
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- subscribe to Flashcomm list

2006-10-04 Thread greg h

fyi ... Following was posted a week ago on the
bloghttp://www.flashcomguru.com/index.cfm/2006/9/27/flashmedialistover
at
flashcomguru.com:

September 27, 2006
Alternative Mailing List for Flashcom and Flash
Videohttp://www.flashcomguru.com/index.cfm/2006/9/27/flashmedialist

After I have been receiving many emails on a daily basis from people asking
me what has happened to chattyfig's flashcomm
listhttp://chattyfig.figleaf.com/mailman/listinfo/flashcommI want to
remind everyone about the existence of the Flash
Media List http://www.flashcomguru.com/flashmedialist/.

It's not as popular as chattyfig but around 200 people are signed up
already. You're welcome to
subscribehttp://www.flashcomguru.com/flashmedialist/and ask
questions related to Flash Media Server, Flash Video and the like -
or simply have a chat and say hello.

I don't want to encourage anyone to leave chattyfig's flashcomm list but
maybe this list offers an alternative until figleaf can fix their database
problems http://blog.owenvandijk.nl/2006/09/flashcomm_updat.html, which
will hopefully be soon.

You can subscribe to the Flash Media
Listhttp://www.flashcomguru.com/flashmedialist/here:
http://www.flashcomguru.com/flashmedialist/

** END CUT AND PASTE OF BLOG POST **

fwiw, some members of the Flash Media Server team (Asa Whillock and Steve
Wolkoff) are now on the Flash Media
Listhttp://www.flashcomguru.com/flashmedialist/and have posted
there.

hth,

g


On 10/4/06, INK [EMAIL PROTECTED] wrote:


The same story is here.
Doesn't working for me for two mounts or something.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Telmo Dias
Sent: Sunday, October 01, 2006 6:04 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] OT- subscribe to Flashcomm list

The list is off. You can see it by going there through HTTP.

http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

I even sent an e-mail to [EMAIL PROTECTED] but I don't
think anyone received it...

:-(


___
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] Flash Player 9 FullScreen Mode

2006-10-04 Thread l u c h y x

Yesss it here.! now available.
Detailed example here  http://www.riaevolution.com/blog/?p=44



--
l   u   c   h   y   x
r i a e v o l u t i o n (r)
[EMAIL PROTECTED]
http://www.riaevolution.com
Phone: +54 (11) 4931-7006
___
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 Player 9 FullScreen Mode

2006-10-04 Thread l u c h y x

Loll .. yes it's true.
A trusted fullscreen site settings panel will help, I think.
:P

On 10/4/06, Bjorn Schultheiss [EMAIL PROTECTED] wrote:


There's got to be a few implications about this.
Imagine the new generation of full screen banner ads, nasty.


Regards,

Bjorn Schultheiss


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of l u c h y
x
Sent: Thursday, 5 October 2006 11:47 AM
To: The haXe compiler list; Flashcoders mailing list
Subject: [Flashcoders] Flash Player 9  FullScreen Mode

Yesss it here.! now available.
Detailed example here  http://www.riaevolution.com/blog/?p=44



--
l   u   c   h   y   x
r i a e v o l u t i o n (r)
[EMAIL PROTECTED]
http://www.riaevolution.com
Phone: +54 (11) 4931-7006
___
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@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





--
l   u   c   h   y   x
r i a e v o l u t i o n (r)
[EMAIL PROTECTED]
http://www.riaevolution.com
Phone: +54 (11) 4931-7006
___
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 Player 9 FullScreen Mode

2006-10-04 Thread l u c h y x

If you hit ALT+TAB the SWF restore the state to NORMAL_MODE

On 10/5/06, Bjorn Schultheiss [EMAIL PROTECTED] wrote:


There will have to be ??

I propose a test what happens when launching 20 banners ads all fighting
for
fullscreen,
In windows are you able to alt+tab between fullscreen swf's?


Regards,

Bjorn Schultheiss


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of l u c h y
x
Sent: Thursday, 5 October 2006 12:13 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Flash Player 9  FullScreen Mode

Loll .. yes it's true.
A trusted fullscreen site settings panel will help, I think.
:P

On 10/4/06, Bjorn Schultheiss [EMAIL PROTECTED] wrote:

 There's got to be a few implications about this.
 Imagine the new generation of full screen banner ads, nasty.


 Regards,

 Bjorn Schultheiss


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of l u c
 h y x
 Sent: Thursday, 5 October 2006 11:47 AM
 To: The haXe compiler list; Flashcoders mailing list
 Subject: [Flashcoders] Flash Player 9  FullScreen Mode

 Yesss it here.! now available.
 Detailed example here  http://www.riaevolution.com/blog/?p=44



 --
 l   u   c   h   y   x
 r i a e v o l u t i o n (r)
 [EMAIL PROTECTED]
 http://www.riaevolution.com
 Phone: +54 (11) 4931-7006
 ___
 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@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




--
l   u   c   h   y   x
r i a e v o l u t i o n (r)
[EMAIL PROTECTED]
http://www.riaevolution.com
Phone: +54 (11) 4931-7006
___
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@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





--
l   u   c   h   y   x
r i a e v o l u t i o n (r)
[EMAIL PROTECTED]
http://www.riaevolution.com
Phone: +54 (11) 4931-7006
___
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] Rendering flash 8 to video

2006-10-03 Thread greg h

Alias,

SWF2Video was also used in the cases detailed in these two Devnet articles:

Migrating Flash Projects to Video by Chris Georgenes
www.adobe.com/devnet/flash/articles/flash_to_video.html

Taking Flash Animation to DVD Video (Broken Saints) by Brooke Burgess
www.adobe.com/devnet/flash/articles/flash_dvd_video.html

And I think this book remains the only one of it's kind on the topic:
Flash MX Design for TV and Video by Janet Galore and Todd Kelsey
www.wiley.com/WileyCDA/WileyTitle/productCd-0764536818,descCd-tableOfContents.html
www.wiley.com/legacy/compbooks/galore/index.html

Please post back with details about what ultimately works for you.

hth,

g

On 10/3/06, Seb L [EMAIL PROTECTED] wrote:


I used swf2video, which worked really well. Not sure if they've
updated for 8 though, last time i used it on Flash 7.

On 03/10/06, Giles Taylor [EMAIL PROTECTED] wrote:
 You could use some screen capture software (there are lots, but for
 example: http://www.techsmith.com/camtasia.asp) to capture the swf area
 as you play it back.
 A lot cheaper than Director ;)

 Giles

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of
 Alias(tm)
 Sent: 03 October 2006 11:48
 To: Flashcoders mailing list
 Subject: [Flashcoders] Rendering flash 8 to video

 Hi guys,

 Every so often, this question comes up, and I've never really gotten a
 satisfactory answer. So...

 I have a flash movie. I want to render it out to a video file, but of
 course I want to have all the timelines playing correctly and all the
 transparencies/filters properly rendered, etc. so save as... really
 won't cut it.

 As I understand, the only way to do this is to export via director.

 Is this still the case? And if so, does whatever version of director
 that is still in existence support flash 8? Anyone got any leads on
 this?

 Thanks in advance,
 Alias


___
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] Flashcom mailing list

2006-10-02 Thread greg h

Following was posted last week on the
bloghttp://www.flashcomguru.com/index.cfm/2006/9/27/flashmedialistover
at
flashcomguru.com:

September 27, 2006
Alternative Mailing List for Flashcom and Flash
Videohttp://www.flashcomguru.com/index.cfm/2006/9/27/flashmedialist

After I have been receiving many emails on a daily basis from people asking
me what has happened to chattyfig's flashcomm
listhttp://chattyfig.figleaf.com/mailman/listinfo/flashcommI want to
remind everyone about the existence of the Flash
Media List http://www.flashcomguru.com/flashmedialist/.

It's not as popular as chattyfig but around 200 people are signed up
already. You're welcome to
subscribehttp://www.flashcomguru.com/flashmedialist/and ask
questions related to Flash Media Server, Flash Video and the like -
or simply have a chat and say hello.

I don't want to encourage anyone to leave chattyfig's flashcomm list but
maybe this list offers an alternative until figleaf can fix their database
problems http://blog.owenvandijk.nl/2006/09/flashcomm_updat.html, which
will hopefully be soon.

You can subscribe to the Flash Media
Listhttp://www.flashcomguru.com/flashmedialist/here:
http://www.flashcomguru.com/flashmedialist/

** END BLOG POST **

fwiw, some members of the Flash Media Server team (Asa Whillock and Steve
Wolkoff) are now on the Flash Media
Listhttp://www.flashcomguru.com/flashmedialist/and have posted
there.

hth,

g

On 9/30/06, hank williams [EMAIL PROTECTED] wrote:


The last message on flashcomm was on august 25th. On sept 15th Dave
Watts said it was down until further notice.

The funny thing is that I didnt even notice until your post. Even
before august 25th volume was way down. Certainly from a developer
perspective, Flashcomm seems to be dying.

Regards,
Hank

On 9/30/06, Frederic v. Bochmann [EMAIL PROTECTED] wrote:
 Whats up with the Flashcom mailing list on figleaf ?

 When going to this page I get an error:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

 ___
 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@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@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 webcam sites ...

2006-10-02 Thread greg h

Stephen,

Following are some sample sites.  Not Community sites or online chat.
Perhaps others can post examples of those?

Please post back regarding how you might use webcams in your Flash projects.

hth,

g

Flex Barcode Reader
http://renaun.com/blog/2006/05/17/33/

Grant Skinner Flash 8 experiments w/ webcam.  Note: several include links
for source code or weblog entries that provide further detail.  Others may
include video demos too.
http://incomplet.gskinner.com/index2.html#webcamfire
http://incomplet.gskinner.com/index2.html#snowcam
http://incomplet.gskinner.com/index2.html#camgoo
http://incomplet.gskinner.com/index2.html#savebmp
http://incomplet.gskinner.com/index2.html#vidpong
http://incomplet.gskinner.com/index2.html#mister
http://incomplet.gskinner.com/index2.html#camwriter
http://incomplet.gskinner.com/index2.html#camwriter2
http://incomplet.gskinner.com/index2.html#psychadelic
http://incomplet.gskinner.com/index2.html#dynamickeying
http://incomplet.gskinner.com/index2.html#drumkit
http://incomplet.gskinner.com/index2.html#motiondj


On 10/2/06, Stephen Ford [EMAIL PROTECTED] wrote:


I have recently purchased a webcam for my pc.

Does anyone know of any sites (flash or other) that currently incorpotate
webcams into their site.

Community sites / online chat / etc, I want to see how webcams are
currently being used on the net.

I saw one site a while back that used flash with webcams, but can't recall
the URL.

Cheers.

___
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] Video chat

2006-09-25 Thread greg h

Mike,

Another book that I might suggest is Programming Flash Communication
Serverhttp://www.oreilly.com/catalog/progflashcs/index.html#topby
Lesser, Guilizzoni, Reinhardt, Lott and Watkins.

If you are working with FlashCom or Flash Media Server, this book remains a
great resource.  It was published in 2005 so I believe it is updated for MX
2004 and AS2.  Chapter 13:  Building Communication Components, goes through
building a Video Conference and Video Window.

You might try posting your question on
http://www.flashcomguru.com/flashmedialist/  Folks who know alot more than
me are on that list.

btw ... if you know AS2 I think you will be able to work your way through
sample applications written in AS1.  (Did you know AS2 code actually
compiles down to the same bytecode as AS1?  Now AS3 is something that takes
a bit of 
retoolinghttp://livedocs.macromedia.com/flex/2/langref/migration.html:-)

I just checked my bookshelf, and other than the book above, I am not finding
any more recent titles with Video Chat examples.  Most excitement around
Video Chat in Flash found its outlet when Flash Communications Server was
first released.  So most sample apps are of the MX, AS1 vintage.  And the
V1  Communication Components provided by Macromedia have never been
updated.  There are now some examples around Flex 2, but those are AS3.

hth,

g


On 9/24/06, greg h [EMAIL PROTECTED] wrote:


Mike,

I believe a server is required for video chat with Flash.  Either Flash
Media Server or Red5.

The sample apps for Flash Media Server include a Video Conference app,
which is essentially video chat.  You can download the sample apps here:
http://www.adobe.com/devnet/flashmediaserver/sample_apps.html

Most books on Flash Media Server (and it's predecessor Flash
Communications Server) include examples.

For example, Chapter 14 of the book Macromedia MX: Building Rich Internet
Applications by Robert Reinhardt and Simon Allardice details Creating a
Video Instant Messenger and the included CD has all the code.  Used copies
are inexpensive at Amazon.

http://www.amazon.com/Macromedia-MX-Building-Internet-Applications/dp/0321158814/

There are also prebuilt components you can buy, and even hosted Flash
video chat services that you can add to your site.

If details on any of these other options would be helpful, please post
back on this thread regarding what you would like more details on.

hth,

g


On 9/23/06, Batista Mihai [EMAIL PROTECTED] wrote:

 Hello! Where can I find a tutorial about how to make a video chat using
 Flash?
 Thank you very much! Mike




___
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 do you manage your classes?

2006-09-25 Thread greg h

Dan,

I can not answer your specifc questions, so I hope that others will jump in
and add their voices along with details about how they manage the problems
you described.

I just want to comment generally that Subversion is the successor to CVS.
You can find full documentation here:
http://svnbook.red-bean.com/

If you are going to use open source version control, I will hazard to say
that Subversion can not be beat.

For automation, I believe that Subversion integrates well with Ant.

hth,

g

On 9/25/06, Dan Rogers [EMAIL PROTECTED] wrote:


I'm not very familiar with subversion-  can it handle shared modules
(or recursive modules I guess)?
I am curious how one would handle utility classes that get included
in multiple projects...


On Sep 25, 2006, at 5:03 PM, eric dolecki wrote:

 Using SVN, etc. make a repository on a shared server somewhere.
 Include
 classes from there in your projects. Just make sure you update 
 you're all
 good to go.

 On 9/25/06, Dan Rogers [EMAIL PROTECTED] wrote:

 Flashcoders,

 I've been wondering how other flash developers deal with AS2/AS3
 class management on both a project-based and common library level,
 while addressing the need to package up source code for a given
 project to deliver to a team member or client.

 I've used version control before, as well as doing the common
 classpath thing for shared classes... but when it's time to deliver
 the source code to someone, I would have to go in and hunt for all
 the classes I used on a project and copy them to the FLA directory
 (and recreate the com.package... structure as well).  Sometimes it
 seems faster to simply create the AS files along with the FLA (in a
 single package), and copy over utility files as needed.  But then you
 get into duplicate classes scattered over multiple projects.

 Can anyone provide any insight to a system that works well for them?
 For example, does anyone run custom shell scripts (such as rsync)
 that sync the current project with the main classpath directory?

 Thanks,
 -Danro


___
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] Video chat

2006-09-24 Thread greg h

Mike,

I believe a server is required for video chat with Flash.  Either Flash
Media Server or Red5.

The sample apps for Flash Media Server include a Video Conference app,
which is essentially video chat.  You can download the sample apps here:
http://www.adobe.com/devnet/flashmediaserver/sample_apps.html

Most books on Flash Media Server (and it's predecessor Flash Communications
Server) include examples.

For example, Chapter 14 of the book Macromedia MX: Building Rich Internet
Applications by Robert Reinhardt and Simon Allardice details Creating a
Video Instant Messenger and the included CD has all the code.  Used copies
are inexpensive at Amazon.
http://www.amazon.com/Macromedia-MX-Building-Internet-Applications/dp/0321158814/

There are also prebuilt components you can buy, and even hosted Flash video
chat services that you can add to your site.

If details on any of these other options would be helpful, please post back
on this thread regarding what you would like more details on.

hth,

g



On 9/23/06, Batista Mihai [EMAIL PROTECTED] wrote:


Hello! Where can I find a tutorial about how to make a video chat using
Flash?
Thank you very much! Mike


___
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] Code ceases working after months, PC only

2006-09-24 Thread l u c h y x

Did you check the sandbox-security publish settings?
Or the local access settings ?  right click on SWF, then Settings-
Advanded.
http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html
You can add trusted paths with this app.



On 9/24/06, Chris Kemmett [EMAIL PROTECTED] wrote:


Hi,

We have a project that is running on Mac and PC, swf's that are
loaded into a Director player. They were published November/December
2005 in Flash MX. All Director Xtras are packaged and installed with
the project, as are four libraries necessary to create a fast start
projector.

The swf's tally some results in an object, which is passed to a
method that creates a string. The break is in the method, where I do
a split and check the result (tmpvar == TM). The project was
professionally QA'd, as well as inhouse, and by our client. We also
have a good store of data from the time the project was launched
until late July that shows the work has been functioning without a
hitch.

We received reports that the swf's stopped successfully reporting
late July/early August, only on some PC's, and only PCs running WinXP
(not all, either). Has anyone else had a project that has
inexplicably gone awry in the last month or two? I am able to
replicate the problem only through the Director authoring environment
(the project runs fine here on XP, of course), but as soon as I
republish one of the offending swf's, the issue is resolved.

Does anyone have any suggestions on what could be causing such an
issue? We are facing having to reburn a GM and redistribute new CD's,
a quite expensive exercise.

Cheers,
ck
___
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





--
l   u   c   h   y   x
r i a e v o l u t i o n (r)
[EMAIL PROTECTED]
http://www.riaevolution.com
Phone: +54 (11) 4931-7006
___
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 to hide my flash communication server address

2006-09-24 Thread greg h

Mudit,

Why is the RTMP server address in your HTML?  Can you post back the relevant
portion of your HTML object or embed tags (masking your RTMP address, of
course :-)

If you RTMP address is not likely to change, could you embed the RTMP
address in your SWF?  Or if it might change you could load it via XML?  Or
retrieve it via a web service or remoting call?  Or leave it in your HTML
chopped into multiple vars that your SWF contains logic to reassemble, but
will leave it less obvious in the HTML.

You might also try posting this question on
http://www.flashcomguru.com/flashmedialist/

hth,

g

On 9/24/06, mudit tuli [EMAIL PROTECTED] wrote:


I have a flash communication server on which i have my flv files and when
streaming the videos on my website that is hosted on a LAMP server, i ve to
provided the address of my flash communicaton server\RMTP server to stream
the videos, and if the user looks at  the source of my webpage he can easily
get the address of my RMTP server can I somehow hide or encrypt the address
of my RMTP server, is that possible??

Mudit


___
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] locality

2006-09-22 Thread l u c h y x

From where you want to retrieve the locale code.?

Language, is the OS language. but locale is the country of the user machine.
I must create this script to detect the correct user location
http://www.riaevolution.com/rialocalization.php. because flash dont provide
it.

Best

On 9/22/06, Mendelsohn, Michael [EMAIL PROTECTED] wrote:


Hi list...

I'm doing a multilingual project for the 7 player.  I need to set a
language + locality variable to en-us instead of just en.  It seems
that System.capabilities.language was demoted going from player 6
(returns lang + locale) to 7 (just lang).  Am I right?  I can talk to
javascript in IE and get navigator.browserLanguage, but that's only IE.
How best to do this?

Thanks,
- Michael M.

___
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





--
l   u   c   h   y   x
r i a e v o l u t i o n (r)
[EMAIL PROTECTED]
http://www.riaevolution.com
Phone: +54 (11) 4931-7006
___
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] locality

2006-09-22 Thread l u c h y x

I can publish the php object.
I think that can't do it with AS.

Best

On 9/22/06, Mendelsohn, Michael [EMAIL PROTECTED] wrote:


Thanks for responding.

Do you think there might be any way to do this with js or ideally all
within the Actionscript?  I don't know php.

When I do this with Director projects, I read the locality from the
Windows registry.



From where you want to retrieve the locale code.?
Language, is the OS language. but locale is the country of the user
machine.
I must create this script to detect the correct user location
http://www.riaevolution.com/rialocalization.php. because flash dont
provide
it.

___
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





--
l   u   c   h   y   x
r i a e v o l u t i o n (r)
[EMAIL PROTECTED]
http://www.riaevolution.com
Phone: +54 (11) 4931-7006
___
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] FLEX UPDATE URL FOR ECLIPSE installation

2006-09-22 Thread l u c h y x

Does anybody here know the UPDATE url for install the eclipse flex plug-in.?
Or where can i found the plugin-files for eclipse. ?
I´m using eclipse so i don't want to install the flexbuilder standalone.

Thanks! a lot.



--
l   u   c   h   y   x
r i a e v o l u t i o n (r)
[EMAIL PROTECTED]
http://www.riaevolution.com
Phone: +54 (11) 4931-7006
___
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] Beta testers and comments needed

2006-09-21 Thread l u c h y x

On XP sp2 spa 1GB RAM AMD 1.6 GHz works good, a little cpu intensive but
it's fine i think.


On 9/21/06, Eric Priou [EMAIL PROTECTED] wrote:


 http://www.berkayunal.com/flvbuddy/
Win only ?
---
Eric Priou
(aka erixtekila)
In progress tech blog : http://blog.v-i-a.net/
Oregano XML Socket forum : http://forum.v-i-a.net/

___
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





--
l   u   c   h   y   x
r i a e v o l u t i o n (r)
[EMAIL PROTECTED]
http://www.riaevolution.com
Phone: +54 (11) 4931-7006
___
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] Beta testers and comments needed

2006-09-21 Thread l u c h y x

Hi..Nice tiny app. :P
I compress a video of 20Mb.

  - AVI format
  - size WxH: 480x360px
  - Duration: 00:03:18
  - Sound-128kbps
  - MPEG Layer3
  - Video 30fps
  - 100kbps

Are you using ffmpeg. :?

I think the pref panel can display if you double-click the drag area.
And/Or In a context-menu of the systray icon.

Best.


On 9/21/06, Berkay Unal [EMAIL PROTECTED] wrote:


Hi again,

This program convert video files to FLV video on the fly.

Andy currently i am having some problems on the wmv4 . I guess your video
is
wmv with that codes.

Slangaberg i am thinking of having a setting panel for the video options.
But i could not find a good place for it yet. I want the application to be
small as possible on the desktop. Maybe a tray menu will work out.

For all who has tested it thanks.

Berkay


On 9/21/06, Andy Stone [EMAIL PROTECTED] wrote:

 I converted a 21MB .wmv to a 0k .flv.

 Win XP Pro 2002
 SP2
 3.39 GHz
 2GB RAM

 I dropped the file in the box it too about 4 seconds to convert.

 -Andy


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Berkay
 Unal
 Sent: Thursday, September 21, 2006 1:11 PM
 To: [FlashCoders]
 Subject: [Flashcoders] Beta testers and comments needed

 Hi Coders,

 I've cretaed a drap n drog flv converter. But i need to have some beta
 testers and comments on it. If you have a try on it it'll cool

 You can find the download url at the url below.

 http://www.berkayunal.com/flvbuddy/


 --
 Berkay UNAL
 [EMAIL PROTECTED]
 ___
 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@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




--
Berkay UNAL
[EMAIL PROTECTED]
___
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





--
l   u   c   h   y   x
r i a e v o l u t i o n (r)
[EMAIL PROTECTED]
http://www.riaevolution.com
Phone: +54 (11) 4931-7006
___
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   >