[Flashcoders] wmode transparent, FF, no mouseWheel

2007-03-29 Thread Martin Weiser
Can anybody conirm this bug, in FireFox, wmode=transparent, 
themouseWheel evnet is not fired??

not only for textFields but neither for movieClips...
in IE ok, opaque mode, all is ok

thanks

Martin
___
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] AS 2.0 variable declaration

2006-10-11 Thread Martin Weiser

var foo:MovieClip = createEmptyMovieClip(foo,1)
var myVar:String = fooVar

foo.myVar=myVar

delete myVar

//help works foo.myVar.

trace(foo.myVar)

Martin

Jason Ross wrote:

Sorry, my AS 1.0 should have looked like this:

this.createEmptyMovieClip(foo,1)
foo.myVar = foovar

so, myVar is a variable declared within the foo MC.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of julien
castelain
Sent: 11 October 2006 10:44
To: Flashcoders mailing list
Subject: Re: [Flashcoders] AS 2.0 variable declaration

hi jason,

this should'nt return any errors...
var foo:MovieClip = createEmptyMovieClip(foo,1)

for the other variable

foo.myVar  = fooVar or var myVar:String = fooVar;



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

Hi,

In migrating some AS 1.0 code to AS 2.0, I have run into a small
problem. How do I write the following in AS 2.0:

this.createEmptyMovieClip(foo,1)
this.myVar = foovar

As this returns errors:
var foo:MovieClip = createEmptyMovieClip(foo,1)
var foo.myVar:String = fooVar

Much appreciated,

Jason.

Legal Disclaimer:
This email message (including any attachments) is strictly


confidential and is intended only for the person(s) or organisation(s)
named above.  The unauthorised use, disclosure, distribution and/or
copying of the email message, or any information it contains (including
any attachments), is strictly prohibited and could in certain
circumstances constitute a legal offence.  If you are not an intended
recipient, please contact the sender immediately by return email and
delete the email from your system.
  

Internet email communications are not always secure and may be


susceptible to data corruption, interception and unauthorised amendment,
and therefore View does not accept legal responsibility for the
contents of this message for any such corruption, interception or
amendment or the consequences thereof nor any delay in its receipt.
  

Although this email message and any attachments are believed to be


free of any virus or other defect that might affect any computer system
into which it is received and opened, it is the responsibility of the
recipient to ensure that it is virus free.  No responsibility is
accepted by View for any loss or damage in any way arising from its
use.
  

Any views expressed by the sender of this message are not necessarily


those of View.
  

_
This message from View has been checked for all known viruses by the
MessageLabs Virus Control Centre.
___
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

_
This incoming message has been checked for all known viruses by the 
MessageLabs Virus Control Centre.


Legal Disclaimer:
This email message (including any attachments) is strictly confidential and is intended only for the person(s) or organisation(s) named above.  The unauthorised use, disclosure, distribution and/or copying of the email message, or any information it contains (including any attachments), is strictly prohibited and could in certain circumstances constitute a legal offence.  If you are not an intended recipient, please contact the sender immediately by return email and delete the email from your system.  


Internet email communications are not always secure and may be susceptible to data 
corruption, interception and unauthorised amendment, and therefore View does 
not accept legal responsibility for the contents of this message for any such corruption, 
interception or amendment or the consequences thereof nor any delay in its receipt.

Although this email message and any attachments are believed to be free of any virus or 
other defect that might affect any computer system into which it is received and opened, 
it is the responsibility of the recipient to ensure that it is virus free.  No 
responsibility is accepted by View for any loss or damage in any way arising 
from its use.

Any views expressed by the sender of this message are not necessarily those of View.  
_
This message from View has been checked for all known viruses by the 
MessageLabs Virus Control Centre.

___

[Flashcoders] Flash comm server version

2006-10-11 Thread Martin Weiser


how can i get version, i updated 1.5 mx sercer, and want to know if 
correctly, and what is the version


thanks martin
  

___
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] Simplify

2006-09-25 Thread Martin Weiser
group mc in some array or object, set valu viafunction to all memebers 
in group


var group1=[al_mc,lor_mc,frc_mc,cha_mc,npc_mc,pic_mc]
var group2=[ho_mc, pro_mc, bou_mc, lan_mc, auv_mc]
var group3=[d_mc, aqu_mc, lim_mc, poi_mc, cen_mc]
var group4=[_mc, han_mc, ban_mc, pad_mc, bre_mc]
function setPropInGroup (group,prop,val){
  
   for (var i in group){
  
   group[i][prop]=val

   }
  
  
  
}

function getScale(mc:MovieClip) {
   setPropInGroup(group1,_xscale,r)
   //al_mc._xscale = 
lor_mc._xscale=frc_mc._xscale=cha_mc._xscale=npc_mc._xscale=pic_mc._xscale=r;

   setPropInGroup(group2,_xscale,mi)
  
   //ho_mc._xscale = 
pro_mc._xscale=bou_mc._xscale=lan_mc._xscale=auv_mc._xscale=mi;
  
  
   setPropInGroup(group3,_xscale,idf)
   //d_mc._xscale = 
aqu_mc._xscale=lim_mc._xscale=poi_mc._xscale=cen_mc._xscale=idf;
  
   setPropInGroup(group4,_xscale,100)
   //_mc._xscale = 
han_mc._xscale=ban_mc._xscale=pad_mc._xscale=bre_mc._xscale=100;
  
  
   //...etc
  
  
   al_mc._yscale = 
lor_mc._yscale=frc_mc._yscale=cha_mc._yscale=npc_mc._yscale=pic_mc._yscale=r;
   ho_mc._yscale = 
pro_mc._yscale=bou_mc._yscale=lan_mc._yscale=auv_mc._yscale=mi;
   d_mc._yscale = 
aqu_mc._yscale=lim_mc._yscale=poi_mc._yscale=cen_mc._yscale=idf;
   _mc._yscale = 
han_mc._yscale=ban_mc._yscale=pad_mc._yscale=bre_mc._yscale=100;

   //
   al_mc._alpha = 
lor_mc._alpha=frc_mc._alpha=cha_mc._alpha=npc_mc._alpha=pic_mc._alpha=rho_mc._alpha=pro_mc._alpha=bou_mc._alpha=lan_mc._alpha=auv_mc._alpha=mid_mc._alph;
   a = 
aqu_mc._alpha=lim_mc._alpha=poi_mc._alpha=cen_mc._alpha=idf_mc._alpha=han_;

   mc._alpha = ban_mc._alpha=pad_mc._alpha=bre_mc._alpha=0;
   //
   al_mc.enabled = 
lor_mc.enabled=frc_mc.enabled=cha_mc.enabled=npc_mc.enabled=pic_mc.enabled=r;
   ho_mc.enabled = 
pro_mc.enabled=bou_mc.enabled=lan_mc.enabled=auv_mc.enabled=mi;
   d_mc.enabled = 
aqu_mc.enabled=lim_mc.enabled=poi_mc.enabled=cen_mc.enabled=idf;
   _mc.enabled = 
han_mc.enabled=ban_mc.enabled=pad_mc.enabled=bre_mc.enabled=fals;

   e;
   //
   mc._yscale = 300;
   mc._xscale = 300;
   mc._alpha = 100;
   //mc.enabled = true;
   mc._x = (550-mc._x)/2;
   mc._y = 0;
}


Laurent CUCHET wrote:

How can I simplify this ?

Thak you

