[Flashcoders] Known limitation for length for loaded content's path

2007-01-30 Thread Éric Thibault

Hello all!

I have a strange case... i've built a projector for mac and pc with 
external content (images, flashpapers, videos...). Everything works well 
except on some PCs?!? I dont have access to those PCs (student's) but is 
there a known issu regarding path length (every path is relative to the 
main movie)?  I would like to cover all the possibilities before 
debugging directly on those computers!


Thanks a million!
___
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] Remote SWF to read local FLV

2007-01-10 Thread Éric Thibault
Hi all


After searching the web all morning, I haven't found a solution to allow a 
"remote" SWF file read by FPlayer9 to access "local" FLVs on a DVD... I've just 
been parachuted in a E-learning project and asked to find a solution to this 
problem... FPlayer 8 did not have that behavior but all the students are on the 
process of upgrading their reader so...

The FLVs comes in two flavers, remote and local, to allow easy access (even on 
a dialup connection).

Is anyone aware of a work around?

Thanks a million! 

-
Éric Thibault
Programmeur analyste
Concepteur multimédia

___
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] Open a local .html file on click of a button

2006-11-17 Thread Éric Thibault

If you want to open and center an html popup... I use this code...

   var ResX:Number = System.capabilities.screenResolutionX;
   var ResY:Number = System.capabilities.screenResolutionY;
   var WidthPopup:Number = 620;
   var heightPopup:Number = 450;
  
   var CentreX:Number = Math.round((ResX - WidthPopup) / 2);

   var CentreY:Number = Math.round((ResY - heightPopup) / 2);

   getURL("javascript:var mypopup = 
window.open('try.html','title','personalbar=no,toolbar=no,status=no,scrollbars=no,location=no,resizable=no,menubar=no,left=" 
+ CentreX + ",top=" + CentreY + ",width=" + WidthPopup + ",height=" + 
heightPopup + "');mypopup.focus();");


You can use also the getURL like getURL("try.html", "_blank"); if you 
want another window.


A+

Vivek Gaikwad a écrit :

Hi all,

 


I have a folder in which there are 3 files.

 


1.   one.fla

2.   one.swf

3.   try.html (this is just a simple html file on my local disk)

 


There is a button inside one.fla file, on click of which I want to open the
try.html page.

I tried using getURL method. But it didn't work for me.

How to go about 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@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] Completely stumped about MovieClipLoader not working

2006-11-08 Thread Éric Thibault
I've redone the test on my webserver with the externalinterface and all 
is functionning normaly if all (HTML and SWF) are in the same folder!  
If the HTML page is not in the same folder, the external SWF must be 
called relative to the HTML, not to the loader SWF.  Maybe your bug is 
there!


A+

Mendelsohn, Michael a écrit :

Thanks for trying.

The External Interface is the only thing there that works for me.  I get
the alerts from the html page, but that's it.  It never finds the other
swf.  Could it be some kind of security issue?

  


___
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] Completely stumped about MovieClipLoader not working

2006-11-08 Thread Éric Thibault
I've just copy/past your code inside a new flash file and it is working 
fine both in the IDE and the browser


Published for 7 or 8 AS 2 with the Flash player 8.

P.S. I don't have any JS functions inside my HTML... maybe the bug is there?

A+

Mendelsohn, Michael a écrit :

Hi list...

I can't figure out why MovieClipLoader isn't working.  In the authoring
environment, I get no error but it doesn't load, and in the browser, I
get urlNotFound error.  I don't understand it as the two swfs sit next
to each other in the same folder.  Any thoughts are appreciated.

Thanks,
- Michael M.



import flash.external.*;
_root.createEmptyMovieClip("ui", 1);
// define loader listener
var loadListener:Object = new Object();
loadListener.onLoadStart = function():Void  {
// attach preloader bar when downloading begins
_root.attachMovie("loading", "loading", 1, {_x:574, _y:494});
_root.loading.progBar._width = 0;
};
loadListener.onLoadProgress = function(loaded:Number, total:Number):Void
{
notify(String("progress: " + loaded + "  " + total));
_root.loading.progBar._width = Math.round(((loaded / total) *
100) * 3.5);
};
loadListener.onLoadError = function(target_mc:MovieClip,
errorCode:String, httpStatus:Number) {
notify(String("Errorer: " + errorCode + "  " + httpStatus));
};
loadListener.onLoadComplete = function():Void  {
notify("Errorer: done");
};
var ui:MovieClip = _root.ui;
var mcl:MovieClipLoader = new MovieClipLoader();
mcl.addListener(loadListener);
mcl.loadClip("ar07ui.swf", ui);
function notify(msg):Void {
if (ExternalInterface.available) {
ExternalInterface.call("errorer", msg);
}
}

___
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] buttons not active on mac

2006-10-26 Thread Éric Thibault
On my PC (FireFox) I have two errors... maybe a symptome... it's a long 
shot!


Erreur : invalid flag after regular expression
Fichier source : http://venues.or-media.com/?venue=savoy
Ligne : 45, Colonne : 10
Code source :
Notice:  Undefined variable:  currVenue in 
E:\Inetpub\ietvenues\index.php on line 78


AND

Erreur : init is not defined
Fichier source : http://venues.or-media.com/?venue=savoy
Ligne : 1

A+

Trevor Burton a écrit :

I have a site at http://venues.or-media.com 
that doesn't work on a mac, you're supposed to be able to click on one those
logos and the site loads the relevant xml document to build itself.

 


You can drill straight to the main site by going to
http://venues.or-media.com?venue=savoy
  and still no joy - none of the
buttons are clickable on mac, yet it works perfectly on PC

 


Has anyone seen this before? Does anyone have any ideas.. I've racked my
brains and now they're melting!

 


Any suggestions would be gratefully appreciated.

 


T

 

 

 


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

2006-10-24 Thread Éric Thibault
I've managed to remove the logo of the flashpaper and change certain 
colors... but not the theme colors (halo green)...


Here's the link : http://www.lastashero.com/blog/2006/05/

If someone has any luck...

A+

Éric Thibault a écrit :

Hello all!

Is there a way to change the styles of a flashPaper instance on stage, 
like setStyle("themeColor","0xff")?


I would like to remove the halo green effects!

Thanks a million

Éric Thibault
___
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] FlashPaper

2006-10-23 Thread Éric Thibault

Hello all!

Is there a way to change the styles of a flashPaper instance on stage, 
like setStyle("themeColor","0xff")?


I would like to remove the halo green effects!

Thanks a million

Éric Thibault
___
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] draggable mc with buttons in it?

2006-10-18 Thread Éric Thibault

Your drag code on your toolbox takes over the button events inside it

Place an invisible button inside your toolbox (like a drag bar...) and 
attach your drag code to it...


inside your toolbox...

drag_btn.onPress = function() {
   startDrag(this._parent);

   this._parent.swapDepths(1000);
  
   }


drag_btn.onRelease = function() {
   stopDrag();
   if (this._parent._droptarget == "/silute") {
   this._parent._x = _root.silute._x;
   this._parent._y = _root.silute._y
   }
   }

A+

mastro a écrit :