function getScale(mc:MovieClip) {
al_mc._xscale =
lor_mc._xscale=frc_mc._xscale=cha_mc._xscale=npc_mc._xscale=pic_mc._xscale=r
ho_mc._xscale=pro_mc._xscale=bou_mc._xscale=lan_mc._xscale=auv_mc._xscale=mi
d_mc._xscale=aqu_mc._xscale=lim_mc._xscale=poi_mc._xscale=cen_mc._xscale=idf
_mc._xscale=han_mc._xscale=ban_mc._xscale=pad_mc._xscale=bre_mc._xscale=100;
//
al_mc._yscale =
lor_mc._yscale=frc_mc._yscale=cha_mc._yscale=npc_mc._yscale=pic_mc._yscale=r
ho_mc._yscale=pro_mc._yscale=bou_mc._yscale=lan_mc._yscale=auv_mc._yscale=mi
d_mc._yscale=aqu_mc._yscale=lim_mc._yscale=poi_mc._yscale=cen_mc._yscale=idf
_mc._yscale=han_mc._yscale=ban_mc._yscale=pad_mc._yscale=bre_mc._yscale=100;
//
al_mc._alpha = 
lor_mc._alpha=frc_mc._alpha=cha_mc._alpha=npc_mc._alpha=pic_mc._alpha=rho_mc

._alpha=pro_mc._alpha=bou_mc._alpha=lan_mc._alpha=auv_mc._alpha=mid_mc._alph
a=aqu_mc._alpha=lim_mc._alpha=poi_mc._alpha=cen_mc._alpha=idf_mc._alpha=han_
mc._alpha=ban_mc._alpha=pad_mc._alpha=bre_mc._alpha=0;
//
al_mc.enabled =
lor_mc.enabled=frc_mc.enabled=cha_mc.enabled=npc_mc.enabled=pic_mc.enabled=r
ho_mc.enabled=pro_mc.enabled=bou_mc.enabled=lan_mc.enabled=auv_mc.enabled=mi
d_mc.enabled=aqu_mc.enabled=lim_mc.enabled=poi_mc.enabled=cen_mc.enabled=idf
_mc.enabled=han_mc.enabled=ban_mc.enabled=pad_mc.enabled=bre_mc.enabled=fals
e;
//
mc._yscale = 300;
mc._xscale = 300;
mc._alpha = 100;
//mc.enabled = true;
mc._x = (550-mc._x)/2;
mc._y = 0;
}
___
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] rewrite flash.net.Responder source code is where??

2006-09-18 Thread Martin Weiser
Hello, in as2 i have successfully rewritten Relayresponder class, so 
that it had extra property id, by wich i coukd exactly track my calls 
and responses from amfphp,


i'd like the same for flex applications, i can extent responder and it 
works, but i would like to rewrite it and need the source, or 
description and names of all methods, return values, arguments 
etcplease help


thanks in advance

Martin


___
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] printing from context menu

2006-09-05 Thread Martin Weiser
try to swotch off focusRect property ( i think it is global, see in the 
docs)


MW

Hans Wichman wrote:

Hi list,
if i right click my flash content and print it, it prints correctly 
except

for the textfields: they get a green background?
A clue anyone?
grtz
Hans
___
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] BUG, unloadClip and then instanceof show false for movieClip

2006-09-05 Thread Martin Weiser
Hello, i know loading jpg, to movieClips changes them little bit (well 
_url changed totally :-) , but i hoped that instanceof should work anyway,

it does'nt:

var mcl:MovieClipLoader = new MovieClipLoader();
function ff() {
  mcl.unloadClip(b);
//toutputs false after unloadClip or removing clip (removemovieClip)
  trace(b instanceof MovieClip);
  
mcl.loadClip(http://www.universetoday.com/am/uploads/looking_down_on_earth.jpg;, 
b);

  /*
  MCL.unloadClip(__target);
  */
}
function onMouseDown() {
  ff();
}

\
i think it should work

please any comment?

Martin
___
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]Performance issue

2006-08-23 Thread Martin Weiser

Hello,

i neeed urgent help, on this, try these two html pages, one with wmode 
transparent the other normal?


http://flash.dna01.net/sp/tescoBTSmini.html

http://flash.dna01.net/sp/tescoBTSmini.htm

test it for a while (no mouse needem just let it go for 5 minutes ) plus 
measure CPU consumption (Ctrl+Alt+Del in Win)
see how the transparent takes nore CPUand despite the falling objects 
are removed, deleted from lists (arrays) the CPU consumption increases,


please any help appreciated, how to properly delete MovieCLip (removing from 
listeners array, othere references, etc...)


Thanks a lot in advance

Martin 


___
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] strange scope behaviour

2006-08-20 Thread Martin Weiser

Hello,
just take a while and try this:

function area55() {
if (_root) {
 trace(_root true)
 function f() {
  var g;
  var h;
 }
}
//g=0
trace(f  +f)
function h() {
}
function jj() {
 for (var i in this) {
  trace(i+ : +this[i]);
 }
}
jj();
}
area55();

and this:

function area55() {

 function f() {
  var g;
  var h;
 }
//g=0
trace(f  +f)
function h() {
}
function jj() {
 for (var i in this) {
  trace(i+ : +this[i]);
 }
}
jj();
}
area55();


why the function f is not even seen, after for sure the if statement is 
true


MW 


___
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] Class Silent

2006-08-06 Thread Martin Weiser
either add geter/setter for alpha prop, changin _alpha value or 
you just copied value from _alpha to alpha:

private var alpha:Number = this._alpha;


but in fadeObj you don;t change the _alpha value at all


function fadeObj($target:MovieClip, $alphaRate:Number) {
target.onEnterFrame = function() {
target.alpha -= alphaRate;
target._alpha =target.alpha
if (mc.alpha=0) {
target._visible = false;
delete target.onEnterFrame;
}

Martin



Hi,

Would you say this is helping to resolve the problem:

[code]
class FadeAlpha extends MovieClip {
private var alpha:Number = this._alpha;
private var visible:Boolean = this._visible;
public var alphaRate:Number;
public var target:MovieClip;
//constructor.
public function FadeAlpha() {
alphaRate=$alphaRate;
target=$target;
}
function fadeObj($target:MovieClip, $alphaRate:Number) {
target.onEnterFrame = function() {
target.alpha -= alphaRate;
if (mc.alpha=0) {
target._visible = false;
delete target.onEnterFrame;
}
};
}
}
/*



[/code]
On Aug 5, 2006, at 7:12 PM, Paul Venton wrote:

Well for starters, your fadeObj method defines a parameter which  
has the

same name as your public variable.

Also, it appears that your onEnterFrame contains a reference to  
mc that
doesn't exist in its scope; perhaps using a Delegate helper would  
solve
that, or simply change it to this since the method belongs to  
your mc

anyway.

Although this could just be a typo, where you're instantiating your  
class,

you're missing a ( after the class name.

Hope that helps get you back on track - good luck!


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of CK
Sent: 05 August 2006 23:58
To: Flashcoders mailing list
Subject: [Flashcoders] Class Silent

Hi,

The following class I've coded fails to fade the MC on stage. Could
someone explain why the code fails?
//Class
class FadeAlpha extends MovieClip {
private var alpha:Number = this._alpha;
private var visible:Boolean = this._visible;
public var alphaRate:Number;
public var mc:MovieClip;
//constructor left enpty, can use later.
public function FadeAlpha() {
fadeObj();
}
function fadeObj(mc:MovieClip, alphaRate:Number) {
mc.onEnterFrame = function() {
mc.alpha -= alphaRate;
if (mc.alpha=0) {
mc._visible = false;
delete mc.onEnterFrame;
}
};
}
}

 From AS Timeline:
import FadeAlpha;
var fadeAlpha:FadeAlpha = new FadeAlpha);
img01_mc.fadeAlpha(this, 5);
On Stage:
img1_mc



___
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] amfphp, identify each calling

2006-08-05 Thread Martin Weiser

Thanks, i eventually sachieved that by modifing relayresponder,
each call is based on service.method() and its responder, so new 
RelayResponder2 got every time unique creation
here is my new simple relayResponder2 (just added static __num, copyed to 
each insrance as unique __id:


//
//Copyright (C) 2004 Macromedia, Inc. All Rights Reserved.
//The following is Sample Code and is subject to all restrictions on
//such code as contained in the End User License Agreement accompanying
//this product.
//
import mx.rpc.Responder;
/**
This is a responder object that relays result and fault calls to a 
corresponding

function on the specified object.

@tiptext Dispatches results from a method invocation to user defined methods
@helpid 4491
*/
class mx.rpc.RelayResponder2 extends Object implements Responder {
/**
  Constructs an instance of the relay that will call the specified methods
  for result or fault on a given object.

  @param resp Object Object that will handle the fault or result calls
  @param resultFunc String String containing the name of the function to 
call, when result is recieved.
  @param faultFunc String containing the name of the function to call, when 
a fault is recieved.

  @tiptext Creates a new RelayResponder
  @helpid 4492
*/
function RelayResponder2(resp:Object, resultFunc:String, faultFunc:String) 
{

 super();
 __obj = resp;
 __onFault = faultFunc;
 __onResult = resultFunc;
 __id = ++__num;
}
/*
   When a fault in recieved, Fault Handler is called. onFault dispatches 
the fault message.
   @param fault Object  contains information of the fault recieved. This 
includes specified code, message, and details

*/
function onFault(fault:mx.rpc.FaultEvent):Void {
 __obj[__onFault](fault);
}
/*
  Result Handler is called when a result is recieved. onResult dispatches 
the result message


  @param result reference to the result after successfult method invocation
*/
function onResult(result:mx.rpc.ResultEvent):Void {
 __obj[__onResult](result, __id);
}
private var __obj:Object;
private var __onFault:String;
private var __onResult:String;
private var __id:Number;
public static var __num:Number = 0;
}




..end

Martin
- Original Message - 
From: Martin Wood [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Saturday, August 05, 2006 10:11 AM
Subject: Re: [Flashcoders] amfphp, identify each calling





[EMAIL PROTECTED] wrote:

Yes, I think this library is what you're looking for...

http://www.5etdemi.com/blog/archives/2006/03/cinqetdemiremoting-a-tiny-but-useful-remoting-library/ 
steve




nice..id never noticed that...

very useful


martin
___
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] amfphp, many calls at once

2006-08-02 Thread Martin Weiser

hello,

this is classical scheme of amf php
import mx.remoting.*;
import mx.rpc.*;
import mx.remoting.debug.NetDebug;

var gatewayUrl:String = http://localhost/flashservices/gateway.php;

NetDebug.initialize();
var _service:Service = new Service(gatewayUrl, null, 'HelloWorld', null , 
null);

var pc:PendingCall = _service.say(Hello world!);
pc.responder = new RelayResponder(this, handleResult, handleError);
How do i ensure calls are not lost, when one method calls is repeated 
before the previous call (the same method), is the result from forst call 
lost?I thought that is the work of pendingCallis it?Martin 


___
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] strong typing, attachMovie

2006-08-01 Thread Martin Weiser

Hello,

i got little hasel, when attaching movie from library linked to some class, 
into movieclip attached line above, the typing shows error:


var myWorld:world = this.attachMovie(worldID, worldMC, 100);
var myPlayer:player = myWorld.attachMovie(playerID, playerMC, 
10,{_y:220});


not possible with myPlayer:player ,  why

thanks in advance

Martin 


___
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] strong typing, attachMovie

2006-08-01 Thread Martin Weiser

thanks, a lot,
extending for sure, thsi helped
MW
- Original Message - 
From: Janis Radins [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Tuesday, August 01, 2006 4:08 PM
Subject: Re: [Flashcoders] strong typing, attachMovie



that is because attachMovie returns MovieClip.
First of all dont forghet to extend MovieClip in those classes.

A simple workaround would be:
var myPlayer:player = player (myWorld.attachMovie(playerID, playerMC,
10,{_y:220}));


2006/8/1, Martin Weiser [EMAIL PROTECTED]:


Hello,

i got little hasel, when attaching movie from library linked to some
class,
into movieclip attached line above, the typing shows error:

var myWorld:world = this.attachMovie(worldID, worldMC, 100);
var myPlayer:player = myWorld.attachMovie(playerID, playerMC,
10,{_y:220});

not possible with myPlayer:player ,  why

thanks in advance

Martin

___
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] Repulsion effect

2006-07-08 Thread Martin Weiser

that is exactly what i'am after, http://www.phylotaxis.com/
doeas anyone have source?

- Original Message - 
From: Count Schemula [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Friday, July 07, 2006 6:36 PM
Subject: Re: [Flashcoders] Repulsion effect



Here's a nice example.

http://www.phylotaxis.com/


 once i found script with balls repulsed by mouse movement,
 when mouse was over them they made space around the cursor, and then
 retrieved back in kind of a elastic manner..
 please help

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

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

___
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] Repulsion effect

2006-07-07 Thread Martin Weiser

Hello,

once i found script with balls repulsed by mouse movement,
when mouse was over them they made space around the cursor, and then 
retrieved back in kind of a elastic manner..

please help

Martin 


___
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] createTextField and removeMovieClip

2006-07-07 Thread Martin Weiser


or
MoviClip.prototype.removeMoiveClip.apply(textField)

MW



- Original Message - 
From: Mendelsohn, Michael [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Friday, July 07, 2006 4:28 PM
Subject: [Flashcoders] createTextField and removeMovieClip



Hi list...

I have some text on the _root that I placed there using createTextField,
and now I'd like to remove it using removeMovieClip, but it's not going
anywhere.  Any suggestions?

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


___
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] MDM Zinc, 2.5, minor 15, 16, exit() error?

2006-06-19 Thread Martin Weiser
well, thanks, i need it very fast, will try the supprot, but it will take 
some time...


M
- Original Message - 
From: Muzak [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Monday, June 19, 2006 8:35 AM
Subject: Re: [Flashcoders] MDM Zinc, 2.5, minor 15, 16, exit() error?



http://www.multidmedia.com/support/
http://www.mdmforum.com/forum/


- Original Message - 
From: Martin Weiser [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Monday, June 19, 2006 7:16 AM
Subject: [Flashcoders] MDM Zinc, 2.5, minor 15, 16, exit() error?



Hello,
anybody using Zinc?

i got terrible hassel, mdm.Application.exit() doesnt work, it causes 
flash to stop, and you cannto close the Window also, only by closing the 
process


i tried the mdm.Application.exit() even in an empty swf, with no other 
code...

Got anybody some help, please...

Martin



___
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] MDM Zinc, 2.5, minor 15, 16, exit() error?

2006-06-18 Thread Martin Weiser

Hello,
anybody using Zinc?

i got terrible hassel, mdm.Application.exit() doesnt work, it causes flash 
to stop, and you cannto close the Window also, only by closing the 
process


i tried the mdm.Application.exit() even in an empty swf, with no other 
code...

Got anybody some help, please...

Martin 


___
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] wmode=transparent, special fonts in input tex, any news?

2006-06-02 Thread Martin Weiser

Hello,

client want banner with sliding form for user to fill in some data and send 
them,
problem flash shoyld be transparent and we are in czech so special font 
characters are needed, is there any aolution, at least helping in this 
issue

JS communication fro hideng/showng layers???

Martin 


___
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] wheel on curve game engine

2006-05-29 Thread Martin Weiser

Thanks a lot,
it is unbelievable, awesome, superb, he must be genius
thatis the best engine for flash i have seen,

Martin
- Original Message - 
From: Mick G [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Monday, May 29, 2006 6:28 AM
Subject: Re: [Flashcoders] wheel on curve game engine


Help vampire messages are more of a waste of *everything* than the 
original

posters - Yawn

http://www.cove.org/flade/ if a flash physics engine that might help you.




On 5/29/06, Byron Canfield [EMAIL PROTECTED] wrote:


Review the archives for the thread entitled: Are you a help vampire?

--
Byron Barn Canfield


 Hello,

 got anyone idea or even script modellign wheel (bike, car..) on curve,
 collision but mainly bounces, gravity, etc

 like in this game: http://www.freeonlinegames.com/play/3286.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


___
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] wheel on curve game engine