okay, it`s not possible to attach files to this mailinglist,

here you can find the test file...

http://nano.machfeld.net/download/test.zip

cheers,
m.


hello !

i made a draggable mc and include 3 buttons in it.
how can i make the buttons working?

i include a test.fla in this e-mail.

thanx for helping !!

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



___
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] Site Check Please - Problem with swfObject

2006-09-18 Thread Éric Thibault

Same thing for me!

Danton Chin a écrit :

Aaron,

Your website loaded up quickly when I visited it the first time. The 
navigation appeared without having to click anywhere else. Now, 
however, after exiting both browsers it took your website several 
minutes to load your home page and I don't get any navigation in both 
browsers. These are the results that I get when I visit 
http://www.whitehorsemedia.com/. When I visit 
http://whitehorsemedia.com/ I get the navigation. Results based upon a 
handful of visits with some really slow dowload times.


Regards,
Danton

Aaron Roberson wrote:

Danton and Slangeberg,

You didn't have to click elsewhere on the website (namely the Home or
Contact links in the header or the navigation in the footer) in order
to get the navigation beside the horse to display? That is odd,
because on more than one computer in our office the navigation does
not load the prior to clicking elsewhere on the website.

I am going to go check it on our Mac workstation in IE 5, Firefox and 
Safari.


-Aaron

On 9/18/06, slangeberg <[EMAIL PROTECTED]> wrote:

Works fine in IE 6, as well

Scott

On 9/18/06, Aaron Roberson <[EMAIL PROTECTED]> wrote:
>
> The navigation to the right of the horse and below the company name
> and tagline loaded on first try?
>
> What browswer are you using?
>
> -Aaron
>
> On 9/18/06, slangeberg <[EMAIL PROTECTED]> wrote:
> > Looked fine to me!
> >
> > Scott
> >
> > On 9/18/06, Aaron Roberson <[EMAIL PROTECTED]> wrote:
> > >
> > > Please take a look at the folowing website:
> > >
> > > http://whitehorsemedia.com
> > >
> > > If you are visiting the page for the first time, the 
navigation in the
> > > Flash header does not load (I am using xml to define my 
navigation and
> > > actionscript to parse it). However, when you click on a link 
in the
> > > body of the page, when that page loads the navigation in the 
header
> > > also loads. Once it does, you can revisit the home page and 
any other
> > > page and the navigation will load everytime. It just doesn't 
load the

> > > very first time.
> > >
> > > This started happening when I switched over to swfObject to 
embed my

> > > Flash movie and to detect the clients Flash player version.
> > >
> > > Does anyone have any ideas why the navigation is not loaded at 
first?

> > > More importantly, what can I do to fix it?
> > >
> > > Thanks in advance,
> > > Aaron
> > > ___
> > > 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
> > >
> >
> >
> >
> > --
> >
> > : : ) 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
> >
> ___
> 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
>



--

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


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

Re: [Flashcoders] Site Check Please

2006-09-12 Thread Éric Thibault
I have to install flash player 9... are those users having the problems 
without administrator rights?


:-\

Aaron Roberson a écrit :

I have a flash banner on my site that is parsing xml and displaying a
navigation menu. I have recieved a couple of reports that some users
are unable to click through to the pages linked in the navigation.

Could as many as possible take a look at the site and tell me if the
navigation works. If not, does anyone have any ideas what could be
causing the links to not work?

Site to check:
http://whitehorsemedia.com

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




--
===

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===

Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia de 
confidencialidad <http://www.rec.ulaval.ca/lce/securite/confidentialite.htm>

___
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] Close all brances in tree component

2006-09-12 Thread Éric Thibault

OUPS!

This code is attached to the tree instance!

;-)

A+

Éric Thibault a écrit :

Here is my old code

Good luck!


function CloseAll() {
   var i:Number;
   var j:Number;
   j = this.length;
 for(i = 0; i < j; i++) {
   var oNode:XMLNode = this.getTreeNodeAt(i);
   if(oNode != undefined && this.getIsBranch(oNode)) {
   this.CloseNode(oNode);
   i=0;
   j = this.length;
   }  }   }

function CloseNode(oNode:XMLNode) : Void {
 if(this.getIsBranch(oNode) and this.getIsOpen(oNode)) {

   if(oNode != this.getTreeNodeAt(0)) {
this.setIsOpen(oNode, false);

   }
   if(oNode.childNodes.length > 0) {
   var j:Number;
   for(j = 0; j < oNode.childNodes.length; j++) {
   var oSubNode:XMLNode = oNode.childNodes[j];
   this.CloseNode(oSubNode);
   }
   }
   }   }


Lieven Cardoen a écrit :

Does anybody have a function to close all branches in tree
component???(V2 component Flash)

 


Thx, Lieven Cardoen

___
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

  






--
===

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===

Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia de 
confidencialidad <http://www.rec.ulaval.ca/lce/securite/confidentialite.htm>

___
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] Close all brances in tree component

2006-09-12 Thread Éric Thibault

Here is my old code

Good luck!


function CloseAll() {
   var i:Number;
   var j:Number;
   j = this.length;
  
   for(i = 0; i < j; i++) {

   var oNode:XMLNode = this.getTreeNodeAt(i);
   if(oNode != undefined && this.getIsBranch(oNode)) {
   this.CloseNode(oNode);
   i=0;
   j = this.length;
   }   
   }   
}


function CloseNode(oNode:XMLNode) : Void {
  
   if(this.getIsBranch(oNode) and this.getIsOpen(oNode)) {


   if(oNode != this.getTreeNodeAt(0)) { 
   this.setIsOpen(oNode, false);

   }
   if(oNode.childNodes.length > 0) {
   var j:Number;
   for(j = 0; j < oNode.childNodes.length; j++) {
   var oSubNode:XMLNode = oNode.childNodes[j];
   this.CloseNode(oSubNode);
   }
   }
   }   
}



Lieven Cardoen a écrit :

Does anybody have a function to close all branches in tree
component???(V2 component Flash)

 


Thx, Lieven Cardoen

___
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

  



--
===

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===

Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia de 
confidencialidad <http://www.rec.ulaval.ca/lce/securite/confidentialite.htm>

___
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] Flv's playing in a projector from usb drive

2006-09-07 Thread Éric Thibault
If I understand correctly, I can use relative path if project is on a 
CD, the WEB or  on a local drive but have to use absolute path if its on 
a removable or remote drive? :-\


Thanks for the clarifications!

:-)

Kent Haynes a écrit :

Yeah it worked...thanks John

-kent 


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John
Grden
Sent: Thursday, September 07, 2006 8:34 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Flv's playing in a projector from usb drive

try the drive letter

On 9/7/06, Kent Haynes <[EMAIL PROTECTED]> wrote:
  
Okay we're accessing them with relative paths.  The exe is located at 
the base of the directory and the flv's are in


"\english\flv\myFlv.flv"
  

So I'm doing FLVPlayback.contenPath = "\english\flv\myFlv.flv"

Do I need to have the drive letter in there as well?


I just tried changing the publish settings to the access network only 
and it didn't do anything.


Thanks
-kent


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John 
Grden

Sent: Thursday, September 07, 2006 8:13 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Flv's playing in a projector from usb drive

also, try setting your publish settings for Flash 8 to "access network



  

only"
and see if that helps, after you get the drive letter thing worked


out.
  

On 9/7/06, John Grden <[EMAIL PROTECTED]> wrote:


If you use a UNC url you can't load/play FLV's - it won't work.

you have to have a drive letter mapped.  I assume, though, that your
  


  

USB has a drive letter - yes?

bad:  \\serverName\folder\myfile.flv

good:  J:\folder\myfile.flv


On 9/7/06, Kent Haynes <[EMAIL PROTECTED]> wrote:
  

I just gave that a shot and no luck.

Thanks for the idea though...

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of 
Guy McLoughlin

Sent: Wednesday, September 06, 2006 7:08 PM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Flv's playing in a projector from usb 
drive



Have you tried shortening the file name to something DOS


compatable?
  

( 8 characters + extension )

   i.e. Classrom.flv


- Guy

At 06:20 PM 06/09/2006, Kent Haynes wrote:


It's not huge  3.9 MB.

But we've just discovered some more info.  It's definitely 
related to the FAT32 file system.  We formatted two partitions on
  


  

the drive
  
one NTFS and another FAT32 and sure enough the NTFS plays fine

FAT32 doesn't play.  So I was looking for weird characters in the
  

path.

Nothing out of the ordinary. Path + name = 
english/flv/Classroom.flv  I
  


also tried english\flv\Classroom.flv to no avail.

None of our package structures are deep at all.
  

--
Guy McLoughlin
New Media Developer
Toronto Ontario Canada
E: [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


--
This message has been scanned for viruses and dangerous content by



  

MailScanner, and is believed to be clean.

___
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





--
[  JPG  ]

  


--
[  JPG  ]
___
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 message has been scanned for viruses and dangerous content by 
MailScanner, and is believed to be clean.


___
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







  



--
===

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EM

Re: [Flashcoders] Creating a text file on server and emailing attachment

2006-08-30 Thread Éric Thibault

Take a look at http://codewalkers.com/getcode.php?id=231

but not tested!

A+

Paul Steven a écrit :

I am hoping some kind person will help me figure this one out.

Making a little app to design t-shirts online and want to allow the user to
send the design data to the client via a text file that the client can then
load in at their end.

I have got the code working to create a text file on my server with the
correct data. I just cannot figure out how to get the PHP to attach this
file.

So say the text file is called "design1.txt" and is located in the same
folder on my server as the flash movie.

It is the following code I believe is not working correctly


Code:


$newfile = $_POST['filename'];
$fileatt = $_POST['filename']; // Path to the file 
$fileatt_type = "application/octet-stream"; // File Type 
$fileatt_name = $_POST['filename']; // Filename that will be used for the

file


I have even tried hard coding the filename variables as follows.


Code:


$fileatt = "http://www.mediakitchen.co.uk/clients/davehann/order11.txt";;
$fileatt_type = "application/octet-stream"; // File Type 
$fileatt_name = "order11.txt";




I am really struggling to solve this so would appreciate any help. The email
is getting sent ok and the text file is being created on the server but no
attachment is being sent with the email.

Thanks

Paul

___
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

  



--
===

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===

Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia de 
confidencialidad <http://www.rec.ulaval.ca/lce/securite/confidentialite.htm>

___
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 color shift

2006-07-20 Thread Éric Thibault

Import your psd!  You can keep your layers too.

A+

Geoffrey Holland a écrit :

Probably saving out of photoshop in CMYK, need RGB, CMYK will look right in
ps, but changes colors bringing into the RGB Flash world.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of i_bang
Sent: Thursday, July 20, 2006 9:03 AM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] flash color shift

hi!
anyone know how can i keep the quality of a image with a photoshop 
profile in flash? now when i import the jpg file into flash the color 
of the image changes a lot, it´s more lighter than the original,

what can i do??

thanks a lot!!


___
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

  



--
===

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===

Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia de 
confidencialidad <http://www.rec.ulaval.ca/lce/securite/confidentialite.htm>

___
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 issue: Downloading just stops without reason!

2006-07-17 Thread Éric Thibault
I've visited your site last week (or two) and it worked like a charm!  
But now, it just stops loading...


Have you done any modifications in the loading sequence since then?

Good luck!

Éric.

Marcelo de Moraes Serpa a écrit :
Hi Keith.  Have you looked at the site? Did it load ok for you? 
Actually I´m

using PixLib´s LibStack to load the SWF´s sequentially. Maybe there´s
something that I missed up in the code (two assets loading at the same 
time)

but I don´t think so. I don´t know how LibStack´s implements it though...
has anyone ever had similar problem?

Thanks again,

Marcelo.

On 7/16/06, keith <[EMAIL PROTECTED]> wrote:


You probably have better luck by making each item load sequentially
after one finishes when flash is loading them in web-browser.
Is there some HTTP limit on the total number of items and kb size a
person can load through HTTP at a time anyone?
I had this same problem before and I fixed it by waiting for each asset
to load before starting to load another asset.

--Keith H --



Marcelo de Moraes Serpa wrote:
> I´m having a really serious issue with my flash website. I´m using
pixlib
> LibStack to load several library SWF´s at the initial preloader. The
> problem
> is that sometimes the loading just stops without any apparent reason.
> Many
> of users are complaining about that and I don´t know what could be
> causing
> it as on my tests locally, the preloading works 100%. What could be
> happening!?
>
> Here´s the url to the site: www.chapeco-online.com.br
>
> Any hints on what could be happening would be greatly appreaciated...
>
> Marcelo.
> ___
> 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




--
===

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===

Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia de 
confidencialidad <http://www.rec.ulaval.ca/lce/securite/confidentialite.htm>

___
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] Resize External .Swf File Based on Stage?

2006-06-26 Thread Éric Thibault

There is no way to know the stage size of an imported SWF.

The loading parent only knows the size of the loaded SWF from the 
elements present on frame 1.  You could however place an invisible 
element the size of it's stage inside the loaded SWF... (I've used that 
trick before!)  Or use variables with the height and width on the first 
frame of your loaded SWF


A+

Brandon Krakowsky/MTC a écrit :
I'm having an issue resizing externally loaded .swf files.  It's no 
problem if the content of the external .swf is contained within the 
movie's stage, but if not, how can I resize it based on it's width or 
height?  Especially if the content is animated and the height/width is 
constantly changing?  It doesn't seem like you can get the "stage" size of 
an externally loaded .swf.


Thanks,
Brandon
___
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

  



--
===

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===

Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia de 
confidencialidad <http://www.rec.ulaval.ca/lce/securite/confidentialite.htm>

___
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] Command line compile

2006-06-14 Thread Éric Thibault
Do your command line from a .bat wrapped with a SU command (substitut 
user with the password).  I don't have an example with me but will try 
to get one from home.  I've used that trick a lot but it was over 6 
years ago.


A+

Sam Thorne a écrit :

Hi List,

I'm working on a project where we're looking at switching to nightly builds for 
the development process, building on MS Windows.

At the moment a cron job attempts to run the compile and gets stuck on our 
Flash compilation.
This is probably because the build machine isn't running as a logged in user, 
but as a system process. This means when Flash tries to throw up a splash 
screen etc. it is probably falling over.
We can't run it as a logged in user (and thus get the windowing environment), 
as it breaches company security to have a dummy user logged in all the time and 
the machine will auto logout after a couple of minutes.

We can't use mtasc, because of issues with using an unsupported compiler for 
production code.

Is there any way to do a command line compile with pure actionscript 2.0 .as 
and .fla based source files without a windowing environment?
Is this something that Flex can do for us, or would we have to rewrite into 
mxml?


Regards,

Sam Thorne
Interaction Design

Web: http://www.native.com/
Tel: +44 (0)207 588 7970
Fax: +44 (0)207 588 7971


___
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

  



--
===

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===

Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia de 
confidencialidad <http://www.rec.ulaval.ca/lce/securite/confidentialite.htm>

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

2006-06-13 Thread Éric Thibault
I then suppose that it is a new feature in player 8 like said on 
kaourantin.net


(even if it is listed as a feature of player 7 in the doc. and on 
other web sites)


A+

Éric Thibault a écrit :

Hello all!

Is there a way to know that a seek command has reach the desired 
position in the stream when publishing for Flash 7 AS2?


The only response I get from the stream is : NetStream.Buffer.Full.  
The NetStream.Seek.Notify does not work local or online?!?!  I can 
make it work if I publish for player 8.


I've used this code to debug but it's the same result :

netStream_ns.onStatus = function (infoObject) {
   //trace("NetStream.onStatus called: ("+getTimer()+" ms)");
 for (var prop in infoObject) {
   MonTexte = MonTexte + "\t"+prop+":\t"+infoObject[prop];
   }
   texte.text = MonTexte;
}

I would like to display some infos/mc after a seek command.  In the 
doc it says it works for ActionScript 1.0; Flash Player 6...


A+




--
=======

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===

Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia de 
confidencialidad <http://www.rec.ulaval.ca/lce/securite/confidentialite.htm>

___
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] video object

2006-06-13 Thread Éric Thibault

Hello all!

Is there a way to know that a seek command has reach the desired 
position in the stream when publishing for Flash 7 AS2?


The only response I get from the stream is : NetStream.Buffer.Full.  The 
NetStream.Seek.Notify does not work local or online?!?!  I can make it 
work if I publish for player 8.


I've used this code to debug but it's the same result :

netStream_ns.onStatus = function (infoObject) {
   //trace("NetStream.onStatus called: ("+getTimer()+" ms)");
  
   for (var prop in infoObject) {

   MonTexte = MonTexte + "\t"+prop+":\t"+infoObject[prop];
   }
   texte.text = MonTexte;
}

I would like to display some infos/mc after a seek command.  In the doc 
it says it works for ActionScript 1.0; Flash Player 6...


A+

--
=======

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===

Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia de 
confidencialidad <http://www.rec.ulaval.ca/lce/securite/confidentialite.htm>

___
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] Disable all buttons

2006-05-26 Thread Éric Thibault

I'll look at all your answers for what is best for that particular project!

Thanks all!

Have a great weekend

A+ 8-)

Sönke Rohde a écrit :

Hi,

Did you try
Button.prototype.enabled = false; 
MovieClip.prototype.enabled = false; 


Cheers,
Sönke

  

-Original Message-
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf 
Of Éric Thibault

Sent: Friday, May 26, 2006 4:38 PM
To: Flashcoders mailing list
Subject: [Flashcoders] Disable all buttons

Hi all

Is there a rapid way to disable all the buttons present in my 
movie at 
once or do I have to iterate through them all?


like Button.enabled = false;

A+

:-)

--
===

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===

Avis relatif à la confidentialité / Notice of Confidentiality 
/ Advertencia de confidencialidad 
<http://www.rec.ulaval.ca/lce/securite/confidentialite.htm>


___
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

  



--
===

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===

Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia de 
confidencialidad <http://www.rec.ulaval.ca/lce/securite/confidentialite.htm>

___
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] Disable all buttons

2006-05-26 Thread Éric Thibault

Hi all

Is there a rapid way to disable all the buttons present in my movie at 
once or do I have to iterate through them all?


like Button.enabled = false;

A+

:-)

--
===

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===

Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia de 
confidencialidad <http://www.rec.ulaval.ca/lce/securite/confidentialite.htm>

___
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 an Embedded SWF

2006-05-25 Thread Éric Thibault
What number do you get if you trace the total number of frames that your 
SWF (A) contains ?


Maybe it's a path issue  :-\

A+

Loren R. Elks a écrit :

Hi:

I have a SWF (SWF A) that I'm loading into a movieclip (Movieclip
C)which is part of another SWF (SWF B).  Basically, SWF B functions as a
player, with play and pause controls.  These controls control Movieclip
C where the external SWF A is loaded into.

Normally, I have had no problem with this and it always works.  At run
time, when you click the pause button on SWF B, a stop() command is
issued to Movieclip C, which stops the play of the external movieclip
(SWF A) loaded into it.

However, I did a screen capture with Captivate and published it as a
SWF.  I loaded this SWF (SWF A) into Movieclip C in SWF B at run time.
However, clicking the controls on SWF I created has NO EFFECT on the SWF
I created in Captivate.  It just keeps playing.

I guess all SWFs are NOT created equal.  How can I make this work?



Loren
 "The only real mistake is the one from which we learn nothing." - John
Powell

___
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

  



--
===

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===

Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia de 
confidencialidad <http://www.rec.ulaval.ca/lce/securite/confidentialite.htm>

___
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] PHP :: Dimensions of a SWF file?

2006-05-25 Thread Éric Thibault

SUPER!

Thanks!

8-)

Steve Webster a écrit :

Hi Eric,

Is there a way to know via PHP the dimensions (height & width) of a 
SWF file?  I need this information to construct an html interface 
with all kinds of SWF loaded via UFO script!


The built-in getimagesize() function supports SWF files:

http://uk.php.net/getimagesize

Enjoy!

--Steve Webster
Head of Development

Featurecreep Ltd.
http://www.featurecreep.com
14 Orchard Street, Bristol, BS1 5EH
0117 905 5047


___
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




--
===

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===

Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia de 
confidencialidad <http://www.rec.ulaval.ca/lce/securite/confidentialite.htm>

___
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] PHP :: Dimensions of a SWF file?

2006-05-25 Thread Éric Thibault
Thanks!  That ASP class reads the header of the SWF file. Is this header 
the same between flash versions and stable for a while ;-)


A+

Ashwan Wadhwa a écrit :

This is in ASP, but you could find alternative commands in PHP:

http://www.4guysfromrolla.com/webtech/tips/t102001-1.shtml

Ashwan.


 


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Éric Thibault
Sent: Thursday, May 25, 2006 9:42 AM
To: Flashcoders mailing list
Subject: [Flashcoders] PHP :: Dimensions of a SWF file?

Hello all!

Is there a way to know via PHP the dimensions (height & width) of a SWF file?  
I need this information to construct an html interface with all kinds of SWF loaded 
via UFO script!

Thanks a million!

--
===

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement Université Laval, pavillon 
Félix-Antoine Savard Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===

Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia de 
confidencialidad <http://www.rec.ulaval.ca/lce/securite/confidentialite.htm>

___
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

  



--
===

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===

Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia de 
confidencialidad <http://www.rec.ulaval.ca/lce/securite/confidentialite.htm>

___
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] PHP :: Dimensions of a SWF file?

2006-05-25 Thread Éric Thibault

Hello all!

Is there a way to know via PHP the dimensions (height & width) of a SWF 
file?  I need this information to construct an html interface with all 
kinds of SWF loaded via UFO script!


Thanks a million!

--
===

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===

Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia de 
confidencialidad <http://www.rec.ulaval.ca/lce/securite/confidentialite.htm>

___
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] Fitting squares into an area

2006-05-09 Thread Éric Thibault
I've shown the resulting SWF to our graphist and she's thinking where to 
implement this in our projects and the transitions/rollover/onclick 
events ... totaly inspiring!


Thanks all!

--
=======

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===

Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia de 
confidencialidad <http://www.rec.ulaval.ca/lce/securite/confidentialite.htm>

___
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] automatic datagrid?

2006-05-05 Thread Éric Thibault
Is there a way to select without any user interaction the first line of 
data inside a datagrid component and thus trigger the change event 
(highlight, code on change event,...)?


Like the selectedNode of the tree component...

Thanks a million

--
===

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===

Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia de 
confidencialidad <http://www.rec.ulaval.ca/lce/securite/confidentialite.htm>

___
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] SWF, IFrame and z-order

2006-05-04 Thread Éric Thibault

I am using the wmode and I have no more problems...

The only thing is that the application that I'm working on wrote the url 
of the SWF, jpeg, pdf directly to the source of the iframe! I had to 
patch in with an actual html content, if I'm dealing with a SWF, with 
the wmode added to it!


Thanks.

John Dowdell a écrit :

Éric Thibault wrote:

... the flash inside the iframe is always on top


The answer, as Geoff noted, is WMODE... searching on this term will 
describe how some-but-not-all browsers accept a parameter in the 
OBJECT/EMBED tags to pipe plugin content to the browser's offscreen 
compositing buffer rather than directly to screen, enabling effects 
such as HTML overlays and background-transparent plugins.


(NB: I do not know of any documentation from browser-makers or 
open-source on how well the various browsers implement this... there 
have been problems in some browsers with upside-down printing or other 
oddities when this ability is toggled... testing your work in the 
range of your audience's browsers is definitely recommended when 
dealing with browser-dependent features.)


jd








--
===

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===

Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia de 
confidencialidad <http://www.rec.ulaval.ca/lce/securite/confidentialite.htm>

___
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] SWF, IFrame and z-order

2006-05-03 Thread Éric Thibault

I have only one thing to say fabulous

Thanks a million times

:-)

Geoff Stearns a écrit :

try setting the wmode pararmeter on the swf file to 'opaque'

that might work.


On May 3, 2006, at 12:01 PM, Éric Thibault wrote:


I all!!!

Here is my little problem : I have an html page that contains, on the 
left side a list of SWF files and on the right side an iframe to play 
those SWF.  When I click a file on the left, it plays inside the 
iframe just fine... My client wants to see some informations inside a 
box on top of the page (centered so that a portion of the list and 
iframe gets blocked).  I can give any z-index number to that info box 
and the iframe, the flash inside the iframe is always on top If I 
change the flash for a jpg or text, my info box is on top of everything!


Is there a known issue when using SWF inside iframe and z-indez.. 
:'(


I cannot change the source code of that page (I have to keep the 
iframe and it is used by other projects) but I can manage to include 
modifications


Thanks a million!

--===

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===

Avis relatif à la confidentialité / Notice of Confidentiality / 
Advertencia de confidencialidad 
<http://www.rec.ulaval.ca/lce/securite/confidentialite.htm>


___
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




--
=======

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===

Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia de 
confidencialidad <http://www.rec.ulaval.ca/lce/securite/confidentialite.htm>

___
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] SWF, IFrame and z-order

2006-05-03 Thread Éric Thibault

I all!!!

Here is my little problem : I have an html page that contains, on the 
left side a list of SWF files and on the right side an iframe to play 
those SWF.  When I click a file on the left, it plays inside the iframe 
just fine... My client wants to see some informations inside a box on 
top of the page (centered so that a portion of the list and iframe gets 
blocked).  I can give any z-index number to that info box and the 
iframe, the flash inside the iframe is always on top If I change the 
flash for a jpg or text, my info box is on top of everything!


Is there a known issue when using SWF inside iframe and z-indez.. :'(

I cannot change the source code of that page (I have to keep the iframe 
and it is used by other projects) but I can manage to include 
modifications


Thanks a million!

--
===

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===

Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia de 
confidencialidad <http://www.rec.ulaval.ca/lce/securite/confidentialite.htm>

___
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] MP3 Streaming Player check

2006-05-02 Thread Éric Thibault

Error onload :

line : 1503
car : 2
error : g365CurVer undefined
Code: 0
URL .../sosdradio/index.html

Runs OK on both Firefox (1.5.0.2) and IE (6.0.29 SP2) on my XP pro with 
all the patches.


The music stats then stops then restats again...

A+

Jonathan Berry a écrit :

Hello all,
I wondered if some of you could check on a radio player I created for 
one of
our sites. It uses live365 and we chose Flash because of the 
cross-browser
compatibility. It streams from my computer, my home computers, and a 
lot of

other people's computers that we have tested, but for a few only does it
not. I am just looking for streaming problems across a wider sweep of the
possible user base.
http://www.amplifysd.com - if you had the time perhaps some of you could
check in both browsers as well. Thanks in advance.

--
Jonathan Berry, M.A.
IT Consultant
619.306.1712(m)
[EMAIL PROTECTED]
www.mindarc.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




--
===

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===

Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia de 
confidencialidad <http://www.rec.ulaval.ca/lce/securite/confidentialite.htm>

___
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] printJob and printAsBitmap

2006-05-02 Thread Éric Thibault
I had an error with the scope of my mc_print.  The printjob worked OK 
(the printer was printing fine) with both printAsBitmap but with the 
settings to vector instead of bitmap, the function took the parent mc 
(_root) and made it invisible! I've search for about half an hour before 
noticing it!


I'm working with a 1 year old project and I have to patch code and add 
functionalities to a crowded interface and clogged AS...


Tom Lee a écrit :

Do you still need help with the issue, or did you figure it out?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Éric
Thibault
Sent: Tuesday, May 02, 2006 1:51 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] printJob and printAsBitmap

Never mind... I think it's going to be a long long week...

  



--
===

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===

Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia de 
confidencialidad <http://www.rec.ulaval.ca/lce/securite/confidentialite.htm>

___
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] printJob and printAsBitmap

2006-05-02 Thread Éric Thibault

Never mind... I think it's going to be a long long week...

--
===

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===

Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia de 
confidencialidad <http://www.rec.ulaval.ca/lce/securite/confidentialite.htm>

___
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] printJob and printAsBitmap

2006-05-02 Thread Éric Thibault


Hi all...

I'm adding a simple "printsomeinfo" page to my project but something 
strange is happening!


The printout will be of pure text with no images so I'm setting the 
printAsBitmap to false... but the content of my SWF (all of it including 
loaded clips) just dissapeares once the print dialog is gone...   If I 
set it to true, everything is OK!?!  My mc_print that I want to print is 
not visible on the stage (x = -1000).


The thing is the printing looks better in vector based than as a bitmap!

I've used printJob a while ago with no problems (I was always printing 
as bitmap because of images).


I'm using Flash 8 but publishing in player 7

MyPrintJob.addPage("mc_print",{xMin:0, xMax:980, yMin:0, 
yMax:1500},{printAsBitmap:false},1);


Thanks!

--
===

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===

Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia de 
confidencialidad <http://www.rec.ulaval.ca/lce/securite/confidentialite.htm>

___
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] images not loading on japanese site

2006-04-19 Thread Éric Thibault
I don't know if this is relevent but I get this error with FireFox when 
choosing "français"


Erreur : missing } in XML expression
Fichier source : http://steve.buzznet.com/user/syndflash/?LANG=fr
Ligne : 14, Colonne : 57
Code source :
   djConfig = {parseWidgets: 
</tt><tt>false};


A+

Rich Rodecker a écrit :

check out these two urls:

http://steve.buzznet.com/user/syndflash/  - US site (works)
http://steve.buzznet.jp/user/syndflash/  - Japanese Site (doesn't work)

the sites are pulling in an rss feed,

http://steve.buzznet.com/user/rss10.xml
http://steve.buzznet.jp/user/rss10.xml


I added the domain to the System.security.allowDomain() list but it
didn't seem to help it.  The cross domain file is allowing all
domains.

Here's wat i have for the system.security call:
System.security.allowDomain("img.buzznet.com", "*.buzznet.com",
"buzznet.com","*.buzznet.jp","buzznet.jp");

im not actually compiling the swfs and uplaoding on this one, so im
not getting a chance to really see whats going on, but so far it looks
like the rss feed is not being read in on the japanese site.  anyone
know why this would be, if both domains are set up exctly the same?
___
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

  



--
===

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===

Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia de 
confidencialidad <http://www.rec.ulaval.ca/lce/securite/confidentialite.htm>

___
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 for none-flash users

2006-04-18 Thread Éric Thibault
I must produce a fla file that will be modified directly by people 
unfamiliar with Flash!


I'm preparing components to be manipulated easily and want to produce, 
inside the component's property panel a list of all the items inside the 
library that has a linkaged ID... Is that possible?


Thanks!

--
=======

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===

Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia de 
confidencialidad <http://www.rec.ulaval.ca/lce/securite/confidentialite.htm>

___
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] Making a cd for Pc and Mac(Zinc-Director-SWFStudio- .NET)

2006-04-13 Thread Éric Thibault

Did you know that INM is making a V12 database for Flash...

It's a Director movie that lunches your Flash App and from Flash you can 
talk to the V12 database via Director...


here : http://www.inm.com/products/v12flash/


Steven Sacks a écrit :

Well, mProjector is able to communicate to COM objects on PC and I'm
pretty sure there's a Mac equivalent.  But, it would probably take some
work to figure out how to make it work well.  Director w/V12 might be
your only choice unless you want to code your own DB, so to speak.

What you might be able to do is launch an invisible Director movie
(offscreen) with a swf running in it that you would communicate with
from your main Flash app using LocalConnection for your db purposes.

-Steven 



  

-Original Message-
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf 
Of Lieven Cardoen

Sent: Thursday, April 13, 2006 8:01 AM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Making a cd for Pc and 
Mac(Zinc-Director-SWFStudio- .NET)


I mean reading and writing to a database that runs (running 
is maybe not the right word) on Mac and Pc. Like V12 in 
Director or Access by Zinc(only Pc, not Mac).


lieven cardoen

indiegroup
interactive digital experience
engelse wandeling 2 k18
b8500 kortrijk
T +32 (0)56/361 197
// communicatie bij voorkeur op [EMAIL PROTECTED]


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf 
Of Steven Sacks

Sent: donderdag 13 april 2006 10:52
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] Making a cd for Pc and Mac
(Zinc-Director-SWFStudio- .NET)

What do you mean by "support a cross platform database"?
 



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On 
  
Behalf Of Lieven 


Cardoen
Sent: Wednesday, April 12, 2006 11:54 PM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Making a cd for Pc and Mac 
(Zinc-Director-SWFStudio - .NET)


I've looked into mProjector and it doesn't seem to support a 
crossplatform database... of am I wrong?


lieven cardoen
  

___
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 e-mail is intended only for the named person or entity to which
it is addressed and contains valuable business information that is 
privileged, confidential and/or otherwise protected from disclosure. 
Dissemination, distribution or copying of this e-mail or the 
information herein by anyone other than the intended recipient, or 
an employee or agent responsible for delivering the message to the 
intended recipient, is strictly prohibited. All contents are the 
copyright property of Agency.com Ltd., its affiliates or a client of 
such agencies. If you are not the intended recipient, you are 
nevertheless bound to respect the worldwide legal rights of 
Agency.com, its affiliates and its clients. We require that 
unintended recipients delete the e-mail and destroy all electronic 
copies in their system, retaining no copies in any media. If you
have received this e-mail in error, please immediately notify us via 
e-mail to [EMAIL PROTECTED] We appreciate your cooperation.


We make no warranties as to the accuracy or completeness of this 
e-mail and accept no liability for its content or use. Any opinions 
expressed in this e-mail are those of the author and do not 
necessarily reflect the opinions of Agency.com or any of its 
affiliates.



___
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

  



--
===

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===

Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia de 
confidencialidad <http://www.rec.ulaval.ca/lce/securite/confidentialite.htm>

_

Re: [Flashcoders] French Characters in dynamic textarea

2006-04-07 Thread Éric Thibault

Save your XML in utf-8 and embed the font inside your dynamic text field.

A+

Wade Arnold wrote:


I have a client that is trying to place french characters in a a dynamic
text box. The text is drawn from XML. The textarea is rendering html text.
Is this just a font issue? Has anyone had this issue before or with other
languages that could point me in the right direction for a resolution.

Thanks;
Wade



___
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

 




--
===

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===

Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia de 
confidencialidad <http://www.rec.ulaval.ca/lce/securite/confidentialite.htm>

___
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] IE Flash plugin bug

2006-04-06 Thread Éric Thibault

It explains all...

Two references from adobe
http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_14157
and from 
http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=4da116d3


"Running regsvr32 on a flash*.ocx file returns the following error: 
DllRegisterServer in flash.ocx failed...
The currently registered control is locked and attempts to register an 
alternate version of the player without unlocking the registered player 
will fail."


Thanks!

:-)

John Dowdell wrote:

I'm not sure of the question, but if it's close to "What can prevent 
plugin-switchers in Microsoft's browser for Windows?", then there was 
a recent change in procedure for such utilities... source links here:

http://weblogs.macromedia.com/jd/archives/2006/03/players_v8024_v.cfm

Is this the same type of issue you're encountering...?

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] IE Flash plugin bug

2006-04-06 Thread Éric Thibault
After 3 installations (via adobe's site) and renaming of the ocx file 
inside the system32/macromed/flash folder... everything is back to 
normal... Even the activeX installation inside the Flash installation 
Folder was not working (unable to register ocx blabla...).


A+

Éric Thibault wrote:


I all!

I've been doing tests with detection of Flash plugin and the UFO 
integration kit.  Everything worked just fine with both IE and FireFox!


To go back to previous Flash versions, I used the 
FlashpluginSwitcher... but now my IE still play Flash movies but when 
I try to detect the presence and version of that plugin, it return 0, 
as no plugin was installed thus the UFO integration kit just tells me 
to install or upgrade my plogin I have 8.0.24 installed (right 
click on a Flash movie...)


Can someone point me in the right direction... I still need that &*?% 
IE browser!


Thanks a million.

Éric
___
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] IE Flash plugin bug

2006-04-06 Thread Éric Thibault

I all!

I've been doing tests with detection of Flash plugin and the UFO 
integration kit.  Everything worked just fine with both IE and FireFox!


To go back to previous Flash versions, I used the FlashpluginSwitcher... 
but now my IE still play Flash movies but when I try to detect the 
presence and version of that plugin, it return 0, as no plugin was 
installed thus the UFO integration kit just tells me to install or 
upgrade my plogin I have 8.0.24 installed (right click on a Flash 
movie...)


Can someone point me in the right direction... I still need that &*?% IE 
browser!


Thanks a million.

Éric
___
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] relative path issue

2006-04-06 Thread Éric Thibault

OUPS...

Change this line : MyXML.load(AppendPathFolder+ "/child.xml");

to this : MyXML.load(AppendPathFolder+ "child.xml");

and put the "/" inside the parent's PathToFolderXML variable!

Éric Thibault wrote:

I think he says that when testing the child.swf there is no error but 
when loaded inside the parent SWF the error shows...


The only way I manage to come over this is to test inside the 
child.swf if it is embeded inside another swf... if so, I modify my 
path to the xml.


You can also put inside the parent SWF a variable telling where is the 
XML folder... and if the child.swf can read that "parent" variable 
than set the path accordingly.


//if you have _lockroot inside your child.swf... check the synthaxe 
before use ;-) ...


var AppendPathFolder:String = "";

if(_root._parent.PathToFolderXML != undefined)
   AppendPathFolder = _root._parent.PathToFolderXML;

MyXML.load(AppendPathFolder+ "/child.xml");

A+

Éric.

Manuel Saint-Victor wrote:


did you try the path "./dirB/child.xml"?


On 4/6/06, elr <[EMAIL PROTECTED]> wrote:
 


Hi all,

As many before me, I can't get rid of a "Error opening URL "file:"
message...
I set up a small swf that locally access to an xml file ( these two
files are in the same dirB)

Now using a loadMovie command,I try to load this small swf module
into a main one that is located in a parent dirA
//dirA/main.swf
//dirA/dirB/child.swf
//dirA/dirB/child.xml


I don't want any absolute path into child.swf  neither to relocate
child.xml into dirA.
Is there a clean (easy?) way to make child module recover access to its
xml ?

Thank you !

Eric

___
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] relative path issue

2006-04-06 Thread Éric Thibault
I think he says that when testing the child.swf there is no error but 
when loaded inside the parent SWF the error shows...


The only way I manage to come over this is to test inside the child.swf 
if it is embeded inside another swf... if so, I modify my path to the xml.


You can also put inside the parent SWF a variable telling where is the 
XML folder... and if the child.swf can read that "parent" variable than 
set the path accordingly.


//if you have _lockroot inside your child.swf... check the synthaxe 
before use ;-) ...


var AppendPathFolder:String = "";

if(_root._parent.PathToFolderXML != undefined)
   AppendPathFolder = _root._parent.PathToFolderXML;

MyXML.load(AppendPathFolder+ "/child.xml");

A+

Éric.

Manuel Saint-Victor wrote:


did you try the path "./dirB/child.xml"?


On 4/6/06, elr <[EMAIL PROTECTED]> wrote:
 


Hi all,

As many before me, I can't get rid of a "Error opening URL "file:"
message...
I set up a small swf that locally access to an xml file ( these two
files are in the same dirB)

Now using a loadMovie command,I try to load this small swf module
into a main one that is located in a parent dirA
//dirA/main.swf
//dirA/dirB/child.swf
//dirA/dirB/child.xml


I don't want any absolute path into child.swf  neither to relocate
child.xml into dirA.
Is there a clean (easy?) way to make child module recover access to its
xml ?

Thank you !

Eric

___
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 Éric Thibault
eaf.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




--
===

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===

Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia de 
confidencialidad <http://www.rec.ulaval.ca/lce/securite/confidentialite.htm>

___
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 in HTML and the Object Embed tags ...

2006-04-04 Thread Éric Thibault

It would be helpfull to see the actual html page...

:-)

A+

Stephen Ford wrote:


Can anyone tell my why the following icon/image appears momentarilyin the top 
left of my browser screen when visiting my website: (click link to see 
image)http://i56.photobucket.com/albums/g194/CarlosBrems/image.gif Is this 
something to do with the OBJECT tag or EMBED tag that Ihave accidentally broken 
within my HTML page?? It only appears for a second before the page loads 
normally. Thanks,Stephen.___
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

 




--
===

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===

Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia de 
confidencialidad <http://www.rec.ulaval.ca/lce/securite/confidentialite.htm>

___
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] IE vulnerability

2006-03-24 Thread Éric Thibault

I'll try those today...

Thanks

8-)

Michael Stuhr wrote:


Éric Thibault schrieb:

Yes I know but now with IE we have to activate every flash and QT on 
a site by clicking on it  + a pupup to activate script (JS)...


A lot for commun users!

Is the workaround to write the Flash object inside an HTML page on an 
onload JS fonction working fine to eliminate the "click to activate" 
« bug » ?




yes, it's well (at least should be) known to workaround that behav.

look here ma:

<http://www.bobbyvandersluis.com/ufo/>

or here:

<http://osflash.org/flashobject>

micha

___
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] IE vulnerability

2006-03-24 Thread Éric Thibault
Yes I know but now with IE we have to activate every flash and QT on a 
site by clicking on it  + a pupup to activate script (JS)...


A lot for commun users!

Is the workaround to write the Flash object inside an HTML page on an 
onload JS fonction working fine to eliminate the "click to activate" « 
bug » ?


A+

Michael Stuhr wrote:


Scott Fanetti schrieb:

You could always just tell that the IE is a buggy and insecure 
browser - and that in order to use your application, active scripting 
must be enabled.  If your client balks then tell them IE is 
vulnerable with any web technology - it is just a piece of crap 
application.   Explain to your client that you could just as easily 
create a signed java applet that would load a virus through JNI that 
could do anything it wants to a user's PC.  It is up to users to be 
vigilant and aware of the vulnerabilities in their applications.  For 
trusted sites, users should allow active scripting.  For sketchy 
sites, users shouldn't.


In any case, you as a developer should let users know that active 
scripting is required to run your site in the same way that you would 
let them know that Flash or javascript must be enabled - or develop 
without any Flash or javascript calls to the browser.  You cannot be 
expected to seamlessly handle every moron user's ignorance about 'dat 
innernet thing'.   There is only so much a developer can do to coddle 
users before they have to take responsibility for their online activity.



if you work with administrative Rights. If you're logged in as a user 
with restricted rights it's much less harmful. not that i'm an IE user 
at all. but it's somehow related to the underlying system.


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




--
===

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===

Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia de 
confidencialidad <http://www.rec.ulaval.ca/lce/securite/confidentialite.htm>

___
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] IE vulnerability

2006-03-24 Thread Éric Thibault
How are we going to explain to our clients the new alert box poping up 
when you talk to a function on the HTML page from Flash


Read this : http://isc.sans.org/diary.php?storyid=1212


:o


--
===

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===

Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia de 
confidencialidad <http://www.rec.ulaval.ca/lce/securite/confidentialite.htm>

___
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] More Text Embedding Woes

2006-03-20 Thread Éric Thibault

For a quick test...

If the TextFormat's font is the link name of a font in the library... 
would it work properly then?


A+

Ian Thomas wrote:


Hi Eric,

Thanks for that - but it doesn't seem to solve my problem. :-)

I can get getTextExtent() _working_ perfectly happily - I just can't
get it to work using the actual metrics of the embedded font, only
(apparently) of the system version of that font. (Or possibly what's
happening is it's using the metrics of the embedded font but isn't
taking antialiasing into account - or something like that.)

If I turn font embedding off then the field lays text out in exactly
the way that getTextExtent() predicts that it should - if I turn font
embedding on, then the text in the field is slightly wider than
getTextExtent thinks it should be.

What it looks like I need to do is to make getTextExtent() use the
embedded version of the font for it's calculations. And that's where
I'm stumped - I'm using getTextFormat() on the field which has the
font embedded in it, but it looks like that isn't getting through to
getTextExtent().

Cheers,
 Ian

On 3/20/06, Éric Thibault <[EMAIL PROTECTED]> wrote:
 


Hi! Here is some code I've used... maybe could help... It was working!

//The last time I used getTextExtent...

var txt_fmt = new TextFormat();
with(txt_fmt) {
   font = "Arial";
   size = 12;
   bold = true;
   color = "0xBEA875";
   }

   var metrics = txt_fmt.getTextExtent("here is my text...");


this.createTextField("dynamicText",10,0,0,metrics.textFieldWidth,metrics.textFieldHeight);
   dynamicText._visible = 0;
   dynamicText.multiline = false;
   dynamicText.wordWrap = false;
   dynamicText.selectable = false;
   dynamicText.text = MonTexte;
   dynamicText.setTextFormat(txt_fmt);

Éric.


   


___
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

 




--
===

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===

Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia de 
confidencialidad <http://www.rec.ulaval.ca/lce/securite/confidentialite.htm>

___
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] More Text Embedding Woes

2006-03-20 Thread Éric Thibault

Hi! Here is some code I've used... maybe could help... It was working!

//The last time I used getTextExtent...

var txt_fmt = new TextFormat();
with(txt_fmt) {
   font = "Arial";
   size = 12;
   bold = true;
   color = "0xBEA875";
   }

   var metrics = txt_fmt.getTextExtent("here is my text...");

   
this.createTextField("dynamicText",10,0,0,metrics.textFieldWidth,metrics.textFieldHeight);

   dynamicText._visible = 0;
   dynamicText.multiline = false;
   dynamicText.wordWrap = false;
   dynamicText.selectable = false;
   dynamicText.text = MonTexte;
   dynamicText.setTextFormat(txt_fmt);

Éric.

Ian Thomas wrote:


Okay, a new text embed issue for me today...

Text embedding is working fine - that's not the problem.

I'm trying to do some getTextExtent() calculations.

The steps I take to do so are:
- Dynamically create a text field and give it some text and an
embedded font. This all works perfectly well.
- retrieve a TextFormat object from the textfield
- do some calculations using getTextExtent() on that TextFormat

Unfortunately, it looks very much like getTextExtent is performing
calculations using the system version of the font, rather than the
embedded version.

A specific example is:
- I calculate the width of a piece of text, making sure it fits
exactly on to two lines. The calculations all look right, but once I
set up the field size to the values returned from getTextExtent(), the
text wraps on to _three_ lines. If I turn _off_ the font embedding on
the field, it all works as expected. This indicates, to me, that
getTextExtent isn't using the embedded font.

Has anyone got any experience of this or any thoughts?

So far, I've tried setting embedFonts=true on my TextFormat object
(undocumented but apparently a hack used by some people to get font
embedding working). Otherwise I'm a bit stumped - I don't really want
to turn off the nice smooth outlines!

Oh, for reference Flash 8, but publishing to FP7.

Ta,
 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

 


___
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] Issue with Masks in externally loaded SWFs?

2006-03-17 Thread Éric Thibault
I'm using mask inside loaded SWF but I have to be carefull of the 
dimention of those loaded SWF because everything inside (and outside 
it's root level) is visible on the loading SWF!


One thing I'm doing now is to mask my loader within my parent SWF and 
load into that external SWF with their own mask.  One of our graphist 
always do external SWF the same size as the parent SWF... thus avoiding 
the masked content to spill out onto the parent SWF.


A+

Matt Muller wrote:


yeah there are issues with this, bit of a nightmare, i ha some animations
running under and i could see masks etc sticking out the mask, weird. Also
this totally screwed my align class, so i had to recode a new one that used
reference points.

MaTT

On 3/17/06, Jeff Fox <[EMAIL PROTECTED]> wrote:
 


Is there any known issue with loading external SWFs that have animations
that require masks? We just tried loading an external SWF that has it's
main
area blocked out by a mask, but when the movie loads and plays, there is
no
mask apparent and all the pieces of images that animate are clearly
visible.
Is there any known issue with this?

-Jeff

--
Jeff Fox
[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

 


___
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] Issue with Masks in externally loaded SWFs?

2006-03-17 Thread Éric Thibault
Are all the paths relative inside the loaded SWF or is there a reference 
to the _root?


Just a quick idea...

A+

Jeff Fox wrote:


Is there any known issue with loading external SWFs that have animations
that require masks? We just tried loading an external SWF that has it's main
area blocked out by a mask, but when the movie loads and plays, there is no
mask apparent and all the pieces of images that animate are clearly visible.
Is there any known issue with this?

-Jeff

--
Jeff Fox
[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


Re: [Flashcoders] percent loaded?

2006-03-16 Thread Éric Thibault
Here is what I use in a preload.as included in frame 1 and the rest of 
the animation on frame 2


<http://132.203.112.156/phpmyadmin27/sql.php?lang=fr-utf-8&server=1&collation_connection=utf8_general_ci&db=b2evolution&table=evo_blogusers&pos=0&session_max_rows=30&disp_direction=horizontal&repeat_cells=100&dontlimitchars=0&sql_query=SELECT+%2AFROM+%60evo_blogusers%60++ORDER+BY+%60bloguser_ismember%60+ASC>/*add 
this line on frame 1:

#include "preloader.as" */

// 
PRELOADER---


//arrête la lecture sur l'image 1
stop();

//trace(Stage.width + " : " + Stage.height);

//fait un mc vide qui contiendra le "preloader"
this.createEmptyMovieClip ("preloader_mc",1);
//pour positionner le preloader à l'endroit désirée
preloader_mc._x = Math.floor(Stage.width / 2) - 100;
preloader_mc._y = Math.floor(Stage.height / 2) - 50;
//les variables
preloader_mc.tBytes = this.getBytesTotal ();
preloader_mc.startX = 0;
preloader_mc.startY = 0;
//le champs texte qui affiche l'info
preloader_mc.createTextField("loader_txt",1,0,-25,200,40);
//formatage du texte
var loadFormat:TextFormat = new TextFormat ();
loadFormat.font="_sans";
//loadFormat.bold=true;
loadFormat.align="center";
loadFormat.color=0xafafaf;
loadFormat.size=10;
preloader_mc.loader_txt.setNewTextFormat(loadFormat);
//rectangle
preloader_mc.createEmptyMovieClip ("rectangle_mc",10);
preloader_mc.rectangle_mc.lineStyle(1,0x00,100);
preloader_mc.rectangle_mc.moveTo(this.startX,this.startY);
preloader_mc.rectangle_mc.lineTo(preloader_mc.startX,preloader_mc.startY+5);
preloader_mc.rectangle_mc.lineTo(preloader_mc.startX+200,preloader_mc.startY+5);
preloader_mc.rectangle_mc.lineTo(preloader_mc.startX+200,preloader_mc.startY);
preloader_mc.rectangle_mc.lineTo(preloader_mc.startX,preloader_mc.startY);

//fonctionnement du preloader
preloader_mc.onEnterFrame= function() {
   this.clear();
   //style pour les lignes
   preloader_mc.lineStyle(1,0x00,100);
   //nb de bytes chargées
   lBytes=_root.getBytesLoaded();
   //variable du %
   var percentLoaded = Math.floor((lBytes/this.tBytes)*100);
   if (lBytes != this.tBytes){
   //texte du champs texte
   //this.loader_txt.text="Chargement "+lBytes+" de 
"+this.tBytes+"\n "+percentLoaded+"%";

   this.loader_txt.text = percentLoaded+"%";
   //remplissage de la forme
   this.beginFill(0x66,100);
   //dessiner le loader
   this.moveTo(this.startX,this.startY);
   this.lineTo(this.startX,this.startY+5);
   this.lineTo(this.startX+(percentLoaded*2),this.startY+5);
   this.lineTo(this.startX+(percentLoaded*2),this.startY);
   this.lineTo(this.startX,this.startY);
   this.endFill
   }else{
   //aller à l'image 2
   _root.play();
   //_root.stop();
   //enlever le preloader
   this.removeMovieClip();
   }
}

But verify what eric dolecki said also!

A+
<http://132.203.112.156/phpmyadmin27/sql.php?lang=fr-utf-8&server=1&collation_connection=utf8_general_ci&db=b2evolution&table=evo_blogusers&pos=0&session_max_rows=30&disp_direction=horizontal&repeat_cells=100&dontlimitchars=0&sql_query=SELECT+%2AFROM+%60evo_blogusers%60++ORDER+BY+%60bloguser_perm_poststatuses%60+ASC>

Edward Hotchkiss wrote:

i guess that my code is being deleted on each enter frame. once it loads completely, the text finally shows up, and then the next frame shows up also. why doesnt this one frame preloader, second frame website preloader work??? this is really bugging me, that i have to put code on a movieclip, and i cant do it 100% AS. 



function preloadMe() {
_root.onEnterFrame = function() {
tBytes = _root.getBytesTotal();
 bLoaded = _root.getBytesLoaded();
 percent = Math.round((bLoaded/tBytes)*100);
 if (bLoaded < tBytes) {
  _root.preloader_mc.preloader_txt.text = "loading site: " + percent;
  gotoAndPlay(1);
 } else {
  _root.preloader_mc.removeMovieClip();
  _root.preloader_mc.preloader_txt.removeTextField();
  gotoAndStop(2)
 };
};
};
// -
drawPreloader();
preloadMe();
___
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

 




--
===

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 po

Re: [Flashcoders] gotoAndPlay?

2006-03-15 Thread Éric Thibault

Try this.

Edward Hotchkiss wrote:


i have my preloader on frame 1. i have my entire site on frame 2. once i finish 
preloading, i need to delete the first frame, and go to the next frame..

the site just loops, any ideas?

// preloader
function preloadMe() {
   // reference to _root
   ref = _root;
ref.onEnterFrame = function() {
tBytes = ref.getBytesTotal();
 bLoaded = ref.getBytesLoaded();
 percent = Math.round((bLoaded/tBytes)*100);
 // keep two places if percent is under 10, ie: 03 
 if (percent < 10) {

  percentTxt = "LOADING SITE: 0" + percent;
 } else {
  percentTxt = "LOADING SITE: " + percent;
 }
 // if this movie is not fully loaded, then display percent loaded
 if (bLoaded < tBytes) {
  ref.preloader_mc.preloader_txt.text = percentTxt;
  




//gotoAndPlay(1)
 




 } else {
 


 gotoAndStop(2);


  //gotoAndPlay(2)
 




 };
};
};
// -
preloadMe();
 



stop();


___
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

 



Eric T.

___
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] onLoadComplete VS onLoadInit

2006-03-14 Thread Éric Thibault

Salutations...


I'm using the onLoadInit event to execute custom fonctions when loading 
external SWF's.  While I was testing my code (IDE), everything was  OK 
and my fonctions firing.  But on testing the same code (SWF 7) with IE 
on my PC with FlashPlayer 8, the onLoadInit event only fires the first 
time a SWF is loaded meaning that if I asked  the same SWF again 
(present in my cach), the event was ignored! (I'm using a dynamic txt on 
_root level to test this).  In FireFox, everything is OK


I've finaly debuged the thing with the onLoadComplete event... IE always 
fires the event even the second time a SWF is loaded!  The Help sais 
that the onLoadInit gets fired when "the actions on the first frame of 
the loaded clip have been executed. When this listener has been invoked, 
you can set properties, use methods, and otherwise interact with the 
loaded movie.". 

I there a way to force the onLoadInit with IE? Or do I need to test the 
navigator and then execute my custom fonctions after the first frame of 
the loaded clip has been executed???


Thank a million!

--
=======

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===

Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia de 
confidencialidad <http://www.rec.ulaval.ca/lce/securite/confidentialite.htm>

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

2006-03-14 Thread Éric Thibault

Is it online now?
Dave Watts wrote:


test

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

 




--
===

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===

Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia de 
confidencialidad <http://www.rec.ulaval.ca/lce/securite/confidentialite.htm>

___
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 connecting to a database - all running on a DVD-ROM

2006-02-24 Thread Éric Thibault

Take a look at this one : http://www.inm.com/products/v12flash/

Sound promissing!

Éric.

nik crosina wrote:


That sounded interesting after reading the first sentence, after the second
I knew we couldn't use it, Clark. Becasue we have to create something that
works out of the box, - no installation required.

I was thinking of the XML version already as well, but sometimes I am
thinking that a db would be the cleaner soplution, and also offer less
chance to mess up the file if it happens to be run from hard disk?

But I only have some experience with databases, not very much with XML.

Thanks for your thoughts! I'll check out SWFStudio nevertheless.

Nik C



On 23/02/06, clark slater <[EMAIL PROTECTED]> wrote:
 


Hi Nik,

Check out SWFStudio, it offers ADO connectivity. Downside is ADO has to be
installed on the machine.

Alternatively check out the Catalog plugin for SWFStudio - offers search
functions through a flat tab delimited file. We used it to do exactly what
you describe for a HUGE floor tile manufacturer's sample CD.

Clark


On 2/23/06, nik crosina <[EMAIL PROTECTED]> wrote:
   


*Flash connecting to a database - all running on a DVD-ROM?
*
Is it possible? I am looking into doing exactly that for a massive
 


trainig
   


programme that needs to access and display a large number of modules in
treeView (Flash Tree component) where each node connects to a record in
the
database that contains information the content (pointer to powerpoint,
video, excel, doc, etc file) as well as subtitles (if the content is a
video)

If that description is too confusing then an answer to my basic question
owuld be fantastic!!

--
Nik C
___
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

   





--
Nik C
___
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] I.E. won't play MP3 (sometimes)

2006-02-23 Thread Éric Thibault

Everything is OK here : WinXP pro sp2 + IE 6.0.2900 sp2

Marc Hoffman wrote:

I'd still appreciate hearing if others with I.E. 6 have trouble with 
this.


Helmut, your findings are interesting, too. If the problem I 
experience is related to your experience, why would I.E. be taking 
longer than other browsers to download? I think they may be unrelated. 
Also, even after the mp3's are in my I.E. 6 cache, the sound still 
won't play. If I type in the mp3 URL directly, it plays in Windows 
MediaPlayer. Then, very rarely, the same sound will successfully play 
in the swf, but usually not. I may try regenerating the MP3 files in 
Audition -- I think I set them for MP3Pro and maybe the standard MP3 
would have more success.


As for download time, I'm on cable connection, so the images appear 
within a second or two. The images average 20 KB. Unfortunately the 
second image is 54 KB, so I should probably reduce it to half the 
size, or have a loading indicator so the user isn't confused by the 
wait. The MP3 files average 9.8KB and none is larger than 15 KB. They 
don't compete for bandwidth, since they are available only after the 
associated image has loaded.


Thanks,
Marc


At 10:08 AM 2/23/2006, you wrote:


> -Original Message-
> [EMAIL PROTECTED] On Behalf Of Helmut Granda
> Sent: Thursday, February 23, 2006 11:51 AM
> To: 'Flashcoders mailing list'
> Subject: RE: [Flashcoders] I.E. won't play MP3 (sometimes)
>
> The name of the bird plays but the arrows don't work on WIN XP IE7. It
> works
> fine in FF.
>
> ...helmut

Hold that thought, it works on WIN XP IE7 the problem is that the images
take too long to load and there is not a built in preloader, so it is 
hard
to know that something is happening in the background, after I sent 
my email

I opened your page again and everything was there and working properly.

...helmut


> > -Original Message-
> > From: [EMAIL PROTECTED] [mailto:flashcoders-
> > [EMAIL PROTECTED] On Behalf Of Marc Hoffman
> > Sent: Thursday, February 23, 2006 11:38 AM
> > To: Flashcoders mailing list
> > Subject: [Flashcoders] I.E. won't play MP3 (sometimes)
> >
> > If you have 10 seconds, please test this so if this problem is only
> > on my laptop.
> >
> > This movie streams short MP3's when the user clicks a button. Works
> > fine in I.E. on 3 of my machines, but on my laptop the MP3 never
> > plays, although it does get loaded into I.E.'s cache.
> >
> > I'd appreciate knowing if any of you get the same results. Go to
> > http://www.dartfrogmedia.com/birdgame. Click on the bird photo and
> > please let me know if you don't hear the bird name announced. Note:
> > the intro sound is NOT streamed, so you'll hear it for sure.
> >
> > thanks,
> > Marc
> >
> >
> > ___
> > 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




--
===

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===

Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia de 
confidencialidad <http://www.rec.ulaval.ca/lce/securite/confidentialite.htm>

___
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] Wrong width and height when using MovieClipLoader?

2006-02-20 Thread Éric Thibault

Actualy, you have the same problem that I had 2 weeks ago...

From Ryan in response to my centering problem of loaded SWF...

-

Ryan Potter wrote:

Eric-

I have run into the same problem before.  the only way I found to force 
a clip to have a certain dimension is to put a graphic in at the size 
you want the clip to be.  I realize that you don't have control over the 
swfs that are being created but I have never been able to solve this 
either.  The width and height of the clip always equate to the width and 
height of the content in the clip.


The Only way I have been able to solve this is to use onLoadInit and set 
vars on the child that state the width and height explicitly.  But this 
requires having access to the fla.


Child Swf in the first frame:
   this.w = 300;
   this.h = 300;

Parent centering function called from the loader.onLoadInit
   
function centerClip(clip){

   var w = clip.w;
   var h = clip.h;
   clip._x = Stage.width/2-(w/2);
   clip._y = Stage.height/2-(h/2);
}

--

Good luck!

lars wrote:


well, the instances can differ because the swfs to be loaded
can be any swf, so i have no chance to prepare each of them.
any other solution to get the real (stage size) dimensions?


Am 20.02.2006 19:47 Uhr schrieb "Éric Thibault" unter
<[EMAIL PROTECTED]>:

 


The dimension of the loaded SWF is the space occupied by instances on
it's first frame... try to place a rectangle at 0:0 with a dimension of
1024 * 768 on frame one in your loaded SWF... Does it do the trick?

A+

Eric Thibault


lars wrote:

   


hi all. i'm trying to load a swf and scale it down to a specific size
before displaying it. i'm using this to do so:

var mclListener:Object = new Object();
mclListener.onLoadInit = function(target_mc:MovieClip) {
  trace("target w:"+target_mc._width);
  trace("target h:"+target_mc._height);
  trace("target ver:" + target_mc.getSWFVersion());
  var newScaleRatio:Number = Math.min( 350/target_mc._width,
250/target_mc._height)*100;
  target_mc._xscale = newScaleRatio;
  target_mc._yscale = newScaleRatio;
};

var image_mcl:MovieClipLoader = new MovieClipLoader();
image_mcl.addListener(mclListener);
image_mcl.loadClip("1024768dummy.swf", _root.holder);

the swf (1024768dummy.swf) has a size of 1024x768 pixel. when i test
my script it returns: 947.7 (width) and 126.95 (height)... what's wrong
with it? i exported the dummy as version 6 swf btw. thanks: lars


___
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

 




--
===

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===

Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia de 
confidencialidad <http://www.rec.ulaval.ca/lce/securite/confidentialite.htm>

___
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] Wrong width and height when using MovieClipLoader?

2006-02-20 Thread Éric Thibault
The dimension of the loaded SWF is the space occupied by instances on 
it's first frame... try to place a rectangle at 0:0 with a dimension of 
1024 * 768 on frame one in your loaded SWF... Does it do the trick?


A+

Eric Thibault


lars wrote:


hi all. i'm trying to load a swf and scale it down to a specific size
before displaying it. i'm using this to do so:

var mclListener:Object = new Object();
mclListener.onLoadInit = function(target_mc:MovieClip) {
   trace("target w:"+target_mc._width);
   trace("target h:"+target_mc._height);
   trace("target ver:" + target_mc.getSWFVersion());
   var newScaleRatio:Number = Math.min( 350/target_mc._width,
250/target_mc._height)*100;
   target_mc._xscale = newScaleRatio;
   target_mc._yscale = newScaleRatio;
};

var image_mcl:MovieClipLoader = new MovieClipLoader();
image_mcl.addListener(mclListener);
image_mcl.loadClip("1024768dummy.swf", _root.holder);

the swf (1024768dummy.swf) has a size of 1024x768 pixel. when i test
my script it returns: 947.7 (width) and 126.95 (height)... what's wrong
with it? i exported the dummy as version 6 swf btw. thanks: lars


___
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 window coming out small on some IE browsers

2006-02-16 Thread Éric Thibault
Is it comming out small after the express install? Or always...  Do the 
15% have administrator prev.?


Just some questions... :-)

A+

Ramon Tayag wrote:


Hey guys,

This is really strange, and is kinda OT coz it's not actionscript
related.  It's more about the Flash Player Detection Kit.

http://test.quirkworks.net/skin/ comes out small only in some IE
browsers (15% of the people i've asked), and I can't seem to figure
out why.

If you see the source code of the site I'm using the detection kit
Macromedia made.

Client is waiting for the fix and.. gah.. I can't seem to find a fix! 
Problem is that it works fine in all the computers here in the office.


If it comes out small (window looks like it shrank), what is ur IE
version and OS?

Thank you,
--
Ramon Miguel M. Tayag
___
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

 




--
=======

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===

Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia de 
confidencialidad <http://www.rec.ulaval.ca/lce/securite/confidentialite.htm>

___
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] Mask not defining mc width && height in imported swf.

2006-02-10 Thread Éric Thibault

Assign a mask from the main SWF on the receiving movieclip

mc_clip_loader.setMask(mc_Mask);//Everything outside the stage's 
demensions of an external SWF is visible inside the receiver SWF...



Matt Muller wrote:


Im building a microsite, that is aligned to the center of the stage. I am
loading in animations that are swfs that are meant to run in the viewable
area in the microsite.
The animation fla's are exported as swfs with a mask, and I am also trying
to setMask in the shell, the animators tweens and shapes that are outside of
the mask
are affecting the size of my shell and when onResize() is called the site
jumps all over the show.

Does anyone have any ideas, bar going into the animations and cleaning up
everything that is outside the mask to get a perfect rectangle bounding box,
surely
there must be a way to do this, I have draw regions on and can see
everything going on outide the mask.

Quick fixes?

Thanks

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

 




--
=======

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===

Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia de 
confidencialidad <http://www.rec.ulaval.ca/lce/securite/confidentialite.htm>

___
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] MovieclipTween120.mxp from http://laco.wz.cz/tween/

2006-02-09 Thread Éric Thibault

http://132.203.112.156/trans/MovieclipTween120.mxp

:-)

quinrou . wrote:


Hi All,

I am trying to get held of the MovieclipTween120.mxp on
http://laco.wz.cz/tween/ but everytime I am trying to download it, it starts
and seems to idle for ages then stops/finishes. Then I try to open up the
file but the extension manager tells me that the invalid. This must because
the download has been completed. Does anyone know where I could get this
wicked tool (custom easing tool)? if any one has it on their machine could
they email it to me?

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

 




--
===

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===

Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia de 
confidencialidad <http://www.rec.ulaval.ca/lce/securite/confidentialite.htm>

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


Re: [Flashcoders] Complex paremeters interface for component

2006-02-08 Thread Éric Thibault

I'll look it up!

Thanks.

These articles talk about Flash MX and Flash MX 2004.  Are they 
applicable also for Flash 8?


A+

Eric.

GregoryN wrote:


I think Custom UI is exactly what you need:
http://www.macromedia.com/devnet/flash/articles/buildtest_comp_07.html
http://www.macromedia.com/devnet/flash/articles/create_components_5.0.html
http://www.flashcomponents.net/tutorials/triangle/triangle.html
http://www.devx.com/webdev/Article/27326/0/page/2

Custom UI is pre-made SWF which communicates with IDE via "xch"
object.

 


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


Re: [Flashcoders] Dynamic width of image...

2006-02-08 Thread Éric Thibault
And if you rescale the emptyclip back  to 100% before loading another 
image...



:-)

Eric.

MJorge wrote:


I know that my approach is working, the prob is that i have a button to load
another image to the clip. That´s when all the problems come...

The width value is not respected anymore. That´s my prob.



On 2/8/06, erixtekila <[EMAIL PROTECTED]> wrote:
 


_xscale and _yscale should be your friends.
Your approach is good btw.

   


I am loading dynamically some images to a emptyClip. The images have
different width anh height values each one. What i wanted is that my
Clip
(or image after loading) had a maximum width of 163

I am using this code at my Clip but it´s not working correctly. Can
anyone
help?

onClipEvent (data) {
   maxWidth = 163;
   if (this._width > maxWidth)
   {
   scaleFactor = maxWidth / this._width;
   this._width = Math.floor (this._width * scaleFactor);
   this._height = Math.floor (this._height * scaleFactor);
   }
}

 


---
erixtekila
http://blog.v-i-a.net/

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

   





--

Mário Jorge
Icq: 164987050
Msn + Mail: [EMAIL PROTECTED]
Web: http://www.beedigital.net
Blog: http://www.beedigital.net/blog
___
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] Complex paremeters interface for component

2006-02-07 Thread Éric Thibault
A quick question after searching the macromedia site for tutorials and 
all


I have to produce a component with lots of parameters and would like to 
regroup them like in this image:


   http://www.horsefish.net/ElementalFX/v2docs/tut2_fig3.gif

How can I make something like that?

Thanks a million.

Éric.

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


Re: [Flashcoders] Finding the swf background colour

2006-02-07 Thread Éric Thibault
It seems the same issue as to get the Stage's dimensions of a loaded SWF 
inside another SWF... the Stage's color is not transfered...


Mike Mountain wrote:


Yeah, the background colour information get's included in the swf -
otherwise it wouldn't appear when  you play the swf back in the flash
player external to the ide. It can be overidden by a param in html.

 


-Original Message-
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf 
Of Adrian Lynch

Sent: 07 February 2006 15:07
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Finding the swf background colour

That's the thing, are you sure it's in the swf? Maybe it's 
just the fla.


Ade

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf 
Of Mike Mountain

Sent: 07 February 2006 14:34
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Finding the swf background colour


Well that's just plain dumb - it should be part of the stage 
object, the info is contained in the swf.


I'm trying to write a double buffering class, the first thing 
it has to do is take a snapshot of the stage to make an 
opaque copy - but it only sees what's on the stage. That 
means I'll have to get peeps to pass in their background 
color to te constructor - not very elegant.


Thanks anyhow

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

 




--
===

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===

Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia de 
confidencialidad <http://www.rec.ulaval.ca/lce/securite/confidentialite.htm>

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


Re: [Flashcoders] LoadClip and centering new content

2006-02-03 Thread Éric Thibault

Thanks erery one for all the solutions and support

I'll put a note in my component that the centering function can 
sometimes produce indesirable results depending on the SWF loaded.  I'll 
strongly suggest to activate my mask option and align top-left to make 
sure everything is OK...


As for my own SWF, i'll go with Ryan's solution.

Thanks again!

Ryan Potter wrote:


Eric-

I have run into the same problem before.  the only way I found to force a clip 
to have a certain dimension is to put a graphic in at the size you want the 
clip to be.  I realize that you don't have control over the swfs that are being 
created but I have never been able to solve this either.  The width and height 
of the clip always equate to the width and height of the content in the clip.

The Only way I have been able to solve this is to use onLoadInit and set vars 
on the child that state the width and height explicitly.  But this requires 
having access to the fla.

Child Swf in the first frame:
this.w = 300;
this.h = 300;

Parent centering function called from the loader.onLoadInit

function centerClip(clip){
var w = clip.w;
var h = clip.h;
clip._x = Stage.width/2-(w/2);
clip._y = Stage.height/2-(h/2);
}



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Éric Thibault
Sent: Friday, February 03, 2006 9:06 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] LoadClip and centering new content

I already do that... but the width and height of the container clip 
takes into account any instances outside the boundary of the loaded 
SWF's stage...
So I'm getting the total with and height but want only the stage 
dimentions of the loaded SWF!


I want to align the loaded SWF'stage in the loading flash

If it was just for me, i would not put anything outside the stage of the 
loaded SWF but I'm not the producer of those swf...


And having the stage dimentions would help because the loaded SWF's 
dimentions only takes into account the instances present on frame 1... 
(mc_square 100*100 at (0,0) on a stage of 300*300 results in a container 
clip of 100*100!)


A+

j.c.wichman wrote:

 


Hi,
If you use something like:
var my_mcl:MovieClipLoader = new MovieClipLoader();

var myListener:Object = new Object();

myListener.onLoadInit = function(target_mc:MovieClip) {
  trace(target_mc._width);
		}; 
		my_mcl.addListener(myListener);

my_mcl.loadClip(, _root.dummy);

It should trace the width of your clip upon load. Is that what you mean?

Greetz
Hans

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Éric
Thibault
Sent: Friday, February 03, 2006 3:11 PM
To: Flashcoders Mailing List
Subject: RE:[Flashcoders] LoadClip and centering new content

Hello again...

My problem is : how to know the stage's dimentions of a loaded SWF to center
it correctly in its container?

Here's my tests on that particular problem

1. Set _lockroot inside the loaded SWF : no effect.
2. Set Stage.scaleMode = |"noScale" : no effect.

|When I execute the loaded SWF independently, the Stage dimentions are
OK but once loaded inside another Flash movie, the Stage's dimentions are
those of the main movie.

I was looking to include a mc with the same dimentions as the stage inside
the loaded SWF but there will be a lot of SWF and not all made by me!

I there a way to retreive this kind of information or is it impossible?

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

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



   



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


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

 



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


Re: [Flashcoders] LoadClip and centering new content

2006-02-03 Thread Éric Thibault

Mmm...

The funiest thing is that if I want to center my loaded SWF that has 
instances outside the loaded SWF'stage, it gets shifted :'(


Is there a way to know the nomber of pixels to the left, top, bottom and 
right of the registration point (0,0) of a container?  I could than 
compensate for the extras of the SWF inside of it...


Say that my container is 200px in width but I know that it has 50px 
extra to the left (-50px), my real width is then 150px??


A+

Nathan Derksen wrote:

Ah yes, that's a fun issue. Unfortunately, once you load an SWF  
inside another, there is no way that I know of to get the original  
published stage size. I would love to be proved wrong, though, but I  
have looked hard for a way to do that as well. All you can really do  
is keep xscale and yscale to 100, and use a fixed size mask so that  
anything outside of the area you have set aside for the clip is  
hidden (in case stuff goes outside the bounds of the stage).


Nathan
http://www.nathanderksen.com


On Feb 3, 2006, at 8:06 AM, Éric Thibault wrote:

I already do that... but the width and height of the container clip  
takes into account any instances outside the boundary of the loaded  
SWF's stage...
So I'm getting the total with and height but want only the stage  
dimentions of the loaded SWF!


I want to align the loaded SWF'stage in the loading flash

If it was just for me, i would not put anything outside the stage  of 
the loaded SWF but I'm not the producer of those swf...


And having the stage dimentions would help because the loaded SWF's  
dimentions only takes into account the instances present on frame  
1... (mc_square 100*100 at (0,0) on a stage of 300*300 results in a  
container clip of 100*100!)


A+

j.c.wichman wrote:


Hi,
If you use something like:
var my_mcl:MovieClipLoader = new MovieClipLoader();
   
var myListener:Object = new Object();


myListener.onLoadInit = function(target_mc:MovieClip) {
  trace(target_mc._width);
}; my_mcl.addListener(myListener);
my_mcl.loadClip(, _root.dummy);

It should trace the width of your clip upon load. Is that what you  
mean?


Greetz
Hans

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Éric
Thibault
Sent: Friday, February 03, 2006 3:11 PM
To: Flashcoders Mailing List
Subject: RE:[Flashcoders] LoadClip and centering new content

Hello again...

My problem is : how to know the stage's dimentions of a loaded SWF  
to center

it correctly in its container?

Here's my tests on that particular problem

1. Set _lockroot inside the loaded SWF : no effect.
2. Set Stage.scaleMode = |"noScale" : no effect.

|When I execute the loaded SWF independently, the Stage dimentions  are
OK but once loaded inside another Flash movie, the Stage's  
dimentions are

those of the main movie.

I was looking to include a mc with the same dimentions as the  stage 
inside

the loaded SWF but there will be a lot of SWF and not all made by me!

I there a way to retreive this kind of information or is it  
impossible?


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

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




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



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



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


Re: [Flashcoders] LoadClip and centering new content

2006-02-03 Thread Éric Thibault
I already do that... but the width and height of the container clip 
takes into account any instances outside the boundary of the loaded 
SWF's stage...
So I'm getting the total with and height but want only the stage 
dimentions of the loaded SWF!


I want to align the loaded SWF'stage in the loading flash

If it was just for me, i would not put anything outside the stage of the 
loaded SWF but I'm not the producer of those swf...


And having the stage dimentions would help because the loaded SWF's 
dimentions only takes into account the instances present on frame 1... 
(mc_square 100*100 at (0,0) on a stage of 300*300 results in a container 
clip of 100*100!)


A+

j.c.wichman wrote:


Hi,
If you use something like:
var my_mcl:MovieClipLoader = new MovieClipLoader();

var myListener:Object = new Object();

myListener.onLoadInit = function(target_mc:MovieClip) {
  trace(target_mc._width);
		}; 
		my_mcl.addListener(myListener);

my_mcl.loadClip(, _root.dummy);

It should trace the width of your clip upon load. Is that what you mean?

Greetz
Hans

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Éric
Thibault
Sent: Friday, February 03, 2006 3:11 PM
To: Flashcoders Mailing List
Subject: RE:[Flashcoders] LoadClip and centering new content

Hello again...

My problem is : how to know the stage's dimentions of a loaded SWF to center
it correctly in its container?

Here's my tests on that particular problem

1. Set _lockroot inside the loaded SWF : no effect.
2. Set Stage.scaleMode = |"noScale" : no effect.

|When I execute the loaded SWF independently, the Stage dimentions are
OK but once loaded inside another Flash movie, the Stage's dimentions are
those of the main movie.

I was looking to include a mc with the same dimentions as the stage inside
the loaded SWF but there will be a lot of SWF and not all made by me!

I there a way to retreive this kind of information or is it impossible?

Thanks a million.
___
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] LoadClip and centering new content

2006-02-03 Thread Éric Thibault

Hello again...

My problem is : how to know the stage's dimentions of a loaded SWF to 
center it correctly in its container?


Here's my tests on that particular problem

1. Set _lockroot inside the loaded SWF : no effect.
2. Set Stage.scaleMode = |"noScale" : no effect.

|When I execute the loaded SWF independently, the Stage dimentions are 
OK but once loaded inside another Flash movie, the Stage's dimentions 
are those of the main movie.


I was looking to include a mc with the same dimentions as the stage 
inside the loaded SWF but there will be a lot of SWF and not all made by me!


I there a way to retreive this kind of information or is it impossible?

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


Re: [Flashcoders] LoadClip and centering new content

2006-02-02 Thread Éric Thibault

OUF!!!  long day... full of typo mistakes... sorry!

Éric Thibault wrote:


Hi all!!!

I've finaly made my component but can accross the issue of aligning 
the newly loaded content...


I can align correctly images but swf is a bit complicated...

1. If I load a SWF that the stage is 300*300 but on frame 1 there is 
only 1 MC of 100*100, the with of the newly loaded SWF is 100*100 like 
it does'nt take into account the stage dimensions!


2. If I load the same SWF but with content outside its stage borders 
(-100,-100),   the dimention are now 200*200


How can I center it now?!?!?!?

Is there a way to know once loaded the stage dimentions of the newly 
loaded SWF... (even the _lockroot does not function)


There will be SWF files that will be produced by third parties!

Thanks a million.




--
=======

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===

Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia de 
confidencialidad <http://www.rec.ulaval.ca/lce/securite/confidentialite.htm>

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


[Flashcoders] LoadClip and centering new content

2006-02-02 Thread Éric Thibault

Hi all!!!

I've finaly made my component but can accross the issue of aligning the 
newly loaded content...


I can align correctly images but swf is a bit complicated...

1. If I load a SWF that the stage is 300*300 but on frame 1 there is 
only 1 MC of 100*100, the with of the newly loaded SWF is 100*100 like 
it does'nt take into account the stage dimensions!


2. If I load the same SWF but with content outside its stage borders 
(-100,-100),   the dimention are now 200*200


How can I center it now?!?!?!?

Is there a way to know once loaded the stage dimentions of the newly 
loaded SWF... (even the _lockroot does not function)


There will be SWF files that will be produced by third parties!

Thanks a million.

--
=======

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===

Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia de 
confidencialidad <http://www.rec.ulaval.ca/lce/securite/confidentialite.htm>

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


Re: [Flashcoders] Constrain width and height of a swf into a MC with loadMovieNum or loadClip or loadMovie ?

2006-02-02 Thread Éric Thibault

hello there

I've just finished my first component and I've included in it controles 
to mask, resize, align the loaded animations or images according to a 
max with and height (configurable).


If want to e-mail me off list and I will send it to you directly.

eric dot thibault at rve dot ulaval dot ca

A+

The comments are in french ;-)

a f wrote:


  Hello,


I try to understand how to constrain a swf of width = 500 , height = 300 in
a movie-clip whose width=200 and height=247 without redimendionning the *.swf.
(I know i will lose some visual information of the SWF, it is all right...)

Do you know how to do that ?

I just suceed to place the swf relative to a movie-clip with :
  movieclip_container.loadMovie("file.swf", level) 
but not to constrain this SWF to the movie-clip dimension.


  



Thank you
Tony


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

 




--
===

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===

Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia de 
confidencialidad <http://www.rec.ulaval.ca/lce/securite/confidentialite.htm>

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


Re: [Flashcoders] Transitions question

2006-01-24 Thread Éric Thibault

Hello to all...

I have finaly finished my little project : a component for loading 
jpg/swf with configurable preload, transitions, forced dimentions, ...


My global TransitionManager never worked correctly (just for fading 
transitions) and I had to reconfigure my functions to generate a new 
TransitionManager with listener each time when loading or unloading an 
external file.


To polish up my work, I would like to install my little component 
can someone point to me a good article on how to package it for 
installation on both MAC and PC?


Thanks a million.

Éric Thibault wrote:


Hi all!

I have a little bug with the transitions class!

I want to be notified when IN and OUT transitions are done so I 
instanciate my transition manager as follow at the beggining of my 
script:


import mx.transitions.*;
import mx.transitions.easing.*;

var myTransitionManager:TransitionManager = new 
TransitionManager(clip1_mc);


myListenerTransition.allTransitionsOutDone = function(eventObj:Object) {
   trace("allTransitionsOutDone");
   //other important code...
}
myListenerTransition.allTransitionsInDone = function(eventObj:Object) {
   trace("allTransitionsInDone");
   //other important code...
}
myTransitionManager.addEventListener("allTransitionsOutDone",myListenerTransition); 

myTransitionManager.addEventListener("allTransitionsInDone",myListenerTransition); 



// 



On a button, I call a function to activate a particular transition :

myTransitionManager.startTransition({type:Fade, 
direction:Transition.IN, duration:2, easing:None.easeNone});


And at the end my listener outputs my message : Everything works OK 
for now!


My problem is if I change the transition type... no transition occurs 
(my movieclip is no more visible) but at the end my listener outputs 
OK!?!


It seems that I can only use basic transitions, no Fly, Iris, Photo, 
Zoom or PixelDissolve works...


If I use a new transition manager inside my function, the new 
transition works fine but my listener is never called!


like : mx.transitions.TransitionManager.start(clip1_mc, 
{type:mx.transitions.Zoom, direction:mx.transitions.Transition.IN, 
duration:1, easing:mx.transitions.easing.Bounce.easeOut});


How can I have the best of both worlds : any transition types and 
listener objects?


(I to Flash 8 actionscript 2 on a winXP PC.)

Thanks a million!




--
===

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===

Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia de 
confidencialidad <http://www.rec.ulaval.ca/lce/securite/confidentialite.htm>

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


[Flashcoders] Transitions question

2006-01-23 Thread Éric Thibault

Hi all!

I have a little bug with the transitions class!

I want to be notified when IN and OUT transitions are done so I 
instanciate my transition manager as follow at the beggining of my script:


import mx.transitions.*;
import mx.transitions.easing.*;

var myTransitionManager:TransitionManager = new TransitionManager(clip1_mc);

myListenerTransition.allTransitionsOutDone = function(eventObj:Object) {
   trace("allTransitionsOutDone");
   //other important code...
}
myListenerTransition.allTransitionsInDone = function(eventObj:Object) {
   trace("allTransitionsInDone");
   //other important code...
}
myTransitionManager.addEventListener("allTransitionsOutDone",myListenerTransition);
myTransitionManager.addEventListener("allTransitionsInDone",myListenerTransition);

//

On a button, I call a function to activate a particular transition :

myTransitionManager.startTransition({type:Fade, direction:Transition.IN, 
duration:2, easing:None.easeNone});


And at the end my listener outputs my message : Everything works OK for now!

My problem is if I change the transition type... no transition occurs 
(my movieclip is no more visible) but at the end my listener outputs OK!?!


It seems that I can only use basic transitions, no Fly, Iris, Photo, 
Zoom or PixelDissolve works...


If I use a new transition manager inside my function, the new transition 
works fine but my listener is never called!


like : mx.transitions.TransitionManager.start(clip1_mc, 
{type:mx.transitions.Zoom, direction:mx.transitions.Transition.IN, 
duration:1, easing:mx.transitions.easing.Bounce.easeOut});


How can I have the best of both worlds : any transition types and 
listener objects?


(I to Flash 8 actionscript 2 on a winXP PC.)

Thanks a million!

--
===

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===

Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia de 
confidencialidad <http://www.rec.ulaval.ca/lce/securite/confidentialite.htm>

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


Re: [Flashcoders] Job Opportunity in Madrid (Spain)

2006-01-13 Thread Éric Thibault

I hope it's not a worldwide tendency! ;-)


Nick Weekes wrote:


;-) very good gag.

21000 euros is about 14 grand English money.  Mcdonalds pay more.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of JesterXL
Sent: 13 January 2006 15:09
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Job Opportunity in Madrid (Spain)

ROFL  Boolean... haha, man, I'm on the floor with that one yo, hahahah!

- Original Message - 
From: "zwetan" <[EMAIL PROTECTED]>

To: "'Flashcoders mailing list'" 
Sent: Friday, January 13, 2006 9:43 AM
Subject: RE: [Flashcoders] Job Opportunity in Madrid (Spain)


 


...Flash Developer...

You should have experience in advanced ActionScript programming,
...

Design skills are not necessary. The candidate only will work in Flash and
ActionScript developement.

Please include personal, artistic work - ...
   



Boolean logic error !

 


Salary range: from 21.000 to 24.000 euros yearly, this can vary based on
candidate skills.

Immediate incorporation.

   



Resistance is futile :D

zwetan




___
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

 




--
=======

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===

Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia de 
confidencialidad <http://www.rec.ulaval.ca/lce/securite/confidentialite.htm>

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


[Flashcoders] listing folder content

2006-01-10 Thread Éric Thibault

Hi all!

Is there a way from a projector to retreive the names of all the files 
inside a folder at the same level as itself?


like in such a structure:

MyProjector.exe
imagesfolder
   image1.jpg
   image2.jpg
   imagetest.jpg

or do I have to use another programme like Director (with xtra IO) to do 
the trick?


Thanks a lot!

A+

--
===

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===

Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia de 
confidencialidad <http://www.rec.ulaval.ca/lce/securite/confidentialite.htm>

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


Re: [Flashcoders] Image movement

2006-01-10 Thread Éric Thibault

Or this tested and functionnal...

//Init before the onEnterFrame
var Move:Number = 5;//Could be modified via a control
var leftEdge:Number = 0;//All the way to the edge
var rightEdge:Number = this.frame._width;//All the way to the edge

this.onEnterFrame = function() {
//Conditions to invert the movement...
if((image._x + image._width) > rightEdge or image._x < leftEdge){
Move = -Move;
}
image._x += Move;
}


martin schioeth wrote:


Hi Claudia,

A quick thought. I think this will work.

onEnterFrame:

var leftEdge = 0;
var rightEdge = image._width – frame._width;
var move;
if(image._x >= leftEdge){
move = "left";
}else if(image._x+image._width <= rightEdge){
Move = "right";
}
If(move == "left"){
Image._x -= 5;
}else{
Image._x += 5;
}

-[ flashbordon


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Claudia
Barnal
Sent: 10. januar 2006 13:02
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Image movement

Hi,

I am stuck with a few logic conditionals for moving an image.

The situation is:

I have an image that is wider than the stage that needs to be moved from 
right to left and vice versa when it reaches the end of the image, changing 
direction. The image is to use a manual (mouse quided) or an “automatic” 
movement.


What I have looks something like this (onEnterFrame):

//var automatic:Boolean;
var leftEdge = 0;
var rightEdge = image._width – frame._width;


if ( image._x <= rightEdge ){
image._x -= 5;
}
if ( image._x >= leftEdge ){
image._x += 5;
}


As you might see, this code doesn’t really work. So the question is, how can

I detect when the image has reached one edge and goes to a “goLeft” or 
“goRight” state and won’t change until it has reached the other edge?


Thanks,
Claudia

_
The new MSN Search Toolbar now includes Desktop search! 
http://toolbar.msn.co.uk/


___
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

 




--
===

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===

Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia de 
confidencialidad <http://www.rec.ulaval.ca/lce/securite/confidentialite.htm>

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


Re: [Flashcoders] tweening and loader...

2006-01-04 Thread Éric Thibault
Strange... If I dont use my square_c component and use a simple 
square_mc... movieclip instead, it works!  Why? Is there something I'm 
missing?


A+

Éric Thibault wrote:


Hi to you all,

I've just received a FLA from our graphist and must return it to him 
for further visual modifications and here is my problem:


There is (a minimum) 5 squares_mc inside a menu and on 10 frames of 
that menu there is a tweening of both coordinates and alpha values of 
all the squares_mc.  The project specifies that there will be 
thumbnails inside those squares_mc...I'm using the loader component to 
do the trick inside of a square_c component (squares_mc are instances 
of square_c). My problem is that at the end of the tweening, the image 
loaded disapeares (another instance of the squares_mc because of the 
end of the tween...).


I must not touch the timeline of the menu and the tweening of the 
squares_mc but how can I do the load image and conserve it? I've tried 
reloading the image put I have a 1 frame blank... not acceptable!


Thanks for any suggestions...




--
===

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===

Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia de 
confidencialidad <http://www.rec.ulaval.ca/lce/securite/confidentialite.htm>

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


[Flashcoders] tweening and loader...

2006-01-04 Thread Éric Thibault

Hi to you all,

I've just received a FLA from our graphist and must return it to him for 
further visual modifications and here is my problem:


There is (a minimum) 5 squares_mc inside a menu and on 10 frames of that 
menu there is a tweening of both coordinates and alpha values of all the 
squares_mc.  The project specifies that there will be thumbnails inside 
those squares_mc...I'm using the loader component to do the trick inside 
of a square_c component (squares_mc are instances of square_c). My 
problem is that at the end of the tweening, the image loaded disapeares 
(another instance of the squares_mc because of the end of the tween...).


I must not touch the timeline of the menu and the tweening of the 
squares_mc but how can I do the load image and conserve it? I've tried 
reloading the image put I have a 1 frame blank... not acceptable!


Thanks for any suggestions...

--
===

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===

Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia de 
confidencialidad <http://www.rec.ulaval.ca/lce/securite/confidentialite.htm>

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


Re: [Flashcoders] Faster code?

2005-12-21 Thread Éric Thibault
It similar to this site : 
http://www.pere-lachaise.com/perelachaise.php?lang=en


A+

Mark Ribau wrote:

Well, there's no specific place right now.  I'm in the process of 
rewriting the whole code base.  Right now, everything is an a instance 
of Object (or an array) with properties (or named indexes) sitting on 
_root, and lots of global functions and such.  I'm making it more 
object oriented by making components and using classes.


I don't know what you mean about the dots in LoZ.  I can't remember that.

JesterXL wrote:

Dude, no, she runs great, looks hot, and makes me want to fill up the 
dots like you made dots on the map in Legend of Zelda.


What part don't you like?

- Original Message - From: "Mark Ribau" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" 
Sent: Wednesday, December 21, 2005 11:53 AM
Subject: Re: [Flashcoders] Faster code?


lol. Indeed. :-)

Good job at recognizing some of the inspiration behind the interface.
The goal is more to create a system for making easy virtual tours of
either real locations or fantasy worlds.  Got any thoughts/suggestions?

JesterXL wrote:

 


Your trying to optimize Myst?

- Original Message - From: "Mark Ribau" <[EMAIL PROTECTED]>
To: "'Flashcoders mailing list'" 
Sent: Wednesday, December 21, 2005 11:16 AM
Subject: [Flashcoders] Faster code?


Anyone know of good optimizations to make to code so that it'll run
faster in Flash?

If you're bored, check out what we're doing with flash at 
www.mapwing.com.




  








--
===

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===

Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia de 
confidencialidad <http://www.rec.ulaval.ca/lce/securite/confidentialite.htm>

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


Re: [Flashcoders] Drawing dotted lines

2005-12-21 Thread Éric Thibault

Super

I'm building my demo app

Thanks a million times!

Iv wrote:


Hello Йric,

http://www.dembicki.org/index-eng.html

try this:
http://www.dembicki.org/FreeSelector.as
http://www.dembicki.org/RectangularSelector.as




 




--
===

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===

Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia de 
confidencialidad <http://www.rec.ulaval.ca/lce/securite/confidentialite.htm>

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


[Flashcoders] Drawing dotted lines

2005-12-20 Thread Éric Thibault

Hi all.

Is it possible to draw a dotted line between two points or do I have to 
custom something with a function?


I have the nead for plain, dotted, double-dotted...

Thanks a lot.

--
===

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===

Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia de 
confidencialidad <http://www.rec.ulaval.ca/lce/securite/confidentialite.htm>

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


Re: [Flashcoders] Flash webservice puzzle

2005-12-20 Thread Éric Thibault

OUPS

BD => Base de données :: DB => DataBase

A+

Jan Huzelius wrote:


BTW, what's BD short for?

On 20/12/05, Jan Huzelius <[EMAIL PROTECTED]> wrote:
 


Hi Eric,

Thanks for thinking out loud! :)

   


Or are the seats "reservé" once a user registers (logged in or not)?
 


Yes. Apparently, once they register they get a seat and they can't change
seats. they can reserve a seat though (expires after 24hrs)
The reason why we've chosen to place the empty movieClip on stage
manually is because the drawing of the stadium is quite arbritrary. It would
be difficult but not impossible to come with a fool-proof solid way of doing
this dynamic because of the way the stadium is drawn.
By placing the mcs on stage, will let the designer decide exactly where he
wants to place an object/avatar!

   


your Flash designer could have a load image fonction to place the avatar
 


(jpg image outside your flash?) inside itself and scalled to fit?
   


The avatars are actually created based on various component elements a use
chooses duing registration process (head, top, bottom, skincolor) not
through loading jpgs).

   


2. you tell the MC corresponding to his seat to load his/her avatar
 


Currently, we're close to having a solid solution that scales (depending
on amount of users we have), but we can't seem to be able to link "the MC
corresponding to his seat" with the seat number he is given. <--- if that
makes any sense?

Thanks



On 20/12/05, Éric Thibault <[EMAIL PROTECTED]> wrote:
   


OK!

The empty MC (or component) placed on every seat representation by your
Flash designer could have a load image fonction to place the avatar (jpg

image outside your flash?) inside itself and scalled to fit?

  1. the user logs in to your system
  2. you tell the MC corresponding to his seat to load his/her avatar

Or are the seats "reservé" once a user registers (logged in or not)?

In that case, on init of the flash application, pullout all the users
and init their seat (with a active / inactive representation based on
the component settings like _alpha)?

Just thinking out loud!

A+

Jan Huzelius wrote:

 


Yeah, the users are allowed to choose their seat.
And I can loop trough the avatar object and pull out his seatNumber but
   


we
 


need a good way to link that seatID in the db with the one onstage.

Thanks
Jan



On 20/12/05, Éric Thibault <[EMAIL PROTECTED]> wrote:


   


Just a suggestion...

Are your users choosing their seat or are you populating your stadium
 


in
 


a orderly fashion? One way or the other, when they register you
attribute them their seat and store that info (the seat id) in a
BD...And when they return to the stadium, just pullout the seat...

(It gives me an idea for project of mine!)

Thanks.


Johan Lopes wrote:



 


Hi franto,

Thanks for your reply. Dude, your english is not that bad :)

The current idea I'm working on is to get the Flash designer to place
   


an empty MovieClip on every seat of the stadium and name this empty
clip with a unique ID (Tier1_Block1_Stand1_Row1_SeatNumber1). Pretty
much as you suggested. But how am I going to connect the avatar's
   


seat
 


number (given to him when he registers) with his specific seat on
stage?

Thanks again,

Jan

On 12/20/05, franto < [EMAIL PROTECTED]> wrote:




   


it's hard to say, i think it depens of your 4 views :)
can it be matematically told that you can assign ID to every seat by
 


some math formulas?

or you want just create your views after you will find a good way to
populate them? (sorry for my english :)


On 12/20/05, Jan Huzelius <[EMAIL PROTECTED]> wrote:




 


Hi list,

I'm creating a 2D football stadium in Flash (4 views) which will be
populated with avatars/users from a .NET webservice.

The football stadium is illustrated - it's not 3D. The avatars are


   


simple


 


animated MovieClips.

Every section of the stadium has a stand with a certain number of


   


seats.


 


What's the most elegant or most scalable way to populate my stadium
   

   


seats


 


with a bunch of MovieClip avatars?

Bearing in mind that a single avatar must be placed in the exact
   


same
 

   


seat


 


everytime (no random seats).

Any suggestions welcome.

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





   


--


-
 


Franto

http://bl

Re: [Flashcoders] Flash webservice puzzle

2005-12-20 Thread Éric Thibault
If all the seats (manualy placed empty MC) have an id identifier, just 
use that id to store inside your DB! It's a direct connection between 
your user (databasewise) and that particular seat!


then use myStadium[MyUserSeat].DoFonctionX(params); //(if your empty MC 
contains that particular fonction...)


A+

Jan Huzelius wrote:


Hi Eric,

Thanks for thinking out loud! :)

 


Or are the seats "reservé" once a user registers (logged in or not)?
   



Yes. Apparently, once they register they get a seat and they can't change
seats. they can reserve a seat though (expires after 24hrs)
The reason why we've chosen to place the empty movieClip on stage
manually is because the drawing of the stadium is quite arbritrary. It would
be difficult but not impossible to come with a fool-proof solid way of doing
this dynamic because of the way the stadium is drawn.
By placing the mcs on stage, will let the designer decide exactly where he
wants to place an object/avatar!

 


your Flash designer could have a load image fonction to place the avatar
   


(jpg image outside your flash?) inside itself and scalled to fit?
 



The avatars are actually created based on various component elements a use
chooses duing registration process (head, top, bottom, skincolor) not
through loading jpgs).

 


2. you tell the MC corresponding to his seat to load his/her avatar
   



Currently, we're close to having a solid solution that scales (depending on
amount of users we have), but we can't seem to be able to link "the MC
corresponding to his seat" with the seat number he is given. <--- if that
makes any sense?

Thanks
 

 


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


Re: [Flashcoders] Flash webservice puzzle

2005-12-20 Thread Éric Thibault

OK!

The empty MC (or component) placed on every seat representation by your 
Flash designer could have a load image fonction to place the avatar (jpg 
image outside your flash?) inside itself and scalled to fit?


   1. the user logs in to your system
   2. you tell the MC corresponding to his seat to load his/her avatar

Or are the seats "reservé" once a user registers (logged in or not)?

In that case, on init of the flash application, pullout all the users 
and init their seat (with a active / inactive representation based on 
the component settings like _alpha)?


Just thinking out loud!

A+

Jan Huzelius wrote:


Yeah, the users are allowed to choose their seat.
And I can loop trough the avatar object and pull out his seatNumber but we
need a good way to link that seatID in the db with the one onstage.

Thanks
Jan



On 20/12/05, Éric Thibault <[EMAIL PROTECTED]> wrote:
 


Just a suggestion...

Are your users choosing their seat or are you populating your stadium in
a orderly fashion? One way or the other, when they register you
attribute them their seat and store that info (the seat id) in a
BD...And when they return to the stadium, just pullout the seat...

(It gives me an idea for project of mine!)

Thanks.


Johan Lopes wrote:

   


Hi franto,

Thanks for your reply. Dude, your english is not that bad :)

The current idea I'm working on is to get the Flash designer to place
an empty MovieClip on every seat of the stadium and name this empty
clip with a unique ID (Tier1_Block1_Stand1_Row1_SeatNumber1). Pretty
much as you suggested. But how am I going to connect the avatar's seat
number (given to him when he registers) with his specific seat on
stage?

Thanks again,

Jan

On 12/20/05, franto <[EMAIL PROTECTED]> wrote:


 


it's hard to say, i think it depens of your 4 views :)
can it be matematically told that you can assign ID to every seat by
some math formulas?

or you want just create your views after you will find a good way to
populate them? (sorry for my english :)


On 12/20/05, Jan Huzelius <[EMAIL PROTECTED]> wrote:


   


Hi list,

I'm creating a 2D football stadium in Flash (4 views) which will be
populated with avatars/users from a .NET webservice.

The football stadium is illustrated - it's not 3D. The avatars are
 


simple
   


animated MovieClips.

Every section of the stadium has a stand with a certain number of
 


seats.
   


What's the most elegant or most scalable way to populate my stadium
 


seats
   


with a bunch of MovieClip avatars?

Bearing in mind that a single avatar must be placed in the exact same
 


seat
   


everytime (no random seats).

Any suggestions welcome.

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



 


--
   


-
Franto

http://blog.franto.com
http://www.flashcoders.sk
___
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



 


--
=======

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===

Avis relatif à la confidentialité / Notice of Confidentiality /
Advertencia de confidencialidad <
http://www.rec.ulaval.ca/lce/securite/confidentialite.htm>

___
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

 




--
===

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===

Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia de 
confidencialidad <http://www.rec.ulaval.ca/lce/securite/confidentialite.htm>

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


Re: [Flashcoders] Flash webservice puzzle

2005-12-20 Thread Éric Thibault

Just a suggestion...

Are your users choosing their seat or are you populating your stadium in 
a orderly fashion? One way or the other, when they register you 
attribute them their seat and store that info (the seat id) in a 
BD...And when they return to the stadium, just pullout the seat...


(It gives me an idea for project of mine!)

Thanks.


Johan Lopes wrote:


Hi franto,

Thanks for your reply. Dude, your english is not that bad :)

The current idea I'm working on is to get the Flash designer to place
an empty MovieClip on every seat of the stadium and name this empty
clip with a unique ID (Tier1_Block1_Stand1_Row1_SeatNumber1). Pretty
much as you suggested. But how am I going to connect the avatar's seat
number (given to him when he registers) with his specific seat on
stage?

Thanks again,

Jan

On 12/20/05, franto <[EMAIL PROTECTED]> wrote:
 


it's hard to say, i think it depens of your 4 views :)
can it be matematically told that you can assign ID to every seat by
some math formulas?

or you want just create your views after you will find a good way to
populate them? (sorry for my english :)


On 12/20/05, Jan Huzelius <[EMAIL PROTECTED]> wrote:
   


Hi list,

I'm creating a 2D football stadium in Flash (4 views) which will be
populated with avatars/users from a .NET webservice.

The football stadium is illustrated - it's not 3D. The avatars are simple
animated MovieClips.

Every section of the stadium has a stand with a certain number of seats.

What's the most elegant or most scalable way to populate my stadium seats
with a bunch of MovieClip avatars?

Bearing in mind that a single avatar must be placed in the exact same seat
everytime (no random seats).

Any suggestions welcome.

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

 


--
-
Franto

http://blog.franto.com
http://www.flashcoders.sk
___
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

 




--
=======

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===

Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia de 
confidencialidad <http://www.rec.ulaval.ca/lce/securite/confidentialite.htm>

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


Re: [Flashcoders] Firefox bug?

2005-12-14 Thread Éric Thibault

The code inside your HTML page is :

codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"; 
width="100%" height="100%" id="magmart" align="middle">







bgcolor="#7251bc" width="100%" height="100%" name="magmart" 
align="middle" allowScriptAccess="sameDomain" 
type="application/x-shockwave-flash" 
pluginspage="http://www.macromedia.com/go/getflashplayer"; />



where you specify the with and height of your SWF.  Instead of % you 
should use px because Firefox seems to resise your SWF so that all of it 
is shown in 100% of the screen!


Is there a reason to have a 2048px stage and only use 50%?

You could think of the Html page like a window to show only a portion of 
your movie... and adjust your stage to that window and move the content 
MCs to that space (like a mask)...


I'm just trying to vision it all.

My "french" 2 cents.

A+

MetaArt wrote:


Sorry but... can you tell me more (and more 'clear') about?
thanx...

Enrico Tomaselli
 +> web designer <+
 [EMAIL PROTECTED]
http://www.metatad.it

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

 




--
===

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===

Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia de 
confidencialidad <http://www.rec.ulaval.ca/lce/securite/confidentialite.htm>

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


Re: [Flashcoders] Firefox bug?

2005-12-14 Thread Éric Thibault

if instead of
   width="100%" height="100%"

you put the actual real pixel dimentions in width and height (but then 
you will have scrollbars...) ? Because the swf IS 100% of my FF screen!


It seems like a deficient implementation from IE...

A+

MetaArt wrote:


I have dev a Flash movie, showed inside an Html page. The stage width of
movie is 1000 px, the width of all on stage is 2048 px.
If seen in IE, it works fine, if seen in FireFox, it is showed in a very
strange way.
If the publish settings is to showAll, in FireFox the movie appear very very
little, about the half of the screen;
if the publish settings is to noBorder, in FireFox the movie appear right in
width, but... (very strange behavior!) just the top part of it is visible.
The height of movie is 750 px, but if you try to right click just under
visible Flash, you discover html context menu, not Flash menu, like if movie
height is too less than 750!...
You can see it at this URL: http://www.magmart.it/index2.htm. Try to open in
IE and FF (now, is settings to showAll).
Any idea about?

Enrico Tomaselli
 +> web designer <+
 [EMAIL PROTECTED]
http://www.metatad.it

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

 




--
=======

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===

Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia de 
confidencialidad <http://www.rec.ulaval.ca/lce/securite/confidentialite.htm>

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


Re: [Flashcoders] Flash player troubles

2005-12-14 Thread Éric Thibault

Can this be of some use?

   http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_12727

A+

Mendelsohn, Michael wrote:


I have given up trying to figure why this happens on some computers and
not others. The problem was very repeatable until I manually removed,
then replaced, a file called swflash.inf from the Windows > Downloaded
Program Files folder.  swflash.inf was a file that got deleted when I
clicked (Temporary Internet Files) Delete Files... from IE. However,
after manual removal and replacement, swflash.inf does NOT get deleted.
go figure. for posterity, here's my IE version:
6.0.2900.2180.xpsp_sp2_rtm.040803-2158

It doesn't sound like a real fix, but that's they way it happened for
me. The problem is still repeatable on other computers, though.



Michael,

This sounds real weird... can you make out some specific diffrence btw 
yours and some other system where everything works fine?


if you cant figure it out lemme know we can take this issue off
list.

Thanks,
Pranav
QE, Flash Player



Mendelsohn, Michael wrote:

 


Flash 8 player\IE\WinXP:

I've encountered some messed-up scenarios where Flash player gets
disabled solely because of Deleting Temporary Internet files from IE.
For me, once temp files are deleted, sites that attempt to detect Flash
fail to detect Flash. Those sites either show and error (like
macromedia.com) or automatically push non-flash content (like cnn.com).
However, Flash content still works on sites that do not attempt Flash
detection.

I'm using WinXP Pro SP2 with admin rights, flash player 8, Internet
Explorer.

Even re-installing the Flash player from Macromedia does not work,
unless I re-boot first. But I can always then replicate the problem by
Deleting Temporary Internet files. I have seen others have this
   


problem,
 


while others do not. How is this possible?
   



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

 




--
===

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===

Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia de 
confidencialidad <http://www.rec.ulaval.ca/lce/securite/confidentialite.htm>

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


Re: [Flashcoders] How do I tell a movieclip to play insync with the loading percentage.

2005-12-12 Thread Éric Thibault
And if you do a gotoAndStop on each 4 "tracing rectangle" movieclip with 
the value of percentageLoaded?


   mc1.gotoAndStop(percentageLoaded);
   mc2.gotoAndStop(percentageLoaded);
   mc3.gotoAndStop(percentageLoaded);
   mc4.gotoAndStop(percentageLoaded);

It wont be a fluid animation but will follow the loading pattern!

A+

Nicholas Chhabra wrote:


Yeh, I've already got all the preloading code setup -

kBytesLoaded = _parent.getBytesLoaded()/1024;
kBytesTotal = _parent.getBytesTotal()/1024;

kBytesRemaining = kBytesTotal - kBytesLoaded;
percentageLoaded = 100 * kBytesLoaded / kBytesTotal;
percentRemaining = 100 - percentageLoaded;
ProgressText = Math.floor(percentageLoaded) + "%";
ProgressText2 = Math.floor(kBytesLoaded) + " OF " + 
Math.floor(kBytesTotal) + " KBYTES LOADED";

loadBar._xScale = percentageLoaded;

Instead of having the normal rectangle loading, I want a line to trace 
a rectangle. I already have a series of four shape tweens drawing a 
rectangle (these have a 100 frame duration), I would like this 
movieclip to correspond with percentageLoaded - the reason why I have 
a tracing rectangle is that I'm loading content on inside its area 
(not in the movieclip) but inside the area that it traces, so its like 
a border.




Howard Nager wrote:

Ha - thanks for catching the typo. I should mention that this is just 
the way to grab the percent loaded...by no means will you get a 
smooth animation (the 100 frame loading sequence) out of this.



-Original Message-
From: [EMAIL PROTECTED] on behalf of Troy 
Rollins

Sent: Sun 12/11/2005 9:53 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] How do I tell a movieclip to play insync 
withtheloading percentage.



On Dec 11, 2005, at 9:48 PM, Howard Nager wrote:

 


var percentage = (_root.getBytesLoaded()/root.getBytesTotal()) * 100;
  



Right, and that is the other way.

Watch that second "_root" though. (e.g. _root.getBytesTotal())

--
Troy
RPSystems, Ltd.
http://www.rpsystems.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




--
===

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===

Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia de 
confidencialidad <http://www.rec.ulaval.ca/lce/securite/confidentialite.htm>

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


Re: [Flashcoders] Can FCS detect player version?

2005-12-07 Thread Éric Thibault

Just an idea:

If you place a flash 3, 4 or 5 inside your HTML and inside that flash 
you detect the version, you could than loadMovie a SWF accordingly?


What happens if I load a 8 SWF inside a 5 SWF are my 8 
fonctionnalities still execute? :-\


A+

inbox.flash wrote:



   Is there a way without using javascript, for a flash app (maybe 
FCS?) to detect the player version? Need to send the right stream 
depending on flavor.

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




--
===

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===

Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia de 
confidencialidad <http://www.rec.ulaval.ca/lce/securite/confidentialite.htm>

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


Re: [Flashcoders] flash -> css tooltip

2005-12-02 Thread Éric Thibault

Very intersting.

Can you send me off-list an example of a call from flash?  I'm curious 
about the encoding of the strings passed to the "ddrivetip" function 
(line breaks, special caracters,...)


Thanks a million!

eric dolecki wrote:


http://www.ericd.net/new_css/tooltips/

You can see what I am doing at the above destination. Works pretty well -
ExternalInterface call to the javascript which pops the tooltips with the
text sent out of Flash. The hide tooltip is another call made from Flash to
javascript as well. The example may be a little on the ugly side, but it
works :)

- edolecki


If you have a toolbox for creation of CSS tooltip you need no more
 


advices. I don't know your task exactly but sometimes it's necessary to
 "hitTest" a page element before performing further actions.

If you need a solution for this I have two JS functions, just let me know.

In general you're on a right way. On the only right way actually :)

--
Michael "Antares" Klishin,

Email: [EMAIL PROTECTED]
Web: www.novemberain.com

Non progredi est regredi
___
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

 




--
=======

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===

Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia de 
confidencialidad <http://www.rec.ulaval.ca/lce/securite/confidentialite.htm>

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


Re: [Flashcoders] PDF forced to download

2005-11-30 Thread Éric Thibault

I used to create PDF from php and used this for the header...

//attachment : promt to save to disk
//inline : open in browser



Éric Thibault
RVE

Sebastián Sirvent wrote:


Hi,

How can a PDF be forced to download instead of opening in the browser?
It can't be zipped...

Thanks


Sebastián Sirvent
http://www.e-foco.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] External text from XMLfileincludingsuperscriptanditalic

2005-11-16 Thread Éric Thibault
What are those "]]" inside the image lines??? open your XML with firefox 
and it will point you formatting errors.


A+

Paul Steven wrote:


I seem to have fixed it by saving the xml file as "Unicode". I was
previously saving it as "Ansi"

No idea what this refers to so please let me know if this is the correct
option.

There was also "Unicode big endian" and "UTF-8"

I am using notepad to write my XML - would I be sensible using something
different? Any suggestions appreciated

Thanks

Paul

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Paul
Steven
Sent: 16 November 2005 12:16
To: Flashcoders mailing list
Subject: RE: [Flashcoders] External text from
XMLfileincludingsuperscriptanditalic


I am still unable to get the superscript to work

Here is my test file



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Muzak
Sent: 16 November 2005 10:39
To: Flashcoders mailing list
Subject: Re: [Flashcoders] External text from XML
fileincludingsuperscriptanditalic


Include punctuations as well.

If that doesn't work, select (all 3 of them):
Latin I
Latin I Extended A
Latin I Extended B

To apply basic html formatting, put the text in CDATA (think someone
mentioned that already).


   


   


regards,
Muzak

- Original Message -
From: "Paul Steven" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" 
Sent: Wednesday, November 16, 2005 10:08 AM
Subject: RE: [Flashcoders] External text from XML file
includingsuperscriptanditalic


 


I cannot get the "TM" in superscript to appear in my Flash movie.

I can see it in my xml file - see
http://www.mediakitchen.co.uk/movie_data.xml

My flash movie has the text set to html by clicking on the option in the
text properties box.

It is a Flash MX 2004 Movie published as Flash 7 As 2.0

The font it uses is "Frutiger-cn" and I have chosen to embed Basic Latin
   


(95
 


glyphs)

Any ideas why this doesnt work?

Also when I put the   around some text, it appeared to break the
   


xml
 


and nothing after the  appeared in my flash movie at all.

If anyone has any idea what I am doing wrong it would be much appreciated.

Thanks

Paul

   




___
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

 




--
===

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===

Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia de 
confidencialidad <http://www.rec.ulaval.ca/lce/securite/confidentialite.htm>

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


Re: [Flashcoders] LoadVars + sendAndLoad + PERL + FireFox = Problem

2005-11-15 Thread Éric Thibault

Look into CR/LF !?!

Roman Blöth wrote:


Philip Isaacs schrieb:

I've seen this posted on a number of websites, but not many useful 
solutions.


I built this nifty application in Flash that reads data from an 
Oracle database via
a Perl cgi script and loads this info back into Flash. The only 
problem is that I use a Mac
and everything works fine, but I was ask to test it on Windows and it 
doesn't work

with FireFox.

Has anyone ever encountered a problem with LoadVars using FireFox or 
Mozilla? 


Dear Philip,


we use this (LoadVars/SendAndLoad) quite often in our Flash-apps - and 
we all use FF, and it works fine. I didn't know there are problems - 
seems to me more like an encoding problem?!



Regards,
Roman.
___
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] passing mouse event

2005-11-08 Thread Éric Thibault
I must appologise to you H. because your droptarget solution works... 
the only thing was that the mouse pointer must be within the target to 
trigger the doptarget property!


It will be much easier to do that then test all the movieclips on the 
stage at every mousemove!


Thanks again

8-)

elibol wrote:


Hi Eric,

The _droptarget property changes before you 'release' a movieclip. It
changes whenever the majority of the area of the movieclip is over something
other than what is taking up the majority of the area at that instance. I
accually made sure this was the case before I posted because I was sure that
you would need the target before it was droped.

As for your other problems, you should gather as much information as you can
about the anatomy of the movieclips that need to be triggered if you arent
able to collaborate with your partners. If you're able to collaborate with
the developer that is creating the targets, you should have him construct an
abstract API for each target so you can 'question' any of the movieclips for
a movieclip group style identifier; which will allow you to differentiate
one target from the next without loops.

Good luck,

H


On 11/3/05, Éric Thibault <[EMAIL PROTECTED]> wrote:
 


Thanks

I've tried it with no success because the droptarget property is only
initialised once the dragged mc is droped! Is there another property
that can say over wich instance the dragged mc is?

Thanks a million!

elibol wrote:

   


Hi Eric,

Maybe a more optimized solution would be to have an onMouseMove event on
 


the
   


movieclip that is being dragged, which would be activated when the
 


movieclip
   


is dragged, that would run eval on the clips _droptarget property for
 


each
   


onMouseMove event. Each target could have a distinguishing public
 


property
   


that would be evaluated with the hitTest that would serve as the
 


exception
   


for triggering the onRollOver function. The dragging clip would also do a
onRollOut trigger on the last clip it was over once the clip is no longer
over the target.

I tested this:

var lastMC:MovieClip;

function onPress(){
this.startDrag();
onMouseMove = runOnMouseMove;
}

function runOnMouseMove(){
var t = eval(this._droptarget);
trace(t);
if(t!=lastMC){
if(lastMC.isTarget){
lastMC.onRollOut();
lastMC = undefined;
}
if(t.isTarget){
lastMC = t;
t.onRollOver();
}
}
}

function onRelease(){
this.stopDrag();
onMouseMove = undefined;
}

onReleaseOutside = onRelease;


Good luck,

H


On 11/2/05, Éric Thibault <[EMAIL PROTECTED]> wrote:


 


Hi all!

I have an application that uses startdrag events.

My problem is that I have about 20 targets with rollover events (each
hilighting a different portion of a radiography). When I drag an MC
over those targerts, the rollover dont get triggered! Is there a way to
pass the mouse event under my dragged MC to trigger my rollovers? To
temporary solve this (an get a demo working) I've put en onenterframe
inside each of my targets that checkes if the mouse is over them!

There must be a better way to do that!

Thanks a million! :-)

--
===

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===

Avis relatif à la confidentialité / Notice of Confidentiality /
Advertencia de confidencialidad <
http://www.rec.ulaval.ca/lce/securite/confidentialite.htm>

___
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



 


--
=======

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===

Avis relatif à la confidentialité / Notice of Confidentiality /
Advertencia de confidencialidad <
http://www.rec.ulaval.ca/lce/securite/confidentialite.htm>

___
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

 




--
===

Éric Thibault
Programmeur analyste
Réseau de valorisat

  1   2   >