2006-05-28 Thread Martin Weiser

Hello,

got anyone idea or even script modellign wheel (bike, car..) on curve, 
collision but mainly bounces, gravity, etc


like in this game: http://www.freeonlinegames.com/play/3286.html

cheers
martin 


___
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] active X activation, no blinkinkg

2006-05-26 Thread Martin Weiser

Hello guys,
i found soullution for active x object activation by js here:
http://therippa.blogspot.com/2006/03/activateactivex.html
but, it had that unpleasant blink 
(http://cigare1.fatcow.com/picture_hosting/web_pages/therippa/stuff/activateActiveX/example.html) 
i tried to bypass it by hiding in div element:

ans you can see it here:
http://flash.dna01.net/advertures/banner/tester.htm

Do you see it ok, in all browsers?

Thanks for help
Martin 


___
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] Has an SWF file any influence over the file system??????

2006-05-05 Thread Martin Weiser

you mean Zinc.

or other swf2exe, like screenweaver

MW


- Original Message - 
From: Marcelo de Moraes Serpa [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Friday, May 05, 2006 1:41 PM
Subject: Re: [Flashcoders] Has an SWF file any influence over the file 
system??




Hello,

SWF alone is contained into the player space, and the player (neither the
default flash projector) hasn´t any functions (and can´t have if you think
about it) to handle the file system. However, through fscommand and other
techniques (such as the new ExternalInterface API), you can access 
features
(functions and methods) from a external application, that would for 
instance
access the file system for you and return the data to the swf, and you 
would

be doing that if you were using Zing for example.

- Marcelo Serpa.

On 5/5/06, Serge Jespers [EMAIL PROTECTED] wrote:


Not directly from the SWF but if you use something like Zinc (http://
www.multidmedia.com/) you can do a lot with Flash projectors.

Serge


 Hi comunity, i'm looking for an answer. Is there any way to acces
 to my
 file system from Flash (an SWF) 

 Thanks anyway.

 Jorge

___
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] mp3/flv player, one model, or sound.loadSound and netStream

2006-05-01 Thread Martin Weiser

Hello guys,
i'm trying to make unified mp3/flv plaeyr, with one controlling system,
play/stop/pause/ff/rw/volume...

I already made mo3 player some time ago, based on Sound class, and loadSound
method for loading mp3 and streamed...
FLV player could be don only by attaching video from netStream instance to
videl object on stage

so for example preloading is different, sound has getBytesLoaded() method,
but netStream got bytesLoaded properrty.
also duration property for sound is changing according to load progres, but
for netStream is available final duration value after onMEtaData
envocation..
all these hassles make it very difficult to unify the coding
Do you have any experience or solutions for batter way how to do it?
Thanks
cheers
Martin 


___
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] mp3/flv player, one model, or sound.loadSound and netStream

2006-04-30 Thread Martin Weiser

Hello guys,
i'm trying to make unified mp3/flv plaeyr, with one controlling system, 
play/stop/pause/ff/rw/volume...


I already made mo3 player some time ago, based on Sound class, and loadSound 
method for loading mp3 and streamed...
FLV player could be don only by attaching video from netStream instance to 
videl object on stage


so for example preloading is different, sound has getBytesLoaded() method, 
but netStream got bytesLoaded properrty.
also duration property for sound is changing according to load progres, but 
for netStream is available final duration value after onMEtaData 
envocation..

all these hassles make it very difficult to unify the coding
Do you have any experience or solutions for batter way how to do it?
Thanks
cheers
Martin 


___
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] window.onClose - Flash

2006-04-25 Thread Martin Weiser
onUnload in javascript (and sen message to flash), but it is not working in 
all browsers


MW
- Original Message - 
From: erixtekila [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Tuesday, April 25, 2006 1:40 PM
Subject: [Flashcoders] window.onClose - Flash



Hi,



Is there a way to handle a closed window that was owning a flash instance 
?
I'd like to get an event for ex when someone quit a swf application, by 
closing it's window.


Any idea ?
Thanks
---
erixtekila
http://blog.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




___
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] Saving XML locally from flash

2006-04-25 Thread Martin Weiser

wrap to exe , MDM Zinc or any other swf2exe
MW
- Original Message - 
From: Michael Křnig [EMAIL PROTECTED]

To: flashcoders@chattyfig.figleaf.com
Sent: Tuesday, April 25, 2006 3:06 PM
Subject: [Flashcoders] Saving XML locally from flash


I have created an swf that can allow the user to configure some movie parts 
and then represent those parts as XML. Is there a way that I can wrap or 
export this SWF into an installable EXE that will allow the user who 
installs it to save this XML doc locally in any folder he wants to? (not as 
a LSO). That is... where I can put in a button that says ‘save XML’ and 
then a browse folders dialogue box pops up and the user can choose which 
folder he saves to. Once saved the user should be able to go to that folder 
and view the newly created XML doc in notepad or explorer.



Can someone give me a direction with this?


Stanford


___
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] getBytesTotal getBytesLoade, are they working for flash 8 and above????

2006-04-25 Thread Martin Weiser

Hi,
i;m desperate, i seem not to get any response from getBytesTotal and loade, 
for MovieCLip, Sound object???


i cannot preload sound, how come, if it is in manual and was working in 6 
and 7 ??

MoveClipLoader class works, but loadProgress returns undefined as well...

MW 


___
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] getBytesTotal getBytesLoade, are they working for flash 8 and above????

2006-04-25 Thread Martin Weiser

bpth local from IDE and standalone, and from web, not working
now whe loading sound as stream it works
M
- Original Message - 
From: JesterXL [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Tuesday, April 25, 2006 11:17 PM
Subject: Re: [Flashcoders] getBytesTotal getBytesLoade, are they working for 
flash 8 and above




Where is your SWF and where is the Sound it's loading located?

- Original Message - 
From: Martin Weiser [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Tuesday, April 25, 2006 5:07 PM
Subject: [Flashcoders] getBytesTotal getBytesLoade,are they working for
flash 8 and above


Hi,
i;m desperate, i seem not to get any response from getBytesTotal and 
loade,

for MovieCLip, Sound object???

i cannot preload sound, how come, if it is in manual and was working in 6
and 7 ??
MoveClipLoader class works, but loadProgress returns undefined as well...

MW

___
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] seemless video in flash

2006-04-19 Thread Martin Weiser

Hello,

i got 400mb avi, encoding into flv is terrible quality loss, and i need it 
in flash application,

good thing it is in Zinc, can ia detect end of the viedo in mdm.Video?
or is there any flv encoder with really low quality loss??


Thanks a lot

Martin 


___
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] jpg in flash 7 and 8

2006-04-10 Thread Martin Weiser

Hello,

i got problem with jpg image in flash, when publishing to 7 it looks better 
(if scale is lower then 100) then when published to 8,


does anyone have the same experience?

Martin]

___
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] Focus problem

2006-04-07 Thread Martin Weiser
I got input textField, tabing wotks ok, among many items, so that pressing 
TAB makes selectino jump from textField to another and back...
but after putting instance of radioButton (or any other UI component) the 
tabbing goes to hell, selection doesn't move, nothing happens

is it problem with focus manager, how to solve it?

Martin 


___
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] What's different between _alpha=0 and _visible =flase;

2006-04-06 Thread Martin Weiser

same with, hitTest

MW
- Original Message - 
From: Ian Thomas [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Thursday, April 06, 2006 9:10 AM
Subject: Re: [Flashcoders] What's different between _alpha=0 and _visible 
=flase;




The other major difference is easily shown:
Place a movieClip on stage.
Give it an onRelease handler:
clip.onRelease=function(){trace(Release!);}

Test your movie - click on it, and Release! is traced.

Set clip._alpha to 0

Test the movie - click on where the clip should be, and Release! is 
traced.


Set clip._visible=false
Test the movie - click on where the clip should be, and nothing
happens. The clip has effectively been removed from the drawing
heirarchy completely.

Cheers,
 Ian


On 4/6/06, zikey Han [EMAIL PROTECTED] wrote:

I kown that one different between _alpha=0 and _visible =flase.

when we load a picture or swf ,like this:

this.createEmptyMovieClip(container_mc,0);
container_mc.loadMovie(test.jpg);
container_mc._alpha =0 ;
you can see nothing in the scene.because of ._alpha 
=0;

but if you
container_mc_visible=false ;
you can see the test.jpg on the scene._visible = 
false

do nothing.

i want to kown ,what the other different between them.


___
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] What's different between _alpha=0 and _visible =flase;

2006-04-06 Thread Martin Weiser
when only setting _visible to flase., all other belongings are accessible, 
all properties methods if it is forinstance subClass of MovieClip
if on frame where the MovieClip is not present, nothing of its property is 
accessible

so big difference, visualy almost none, though

MW


- Original Message - 
From: Kalle Thyselius, Inlovewith [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Thursday, April 06, 2006 10:20 AM
Subject: Re: [Flashcoders] What's different between _alpha=0 and _visible 
=flase;




i have a related question

what is the difference between
- setting _visible = false on a clip
and
- structuring the flash movie so i go to a frame where that same
movieclip is removed.


see what i mean? i always have a pretty massice _root.content_mc with,
say,  intro_mc, section1_mc, section2_mc inside it.

i always set _visible = false on all the clips i'm not currently
using, but it's sometimes tempting to have multiple frames in
_root.content_mc, one frame for intro_mc, one for section1_mc etc. to
save cpu.

does anyone know the difference between _visible = false and going to
a frame that hasn't got the clip.


ps. i have noticed how
intro_mc._y = - 2000
together with
intro_mc._visible = false

often gives better performance when showing for instance section1_mc.

but probably attachMovie and removeMovieClip is the best way to go at
this problem, in order to get the best performance?

thanks,

kalle



On 4/6/06, Ian Thomas [EMAIL PROTECTED] wrote:

The other major difference is easily shown:
Place a movieClip on stage.
Give it an onRelease handler:
clip.onRelease=function(){trace(Release!);}

Test your movie - click on it, and Release! is traced.

Set clip._alpha to 0

Test the movie - click on where the clip should be, and Release! is 
traced.


Set clip._visible=false
Test the movie - click on where the clip should be, and nothing
happens. The clip has effectively been removed from the drawing
heirarchy completely.

Cheers,
  Ian


On 4/6/06, zikey Han [EMAIL PROTECTED] wrote:
 I kown that one different between _alpha=0 and _visible =flase.

 when we load a picture or swf ,like this:

 this.createEmptyMovieClip(container_mc,0);
 container_mc.loadMovie(test.jpg);
 container_mc._alpha =0 ;
 you can see nothing in the scene.because of ._alpha 
 =0;

 but if you
 container_mc_visible=false ;
 you can see the test.jpg on the scene._visible = 
 false

 do nothing.

 i want to kown ,what the other different between them.

___
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




--
inlovewith.com
inlovewith ltd.
kalle thyselius
linnégatan 76, stockholm, sweden
+ 46 707 602 600
inlovewith 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


[Flashcoders] Rich Text Editor, visibl image in textFormat mode

2006-04-06 Thread Martin Weiser

Hello,

i'm building text editor, and rushed into big problem, if i want to insert 
image, it is not possible unless text is in html mode?
all other stuff, font, colors, url, size is visible, because of editing thru 
textFormat, but img tag has no equivalent, has it ?


thanks much in advance

MartinW 


___
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] loading updated XML

2006-04-05 Thread Martin Weiser

are you preventing loding from cache??
for example:
xmlUrl=xmlFile.xml?v=+getTimer()

- Original Message - 
From: Sibrand Hoekstra [EMAIL PROTECTED]

To: flashcoders@chattyfig.figleaf.com
Sent: Wednesday, April 05, 2006 9:38 AM
Subject: [Flashcoders] loading updated XML



Hello list,

First off, hi all. I subscribed to this list yesterday and ive seen alot 
of good posts already, so there's little doubt that anyone can help me out 
;)


A little introduction:
Since a few weeks i'm hired at an Internet Development company in town, 
and my job is primarily  xhtml/css development.
Yet, the very first project I am doing requires a jpg-viewer flash app. 
Last week ive been studying books, and code of friends to build what i am 
building right now, and one of the final steps has got me stuck.


so, here we are:

[actionscript is in the bottom of this email]

I am making a flash movie that loads 10 jpeg files from a xml feed, 
generated by a phpfile.

Its purpose is to act as a carrousel that loops the jpegs over the screen.
The feed shows the last 10 uploaded jpegs if no parameters are set. If you 
pass it a parameter called PictureID,  it'll give you the jpeg with the 
given ID plus the 9 jpegs uploaded prior to that.

(ie. feed.php?PictureID=20)

i am having php echo the  given PictureID to html as in this:
params name=flashvars value=PictureID=20

in the actionscript i am retrieving that with _root.PictureID.


Next step is to load the 10 jpegs that come before(10-1) the 
curently(20-11) loaded jpegs.
And here i am having trouble, please checkout the function attached to the 
button, in the bottom of the script.


First i'm emptying the arrays and unloading currently loaded jpegs.
I then want to reset the PictureID to 10 lower than the current value and 
'start all over again'  with the new range of jpegs.

Except, at 'loadXML' nothing happens.



So can anyone please help me, or give any insights on how this should be 
solved?


[p.s. i could also do a getURL() to the page itself and pass the feed.php 
a new parameter, but we dont want to make it look smooth.. ]



Many thanks in advance,

Sibrand Hoekstra



var speed:Number = 1.5;
var picSpace:Number = 120;
var xmlfeed:String = 'feed.php';
var picturePath:String = 'path/to/picturefolders/;
var picHeight = 90;
var picWidth = 108;


if(_root.PictureID){
   xmlfeed = xmlfeed + '?PictureID=' + _root.PictureID;
}

var currentPic = -1;
var xml:XML = new XML();
var pictures:Array = new Array();
var picFileNames:Array = new Array();
var picIds:Array = new Array();

function pictureScroll() {
   for (i in pictures) {
   pictures[i]._x += speed;
   if (pictures[i]._x-1((pictures.length-1)*picSpace)) {
   pictures[i]._x -= ((pictures.length)*picSpace);
   }
   if (pictures[i]._x  260 and pictures[i]._x  360 and 
currentPic!=i) {

   currentPic = i;   var listener:Object = new Object();
   var mcLoader = new MovieClipLoader();
   listener.onLoadInit = middlePicLoaded;
   mcLoader.addListener(listener); 
mcLoader.loadClip(picFileNames[i], 
lePicture_mc.middlePic_mc);   }

   }
}
function loadXML() {
   xml.load(xmlfeed);
   xmlObj.ignoreWhite = true;
   xml.onLoad = xmlLoaded;
}
function picLoaded(mc) {
 mc._width = picWidth;
 mc._height = picHeight;
}
function middlePicLoaded(mc) {
   mc._width = 196;
   mc._height = 153;
}
function xmlLoaded(success:Boolean) {
   import mx.xpath.XPathAPI;
   if (success) {   nodes = XPathAPI.selectNodeList(xml.lastChild, 
'feed/picture/file/*');   ids = 
XPathAPI.selectNodeList(xml.lastChild, 'feed/picture/id/*');

   for (i in nodes) {
   var listener:Object = new Object();
   listener.onLoadInit = picLoaded;   var mcLoader = new 
MovieClipLoader();

   mcLoader.addListener(listener);
   newPic = 
pictureScrollContainer.picture_mc.duplicateMovieClip('node'+i, 
pictureScrollContainer.getNextHighestDepth());

   mcLoader.loadClip(picturePath + nodes[i].toString(), newPic);
   newPic._alpha = 100;
   id = pictures.push(newPic);
   picFileNames.push(picturePath + nodes[i].toString()); 
newPic._x = id * picSpace;

   }
   _root.onEnterFrame = pictureScroll;   }
}

pictureScrollContainer.picture_mc._alpha = 0;
loadXML();


_root.prev_btn.onRelease = function(){
   _level0.pictureScrollContainer.unloadMovie();
   _level0.middlePicture_mc.unloadMovie();
   for(i in pictures){
pictures.shift();   picFileNames.shift();
   }
   trace(_root.PictureID);
  set(_root.PictureID, (_root.PictureID - 10));
   trace(_root.PictureID);

   loadXML();
  trace('hmm');
  }












___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:

Re: [Flashcoders] loading updated XML

2006-04-05 Thread Martin Weiser

some variable issue, either overwritten or not deleted etc,
if you want to repeat some state, you have to provide the same 
conditions

better show us code.
MW


- Original Message - 
From: Ben Smeets [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Wednesday, April 05, 2006 1:48 PM
Subject: RE: [Flashcoders] loading updated XML



It's probably the onLoad handler that is missing some sort of context.
Make sure everything you  reference in the onLoad handler isn't
undefined (check by tracing). Without seeing code, this is all I can
think of.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sibrand
Hoekstra | Buyways B.V.
Sent: woensdag 5 april 2006 11:29
To: Flashcoders mailing list
Subject: Re: [Flashcoders] loading updated XML

no, its not about the cache..

the point is that i want the movie to load the feed again, except this
time with the parameter ?PictureID=XX [where XX is a number] so the feed
will provide a list of 10 older jpegs, so eventually I can scroll trough
the whole set of jpgs uploaded by users.

Just like it does initially with loading the feed...

However, when i invoke loadXML when hitting the button, nothing happens,
not even loading the 'existing' xml. the movie does trace the message
that is after the loadXML() statement.


i had thought it would work this way, as the movie first consults the
php file for the list of 10 latest jpegs.

var xmlfeed:String = 'feed.php';

then, when the button is pressed, i want to alter the variable xmlfeed,
so the movie would have to look for something like

var xmlfeed:String = 'feed.php' + '?PictureID=' + PictureID;



I hope i am making this clear ;)


Siep



Ben Smeets schreef:


Lot's of issues possible here, I believe some code might be needed to
pinpoint the exact problem?




___
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] loading updated XML

2006-04-05 Thread Martin Weiser
so i had to rewrite the button's attached function. Problem solved, but 
now i can't come up with a decent explanation

for why it didnt work in the first place.


state changed, the function could work for the first time,
show us the code better

MW

- Original Message - 
From: Sibrand Hoekstra | Buyways B.V. [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Wednesday, April 05, 2006 2:19 PM
Subject: Re: [Flashcoders] loading updated XML


Thanks everybody for taking the time, i have been able to fix the problem 
after the lunch. =)


I was lucky to have written a bad loop, crashing my flash IDE and 
therefore not saving my unsaved work,
so i had to rewrite the button's attached function. Problem solved, but 
now i can't come up with a decent explanation

for why it didnt work in the first place.

Yes, Eric,  the php file was written pretty well, except my actionscript 
wasn't ;)


Siep




Éric Thibault schreef:

I you call your php page directly from your browser does it return the 
desired XML file? And with your ID parameter?


A+

Sibrand Hoekstra wrote:


Hello list,

First off, hi all. I subscribed to this list yesterday and ive seen alot 
of good posts already, so there's little doubt that anyone can help me 
out ;)


A little introduction:
Since a few weeks i'm hired at an Internet Development company in town, 
and my job is primarily  xhtml/css development.
Yet, the very first project I am doing requires a jpg-viewer flash app. 
Last week ive been studying books, and code of friends to build what i 
am building right now, and one of the final steps has got me stuck.


so, here we are:

[actionscript is in the bottom of this email]

I am making a flash movie that loads 10 jpeg files from a xml feed, 
generated by a phpfile.
Its purpose is to act as a carrousel that loops the jpegs over the 
screen.
The feed shows the last 10 uploaded jpegs if no parameters are set. If 
you pass it a parameter called PictureID,  it'll give you the jpeg with 
the given ID plus the 9 jpegs uploaded prior to that.

(ie. feed.php?PictureID=20)

i am having php echo the  given PictureID to html as in this:
params name=flashvars value=PictureID=20

in the actionscript i am retrieving that with _root.PictureID.


Next step is to load the 10 jpegs that come before(10-1) the 
curently(20-11) loaded jpegs.
And here i am having trouble, please checkout the function attached to 
the button, in the bottom of the script.


First i'm emptying the arrays and unloading currently loaded jpegs.
I then want to reset the PictureID to 10 lower than the current value 
and 'start all over again'  with the new range of jpegs.

Except, at 'loadXML' nothing happens.



So can anyone please help me, or give any insights on how this should be 
solved?


[p.s. i could also do a getURL() to the page itself and pass the 
feed.php a new parameter, but we dont want to make it look smooth.. ]



Many thanks in advance,

Sibrand Hoekstra




var speed:Number = 1.5;
var picSpace:Number = 120;
var xmlfeed:String = 'feed.php';
var picturePath:String = 'path/to/picturefolders/;
var picHeight = 90;
var picWidth = 108;


if(_root.PictureID){
   xmlfeed = xmlfeed + '?PictureID=' + _root.PictureID;
}

var currentPic = -1;
var xml:XML = new XML();
var pictures:Array = new Array();
var picFileNames:Array = new Array();
var picIds:Array = new Array();

function pictureScroll() {
   for (i in pictures) {
   pictures[i]._x += speed;
   if (pictures[i]._x-1((pictures.length-1)*picSpace)) {
   pictures[i]._x -= ((pictures.length)*picSpace);
   }
   if (pictures[i]._x  260 and pictures[i]._x  360 and 
currentPic!=i) {
   currentPic = i;  var listener:Object = new 
Object();

   var mcLoader = new MovieClipLoader();
   listener.onLoadInit = middlePicLoaded;
   mcLoader.addListener(listener); 
mcLoader.loadClip(picFileNames[i], 
re_mc.middlePic_mc);  }

   }
}
function loadXML() {
   xml.load(xmlfeed);
   xmlObj.ignoreWhite = true;
   xml.onLoad = xmlLoaded;
}
function picLoaded(mc) {
 mc._width = picWidth;
 mc._height = picHeight;
}
function middlePicLoaded(mc) {
   mc._width = 196;
   mc._height = 153;
}
function xmlLoaded(success:Boolean) {
   import mx.xpath.XPathAPI;
   if (success) {  nodes = 
XPathAPI.selectNodeList(xml.lastChild, 'feed/picture/file/*'); 
ids = XPathAPI.selectNodeList(xml.lastChild, 'feed/picture/id/*');

   for (i in nodes) {
   var listener:Object = new Object();
   listener.onLoadInit = picLoaded;  var 
mcLoader = new MovieClipLoader();

   mcLoader.addListener(listener);
   newPic = 
pictureScrollContainer.picture_mc.duplicateMovieClip('node'+i, 
pictureScrollContainer.getNextHighestDepth());

   

Re: [Flashcoders] MovieClipLoader - Crash in player 7, fine in player 8

2006-04-04 Thread Martin Weiser

i got similar problem,

not possible to access MovieClip.getBytes...() methods,
and also affecting progress value of movieClipLoader onProgress event .
Maybe show more of your script

Martin


- Original Message - 
From: Roman Blöth [EMAIL PROTECTED]

To: flashcoders@chattyfig.figleaf.com
Sent: Tuesday, April 04, 2006 12:03 PM
Subject: [Flashcoders] MovieClipLoader - Crash in player 7, fine in player 8



Hello folks,


once again flash strikes my mind:

I've made a small test movie to test my ClipLoader-class, which stores and 
handles loading queues using a MovieClipLoader.


To make a stress test I queue 5 larger swf files for loading on button 
press (made another button for testing a stop-function).


When trying it out using flash player 8 everithing works just fine, when I 
try the same using player 7 (as browser plugin, that is), then the whole 
thing crashes.


When using my ClipLoader-class in an actual project, everithing works fine 
when only one file is added to the queue, but even the Flash IDE crashes 
completely when adding several files for loading.


We've been through all of the code and debugging output for two days with 
two programmers now, but we can not find any clue on about what the 
problem is.


Anyone out there ever has made experience like this? 
MovieClipLoader.loadClip crashing flash ide/flash plugin under certain 
conditions?!



Any comment welcome,
regards,
roman.

--

---
gosub communications gmbh | fredersdorfer str. 10  | 10243 berlin
t [030] 29 36 39 1 - 43 | f [030] 29 66 88 84 | http://www.gosub.de
---

___
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] Zinc, NSIS, how to uninstall created folders

2006-03-27 Thread Martin Weiser


Hello,

i'm developping applications with Zinc, and making install packages with 
Nullsoft scriptable install system, how to remove dynamicaly created 
folders?
Folders that are created by the application, with names made up of user 
codes, so unpredictable for the nsis script?


RMDir $INSTDIR\_data\savedData\*.*
or
RMDir $INSTDIR\_data\savedData\*

dosn't help


(the folders are under saveData)

thanks much
cheers

Martin 


___
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] createEmptyMovieClip for individual MovieClip-class

2006-03-27 Thread Martin Weiser

how about this one:

function makeClassInstance(mc:Object, _class:Function, args:Array):Void {
 //trace(Making Subclass Instance mc +mc+  _class  +_class);
 mc.__proto__ = _class.prototype;
 mc.__constructor__ = _class;
 mc.constructor = _class.prototype.constructor;
 mc[__constructor__].apply(mc, args);
}

cheers

Martin





- Original Message - 
From: Robert Clochard [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Monday, March 27, 2006 9:11 PM
Subject: [Flashcoders] createEmptyMovieClip for individual MovieClip-class



Hello everyone,

I've searched a while for the following problem but didn't get an answer.

I'd like to create a movieclip with my individual mc-class, that is to
say, a createEmptyMovieClip() function but with getting my individal MC
- createEmptyMyIndividualMC().

I tried the following, but like you guess, myIndMC is a MovieClip so I
get type-problems..

Is there a way to get this working, to register a Class to a MC
(registerClass() hasn't done it, too) and maybe call its constructor?

private function createEmptyMyIndividualMC():MyIndividualMC

  var myIndMC:MovieClip =
this.createEmptyMovieClip(example_mc,4);

  myIndMC.__proto__ = MyIndividualMC.prototype;

  return myIndMC;
}

class MyIndividualMC extends MovieClip
{

}


___
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] OT: need turkish translation for some expressions

2006-03-26 Thread Martin Weiser

Thank you so much, i really need it, thanks
Best

Martin

- Original Message - 
From: Kevin Bowers [EMAIL PROTECTED]

To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com
Sent: Sunday, March 26, 2006 1:49 PM
Subject: RE: [Flashcoders] OT: need turkish translation for some expressions



Hi,



My other half is just involved in an on-line chat with a Turkish friend so 
I

have managed to get some translations for you.



Incomplete input data = Tamamlanmamis giris verisi



Incorrect data = Hatali veri



Slide time= Iki slayt syfasi arasida gecen zaman



Total time = Toplam zaman



Sound on / off = Ses acik/kapali





Kevin Bowers

[EMAIL PROTECTED]

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Martin
Weiser
Sent: 25 March 2006 21:42
To: Flashcoders mailing list
Subject: [Flashcoders] OT: need turkish translation for some expressions



Hello,

anybody turkish here?



need soem help. urgent.



Could you help me this night with several turkich expressions for

application i'm working on?

first is: Incomplete input data, or Incorrect data



slide time

total time



sound On/Off



help needed/used



answers

results

slide

start time

slide start time



thanks

Martin



___

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] Using Flash with Ruby on Rails

2006-03-24 Thread Martin Weiser

??
czech neck?
what the heck is that?
Kodicek sounds to me as czech surname, are you oriignaly from Czech Rep ?

cheers

Martin.cz



- Original Message - 
From: Danny Kodicek [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Friday, March 24, 2006 12:52 PM
Subject: Re: [Flashcoders] Using Flash with Ruby on Rails



I used to use GammaHydroxyButyrate back in my bodybuilding days (don't
laugh, it's true).  Used to double the effects of some of the other
supplements I used.  It's safe to take, but some people found it
enhanced the effects of hardcore drugs, so it was taken off the
market... Well, made illegal.

Yes, but did you ever take Cake? Ever suffer the horrors of Czech Neck?

Sorry, way OT - I'll stop now.

Danny

'It influences a part of the brain called Shatner's Bassoon'
___
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] while

2006-03-22 Thread Martin Weiser

var dtd;
var spa;
var spa1;
var dt = 0;
while (dt=9) {
dtd = var+dt;
spa = dt*5;
spa1 = (dt*15)+45;
var t = _root.createTextField(dtd, dt, 0, spa1, 100, 15);
trace(t);
dtd=eval(dtd)
//or use t var, t.text=
dtd.text = spa1;
dtd.border = true;
dtd.selectable = false;
dt++;
}

you were trying to reference the textField vi 'dtd' variable which is 
string, name for textField


not evaluated as variable yet

Martin



 Original Message - 
From: Laurent CUCHET [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Wednesday, March 22, 2006 4:37 PM
Subject: [Flashcoders]  while



Good morning,

1) I  create dynamic textfield with while option
   I try to create dynamic border and content without success

Have you got a tips to done it

Thank you

/
var dtd;
var spa;
var spa1;
var dt = 0;
while (dt=99) {
   dtd = var+dt;
   spa = dt*5;
   spa1 = (dt*15)+45;
   _root.createTextField(dtd, dt, 0, spa1, 100, 15);
   dtd.text=spa1;
   dtd.border=true;
   dtd.selectable=false;
   dt++;
}



___
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] Alphabetize XML

2006-03-20 Thread Martin Weiser


just parse it in mode: item to object: {name:Alice,title:foo} and push to 
array


the use array.sortOn(property),
much more is in livedocs, on flags like asc,desc, numerical etc

M



- Original Message - 
From: eric dolecki [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Monday, March 20, 2006 7:27 PM
Subject: [Flashcoders] Alphabetize XML



Quick question...

I have XML coming in with nodes something like this:

xml
item
nameAlice/name
titleFoo/title
/item
item
nameJohn/name
titleBar/title
/item
/xml

I'd like to be able to sort the item chunks alphabetically on the name
nodes. Whats the best approach to do this?
___
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] Alphabetize XML

2006-03-20 Thread Martin Weiser
that;s not always appropriate, for some languaes you have to use 
CDATA.so extra nodes aore needed


M


- Original Message - 
From: Merrill, Jason [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Monday, March 20, 2006 8:32 PM
Subject: RE: [Flashcoders] Alphabetize XML



You could also save some file space and processing time by structuring
it like this instead:

xml
item name=Alice title=Foo/
item name=John title=Bar/
/xml


Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com










-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of eric dolecki
Sent: Monday, March 20, 2006 2:28 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Alphabetize XML

Ahh - thats right. Forgot about sortOn - thanks :)

On 3/20/06, Martin Weiser [EMAIL PROTECTED] wrote:



just parse it in mode: item to object: {name:Alice,title:foo} and

push

to
array

the use array.sortOn(property),
much more is in livedocs, on flags like asc,desc, numerical etc

M



- Original Message -
From: eric dolecki [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Monday, March 20, 2006 7:27 PM
Subject: [Flashcoders] Alphabetize XML


 Quick question...

 I have XML coming in with nodes something like this:

 xml
 item
 nameAlice/name
 titleFoo/title
 /item
 item
 nameJohn/name
 titleBar/title
 /item
 /xml

 I'd like to be able to sort the item chunks alphabetically on the

name

 nodes. Whats the best approach to do this?
 ___
 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

NOTICE:
This message is for the designated recipient only and may contain 
privileged or confidential information. If you have received it in error, 
please notify the sender immediately and delete the original. Any other 
use of this e-mail by you is prohibited.

___
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] asking book opinion-OOP with AS2, Jeff Taper et al.

2006-03-18 Thread Martin Weiser

Hello ,

anyone have read this book, could recommen or not, i'm as 2 programmer for 
long time, alreade got moock's esential as2, but still want more oop 
approaches and techniques to learn.


thanks in advance

martin 


___
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] FP8 AS2 color picker and comboBox

2006-03-07 Thread Martin Weiser

Hello everyone,

i seek for color picker component (tried many, Illogiz, not working in as2), 
please doeas anyone have some really good?


And custom combobox. simple as possible,
thanks in advance

Martin


___
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] dynamic text field width

2006-02-07 Thread Martin Weiser

tf._width=tf.textWidth+4
tf._height=tf.textHeight+6


my apporach

MW


- Original Message - 
From: Corban Baxter [EMAIL PROTECTED]

To: flashcoders@chattyfig.figleaf.com
Sent: Tuesday, February 07, 2006 7:19 PM
Subject: [Flashcoders] dynamic text field width



Hey guys just a quick question about creating dynamic text fields.
I am working on a horizontal scrolling menu that uses xml to store url's 
and website titles that will be used to create a menu.

Below is example XML.

websites
link title=Google url=http://www.google.com /
link title =MSN url=http://www.msn.com /
link title =Yahoo url=http://www.yahoo.com /
etc
/websites

What I want to do is place the title in a dynamic text field and create 
a button around that text field.
Problem is I need to determine the width of the text field by the length 
of the string so the buttons can vary in size.

Cause google is a lot longer than MSN etc..

|___|_title_|___| - Example button.. the blank area would be extend area 
for the hit state.


So is there a way to adjust the text field width to the length of the 
string?

I hope this makes enough sense to get the question answered.
If you need more help let me know and I will put together some kind of a 
test to show.

I have tried but not really getting the results I want. Thanks all!


Corban Baxter | rich media designer | www.funimation.com


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




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


Re: [Flashcoders] LoadMovie Problem?

2006-01-31 Thread Martin Weiser

this is complete nonsesnse, take a look to the manual,

first, not sure if loadMovie to _root is proper solution,

create new movieClip, and load to it
and most important: you have to wait for the movie being loaded, which is 
the hardCore and basic knowledge for every flash programmer :-)

good luck


Martin


- Original Message - 
From: Dhiraj Girdhar [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Tuesday, January 31, 2006 8:35 AM
Subject: [Flashcoders] LoadMovie Problem?



Hi All,



I am trying to load a new SWF file on root movie clip using following
action script code, but it is not working properly. It is loading its
first frame only. But the SWF file (to be loaded) is having more than
one pages.



loadMovie(C:\\ pages.swf, _root);

_root.gotoAndStop(3);



Any solution?





Regards:

Dhiraj

___
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] FLash 8, standAlone shows getBytesTotal undefined, IDE ok

2006-01-26 Thread Martin Weiser

Hello guys,

strange thing,
I use my own loader class, not MovieClipLoader
in flash 8 IDE it works ok, because it is controled by the 
getBytesLoaded/getBytesTotal ratio,


but in standAlone and in webpage it doesn;t work, it shows getbytesloaded 
and getbytestotal as undefined,


When i used movieCLipLoader class it loads ok, even can determine the end of 
loading, how come?.
Why i cannot see bytes methods output, and how can MovieCLipLoader work if 
these are not working in standAlone?



thanks
Martin W 


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


Re: [Flashcoders] FLash 8, standAlone shows getBytesTotal undefined, IDE ok

2006-01-26 Thread Martin Weiser

loadMovie for MovieClips,
loadSound for sounds, load for loadVars/XML

Martin


- Original Message - 
From: Ramon Tayag [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Thursday, January 26, 2006 10:47 AM
Subject: Re: [Flashcoders] FLash 8, standAlone shows getBytesTotal 
undefined, IDE ok




How does your own loader load?  What does it use to load?

Thanks,

On 1/26/06, Martin Weiser [EMAIL PROTECTED] wrote:

Hello guys,

strange thing,
I use my own loader class, not MovieClipLoader
in flash 8 IDE it works ok, because it is controled by the
getBytesLoaded/getBytesTotal ratio,

but in standAlone and in webpage it doesn;t work, it shows getbytesloaded
and getbytestotal as undefined,

When i used movieCLipLoader class it loads ok, even can determine the end 
of

loading, how come?.
Why i cannot see bytes methods output, and how can MovieCLipLoader work 
if

these are not working in standAlone?


thanks
Martin W

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




--
Ramon Miguel M. Tayag
___
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] SEO, flash site, url and text in this movie tags

2006-01-11 Thread Martin Weiser

Hello,

does these tags really work for search bots?
!-- URL's used in the movie--
!-- text used in the movie--

even if not generated by flash, because links and texts are mostly dynamic, 
so i suggested to put these links to the tags by some server site, php for 
example.

will it work for indexing?

thanks
Martin


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


Re: [Flashcoders] Text not showing up in Flash Player 7 with Flash 8 SWF

2006-01-11 Thread Martin Weiser
default font, was in flash 7, unde font tag, in flash 8 i cannot see it 
anymore,

so always have to add face=*fontName* to font

MW

- Original Message - 
From: Miles Thompson [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Wednesday, January 11, 2006 6:36 PM
Subject: Re: [Flashcoders] Text not showing up in Flash Player 7 with Flash 
8 SWF





Is the .swf compiled as a Flash 7 movie? If not, I think you have your 
answer.


Miles

At 12:39 PM 1/11/2006, Steven Sacks wrote:


Hey,

Any reason why the static and dynamic text in my Flash 8 movie aren't
showing up in the Flash 7 player on Windows or Linux?  Nothing Flash 8 
about

the text.  It just doesn't show up on Flash Player 7.0r14.

-s





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



--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.1.371 / Virus Database: 267.14.17/226 - Release Date: 1/10/2006


___
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] Disabling Buttons / Actions - FLASH 6

2005-12-03 Thread Martin Weiser

myButton.enabled=false
not enable


MW

- Original Message - 
From: Jay Lepore [EMAIL PROTECTED]

To: 'Flashcoders Mailing List' flashcoders@chattyfig.figleaf.com
Sent: Saturday, December 03, 2005 7:26 PM
Subject: [Flashcoders] Disabling Buttons / Actions - FLASH 6



Hello,

Here is my need.

I have a rectangular clip (clipA) on the stage that does not move.

I have a scrollable mc (clipB) that lays underneath clipA but is much
longer and scrolls up and down underneath clipA.

When someone clicks on clipA, I do not want ANY button or mc actions
beneath it to be activated. However, if they click on clipB outside the
clipA bounds, such actions should occur.

I have tried many combinations of enable=false, fake shields beneath and
so on to no avail.

Anybody got a good suggestion on this?

What sayeth the group?

Jay
FlashBOMB.com

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

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