[Flashcoders] Flash CS3 Troubles

2007-05-11 Thread Mike Boutin
Hi everyone,

I have been using Flash CS3 and I noticed that if I am working in the 
Actionscript Panel, and I compile my movie, the movie stays behind the AS 
Panel, rather than going on top of all the panels like it does in Flash 8.  Has 
anyone else experienced this? Also I have noticed that my movies play noticably 
slower in flash cs3 itself, but play normally in the standalone player.  Is 
this a known issue?  Thanks!



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

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


Re: [Flashcoders] net connection debugger not working in F8

2006-07-26 Thread Mike Boutin
Ive had this problem using the f8 remoting files.  It seems to fix 
itself for me by restarting flash...


Bbt Lists wrote:
Has anyone had this issue, or a way around it? I had searched google, 
and found references to using the mx2004 files to replace the F8 ones, 
but i do not have access to those...


Thanks!



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

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


Re: [Flashcoders] XML access

2006-07-24 Thread Mike Boutin
My not use childNodes? 
mainMenu.firstChild.childNodes[0].childNodes[0].firstChild.nodeValue;

mainMenu.firstChild.childNodes[0].childNodes[1].firstChild.nodeValue;


Jose Maria Barros wrote:

Hi,

i have the xml:

root
   pic
   imagehttp://www.kirupa.com/developer/mx2004/pg/kresge.jpg /image
   imagephttp://www.kirupa.com/developer/mx2004/pg/medialab.jpg
/imagep
   /pic
/root

in flash, the variable link that holded the image node:

newBut.link = mainMenus[i].firstChild.firstChild.nodeValue;

worked..welll...


now i want to have other variable..that holds the imagep 
node..normally it

would write:

newBut.link2= mainMenus[i].firstChild.firstChild.firstChild.nodeValue;


But it says is undefined...hows that ?

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

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





___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Form Help Needed, Please - STILL NEED HELP

2006-07-24 Thread Mike Boutin
You could try using loadVars and return a status in xml rather than 
loadVariablesNum...


var myVars:LoadVars = new LoadVars;
var xml_results:XML = new XML();
xml_results.ignoreWhite = true;
xml_results.onLoad = function(success:Boolean){
if (success){

} else {

}
}
myVars.sendAndLoad(yourfile.asp, xml_results, POST);


Loren R. Elks wrote:

Come on folks.  I know someone can help me with this.  Please.

Sincerely,
Loren

-Original Message-
From: Loren R. Elks 
Sent: Thursday, July 20, 2006 10:21 AM

To: 'flashcoders@chattyfig.figleaf.com'
Subject: Form Help Needed, Please


Hi:

I've got a form that just does not send.  Can someone please look at my
code?

I placed the FLA, SWF, HTML and ASP files in a zip located at:
www.d-mag.org/testform/sent_out.zip

I found out that I'm going to have to use ASP, as the client's webhost
does not support PHP.

Could you also email reply back to me directly as well?
[EMAIL PROTECTED] 


Thank you,
Loren
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] XML access

2006-07-24 Thread Mike Boutin

Yes you can use it in the same way...

eg. mainMenu[i].childNodes[i].childNodes[0].firstChild.nodeValue;

Jose Maria Barros wrote:

sorry...i didnt explained the whole thing..

the thing is that flash duplicates one button mc with all the elements from
the xml...and makes a loop.
Every button have a different link for a different pictures...

But the first one works good..(newBut.link = mainMenus[i].firstChild
.firstChild.nodeValue):

root
   pic
  this one works..
imagehttp://www.kirupa.com/developer/mx2004/pg/kresge.jpg
/image
   imagep http://www.kirupa.com/developer/mx2004/pg/medialab.jpg
/imagep
   /pic
/root

now the second..when i try to use this :

newBut.link2= mainMenus[i].firstChild.firstChild.firstChild.nodeValue;

to catch this:

root
   pic
image http://www.kirupa.com/developer/mx2004/pg/kresge.jpg /image
   imagep http://www.kirupa.com/developer/mx2004/pg/medialab.jpg
/imagep
   /pic
/root

On 7/24/06, Mike Boutin [EMAIL PROTECTED] wrote:


My not use childNodes?
mainMenu.firstChild.childNodes[0].childNodes[0].firstChild.nodeValue;
mainMenu.firstChild.childNodes[0].childNodes[1].firstChild.nodeValue;


Jose Maria Barros wrote:
 Hi,

 i have the xml:

 root
pic

imagehttp://www.kirupa.com/developer/mx2004/pg/kresge.jpg/image

imagephttp://www.kirupa.com/developer/mx2004/pg/medialab.jpg
 /imagep
/pic
 /root

 in flash, the variable link that holded the image node:

 newBut.link = mainMenus[i].firstChild.firstChild.nodeValue;

 worked..welll...


 now i want to have other variable..that holds the imagep
 node..normally it
 would write:

 newBut.link2= mainMenus[i].firstChild.firstChild.firstChild.nodeValue;


 But it says is undefined...hows that ?

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

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




___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Radiobutton groupName issue *URGENT*

2006-07-20 Thread Mike Boutin
Thanks for all the posts. Yes this is what i ended up doing, i just 
figured there might be a way around it.. thanks again!



Mike

eric dolecki wrote:

yup - seems like a scoping issue...

if all the radiobutton mcw were nested in a larger, single mc, they could
all register with the radiobutton groupname that is defined in that single
mc. in theory.

e.d.

On 7/20/06, Alberto Florentin [EMAIL PROTECTED] wrote:


Hey, I just worked with radiobutton group for first time (at least for 2
years).  Had some problems on how to access the radioGroup object itself.
Finally used var radiogroup = eval(myradioButton.groupName) and then 
added

to it the event listener.  Problem is, to make it work I had to include
the
path to the movieclip containing the radiobutton, like this var 
radiogroup

=
eval(path +.+myradioButton.groupName).  So I understand the
radiobuttongroup object belongs to the _parent.myradioButton
movieclip.  In
your case it seems that you get multiple radiobutton groups, one for each
movieclip.  You have to find some other way to do it.

Alberto

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

Sent: Wednesday, July 19, 2006 8:35 PM
To: Flashcoders mailing list
Subject: [Flashcoders] Radiobutton groupName issue *URGENT*


I am creating multiple movieclips with 1 radiobutton in each.  I want
them all the tie into 1 radiobutton Group, but the follow code doesnt
seem to work.  Can anyone tell me what im doing wrong and how to go
about fixing it?


I created a test case to show exactly what im trying to do...


import mx.controls.RadioButton;
for (var i =0; i10; i++){
var mc:MovieClip = this.createEmptyMovieClip(rbHolder_+i,
this.getNextHighestDepth());
var rb = mc.createClassObject(RadioButton, rb_+i,
mc.getNextHighestDepth(), {label:rb_+i, groupName:configGroup});
mc._y = i * 20;
trace(Group Name: +rb.groupName);
}



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

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


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

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


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

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





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

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


[Flashcoders] Radiobutton groupName issue *URGENT*

2006-07-19 Thread Mike Boutin
I am creating multiple movieclips with 1 radiobutton in each.  I want 
them all the tie into 1 radiobutton Group, but the follow code doesnt 
seem to work.  Can anyone tell me what im doing wrong and how to go 
about fixing it?



I created a test case to show exactly what im trying to do...


import mx.controls.RadioButton;
for (var i =0; i10; i++){
	var mc:MovieClip = this.createEmptyMovieClip(rbHolder_+i, 
this.getNextHighestDepth());
	var rb = mc.createClassObject(RadioButton, rb_+i, 
mc.getNextHighestDepth(), {label:rb_+i, groupName:configGroup});

mc._y = i * 20;
trace(Group Name: +rb.groupName);
}



Mike Boutin
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Output to Text File

2006-07-11 Thread Mike Boutin

I believe you would need to use something such as php for this.


kelly snyder wrote:
I am trying to find a way to get my Flash file read from and write to 
ASCII text files.  I would like to run the swf or exe file on my local 
machine, with an input test file and an output text file in the same 
directory.  The swf file would read from the input file and write to the 
output  file.  Is this possible?  Can I use javascript to achieve this?


_
Don’t just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Php Host

2006-07-11 Thread Mike Boutin

http://www.hostbrigade.com/ - These guys are great.


Suzanne Harmon wrote:
I am looking for a good Php host with decent customer support. Anyone 
have recommendations?


Thanks in advance
Suzanne

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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 Remoting Inquiry

2006-07-07 Thread Mike Boutin
Yes i believe its a scope issue also, i solved this by storing the 
callback functions at _root.



Mike BOutin

Rich Rodecker wrote:

is it a scoping issue? maybe trying delegating the click to a function
in the same scope as the service...

sendMessage.click = Delegate.create(this, onButtonClick)

function onButtonClick() {
   pc = smsFlashRemoting.SendMessage(siteID, LicenseKey);
   pc.responder = new RelayResponder(this, 'SendMessage_Result',
'SendMessage_Fault');
}

On 7/7/06, Graham Pearson [EMAIL PROTECTED] wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I am having an issue with flash remoting and would like to understand
what is going on so I can resolve this issue. The code below works
with the proper results.

import mx.remoting.Service;
import mx.remoting.PendingCall;
import mx.remoting.RecordSet;
import mx.remoting.debug.*;
import mx.rpc.*;
import mx.services.Log;
import mx.controls.Alert;

var siteID:String = 1000;
var gatewayServer:String = messagegateway.localhost;
var LicenseKey:String = 7A14A28C;
var pc:PendingCall;

var smsFlashRemoting:Service = new Service(http://; + gatewayServer +
/flashservices/gateway, webServiceLog,
properties.cfc.SMSMessageGateway, null, null);
pc = smsFlashRemoting.SendMessage(siteID, LicenseKey);
pc.responder = new RelayResponder(this, 'SendMessage_Result',
'SendMessage_Fault');

function SendMessage_Result(re:ResultEvent):Void {
trace(Received Result from sendMessage_Result:  + re.result);
}

function SendMessage_Fault(fe:FaultEvent):Void {
trace(Received Error from sendMessage_Fault:  +
fe.fault.faultstring);
}

As mentioned above this code works as I get the trace statement in the
output window which is what I would expect. Now for the code which
follows I will not get the trace statement from the _result function
and the only thing that I have done is put a button on a stage to have
the user click this button to run the same Remoting Call. Below is my
code:

import mx.remoting.Service; // Import the Service Class
import mx.remoting.PendingCall; // Import the PendingCall Class
import mx.remoting.RecordSet; // Import the RecordSet Class
import mx.remoting.debug.*; // Import the Remoting Debug Class
import mx.rpc.*; // Import all of the RPC Service Classes
import mx.services.Log;
import mx.controls.Alert;

var siteID:String = 1000;
var gatewayServer:String = messagegateway.localhost;
var LicenseKey:String = 7A14A28C;
var pc:PendingCall;

var sendMessage = new Object();
var ccObjectListener = new Object();
var webServiceLog = new Log(Log.VERBOSE);
sendMessage_btn.addEventListener(click, sendMessage);

var smsFlashRemoting:Service = new Service(http://; + gatewayServer +
/flashservices/gateway, webServiceLog,
properties.cfc.SMSMessageGateway, null, null);

sendMessage.click = function() {
pc = smsFlashRemoting.SendMessage(siteID, LicenseKey);
pc.responder = new RelayResponder(this, 'SendMessage_Result',
'SendMessage_Fault');

function SendMessage_Result(re:ResultEvent):Void {
trace(Received Result from sendMessage_Result:  + re.result);
}

function SendMessage_Fault(fe:FaultEvent):Void {
trace(Received Error from sendMessage_Fault:  +
fe.fault.faultstring);
}

}

The code with the button on the screen will never put the trace line
in the debug window. I have tried putting the fucntions for the
_Result and _Fault inside of the click function and also on the
outside. Everything that I have tried will reproduce the same results
without the trace being displayed in the output window.

Any Suggestions.

- --
Graham Pearson, System Administrator / Application Developer
Northern Indiana Educational Services Center
Mishawaka, IN 46544
Voice (866) 254-5322 or (574) 254-5210 / Fax (574) 254-0148

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (MingW32)
Comment: GnuPT 2.6.2.1 by EQUIPMENTE.DE
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFErnjArwdok4nP6d0RAvUuAJ9JcFGw1e2cGhKYKreEiLVXbqjzkgCdFK8o
hE9UiqliR3vhGhOZR/QM2vA=
=g7mS
-END PGP SIGNATURE-

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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

Re: [Flashcoders] Export frame option disabled

2006-06-23 Thread Mike Boutin
Here is an example of the preloader used placed on the first frame of 
the movie.


this.onEnterFrame = function(){
var loaded:Number = this.getBytesLoaded();
var total:Number = this.getBytesTotal();
var percent:Number = Math.floor((loaded/total)*100);
load_txt.text = Loading... +percent+%;
loadBar._xscale = percent;
if (percent == 100){
gotoAndPlay(2);
delete this.onEnterFrame;
}
}
stop();


Mike


Mike wrote:

Are you basing the percentage on the frames loaded (100 * _framesloaded
/ _totalframes) or bytes loaded (100 * getBytesLoaded() /
getBytesTotal())? You should be doing the latter. If you are then ... um
 *tags someone else*

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mike
Boutin
Sent: Thursday, June 22, 2006 1:52 PM
To: Flashcoders mailing list
Subject: [Flashcoders] Export frame option disabled

Hey everyone,

Im creating a preloader and I notice that it doesnt start until about 
90% done loading the file.  I believe this is because my ui components 
are exported to the first frame.  I tried unchecking export to first 
frame with no difference.  I also tried changing the actionscript 
setting to export it to frame 2 rather than 1, but it is unavailable to 
change (the field is disabled).  Am I missing something here? ;) Thanks!




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

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

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Export frame option disabled

2006-06-22 Thread Mike Boutin

Hey everyone,

Im creating a preloader and I notice that it doesnt start until about 
90% done loading the file.  I believe this is because my ui components 
are exported to the first frame.  I tried unchecking export to first 
frame with no difference.  I also tried changing the actionscript 
setting to export it to frame 2 rather than 1, but it is unavailable to 
change (the field is disabled).  Am I missing something here? ;) Thanks!




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

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


Re: [Flashcoders] Sample PHP script for handling XML from Flash

2006-06-21 Thread Mike Boutin
You may also want to look into amfphp and Flash Remoting as it greatly 
simplifies this approach.


http://amfphp.org/


Mike Boutin

Jim Robson wrote:

Matt:
 http://php.net/ has tutorials and a comprehensive manual. If you have
experience with ASP, then you should be able learn the basics of PHP
quickly.

-Jim 


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of matt
stuehler
Sent: Wednesday, June 21, 2006 2:34 PM
To: Flashcoders mailing list
Subject: [Flashcoders] Sample PHP script for handling XML from Flash

All,

This may be more than I should ask for, but I'm looking for a sample or two
of PHP that can do the following:

- Receive an XML doc from Flash
- Extract certain nodevalues and attribute values
- Create and SQL query that stores those values in a MySQL database

and vice versa:

- Retrieve a record from a MySQL database
- create an XML doc containing the record's values
- send that XML doc to Flash

I've done this many times before with ASP and SQLserver or Access (so I'm
familiar with the Actionscript and SQL), but I've never used PHP or MySQL
before.

I'm hoping that with a working sample, I can modify it to the specifics of
my project.

I'd be very grateful for any sample code, helpful advice, or useful links.

Cheers,
Matt Stuehler
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Best Flash data access way opinions

2006-06-21 Thread Mike Boutin

Take a look into amfphp and Flash Remoting at http://amfphp.org/


Mike Boutin

Jorge Antonio Diaz Gutierrez wrote:

Hi everyone:
   There are differents ways to comunicate Flash Action Script with Data Bases. 
One of the most used is XML generation trough PHP. I would like to hear about 
differents ways and opinions about it. What techniques you use?? and wichone is 
the most powerfull??
   Thanks you all.
 
   Jorge Díaz





___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] moving jpeg out of swf

2006-06-21 Thread Mike Boutin

Maybe this will help, found it through google ;)

http://64.207.157.121/tutorials/flashPHP/print_screen/index.php


Mike

Bo Parker wrote:
I want to preface this by saying that I've tried searching for this for 
the past hour. I am creating an application that takes a screenshot of a 
movie clip. That part is successful. I need to be able to take that 
screenshot, and move the image out of the swf file and save on a server. 
I've tried google and working with printJob but that's not exactly the 
right fit. Could you guys point me in the right direction toward 
achieving this end? Thanks,


--
Bo Parker, AIGA
Bo Co. Design
650 W Vickery
Suite 130
Fort Worth, Texas  76104

817.332.4700 phone
817.332.4710 facsimile

www.rmcfw.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] FileReference and Getting File Path

2006-06-15 Thread Mike Boutin
Is it possible for you to just grab the name after it is selected from 
the FileReference object?



var listener:Object = new Object();
listener.onSelect = function(file:FileReference):Void  {
trace(file.name);
};


Boots

[EMAIL PROTECTED] wrote:

I am using the FileReference Class to upload images. Is there a way to get the 
path to the selected file? Ideally, I would like to preview the image before 
being uploaded and need the path.
 
 Thanks for any and all replies.

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] FileReference and Getting File Path

2006-06-15 Thread Mike Boutin
Not sure if this will help, but maybe you can copy the image to the 
users cache to display it.


// make a working copy of a file on the user's disk
var fileRef = new FileReference();
if (fileRef.browse([Text Files, *.txt]) {
   fileRef.copyIntoCache(backup-data.txt);
   var newFile = new FileReference();
   newFile.open(backup-data.txt);

   // operate on new file
   // ...

}

[EMAIL PROTECTED] wrote:

Thanks for the reply.

I can get the name, however it doesn't provide the path (i.e. 
c:\images\image001.jpg)

Mike Boutin  mikeb at juicystudios.com
 Thu Jun 15 13:03:32 EDT 2006   Is it possible for you to just grab the name after it is selected from 
the FileReference object?



var listener:Object = new Object();
listener.onSelect = function(file:FileReference):Void  {
trace(file.name);
};


Boots
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] FileReference and Getting File Path

2006-06-15 Thread Mike Boutin

Oops :)

Maybe im just dont undestand the problem because how can you show a 
preview of the users image without first uploading it to your server?



Boots

Geoffrey Williams wrote:

That's a Macromedia Central only feature. I doubt they're using Central, but
maybe ;)

If you're working in a web page you can use a hidden file field and
communicate with it via ExternalInterface / getURL and javascript.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mike Boutin
Sent: Thursday, June 15, 2006 1:56 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] FileReference and Getting File Path

Not sure if this will help, but maybe you can copy the image to the 
users cache to display it.


// make a working copy of a file on the user's disk
var fileRef = new FileReference();
if (fileRef.browse([Text Files, *.txt]) {
fileRef.copyIntoCache(backup-data.txt);
var newFile = new FileReference();
newFile.open(backup-data.txt);

// operate on new file
// ...

}

[EMAIL PROTECTED] wrote:

Thanks for the reply.

I can get the name, however it doesn't provide the path (i.e.

c:\images\image001.jpg)
Mike Boutin  mikeb at juicystudios.com
 Thu Jun 15 13:03:32 EDT 2006   Is it possible for you to
just grab the name after it is selected from 

the FileReference object?


var listener:Object = new Object();
listener.onSelect = function(file:FileReference):Void  {
trace(file.name);
};


Boots





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

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





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

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


Re: [Flashcoders] amfphp NetConnection.Connect.Failed

2006-06-06 Thread Mike Boutin
Does your service class load properly with no errors in the amfphp 
Service Browser? can you post some code?



Mike

Sam wrote:

Hi,
Are there issues between flash player 7  8, When I try to connect using 
player 7 it works, when trying connect with p[layer 8 it fails.

Any Ideas why this would be?

Thanks.

Sam


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

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





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

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


Re: [Flashcoders] amfphp NetConnection.Connect.Failed

2006-06-06 Thread Mike Boutin

Hmm odd.  Can you post an example of your connection script?


Mike

Sam wrote:

Hi,
Yes the service works fine in the Service Browser.
Opening the swf in SAFlashPlayer 7 the service connects SAFlashPlayer 8 
I get a connection failure


On Jun 6, 2006, at 12:01 PM, Mike Boutin wrote:

Does your service class load properly with no errors in the amfphp 
Service Browser? can you post some code?




___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Camera Auto Deny

2006-06-01 Thread Mike Boutin
Hello,  I have this code on the first frame of a blank movie.  For some 
reason it always autmatically denies access to the camera without even 
popping up the standard Allow/Deny dialog.  Any help would be 
greatly appreciated! thanks!


function allowCamera() {
var my_camera:Camera = Camera.get();
my_video.attachVideo(my_camera);
my_camera.onStatus = function(infoObj:Object) {
switch (infoObj.code) {
case 'Camera.Muted' :
trace(Camera access denied);
break;
case 'Camera.Unmuted' :
trace(Camera access granted);
break;
}
};

}
allowCamera();


Boots
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] XML Parsing

2006-05-25 Thread Mike Boutin

Yes im having the same problem, but with Flash Remoting.

Matt Jurgemeyer wrote:

I'm building my menus dynamically from xml docs, but I'm having a problem
with a lag while the xml parses. I have a graphic indicating that the xml is
loading, but it isn't showing up for me on broadband. I'm assuming that this
is because the xml file is so small, it loads instantly. I still have the
lag though, so it must be coming from the parsing time. Is there any way I
can indicate or show progress of parsing? I'm sure this has been a common
topic in the past, but I haven't been able to find anything online.

 


For reference, the URL is: http://www.jurgmeyer.com
http://www.jurgmeyer.com/  - after the page loads, click on any of the
four options to see what I'm talking about.

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

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





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

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


Re: [Flashcoders] Flex vs. Flash IDE

2006-05-25 Thread Mike Boutin
Yes OpenLaszlo is a great solution.  Ive used it quite a bit.  They have 
a awesome community for help and getting started with it.


jcanistrum wrote:

and what about OpenLaszlo, has someone given it a try ?

I saw some very good demos overthere 

http://www.openlaszlo.org/demos



2006/5/25, [EMAIL PROTECTED] [EMAIL PROTECTED]:


Hi,
I've been too busy developping in Flash lately to give a try to the new
Flex
yet, so excuse me if the following question sounds stupid:

Flex use to be a server product, but with the new Flex Builder can you
simply build a swf file like you do with flash and include it in regular
html page? (and therefore php,etc...)
Or do you absolutely need to have a specific Flex server of some sort
running in order to deliver those files?

Thank you,
Frank


-Original Message-
From: Muzak [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 25, 2006 6:45 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Flex vs. Flash IDE


 The other issue i see with flex is it's ability to scale.  It doesn't
 seem to have the ability to handle a ton of simultaneous connections
 very well, ala Flash Media Server.  Perhaps I'm off base here, but I'd
 prefer to develop the front ends in flash and communicate back and
 forth with a traditional back-end I.E. ASP, PHP, etc.  Those things are
free to develop on, more prove and seemingly scale a hell of a lot 
better.

Yes, it's not as simple as an EASY button, but if work was easy it'd be
fun and we'd all be broke.


Have you looked into FDS?
http://labs.adobe.com/technologies/flexdata_services2/

When you say: develop the front ends in flash You mean the Flash IDE?

What makes you think developing in Flex does not allow you to communicate
with any traditional back-end?
Flex Builder is just an IDE. The end result is an swf the same as with 
the

Flash IDE. It's just that an swf published from Flash is currently a
different version.

regards,
Muzak



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

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







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

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


Re: [Flashcoders] Flex vs. Flash IDE

2006-05-25 Thread Mike Boutin
I found the Laszlo mailinglist to be very helpful.  I got a quicker 
response rather than using the forums.  I believe the sign up is at 
openlaszlo.org



Mike

Jim Robson wrote:

Mike,

I didn't have much luck with the Laszlo community. I posted several
questions, and most of them went unanswered. Maybe they just don't like
ignorant newbies?

I also couldn't get Laszlo Systems to answer all of my questions. They sent
me a nice email when I joined their forum, but when I asked some questions,
they only answered some of them (and the answers they did send were a long
time coming). 


Overall, it seemed to me that the Laszlo support was lacking compared to
what I've found with Flex.

Jim

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mike Boutin
Sent: Thursday, May 25, 2006 1:34 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Flex vs. Flash IDE

Yes OpenLaszlo is a great solution.  Ive used it quite a bit.  They have 
a awesome community for help and getting started with it.


jcanistrum wrote:

and what about OpenLaszlo, has someone given it a try ?

I saw some very good demos overthere 

http://www.openlaszlo.org/demos



2006/5/25, [EMAIL PROTECTED] [EMAIL PROTECTED]:

Hi,
I've been too busy developping in Flash lately to give a try to the new
Flex
yet, so excuse me if the following question sounds stupid:

Flex use to be a server product, but with the new Flex Builder can you
simply build a swf file like you do with flash and include it in regular
html page? (and therefore php,etc...)
Or do you absolutely need to have a specific Flex server of some sort
running in order to deliver those files?

Thank you,
Frank


-Original Message-
From: Muzak [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 25, 2006 6:45 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Flex vs. Flash IDE



The other issue i see with flex is it's ability to scale.  It doesn't
seem to have the ability to handle a ton of simultaneous connections
very well, ala Flash Media Server.  Perhaps I'm off base here, but I'd
prefer to develop the front ends in flash and communicate back and
forth with a traditional back-end I.E. ASP, PHP, etc.  Those things are
free to develop on, more prove and seemingly scale a hell of a lot 
better.

Yes, it's not as simple as an EASY button, but if work was easy it'd be
fun and we'd all be broke.
Have you looked into FDS?
http://labs.adobe.com/technologies/flexdata_services2/

When you say: develop the front ends in flash You mean the Flash IDE?

What makes you think developing in Flex does not allow you to communicate
with any traditional back-end?
Flex Builder is just an IDE. The end result is an swf the same as with 
the

Flash IDE. It's just that an swf published from Flash is currently a
different version.

regards,
Muzak



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Flex vs. Flash IDE

2006-05-25 Thread Mike Boutin

You can deploy a Laszlo app as a stand-alone swf as well.

Mike

Marcelo de Moraes Serpa wrote:

Never used Laszlo and probally will never used it ... would better go to
flex2, don´t like the idea of using javascript and that the swf is 
generated

at runtime...

On 5/25/06, jcanistrum [EMAIL PROTECTED] wrote:


I was considering to use it but it was disapointing to me the fact that
they
don´t have AS 2.0 language support

2006/5/25, Mike Boutin [EMAIL PROTECTED]:

 I found the Laszlo mailinglist to be very helpful.  I got a quicker
 response rather than using the forums.  I believe the sign up is at
 openlaszlo.org


 Mike

 Jim Robson wrote:
  Mike,
 
  I didn't have much luck with the Laszlo community. I posted several
  questions, and most of them went unanswered. Maybe they just don't
like
  ignorant newbies?
 
  I also couldn't get Laszlo Systems to answer all of my questions. 
They

 sent
  me a nice email when I joined their forum, but when I asked some
 questions,
  they only answered some of them (and the answers they did send were a
 long
  time coming).
 
  Overall, it seemed to me that the Laszlo support was lacking compared
to
  what I've found with Flex.
 
  Jim
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf Of Mike
 Boutin
  Sent: Thursday, May 25, 2006 1:34 PM
  To: Flashcoders mailing list
  Subject: Re: [Flashcoders] Flex vs. Flash IDE
 
  Yes OpenLaszlo is a great solution.  Ive used it quite a bit.  They
have
  a awesome community for help and getting started with it.
 
  jcanistrum wrote:
  and what about OpenLaszlo, has someone given it a try ?
 
  I saw some very good demos overthere 
 
  http://www.openlaszlo.org/demos
 
 
 
  2006/5/25, [EMAIL PROTECTED] [EMAIL PROTECTED]:
  Hi,
  I've been too busy developping in Flash lately to give a try to the
 new
  Flex
  yet, so excuse me if the following question sounds stupid:
 
  Flex use to be a server product, but with the new Flex Builder can
you
  simply build a swf file like you do with flash and include it in
 regular
  html page? (and therefore php,etc...)
  Or do you absolutely need to have a specific Flex server of some
sort
  running in order to deliver those files?
 
  Thank you,
  Frank
 
 
  -Original Message-
  From: Muzak [mailto:[EMAIL PROTECTED]
  Sent: Thursday, May 25, 2006 6:45 AM
  To: Flashcoders mailing list
  Subject: Re: [Flashcoders] Flex vs. Flash IDE
 
 
  The other issue i see with flex is it's ability to scale.  It
doesn't
  seem to have the ability to handle a ton of simultaneous
connections
  very well, ala Flash Media Server.  Perhaps I'm off base here, but
 I'd
  prefer to develop the front ends in flash and communicate back and
  forth with a traditional back-end I.E. ASP, PHP, etc.  Those 
things

 are
  free to develop on, more prove and seemingly scale a hell of a lot
  better.
  Yes, it's not as simple as an EASY button, but if work was easy
it'd
 be
  fun and we'd all be broke.
  Have you looked into FDS?
  http://labs.adobe.com/technologies/flexdata_services2/
 
  When you say: develop the front ends in flash You mean the Flash
IDE?
 
  What makes you think developing in Flex does not allow you to
 communicate
  with any traditional back-end?
  Flex Builder is just an IDE. The end result is an swf the same as
with
  the
  Flash IDE. It's just that an swf published from Flash is 
currently a

  different version.
 
  regards,
  Muzak
 
 
 
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/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




--
João Carlos
___
Flashcoders@chattyfig.figleaf.com

[Flashcoders] Flash Remoting Freezing Player

2006-05-23 Thread Mike Boutin

Hello everyone,

I have been doing some work with Flash Remoting and AMFPHP.  The problem 
im having is the same problem I get with using PHP and XML.  The Flash 
player seems to just freeze whenever I make a backend call.  No loading 
animations or anything causing the user to think the app has crashed. 
Is this a common problem and are there any work arounds for this? Any 
info about be greatly appreciated!



Thanks!

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

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


Re: [Flashcoders] quick xml question

2006-05-08 Thread Mike Boutin

You could use php to write an xml file.

Flash guru wrote:

Hey all,

Can anyone point me in the right direction of how to save an xml doc from
flash.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


.



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Moving animation positions

2006-05-04 Thread Mike Boutin
I am trying to move all my animations so that they arecentered in the 
movieclip they were created in (was created off-centered) except I dont 
want to go through every keyframe and adjust the positioning frame by 
frame.  Is there an easier way of doing this?  I am using flash 8 pro... 
Any suggestions would be of great help!


Thanks!!


Boots
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Easing Dynamic Text

2006-05-03 Thread Mike Boutin
Anyone have any links to easing dynamic text?  Ive searched google high 
and low with no luck.


Thanks!

Boots
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Easing Dynamic Text

2006-05-03 Thread Mike Boutin
Do you know of any tutorials that explain the logic behind easing 
dynamic text? I understand that a tween class would/could be used but 
looking for more of how its done.


Boots

eric dolecki wrote:

mc_tween2 does that

On 5/3/06, Mike Boutin [EMAIL PROTECTED] wrote:


Anyone have any links to easing dynamic text?  Ive searched google high
and low with no luck.

Thanks!

Boots
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Straaaaaaaange FLVplayback problem....

2006-04-26 Thread Mike Boutin

Have you tried using netstream object to play your flvs instead?


Wouter Steidl wrote:

Thx for your respose,
But I cant believe it has to do with thatcause it works if I don't try
to load flvs from the same project but throw in the file from that other
project..

Any more thoughts?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ashwan
Wadhwa
Sent: Wednesday, April 26, 2006 10:08 PM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Strnge FLVplayback problem

You may want to wait for the ready event to fire(after you set the
contentPath)and then issue the play command.

MM Help example here:
http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/js/html/wwhel
p.htm?href=1893.html




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Wouter
Steidl
Sent: Wednesday, April 26, 2006 3:43 PM
To: 'Flashcoders mailing list'
Subject: [Flashcoders] Strnge FLVplayback problem

Hi List,

I am using the FLVPlayback component and have a really strange problem:

I have a videoloader class (Singleton) that I instansiate, then I throw in
an array of videos and it plays them sequentiallylike this: (FPB is a
reference to the FLVplayback-instance on stage)

public function loadFLVs (aVids : Array) : Void {   
// (re)set the video arrays
this.aVids = aVids;

//Load first video
FPB.activeVideoPlayerIndex = 0;
FPB.visibleVideoPlayerIndex = 0;
FPB.contentPath = aVids[0].source;

		// start with first Video

FPB.play();
}

And on a buttonpress I can change the array of videos like this:

Button.onPress = function() {
aVideos[0] = {source:videos/1A.flv, id:1, name:11, nCpTime:1.00};
myVid.loadFLVs(aVideos);
}

But now something strange happens...

I have a number of videos for a project named 1A.flv, 1b.flv, etc.
If I start with 1A and try to load 1B on the buttonclick it fails

If I start with 1A and on buttonpress load A TOTALL DIFFERENT flv form A
TOTALLY DIFFERENT PROJECT  it works... Lets call it project2.flv

As a hack I tried this in the loadFLV function:

Before I set the content path to the correct video I change it to
project2.flv...

//Load first video
FPB.activeVideoPlayerIndex = 0;
FPB.visibleVideoPlayerIndex = 0;
FPB.contentPath = project2.flv;
FPB.contentPath = aVids[0].source;

And then it works again :S
but its an ugly hack


I`m totally clueless,
Any idea what this can be?

Thanx a lot!

Wouter




___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Straaaaaaaange FLVplayback problem....

2006-04-26 Thread Mike Boutin
Using the netstream is the same idea as using the component, you can 
pass in multiple flv's to the same netstream / controls.


Wouter Steidl wrote:

Well., the whole setu is with the playback component because I can use 1
component and multiple flvs in that componentand the strange thing is
that it all works, but in this weirtd way I described

Thx for the tip though!
 


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mike Boutin
Sent: Wednesday, April 26, 2006 10:27 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Strnge FLVplayback problem

Have you tried using netstream object to play your flvs instead?


Wouter Steidl wrote:
  

Thx for your respose,
But I cant believe it has to do with thatcause it works if I don't 
try to load flvs from the same project but throw in the file from that 
other project..


Any more thoughts?

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

Sent: Wednesday, April 26, 2006 10:08 PM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Strnge FLVplayback problem

You may want to wait for the ready event to fire(after you set the 
contentPath)and then issue the play command.


MM Help example here:
http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/js/html/wwh
el
p.htm?href=1893.html




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

Sent: Wednesday, April 26, 2006 3:43 PM
To: 'Flashcoders mailing list'
Subject: [Flashcoders] Strnge FLVplayback problem

Hi List,

I am using the FLVPlayback component and have a really strange problem:

I have a videoloader class (Singleton) that I instansiate, then I 
throw in an array of videos and it plays them sequentiallylike 
this: (FPB is a reference to the FLVplayback-instance on stage)


public function loadFLVs (aVids : Array) : Void {   
// (re)set the video arrays
this.aVids = aVids;

//Load first video
FPB.activeVideoPlayerIndex = 0;
FPB.visibleVideoPlayerIndex = 0;
FPB.contentPath = aVids[0].source;

		// start with first Video

FPB.play();
}

And on a buttonpress I can change the array of videos like this:

Button.onPress = function() {
aVideos[0] = {source:videos/1A.flv, id:1, name:11, nCpTime:1.00};
myVid.loadFLVs(aVideos);
}

But now something strange happens...

I have a number of videos for a project named 1A.flv, 1b.flv, etc.
If I start with 1A and try to load 1B on the buttonclick it fails

If I start with 1A and on buttonpress load A TOTALL DIFFERENT flv form 
A TOTALLY DIFFERENT PROJECT  it works... Lets call it project2.flv


As a hack I tried this in the loadFLV function:

Before I set the content path to the correct video I change it to 
project2.flv...


//Load first video
FPB.activeVideoPlayerIndex = 0;
FPB.visibleVideoPlayerIndex = 0;
FPB.contentPath = project2.flv;
FPB.contentPath = aVids[0].source;

And then it works again :S
but its an ugly hack


I`m totally clueless,
Any idea what this can be?

Thanx a lot!

Wouter




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

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

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

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


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

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




  



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

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

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

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

[Flashcoders] Stop the stream!

2006-03-10 Thread Mike Boutin

Hello everyone,

I am using a MediaPlayback component (Media - Player 6-7) from Flash 8 
to stream some mp3s.  I have a combo box that changes the current mp3 
with this code:


flashMp3.setMedia(mp3ToLoad, MP3);

The problem is everytime I change the file, the old file continues to 
download.  So if I change the song 5 or 6 times the connection gets very 
slow.  Is there any way of stopping the song that is currently streaming 
first?



Thanks!

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

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


Re: [Flashcoders] Stop the stream!

2006-03-10 Thread Mike Boutin
That seems to have no affect on it.  Very wierd that there isnt a way to 
flush out the old streams.



eric dolecki wrote:

have you tried   flashMp3.setMedia( null ) ?
not sure what that might do...

On 3/10/06, Mike Boutin [EMAIL PROTECTED] wrote:
  

Hello everyone,

I am using a MediaPlayback component (Media - Player 6-7) from Flash 8
to stream some mp3s.  I have a combo box that changes the current mp3
with this code:

flashMp3.setMedia(mp3ToLoad, MP3);

The problem is everytime I change the file, the old file continues to
download.  So if I change the song 5 or 6 times the connection gets very
slow.  Is there any way of stopping the song that is currently streaming
first?


Thanks!

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

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



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Sandbox error

2006-03-10 Thread Mike Boutin
I keep getting this error in the debugger whenever I type in a input box 
in my application.  Everything seems to work fine still but does anyone 
know what it could mean or where to start debugging it?


*** Security Sandbox Violation ***
SecurityDomain 'http://localhost:8081/project' tried to access 
incompatible context 'file:///C|/.../.../.../.../.../interface.swf'

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

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


[Flashcoders] mp3 with custom ui components

2006-03-02 Thread Mike Boutin
Has anyone used the Flash 8 Custom UI Components to control a sound 
object rather than binding them to the FLV Player? Is this even possible 
or are they for use only with FLV not mp3?  Thanks!




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

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


Re: [Flashcoders] multi-threading / xml progress meter solutions?

2006-03-02 Thread Mike Boutin

Yes I also tried this with the same results.

Merrill, Jason wrote:


var pctLoaded:Number = Math.floor(my_xml.getBytesLoaded() /
my_xml.getBytesTotal() * 100);
 



Does that really work?  I know you said you got it from the help docs
and all, but I always thought the Flash player, when it came to loading
XML, ran single threaded in the sense that all other caluculations had
to stop until the XML was loaded.  I ask because with the code you
posted, I tried it on a 2mb XML file and pctLoaded traces NaN, and
my_xml.getBytesLoaded traces 0 the entire time the file is loading.


Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com










 


-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Jim Berkey
Sent: Wednesday, March 01, 2006 1:20 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] multi-threading / xml progress meter
 


solutions?
 


I found this xml dynamic preloader in the flash 8 docs that works like
 


a
 


charm. You need to tweak the location of the preloader bar, and the
 


name of
 


your xml file, but it's pretty sweet for larger xml loads.

var barWidth:Number = 200;
var barHeight:Number = 6;

this.createEmptyMovieClip(pBar_mc, );
var bar:MovieClip = pBar_mc.createEmptyMovieClip(bar_mc, 10);
bar.beginFill(0xFF, 100);
bar.moveTo(0, 0);
bar.lineTo(barWidth, 0);
bar.lineTo(barWidth, barHeight);
bar.lineTo(0, barHeight);
bar.lineTo(0, 0);
bar.endFill();
bar._xscale = 0;

var stroke:MovieClip = pBar_mc.createEmptyMovieClip(stroke_mc, 20);
stroke.lineStyle(0, 0x00);
stroke.moveTo(0, 0);
stroke.lineTo(barWidth, 0);
stroke.lineTo(barWidth, barHeight);
stroke.lineTo(0, barHeight);
stroke.lineTo(0, 0);

pBar_mc.createTextField(label_txt, 30, 0, barHeight, 100, 21);
pBar_mc.label_txt.autoSize = left;
pBar_mc.label_txt.selectable = false;
pBar_mc.label_txt.textColor = 0xFF;
// location of preloader on the movie stage
pBar_mc._x = -160;
pBar_mc._y = 0;

var my_xml:XML = new XML();
my_xml.ignoreWhite = true;
my_xml.onLoad = function(success:Boolean) {
  pBar_mc.onEnterFrame = undefined;
  if (success) {
myText.text = my_xml;
pBar_mc._visible=false;
pBar_mc.label_txt._visible=false;
  trace(XML loaded successfully);
  } else {
  trace(Unable to load XML);
  }
};
my_xml.load(Publications.xml);

pBar_mc.onEnterFrame = function() {
  var pctLoaded:Number = Math.floor(my_xml.getBytesLoaded() /
my_xml.getBytesTotal() * 100);
  if (!isNaN(pctLoaded)) {
  pBar_mc.bar_mc._xscale = pctLoaded;
  pBar_mc.label_txt.text = pctLoaded + % loaded;
  if (pctLoaded = 100) {
  pBar_mc.onEnterFrame = undefined;
  }
  }
}
- Original Message -
From: Mike Boutin [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Wednesday, March 01, 2006 1:05 PM
Subject: Re: [Flashcoders] multi-threading / xml progress meter
 


solutions?
 

 


Yes I have this problem too, except the xml im loading can be rather
   


large
 


and it causes flash player to freeze up for a few seconds when
   


parsing.
 


- Original Message -
From: Scott Pobiner [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Wednesday, March 01, 2006 9:02 AM
Subject: [Flashcoders] multi-threading / xml progress meter
   


solutions?
 

   


Hello flashcoders,

I was wondering what solutions people have for activity while
 


trying  to
 


load and parse XML data?  My application takes a solid 2-3 seconds
 


to
 


load and all attempts to build preloaders and progress meters seem
 


to
 


fail.  It seems that the application is hanging while it sorts out
 


the
 


XML data.

I suppose that this topic might also be valuable for other
 


applications.
 


Thoughts?  Comments?

Thanks all,

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 Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
 


NOTICE:
This message is for the designated recipient only and may contain

Re: [Flashcoders] multi-threading / xml progress meter solutions?

2006-03-01 Thread Mike Boutin
Yes I have this problem too, except the xml im loading can be rather large 
and it causes flash player to freeze up for a few seconds when parsing.



- Original Message - 
From: Scott Pobiner [EMAIL PROTECTED]

To: flashcoders@chattyfig.figleaf.com
Sent: Wednesday, March 01, 2006 9:02 AM
Subject: [Flashcoders] multi-threading / xml progress meter solutions?



Hello flashcoders,

I was wondering what solutions people have for activity while trying  to 
load and parse XML data?  My application takes a solid 2-3 seconds  to 
load and all attempts to build preloaders and progress meters seem  to 
fail.  It seems that the application is hanging while it sorts out  the 
XML data.


I suppose that this topic might also be valuable for other  applications. 
Thoughts?  Comments?


Thanks all,

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


Re: [Flashcoders] creating updatable flash sites (tutorial needed)

2006-02-21 Thread Mike Boutin

Hey,

You could use php/xml to do it.  I have done this making the user 
updating end of things in php (which writes a xml file), and then flash 
loads it.


http://www.sephiroth.it/tutorials.php




Ben Deroo wrote:


Hi,

Are there any tutorials or samples out there that explain how I can make a
flash site with a Content Management System? 


My client wants to be able to update the texts and some images in the site I
am creating for them.

Thx,
Ben

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] XMLPATH question: how to query for several fields...

2006-02-20 Thread Mike Boutin

Is it possible to use an xpath query?

XPath.selectNodes(myXml,/products/[EMAIL PROTECTED] = 'blah'][name/text() = 
'blah']);


julian atienza wrote:


HI,
Using this XML Example:

products
product SKU=7123734
nameBig Metal Pot/name
price19.95/price
anotherA/another
/product
product SKU=752585
namePlate/name
price12.95/price
anotherB/another
/product
product SKU=4182476
nameSpoon/name
price4.95/price
anotherC/another
/product
/products

I'm using XPATH in easy queries,
but now i want to make something similar to:

XPath.selectNodes(myXml,/products/product/@sku);

but with the fields name and price (Both)
For example, to obtain an array of elements with only those attributes.


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

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



 



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

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


[Flashcoders] (no subject)

2006-02-18 Thread Mike Boutin
Is there anyway to get the label of a highlighted item in a list 
component (flash8)?  I can get the lable of the selected item by doing 
my_list.selectedItem.label but is there something like 
my_list.highlightedItem.label??


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] (no subject)

2006-02-17 Thread Mike Boutin
We have a project.that is created in flash 8 but exported to flash 
player 6, AS1.  When I test the file in flash player 6 standalone 
locally, the file runs fine as well as publishing directly out of 
flash.  When I embed the swf file into html and post it on the web, it 
is only viewable through IE.  In firefox and opera all the preloaders 
stop working.  The wierd thing is when I test the same html file in 
Firefox/Opera locally, they all display like they should.   Has anyone 
has this issue before? Am I missing something? any help would be 
extremely appreciated!


EMBED CODE:

object classid=clsid:d27cdb6e-ae6d-11cf-96b8-44455354 
codebase=http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0; 
width=780 height=700 id=interface align=middle

param name=allowScriptAccess value=sameDomain /
param name=movie value=interface.swf /param name=quality 
value=high /param name=bgcolor value=#00 /embed 
src=interface.swf quality=high bgcolor=#00 width=780 
height=700 name=interface align=middle 
allowScriptAccess=sameDomain type=application/x-shockwave-flash 
pluginspage=http://www.macromedia.com/go/getflashplayer; /

/object

Cheers!

Mike




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

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


Re: [Flashcoders] multiuser flash games

2006-02-16 Thread Mike Boutin

Hello Rich,

I have used it so far with 20 users connected and playing.  (using the 
lite edition 50 user max) Though this has all been on a local network.




Rich Rodecker wrote:


Jobe - sorry, I meant no more than 5 users at a time in a room..i would
imagine that there would be more than 1 game being played at time. But yeah,
from what little experience i did have with electroserver i loved it,
thought it was really easy to set up and use.  I saw some of the samples up
on the ElectroServer site, but I need to get a couple of people in there to
test it out.

Mike - how many people do you have going simultaneously?






On 2/15/06, Mike Boutin  [EMAIL PROTECTED] wrote:
 


You might want to check out smartfox server at Http://www.gotoandplay.it

I am using it for a multi-user isometric rpg and so far so good! ;)



Rich Rodecker wrote:

   


im considering making a multiuser game in flash, which involves multiple
users (no more than 5 at a time probably) chasing each other around a
 


room.
   


I have dabbled with electroserver before and liked it, but only for a
 


simple
   


turn-based game, but I'm not sure about how well any multiuser server
 


would
   


handle latency.  Anyone have any suggestion/pointers/tips for this?
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


.



 


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

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

   


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

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



 



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] multiuser flash games

2006-02-15 Thread Mike Boutin

You might want to check out smartfox server at Http://www.gotoandplay.it

I am using it for a multi-user isometric rpg and so far so good! ;)



Rich Rodecker wrote:


im considering making a multiuser game in flash, which involves multiple
users (no more than 5 at a time probably) chasing each other around a room.
I have dabbled with electroserver before and liked it, but only for a simple
turn-based game, but I'm not sure about how well any multiuser server would
handle latency.  Anyone have any suggestion/pointers/tips for this?
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


.

 



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

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


[Flashcoders] Window Error wont go away

2006-01-27 Thread Mike Boutin
I am trying to make a window pop up.  I take the code from flash docs 
(put a window component in the library) and put this code, then I get 
this error everytime.  Can anyone tell me why i get it?


CODE:
import mx.managers.PopUpManager;
import mx.containers.Window;

var newWindow = PopUpManager.createPopUp(this, Window, true);



ERROR:
**Error** Scene=Scene 1, layer=Layer 2, frame=20:Line 9: Type mismatch.
var newWindow = PopUpManager.createPopUp(this, Window, true);

Total ActionScript Errors: 1  Reported Errors: 1



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


Re: [Flashcoders] Window Error wont go away

2006-01-27 Thread Mike Boutin
The wierd thing is now when I try to compile other older fla's that used 
this same piece of code (and worked fine), they all get a Type Mismatch 
error and screw up the compiled swf.  So basically every project I had 
that used a window component doesnt work anymore when compiling. Help ;)




Robert Chyko wrote:


Is this line:
var newWindow = PopUpManager.createPopUp(this, Window, true);
inside some other piece of code and the this refernce is incorrect?

Just throwing a guess out there cause this should work fine... Otherwise
its possessed



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mike
Boutin
Sent: Friday, January 27, 2006 1:58 PM
To: Flashcoders mailing list
Subject: [Flashcoders] Window Error wont go away


I am trying to make a window pop up.  I take the code from flash docs 
(put a window component in the library) and put this code, then I get 
this error everytime.  Can anyone tell me why i get it?


CODE:
import mx.managers.PopUpManager;
import mx.containers.Window;

var newWindow = PopUpManager.createPopUp(this, Window, true);



ERROR:
**Error** Scene=Scene 1, layer=Layer 2, frame=20:Line 9: Type mismatch.
var newWindow = PopUpManager.createPopUp(this, Window,
true);

Total ActionScript Errors: 1  Reported Errors: 1



Cheers!
___
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] Fullscreen flash

2006-01-26 Thread Mike Boutin

Hi,

I am making a fullscreen flash site and I have the width and height set 
to 100%.  In internet explorer it all views fine, but when I view the 
same page in Firefox and Safari, the flash document doesnt stretch to 
100%, it only shows like 1/3 of the page as flash and the rest as just 
plain html, has anyone had this problem before??



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


Re: [Flashcoders] Fullscreen flash SOLVED

2006-01-26 Thread Mike Boutin

Thanks Ian, works like a charm!



Ian Thomas wrote:


Hi Mike,
 It's a Known Feature with Firefox. It's not strictly speaking a bug - the
browser doesn't know how high the document is supposed to be, because
there's no sized content in the document.

Try sticking this in the head

style
body,html
{
   margin:0px;
   padding:0px;
   height:100%;
}
/style

If that doesn't work straight off, you may need to change the document type
- try putting in a valid HTML or XHTML doctype to kick Firefox out of Quirks
mode. (You might not need it - I honestly can't remember).

The above code and a valid XHTML doctype certainly works for me.

HTH,
 Ian

On 1/26/06, Mike Boutin [EMAIL PROTECTED] wrote:
 


Hi,

I am making a fullscreen flash site and I have the width and height set
to 100%.  In internet explorer it all views fine, but when I view the
same page in Firefox and Safari, the flash document doesnt stretch to
100%, it only shows like 1/3 of the page as flash and the rest as just
plain html, has anyone had this problem before??


Cheers!

   


___
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] Wierd window error

2006-01-24 Thread Mike Boutin
I copy and paste this code from flash docs and I get a type mismatch 
error on line 3.  I used this same code in a different swf and it worked 
fine, but in this particular movie I get this error, does anyone know 
what is causing this? ( I have a window component in my library )




import mx.managers.PopUpManager;
import mx.containers.Window;
var my_win:MovieClip = PopUpManager.createPopUp(this, Window, true, { 
contentPath:images/graphics/4.jpg});




Cheers!

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


[Flashcoders] Dynamically named loadVars

2006-01-23 Thread Mike Boutin
What is the proper way to write the loop that the names of the posted 
vars and be dynamically named based on i in the loop, as in 
myData.color_0 = white; myData.color_1 = blue etc. Any ideas?


var myData:LoadVars = new LoadVars();
   myData.action = create;
   myData.count = _root.shop_cart.size();
   for (i=0; i_root.shop_cart.size(); i++) {
   var myProd:Product = _root.shop_cart.getElement(i);
   // myData.color_i = myProd.getColor();
   }
   delete myProd;
   trace(myData);


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


[Flashcoders] Fullscreen Flash issue

2006-01-16 Thread Mike Boutin
I am working on a fullscreen flash project.  Can anyone tell me why this 
code acts like a loop rather than just happening once?  I am trying to 
position an object at the bottom of the browser window no matter what 
the window size.  I am using this code to set it right off the start.  
This all works and positions it at the bottom except when I resize the 
window the object moves around to repositions itself again, when I only 
want it to happen once. It is no in a onEnterFrame or setInterval and it 
is not in a onResize listener either.  Can anyone tell me why this 
happens and how to get around it?


siteLogo._x = Stage.width / 2;
siteLogo._y = Stage.height - 70;

Cheers!





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


Re: [Flashcoders] Fullscreen Flash issue

2006-01-16 Thread Mike Boutin
Yes thanks this seems to work.  Still not sure why it was doing what it 
was, either way thanks for the help!


Marc Hoffman wrote:

not sure why, but try putting Stage properties in a new variable that 
doesn't get reset when repositioning the object:


theWidth=Stage.width/2;
theHeight=Stage.height-70;

siteLogo._x = theWidth;
siteLogo._y = theHeight;

- Marc

At 10:34 AM 1/16/2006, you wrote:

I am working on a fullscreen flash project.  Can anyone tell me why 
this code acts like a loop rather than just happening once?  I am 
trying to position an object at the bottom of the browser window no 
matter what the window size.  I am using this code to set it right 
off the start.
This all works and positions it at the bottom except when I resize 
the window the object moves around to repositions itself again, when 
I only want it to happen once. It is no in a onEnterFrame or 
setInterval and it is not in a onResize listener either.  Can anyone 
tell me why this happens and how to get around it?


siteLogo._x = Stage.width / 2;
siteLogo._y = Stage.height - 70;

Cheers!




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

2006-01-11 Thread Mike Boutin

Hi All,

I have a FLVPlayback component in flash 8 with the skinAutoHide set to 
true.  In Firefox everything works fine, when you roll over the video, 
the player controls come up and then go away when you roll off.  In 
Internet Explorer once you roll over the video the controller stays and 
doesn't go away when you roll off.  Has anyone else had this happen?


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


[Flashcoders] Files in directory?

2006-01-06 Thread Mike Boutin
Is there anyway for flash to find out how many files exist within a 
specific directory?



Thanks




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


Re: [Flashcoders] Files in directory?

2006-01-06 Thread Mike Boutin

Ok thanks, I think ill give'er a try with php :)

Ian Thomas wrote:


Alternatively, if you're looking in a directory on a server, code up
something in a server-side language - PHP or whatever - to do the file
count, and have flash request the result.

HTH,
 Ian

On 1/6/06, Merrill, Jason [EMAIL PROTECTED] wrote:
 


http://www.multidmedia.com/software/zinc/


   


___
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] Changing color of window title?

2005-12-29 Thread Mike Boutin
Does anyone know how to change the color of the title in the window 
component?

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


[Flashcoders] NumericStepper

2005-12-29 Thread Mike Boutin
I have a NumericStepper that changes the value of a price textfield 
based on the stepper value.  Is there anyway to check if the user 
increment/decrement the stepper so I can muliply/divide the number when 
needed.  Thanks



var nstepListener:Object = new Object();
nstepListener.change = function(evt_obj:Object) {
  if (evt_obj.target.value == 0) {
  } else {
  var oldPrice:Number = proPrice.text;
  var step:Number = evt_obj.target.value;
  proPrice.text = oldPrice*step;
  }
};
orderQuantity.addEventListener(change, nstepListener);
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Custom combobox

2005-12-23 Thread Mike Boutin
Can anyone tell me how to go about creating a comobox that can hold a 
10x10 pixel color palette image and a label beside it per row?  Has 
anyone seen anything like this?


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


Re: [Flashcoders] Custom combobox

2005-12-23 Thread Mike Boutin

Perfect ill give it a try and post some code when i get it ;) Cheers!


Mike Boutin

Chris Hill wrote:


Hi Mike,

You should be able to create a movieclip class that implements the 
CellRenderer api, and then use that within the combobox's list:


var dropdown:List = myCombo.dropdown;
dropdown.cellRenderer = myCustomCellRenderer;

Having said that, I've never done this, but I don't see why it 
wouldn't work.


C



Mike Boutin wrote:

Can anyone tell me how to go about creating a comobox that can hold a 
10x10 pixel color palette image and a label beside it per row?  Has 
anyone seen anything like this?


Thanks!
___
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] Custom combobox

2005-12-23 Thread Mike Boutin
Hi Chris, thanks for the help by the way, i managed to get it working 
like so:


myCombobox.addItem(Hello world);
myCombobox.dropdown.setPropertiesAt(0,{backgroundColor:0xCC, 
icon:image});


The problem being that the icon image has to be in the library and 
have a linkage id.  Do you think there is any way to take this same 
approach but use a dynamically loaded jpg for the icon?



Mike Boutin



Chris Hill wrote:


Hi Mike,

You should be able to create a movieclip class that implements the 
CellRenderer api, and then use that within the combobox's list:


var dropdown:List = myCombo.dropdown;
dropdown.cellRenderer = myCustomCellRenderer;

Having said that, I've never done this, but I don't see why it 
wouldn't work.


C



Mike Boutin wrote:

Can anyone tell me how to go about creating a comobox that can hold a 
10x10 pixel color palette image and a label beside it per row?  Has 
anyone seen anything like this?


Thanks!
___
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] Scrollpain Overlap Issues

2005-12-23 Thread Mike Boutin

I am able to view at both urls

tech wrote:


I uploaded to the root directory. Try this.

http://mike.randm.org/scrollpain.html


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Merrill,
Jason
Sent: Friday, December 23, 2005 2:42 PM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Scrollpain Overlap Issues

Nope.  Can't view source on a file I can't reach.  Tried it again, no
dice.  Maybe someone else on the list can try and see if its just me or
a problem on your end.  


Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com










 


-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of tech
Sent: Friday, December 23, 2005 3:37 PM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] Scrollpain Overlap Issues

Jason,

I republished and uploaded latest files. Let me know if you still
 


can't see
 


the movie. Just curious, can you view source?

http://mike.randm.org/flash/scrollpain/index.html

Mike



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


Merrill,
 


Jason
Sent: Friday, December 23, 2005 12:32 PM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Scrollpain Overlap Issues

Tried it in both IE and Firefox.  Not having any other network issues
either.

Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com


 


-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of tech
Sent: Friday, December 23, 2005 1:28 PM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] Scrollpain Overlap Issues

That's weird. I've sent the link to people here at work and offsite,
 


and
 


they could view it. Let me republish and upload after lunch. Thanks
 


for the
 


heads up.

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


Merrill,
 


Jason
Sent: Friday, December 23, 2005 12:25 PM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Scrollpain Overlap Issues

Yeah, still get a page cannot be displayed error.  I don't think its
your detection script, it's the location of your HTML file.

Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com










 


-Original Message-
From: [EMAIL PROTECTED]
 


[mailto:flashcoders-
 


[EMAIL PROTECTED] On Behalf Of tech
Sent: Friday, December 23, 2005 1:05 PM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] Scrollpain Overlap Issues

Try it again, I've added the default flash 8 detection script.
http://mike.randm.org/flash/scrollpain/index.html

You should see three buttons located at the top left of the
 


screen.
 


Thanks,
Mike


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


Merrill,
 


Jason
Sent: Friday, December 23, 2005 11:30 AM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Scrollpain Overlap Issues

That URL you sent doesn't seem to be working.

http://mike.randm.org/flash/scrollpain/ ?

Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com










 


-Original Message-
From: [EMAIL PROTECTED]
 


[mailto:flashcoders-
 


[EMAIL PROTECTED] On Behalf Of tech
Sent: Friday, December 23, 2005 12:19 PM
To: 'Flashcoders mailing list'
Subject: [Flashcoders] Scrollpain Overlap Issues

Hello,



I'm running into some problems with the scrollpane component.
 


Here's
 


a
 


quick
 


breakdown of what's happening:



1. I'm using the v2 scrollPane component to build a menu list

2. I attach movieClips from the library into a container
 


movieclip,
 


each
 


attached clip contains different v2 components

3. When I attach the clip with the scrollPane menu, it works
 


fine
 


4. However, if a prior component contains a comboBox component,
 


the
 


scrollPane menu loses it's mask



I have uploaded a swf, so you can check it out at:
http://mike.randm.org/flash/scrollpain/

1. To view the menu, click one

2. To view the error, click two then one



Thanks for any help in advance,

Mike







Here is the code I used to build the menu:



//SETUP QUSTIONS SCROLLPANE - NO HORIZONTAL SCROLLING ALLOWED

questions_sp.hScrollPolicy=off;

questions_sp.vScrollPolicy=on;



//SET UP BLANK HOLDER TO BUILD QUESTION LIST IN SCROLLPANE

questions_sp.contentPath = blank; //blank movie clip from
 


library
 


var paneContent = questions_sp.content;



//TEMPORARY TEST VARIABLES

qLen = 10;



function setUpQuestionList(){

  for (var i =0; iqLen; i++){

  var tp = paneContent.attachMovie(menu,
 


menu + i,
 


i, {_y: i *20});



  //QUESTION LIST 

Re: [Flashcoders] Custom combobox

2005-12-23 Thread Mike Boutin

Thanks Jesse, thats a big help!




JesterXL wrote:


Dude, use a cellrenderer instead.
http://dev.jessewarden.com/flash/comboboxcellrenderer/

More examples in the Flash 8 help docs.  The selectedItem doesn't show it 
the icon, though, so I'll leave that as a challenge to you to figure out.


- Original Message - 
From: Mike Boutin [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Friday, December 23, 2005 3:23 PM
Subject: Re: [Flashcoders] Custom combobox


Hi Chris, thanks for the help by the way, i managed to get it working
like so:

myCombobox.addItem(Hello world);
myCombobox.dropdown.setPropertiesAt(0,{backgroundColor:0xCC,
icon:image});

The problem being that the icon image has to be in the library and
have a linkage id.  Do you think there is any way to take this same
approach but use a dynamically loaded jpg for the icon?


Mike Boutin



Chris Hill wrote:

 


Hi Mike,

You should be able to create a movieclip class that implements the
CellRenderer api, and then use that within the combobox's list:

var dropdown:List = myCombo.dropdown;
dropdown.cellRenderer = myCustomCellRenderer;

Having said that, I've never done this, but I don't see why it
wouldn't work.

C



Mike Boutin wrote:

   


Can anyone tell me how to go about creating a comobox that can hold a
10x10 pixel color palette image and a label beside it per row?  Has
anyone seen anything like this?

Thanks!
___
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] Combo troubles

2005-12-22 Thread Mike Boutin
I have a swf file that has a combobox component in it with two options.  
This is loaded into _root.holderClip


For some reason when I publish and view it in flash player, it works 
fine.  When I run the same thing in Internet Explorer and comobox does 
not drop down anymore? Am I missing something?



Thanks

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


Re: [Flashcoders] RE: Flex vs OpenLaszo

2005-12-21 Thread Mike Boutin
So OpenLaszlo may be a better solution as it does not need a OpenLaszlo 
licence to have a standalone swf on the server?


- Original Message - 
From: Spike [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Wednesday, December 21, 2005 8:27 AM
Subject: Re: [Flashcoders] RE: Flex vs OpenLaszo


That's not 100% true.

You must have a Flex license for the server where the swf is served
from, but you don't have to have Flex installed on it.

I've worked with a couple of clients who use this configuration.

Spike

On 12/21/05, JesterXL [EMAIL PROTECTED] wrote:

Nope, Flex 1 and Flex 1.5.

Flex 1 and Flex 1.5 require a server if you wish to remain legal.  While 
you
can easily create SWF's from Flex 1 and Flex 1.5 and run them 
independently,

unless they were served from a server that has Flex 1 or 1.5 installed,
that's illegal.

Flex 2 does not have this legal requirement, and once you create a SWF, 
you

can do whatever you want with it.

- Original Message -
From: Adrian Showater [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Wednesday, December 21, 2005 9:11 AM
Subject: [Flashcoders] RE: Flex vs OpenLaszo


JesterXL, please clarify:

Flex 1.5 and 2 allow you to compile stand alone SWF's.  Flex 1.5, 
however,

requires the Flex server to be installed on the box where the SWF is
deployed to.

Am I correct in assuming that you mean that Flex 1 requires the server 
while

all subsequent versions do not?


Adrian Showalter
Software Developer
Holmes BizNet
www.HolmesBizNet.com http://www.HolmesBizNet.com
330.893.3901 ext 102

___
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




--

Stephen Milligan
Do you do the Badger?
http://www.yellowbadger.com

Do you cfeclipse? http://www.cfeclipse.org
___
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] IE vs Firefox performance

2005-12-21 Thread Mike Boutin
I recently installed and have been using Firefox as my main browser.  I 
have noticed that all my flash sites  in firefox perform noticably 
slower than they do in internet explorer.  Is this an issue with firefox 
plugin itself or should I just go back to oh no internet explorer.



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


[Flashcoders] What not to do

2005-12-20 Thread Mike Boutin
Does anyone have any links on stuff Not to do in flash that maybe 
cause the plugin to slow down or halt.  Maybe even some best practices 
when working on large projects?



Thanks!


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


Re: [Flashcoders] Out of curiosity, XPath and String Datatype Oddity

2005-12-20 Thread Mike Boutin

Maybe something like this may help?

myText=XMLNode((XPath.selectNodes(myxml,myNodePath/mynode())[0])).nodeValue;



Mike Boutin


Merrill, Jason wrote:


AFAIK, XPath.selectNodes() returns an Array.
 



How do you use Xpath to return node values then?

Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com










 


-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Johan Lopes
Sent: Tuesday, December 20, 2005 1:07 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Out of curiosity, XPath and String Datatype
 


Oddity
 


Hi Jason,

AFAIK, XPath.selectNodes() returns an Array.

snippet from the docs

/**
10  *selectNodes
11  *
12  *returns an array of nodes that match the given XPath
13  *expression using the the XMLNode (context) as the
14  *starting context for the expression.
15  *
16  *This is the description
17  *@param (XMLNode)context
18  *@param (String)XPath expression
19  *@return (Array) matching nodes
20  */
21  static function selectNodes(context,path:String):Array{
22  return XPathParser.parseQuery(context,path)
23  }
24

/snippet from the docs

HTH,

/Johan

On 12/20/05, Merrill, Jason [EMAIL PROTECTED] wrote:
 


I'm asking this more out of curiosity than necessity, but the
   


responses
 


to this thread may help be avoid some headaches in the future.

Been using xfactorstudio's Xpath classes with great success.
   


However, I
 


have found an odd thing - sometimes I have to cast what I thought
   


was
 


already string, to a String in order for a V2 component to accept
   


the
 


value.  For example,

**This does not work:

var thisVideo:String = XPath.selectNodes(content_xml,
thecontentpath/@videoUrl);
video_mc.mediaPlayer.setMedia(thisVideo);//does not work

Even though no compiler errors and a trace on the var
   


thisVideo
 


traces the proper string (media/video/Welcome.flv) - or what I
   


thought
 


was a string, the video in the MediaPlayback component does not
   


play.---
 


**So instead, when casting to String first, this works:
var thisVideo:String = String(XPath.selectNodes(content_xml,
thecontentpath/@videoUrl));
video_mc.mediaPlayer.setMedia(thisVideo);.//works

Why?  What type of object was the Xpath value before I cast it to a
string?  This makes sense for numbers in an XML file, but for
   


Strings???
 


The kicker is I can send other XPath values I don't cast to strings
first to text fields, textAreas, and they show up fine.  So is it
something quirky with V2 components as well?

Thanks.

Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com



NOTICE:
This message is for the designated recipient only and may contain
   


privileged or
 


confidential information. If you have received it in error, please
 


notify the sender
 


immediately and delete the original. Any other use of this e-mail by
 


you is
 


prohibited.
 


___
Flashcoders 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] Flex vs OpenLaszo

2005-12-20 Thread Mike Boutin
Has anyone played with OpenLaszo as well as Flex?  Does flex allow you 
to compile a stand-alone swf file such as OpenLaszlo does?


Thanks!

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


Re: [Flashcoders] Out of curiosity, XPath and String Datatype Oddity

2005-12-20 Thread Mike Boutin
Doesnt XPath.selectNodes(myxml, pathtocontent/text()); return the text 
value as well?


Doug Coning wrote:


Could it be because the Xpath may return either a string or an array
depending on how you structure your query? 


I agree that if there was a selectText type method where you pass in an
xpath where you expect only one (or the first) resulting text value
would be great.

Doug Coning 
Software Developer

FORUM Solutions, LLC


 


-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Merrill, Jason
Sent: Tuesday, December 20, 2005 2:55 PM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Out of curiosity, XPath and String Datatype
Oddity

That's using Flash's XML object with XPath to grab the node value -
   


sure
 


that works, and is good for nodes with CDATA, but overly complex -
wrapping String() around it is easier.  I was wondering just about the
XPath implementation and why it doesn't return a native string, thanks
though.

Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com









   


-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Mike Boutin
Sent: Tuesday, December 20, 2005 1:43 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Out of curiosity, XPath and String
   


Datatype
 


Oddity
   


Maybe something like this may help?

   


myText=XMLNode((XPath.selectNodes(myxml,myNodePath/mynode())[0])).no
 


de
   


Value;



Mike Boutin


Merrill, Jason wrote:

   


AFAIK, XPath.selectNodes() returns an Array.


 


How do you use Xpath to return node values then?

Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com












 


-Original Message-
From: [EMAIL PROTECTED]
 


[mailto:flashcoders-
   


[EMAIL PROTECTED] On Behalf Of Johan Lopes
Sent: Tuesday, December 20, 2005 1:07 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Out of curiosity, XPath and String
 


Datatype
   

 


Oddity


 


Hi Jason,

AFAIK, XPath.selectNodes() returns an Array.

snippet from the docs

/**
10  *selectNodes
11  *
12  *returns an array of nodes that match the given
 


XPath
 


13  *expression using the the XMLNode (context) as
 


the
 


14  *starting context for the expression.
15  *
16  *This is the description
17  *@param (XMLNode)context
18  *@param (String)XPath expression
19  *@return (Array) matching nodes
20  */
21  static function selectNodes(context,path:String):Array{
22  return XPathParser.parseQuery(context,path)
23  }
24

/snippet from the docs

HTH,

/Johan

On 12/20/05, Merrill, Jason [EMAIL PROTECTED] wrote:


 


I'm asking this more out of curiosity than necessity, but the


   


responses


 


to this thread may help be avoid some headaches in the future.

Been using xfactorstudio's Xpath classes with great success.


   


However, I


 


have found an odd thing - sometimes I have to cast what I
   


thought
 

   


was


 


already string, to a String in order for a V2 component to
   


accept
 

   


the


 


value.  For example,

**This does not work:

var thisVideo:String = XPath.selectNodes(content_xml,
thecontentpath/@videoUrl);
video_mc.mediaPlayer.setMedia(thisVideo);//does not work

Even though no compiler errors and a trace on the var


   


thisVideo


 


traces the proper string (media/video/Welcome.flv) - or what I


   


thought


 


was a string, the video in the MediaPlayback component does not


   


play.---


 


**So instead, when casting to String first, this works:
var thisVideo:String = String(XPath.selectNodes(content_xml,
thecontentpath/@videoUrl));
video_mc.mediaPlayer.setMedia(thisVideo);.//works

Why?  What type of object was the Xpath value before I cast it
   


to
 


a
   


string?  This makes sense for numbers in an XML file, but for


   


Strings???


 


The kicker is I can send other XPath values I don't cast to
   


strings
   


first to text fields, textAreas, and they show up fine.  So is
   


it
 


something quirky with V2 components as well?

Thanks.

Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com



NOTICE:
This message is for the designated recipient only and may
   


contain
 

   


privileged or


 


confidential information. If you have received it in error,
 


please
 

 


notify the sender


 


immediately and delete the original. Any other use of this e-mail

[Flashcoders] Wierd split

2005-12-20 Thread Mike Boutin
Im having a wierd problem with using .split on an array.  I create an 
array 3 frames before in the same timeline like so:


_root.cat_colors = new Array();
_root.cat_colors[0] = bob,john,betty;


Then 2 frames down the timeline I run a loop like so:

for (i=0; i_root.cat_colors.length; i++) {
  
   trace(String: +_root.cat_colors[i]);

  // The string traces properly here ex. bob,jim,john etc...

   var tempColor:Array = _root.cat_colors[i].split(,);
   trace(Total: +tempColor[i]);
   // traces out undefined for the next loop never happens

   for (j=0; jtempColor.length; j++) {
  trace(Color: +tempColor[j]);
   }

}


Anyone know why this doesnt work? is there another way to achieve this?  
If i create the array on the same frame as the loop, everything works 
like it should.



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


Re: [Flashcoders] Wierd split

2005-12-20 Thread Mike Boutin
The movie the script is in gets loaded into another movie. I can trace 
out _root.cat_color[0] etc... with no problems, even doing so in the for 
loop outputs proper values for _root.cat_colors[i].  If i trace out 
tempColor.length after the split, it always comes back undefined, thus 
the loop after that never happens.



trace(String: +_root.cat_colors[0]);
// traces out bob,jim,john

var tempColor:Array = _root.cat_colors[0].split(,);

trace(Total: +tempColor.length);
// traces out undefined when it should be 3




Adrian Lynch wrote:


Just took your code and plonked it in a new .fla and it works for me. Is
anything else happening in the movie or any included movies?

See it here: http://www.adrianlynch.co.uk/temp/colours.fla

Ade

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Mike
Boutin
Sent: 20 December 2005 23:41
To: Flashcoders mailing list
Subject: [Flashcoders] Wierd split


Im having a wierd problem with using .split on an array.  I create an
array 3 frames before in the same timeline like so:

_root.cat_colors = new Array();
_root.cat_colors[0] = bob,john,betty;


Then 2 frames down the timeline I run a loop like so:

for (i=0; i_root.cat_colors.length; i++) {

   trace(String: +_root.cat_colors[i]);
  // The string traces properly here ex. bob,jim,john etc...

   var tempColor:Array = _root.cat_colors[i].split(,);
   trace(Total: +tempColor[i]);
   // traces out undefined for the next loop never happens

   for (j=0; jtempColor.length; j++) {
  trace(Color: +tempColor[j]);
   }

}


Anyone know why this doesnt work? is there another way to achieve this?
If i create the array on the same frame as the loop, everything works
like it should.


Thanks!

___
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] Wierd split

2005-12-20 Thread Mike Boutin
Thanks Adrian,  your code works exactly like mine should but for some 
reason mine doesnt get the same results (though its the same code) ;)



Mike Boutin

Adrian Lynch wrote:


Just took your code and plonked it in a new .fla and it works for me. Is
anything else happening in the movie or any included movies?

See it here: http://www.adrianlynch.co.uk/temp/colours.fla

Ade

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Mike
Boutin
Sent: 20 December 2005 23:41
To: Flashcoders mailing list
Subject: [Flashcoders] Wierd split


Im having a wierd problem with using .split on an array.  I create an
array 3 frames before in the same timeline like so:

_root.cat_colors = new Array();
_root.cat_colors[0] = bob,john,betty;


Then 2 frames down the timeline I run a loop like so:

for (i=0; i_root.cat_colors.length; i++) {

   trace(String: +_root.cat_colors[i]);
  // The string traces properly here ex. bob,jim,john etc...

   var tempColor:Array = _root.cat_colors[i].split(,);
   trace(Total: +tempColor[i]);
   // traces out undefined for the next loop never happens

   for (j=0; jtempColor.length; j++) {
  trace(Color: +tempColor[j]);
   }

}


Anyone know why this doesnt work? is there another way to achieve this?
If i create the array on the same frame as the loop, everything works
like it should.


Thanks!

___
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] SVN TortoiseSVN

2005-12-14 Thread Mike Boutin
Just a few questions about SVN  TortoiseSVN.  I have ran the 1 click 
setup SVN that installs Subversion and TortoiseSVN.  It created the 
repository in c:\svnrepos


I stuck my project in a folder c:\svnrepos\project1,  then I import it 
into the repos.  Now when I make a new directory and use CHeckout, all 
the files from c:\svnrepos show up with checkmarks by them.  Now if I 
create a new textfile in the checkout dir, and update it into the repos, 
and then I check c:\svnrepos\project1, the file i created isnt anywhere 
to be found except in the checkout dir.  Can anyone tell me what im 
doing wrong? Thanks!

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


Re: [Flashcoders] SVN TortoiseSVN

2005-12-14 Thread Mike Boutin
When I do a commit, after adding the file of course.  The commit 
happens, but where does it stop that file? Shouldnt it post my new file 
to the repository? instead it just sends it back to where i first 
created it like so:


Adding: Desktop\test\tests.txt 
Sending Content: C:\Documents and Settings\Boots\Desktop\test\tests.txt 
Completed: At revision: 3 



Shoulding it be sending content to c:\svnrepos\project1??



David Skoglund wrote:

I think you should use the commit command to commit you changes 
instead of update.


/David Skoglund
www.monsterland.se


- Original Message - From: Mike Boutin [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Wednesday, December 14, 2005 10:09 PM
Subject: [Flashcoders] SVN  TortoiseSVN


Just a few questions about SVN  TortoiseSVN.  I have ran the 1 click 
setup SVN that installs Subversion and TortoiseSVN.  It created the 
repository in c:\svnrepos


I stuck my project in a folder c:\svnrepos\project1,  then I import 
it into the repos.  Now when I make a new directory and use CHeckout, 
all the files from c:\svnrepos show up with checkmarks by them.  Now 
if I create a new textfile in the checkout dir, and update it into 
the repos, and then I check c:\svnrepos\project1, the file i created 
isnt anywhere to be found except in the checkout dir.  Can anyone 
tell me what im doing wrong? Thanks!

___
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] SVN TortoiseSVN

2005-12-14 Thread Mike Boutin
Perfect this is what I was just reading in TortoiseSVN help.  I just 
wasnt sure if I could then delete the folder I had imported.  It says in 
the help that their are 2 ways in which it can store the files, in a db, 
or in the native filesystem.  How do you change between the two and will 
using the native filesystem store the files outside of a db?  Thanks for 
all your help by the way.




Chris Hill wrote:

I believe the issue is that you don't need to stick your project into 
c:\svnrepos\project1. When you create the repos, it creates a dir 
structure like this:


conf/  dav/  db/  format  hooks/  locks/  README.txt

And saves your files in its own special way. After you import the 
c:\svnrpos\project1 folder into the repository, its not part of the 
repository. If that makes sense. You can safely delete that dir, 
unless you want it as a backup until you get more comfy with svn. 
Subversion keeps the files inside its db in its own special format, 
only keeping the parts of the files that have changed between 
revisions to save disk space.


C





Mike Boutin wrote:

Just a few questions about SVN  TortoiseSVN.  I have ran the 1 click 
setup SVN that installs Subversion and TortoiseSVN.  It created the 
repository in c:\svnrepos


I stuck my project in a folder c:\svnrepos\project1,  then I import 
it into the repos.  Now when I make a new directory and use CHeckout, 
all the files from c:\svnrepos show up with checkmarks by them.  Now 
if I create a new textfile in the checkout dir, and update it into 
the repos, and then I check c:\svnrepos\project1, the file i created 
isnt anywhere to be found except in the checkout dir.  Can anyone 
tell me what im doing wrong? Thanks!

___
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] SVN TortoiseSVN

2005-12-14 Thread Mike Boutin
Awesome thanks for all the help, I have figured out how to get it 
working but others on my network cannnot commit their changes.  It says 
this:

Connection is read-only

I then went into the svnserve.conf file and uncommented this line 
(anon-access = write)  thinking it would be available but then people on 
the network get this error:


Section header expected line:12:

Any ideas?




Chris Hill wrote:

You should be able to delete the folder you imported into the repo, 
but I am hesitant to tell you to delete anything just in case.


I have not used the native filesystem method, I'm using the BerkeleyDB 
method on a linux box. I believe there is no way to convert, but you 
can always export the repo, then create a new repo using the FS method.


http://svnbook.red-bean.com/en/1.1/ch05.html#svn-ch-5-sect-1.3
Using the native filesystem is probably better, but it isn't saving 
the files as normal files, but in a custom subversion format. 
Subversion never has a complete 'normal' copy of your files in the 
repository, since it saves only the changes to the files, and never 
the full file(except when you first import).


Subversion rules, btw. Once you get used to using it, you'll never 
look back. Enjoy!

C


Mike Boutin wrote:

Perfect this is what I was just reading in TortoiseSVN help.  I just 
wasnt sure if I could then delete the folder I had imported.  It says 
in the help that their are 2 ways in which it can store the files, in 
a db, or in the native filesystem.  How do you change between the two 
and will using the native filesystem store the files outside of a 
db?  Thanks for all your help by the way.




Chris Hill wrote:

I believe the issue is that you don't need to stick your project 
into c:\svnrepos\project1. When you create the repos, it creates a 
dir structure like this:


conf/  dav/  db/  format  hooks/  locks/  README.txt

And saves your files in its own special way. After you import the 
c:\svnrpos\project1 folder into the repository, its not part of the 
repository. If that makes sense. You can safely delete that dir, 
unless you want it as a backup until you get more comfy with svn. 
Subversion keeps the files inside its db in its own special format, 
only keeping the parts of the files that have changed between 
revisions to save disk space.


C





Mike Boutin wrote:

Just a few questions about SVN  TortoiseSVN.  I have ran the 1 
click setup SVN that installs Subversion and TortoiseSVN.  It 
created the repository in c:\svnrepos


I stuck my project in a folder c:\svnrepos\project1,  then I import 
it into the repos.  Now when I make a new directory and use 
CHeckout, all the files from c:\svnrepos show up with checkmarks by 
them.  Now if I create a new textfile in the checkout dir, and 
update it into the repos, and then I check c:\svnrepos\project1, 
the file i created isnt anywhere to be found except in the checkout 
dir.  Can anyone tell me what im doing wrong? Thanks!

___
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] SVN TortoiseSVN

2005-12-14 Thread Mike Boutin
This is what my I get when I change the svnconf file.  THis is what mine 
looks like:


Its like the password-db is changing the directory it look sin or something?

Error: Commit failed (details follow): 
Error: Can't find config file 'C:\svnrepos\juicyink\conf\bob' 
Error: Check the path and/or URL you've entered. 




### This file controls the configuration of the svnserve daemon, if you
### use it to allow access to this repository.  (If you only allow
### access through http: and/or file: URLs, then this file is
### irrelevant.)

### Visit http://subversion.tigris.org/ for more information.

[general]
### These options control access to the repository for unauthenticated
### and authenticated users.  Valid values are write, read,
### and none.  The sample settings below are the defaults.
anon-access = write
# auth-access = write
### The password-db option controls the location of the password
### database file.  Unless you specify a path starting with a /,
### the file's location is relative to the conf directory.
### Uncomment the line below to use the default password file.
password-db = bob
### This option specifies the authentication realm of the repository.
### If two repositories have the same authentication realm, they should
### have the same password database, and vice versa.  The default realm
### is repository's uuid.
# realm = My First Repository

Chris Hill wrote:

You should be able to delete the folder you imported into the repo, 
but I am hesitant to tell you to delete anything just in case.


I have not used the native filesystem method, I'm using the BerkeleyDB 
method on a linux box. I believe there is no way to convert, but you 
can always export the repo, then create a new repo using the FS method.


http://svnbook.red-bean.com/en/1.1/ch05.html#svn-ch-5-sect-1.3
Using the native filesystem is probably better, but it isn't saving 
the files as normal files, but in a custom subversion format. 
Subversion never has a complete 'normal' copy of your files in the 
repository, since it saves only the changes to the files, and never 
the full file(except when you first import).


Subversion rules, btw. Once you get used to using it, you'll never 
look back. Enjoy!

C


Mike Boutin wrote:

Perfect this is what I was just reading in TortoiseSVN help.  I just 
wasnt sure if I could then delete the folder I had imported.  It says 
in the help that their are 2 ways in which it can store the files, in 
a db, or in the native filesystem.  How do you change between the two 
and will using the native filesystem store the files outside of a 
db?  Thanks for all your help by the way.




Chris Hill wrote:

I believe the issue is that you don't need to stick your project 
into c:\svnrepos\project1. When you create the repos, it creates a 
dir structure like this:


conf/  dav/  db/  format  hooks/  locks/  README.txt

And saves your files in its own special way. After you import the 
c:\svnrpos\project1 folder into the repository, its not part of the 
repository. If that makes sense. You can safely delete that dir, 
unless you want it as a backup until you get more comfy with svn. 
Subversion keeps the files inside its db in its own special format, 
only keeping the parts of the files that have changed between 
revisions to save disk space.


C





Mike Boutin wrote:

Just a few questions about SVN  TortoiseSVN.  I have ran the 1 
click setup SVN that installs Subversion and TortoiseSVN.  It 
created the repository in c:\svnrepos


I stuck my project in a folder c:\svnrepos\project1,  then I import 
it into the repos.  Now when I make a new directory and use 
CHeckout, all the files from c:\svnrepos show up with checkmarks by 
them.  Now if I create a new textfile in the checkout dir, and 
update it into the repos, and then I check c:\svnrepos\project1, 
the file i created isnt anywhere to be found except in the checkout 
dir.  Can anyone tell me what im doing wrong? Thanks!

___
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] SVN TortoiseSVN

2005-12-14 Thread Mike Boutin
Sorry about all the posts, i seem to have it under control now, thanks 
for all the help on getting me started with this! i think im gonna love it!


Chris Hill wrote:

Lol, this is a problem that I had. If you uncomment that line, you 
need to uncomment the line that has [general] in it, too. The 
[general] bit is called a section header.


But you don't need to uncomment the 'auth-access = write' line, that's 
a default. But you will need to uncomment the 'password-db = passwd' 
line, and then put your passwords into that file.


My passwd file (located in conf/passwd):

[users]
user1 = pass1
user2 = pass2

Here is the svnserve.conf that I have on my projects. Notice most is 
just comments:


### This file controls the configuration of the svnserve daemon, if you
### use it to allow access to this repository.  (If you only allow
### access through http: and/or file: URLs, then this file is
### irrelevant.)

### Visit http://subversion.tigris.org/ for more information.

[general]
### These options control access to the repository for unauthenticated
### and authenticated users.  Valid values are write, read,
### and none.  The sample settings below are the defaults.
anon-access = none
# auth-access = write
### The password-db option controls the location of the password
### database file.  Unless you specify a path starting with a /,
### the file's location is relative to the conf directory.
### Uncomment the line below to use the default password file.
password-db = passwd
### This option specifies the authentication realm of the repository.
### If two repositories have the same authentication realm, they should
### have the same password database, and vice versa.  The default realm
### is repository's uuid.
# realm = My First Repository

Peace
C

Mike Boutin wrote:

Awesome thanks for all the help, I have figured out how to get it 
working but others on my network cannnot commit their changes.  It 
says this:

Connection is read-only

I then went into the svnserve.conf file and uncommented this line 
(anon-access = write)  thinking it would be available but then people 
on the network get this error:


Section header expected line:12:

Any ideas?




Chris Hill wrote:

You should be able to delete the folder you imported into the repo, 
but I am hesitant to tell you to delete anything just in case.


I have not used the native filesystem method, I'm using the 
BerkeleyDB method on a linux box. I believe there is no way to 
convert, but you can always export the repo, then create a new repo 
using the FS method.


http://svnbook.red-bean.com/en/1.1/ch05.html#svn-ch-5-sect-1.3
Using the native filesystem is probably better, but it isn't saving 
the files as normal files, but in a custom subversion format. 
Subversion never has a complete 'normal' copy of your files in the 
repository, since it saves only the changes to the files, and never 
the full file(except when you first import).


Subversion rules, btw. Once you get used to using it, you'll never 
look back. Enjoy!

C


Mike Boutin wrote:

Perfect this is what I was just reading in TortoiseSVN help.  I 
just wasnt sure if I could then delete the folder I had imported.  
It says in the help that their are 2 ways in which it can store the 
files, in a db, or in the native filesystem.  How do you change 
between the two and will using the native filesystem store the 
files outside of a db?  Thanks for all your help by the way.




Chris Hill wrote:

I believe the issue is that you don't need to stick your project 
into c:\svnrepos\project1. When you create the repos, it creates a 
dir structure like this:


conf/  dav/  db/  format  hooks/  locks/  README.txt

And saves your files in its own special way. After you import the 
c:\svnrpos\project1 folder into the repository, its not part of 
the repository. If that makes sense. You can safely delete that 
dir, unless you want it as a backup until you get more comfy with 
svn. Subversion keeps the files inside its db in its own special 
format, only keeping the parts of the files that have changed 
between revisions to save disk space.


C





Mike Boutin wrote:

Just a few questions about SVN  TortoiseSVN.  I have ran the 1 
click setup SVN that installs Subversion and TortoiseSVN.  It 
created the repository in c:\svnrepos


I stuck my project in a folder c:\svnrepos\project1,  then I 
import it into the repos.  Now when I make a new directory and 
use CHeckout, all the files from c:\svnrepos show up with 
checkmarks by them.  Now if I create a new textfile in the 
checkout dir, and update it into the repos, and then I check 
c:\svnrepos\project1, the file i created isnt anywhere to be 
found except in the checkout dir.  Can anyone tell me what im 
doing wrong? Thanks!

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










___
Flashcoders

Re: [Flashcoders] debug tool?

2005-12-13 Thread Mike Boutin

Does

LuminicBox.Log also work in flash 8? i cant seem to get it to log a 
message though it doesnt get any errors...



John Grden wrote:


Yeah i agree, if you're just into logging, LuminicBox/Flashinspector is a
great tool

John

On 12/13/05, Jim Tann [EMAIL PROTECTED] wrote:
 


LuminicBox Logger



   


___
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] Problem with delay tween on some instance...

2005-12-13 Thread Mike Boutin
movieclip.stopAllTweens()  will stop all tweening on all the instances 
that are currently tween.  Not sure if this helps.



[EMAIL PROTECTED] wrote:


Hello everybody,

i use tween of laco [laco.wz.cz] with delay on some instances. i want 
to delete a delay and the tween to on previous instance when i use a 
tween on other instance, but i don't manage it. can anybody help me ? 
thank


Ps : i'm French, so sorry for my english

___
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] Problem with delay tween on some instance...

2005-12-13 Thread Mike Boutin
How exactly are you delaying the tween?  the tween class doesnt have a 
delay in it as far as I know


Cinetryx wrote:

stopAllTween delete the tween event but  not the delay before the 
tween


Mike Boutin a écrit :

movieclip.stopAllTweens()  will stop all tweening on all the 
instances that are currently tween.  Not sure if this helps.



[EMAIL PROTECTED] wrote:


Hello everybody,

i use tween of laco [laco.wz.cz] with delay on some instances. i 
want to delete a delay and the tween to on previous instance when i 
use a tween on other instance, but i don't manage it. can anybody 
help me ? thank


Ps : i'm French, so sorry for my english

___
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] Problem with delay tween on some instance...

2005-12-13 Thread Mike Boutin
So you are calling the tween, but you want to delete it before the delay 
happens?


Cinetryx wrote:


When you write this :

my_mc.tween(property, pEnd, seconds, animType, delay, callback, 
extra1, extra2)


you can set delay before the start tween function .

But my problem is how to delete this delay.

Mike Boutin a écrit :

How exactly are you delaying the tween?  the tween class doesnt 
have a delay in it as far as I know


Cinetryx wrote:

stopAllTween delete the tween event but  not the delay before the 
tween


Mike Boutin a écrit :

movieclip.stopAllTweens()  will stop all tweening on all the 
instances that are currently tween.  Not sure if this helps.



[EMAIL PROTECTED] wrote:


Hello everybody,

i use tween of laco [laco.wz.cz] with delay on some instances. i 
want to delete a delay and the tween to on previous instance when 
i use a tween on other instance, but i don't manage it. can 
anybody help me ? thank


Ps : i'm French, so sorry for my english

___
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



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


Re: [Flashcoders] Problem with delay tween on some instance...

2005-12-13 Thread Mike Boutin
I delayed a clip on stage.  Using a button to stop the tween  delay 
before it happens:  If you leave it, it will play after the delay, if 
you click the button before the delay, the tween never happens.  Hope 
this helps.


#include lmc_tween.as
clip.tween(_x, clip._x+100,2,easeout,3);


myButton.onRelease = function(){  
   clip.stopTween();

}


Cinetryx wrote:


yes, i want.

Mike Boutin a écrit :

So you are calling the tween, but you want to delete it before the 
delay happens?


Cinetryx wrote:


When you write this :

my_mc.tween(property, pEnd, seconds, animType, delay, callback, 
extra1, extra2)


you can set delay before the start tween function .

But my problem is how to delete this delay.

Mike Boutin a écrit :

How exactly are you delaying the tween?  the tween class doesnt 
have a delay in it as far as I know


Cinetryx wrote:

stopAllTween delete the tween event but  not the delay before the 
tween


Mike Boutin a écrit :

movieclip.stopAllTweens()  will stop all tweening on all the 
instances that are currently tween.  Not sure if this helps.



[EMAIL PROTECTED] wrote:


Hello everybody,

i use tween of laco [laco.wz.cz] with delay on some instances. i 
want to delete a delay and the tween to on previous instance 
when i use a tween on other instance, but i don't manage it. can 
anybody help me ? thank


Ps : i'm French, so sorry for my english

___
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



___
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] Hyperlink to frame?

2005-12-13 Thread Mike Boutin
Is it possible to have a hyperlink (loaded from xml)gotoandplay a certain frame 
in the movie?

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


Re: [Flashcoders] Hyperlink to frame?

2005-12-13 Thread Mike Boutin

Very cool, thanks very much!

Heather
- Original Message - 
From: JesterXL [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Tuesday, December 13, 2005 9:35 PM
Subject: Re: [Flashcoders] Hyperlink to frame?



Or:

a href=asfunction:dothis,label /

function dothis(str)
{
   if(str == label)
   {
   some_mc.gotoAndPlay(3);
   }
}
- Original Message - 
From: JesterXL [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Wednesday, December 14, 2005 12:16 AM
Subject: Re: [Flashcoders] Hyperlink to frame?


sort of...  you could do:

a href=asfunction:_root.gotoAndPlay,label /

- Original Message - 
From: Mike Boutin [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Tuesday, December 13, 2005 11:40 PM
Subject: [Flashcoders] Hyperlink to frame?


Is it possible to have a hyperlink (loaded from xml)gotoandplay a certain
frame in the movie?

Heather
___
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] Success Stories with Flash Friendly CVS Systems?

2005-12-12 Thread Mike Boutin

Yes i agree, Subversion seems to do the trick for me.

eric dolecki wrote:


What's your situation? How big is your team, how often are you changing
binary assets, are you working from a large class library, etc?

I use SubVersion and its super nice. Nothing is perfect when working with
binary assets which can't be merged, etc.

e.d.

On 12/12/05, Robert Sandie [EMAIL PROTECTED] wrote:
 


On my fourth large flash project and have yet to come up with  a sound
CVS system/workflow for Flash. Does anyone have any best practice
stories regarding version control and integration into web development
projects? Would love to hear.

Robert Sandie
___
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] debug tool?

2005-12-12 Thread Mike Boutin
I just want to be able to see the incoming/outgoing data, as well as just 
send random traces to it when developing.


Heather
- Original Message - 
From: Pranav [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Monday, December 12, 2005 7:54 PM
Subject: Re: [Flashcoders] debug tool?


Flash supports remote debugging . are you looking for a debugger tool 
with some extra capabilities ?


Pranav


I am creating a project in flash/php/xml output,  It is a pain to debug 
because I cannot use trace things out because I have to test the 
application in the web browser.  Is there any free programs out there that 
I can trace data to?


Heather
___
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] Loading Image _width _height

2005-12-08 Thread Mike Boutin
Can anyone tell me why when I call the displayImage() function after I 
fully loaded, and try to get the _width and _height of holderClip, it 
comes back as zero.  But if I wait 1 second after the load and run the 
displayImage() function through the button click, it then finds the 
width and height.



#include lmc_tween.as
var num:Number = 1;
var space:Number = 20;

function loadImage(){
   holderClip.loadMovie(num+.jpg);
   //holderClip._alpha = 0;

   this.onEnterFrame = function(){
   var lvBytesLoaded:Number = holderClip.getBytesLoaded();
   var lvBytesTotal:Number = holderClip.getBytesTotal();
   var percent = (lvBytesLoaded/lvBytesTotal)*100;
   if (lvBytesLoaded == lvBytesTotal) {
   trace(Image + num +  loaded.);
   displayImage();
   delete this.onEnterFrame;
   }
   }
}

function displayImage():Void {
   //Image is not loaded.
   var w = holderClip._width + space;
   trace(Image width: +holderClip._width);
   trace(Image new width: +w);
   var h = holderClip._height + space;
   trace(Image height: +holderClip._height);
   trace(Image new height: +h);
   /*
   //Fade in Image / resize border
   holderClip.tween(_alpha, 100, 2, easeOut);
   border.tween(_width, w, 1, easeOutElastic);
   border.tween(_height, h, 1, easeOutElastic);
   */
}
myButton.onRelease = function(){
   displayImage();
}
//Start it up!
loadImage();
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Even odds

2005-12-08 Thread Mike Boutin

Is it possible to check a number to see if its even / odd?


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


[Flashcoders] Tabbing

2005-12-07 Thread Mike Boutin
I a user login but the input fields do not all sit in the same 
movieclip.  The structure is as such: 
userMovie.user_input.inputText.text, passMovie.pass_input.inputText.text


How do I set the fields so I can tab through them?  And also will doing 
this cause the onFocus function for each textfield to be called?


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


Re: [Flashcoders] Xpath and HTML tags inside XML bug?

2005-12-07 Thread Mike Boutin
Yes this is how I have been fixing the problem.  Seems like a pain to 
have to use both methods, rather than just using the xpath.



Morten Barklund Shockwaved wrote:


Merrill, Jason wrote:


[...]

Problem overview: using Xpath, HTML tags inside of XML does not render,
even with CDATA tags applied.

[...]

Does the same thing with a regular dynamic text field.  If I hard code
the same string directly in the .fla, it renders properly in the text
field and/or component. The string from XPath returns, interestingly
enough, looks like this:

   Welcome to the lt;a
href=apos;http://www.fda.gov/cdrh/apos;gt;Center for Devices of
Radiological Healthlt;/agt;. More text...

Not sure why Xpath is changing the string from /a. to lt;/agt;,
but Flash doesn't like it obviously.  Anyone come across this before and
have a solution?



If you used the regular XML and XMLNode-classes in Flash, you'd come 
to the same problem if you tried to insert the node directly - and 
didn't use the nodeValue-property of the XMLNode-object.


If your XPath implementation returns XMLNode-object, just use the 
my_xmlnode.nodeValue-property and insert this in the textfield.


If the XPath implementation returns a string and this string is the 
toString-value of the XMLNode (which the above is) and *not* the 
nodeValue-property, then the writer of the XPath implementation should 
read his manual once again :)


Hope that helps. :)



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


Re: [Flashcoders] Xpath and HTML tags inside XML bug?

2005-12-07 Thread Mike Boutin
Still wasnt able to get it working.  I had to resort to using nodeValue 
instead. pain in the ass


Mike Boutin
Juicy Studios

Merrill, Jason wrote:


Quote: http://www.w3.org/TR/xpath#section-Expressions
 



I can never seem to make heads or tails of the w3.org documentation -
maybe I'm just dumb, but it's always information overload to me. 


Mike, since we seem to be having the exact same problem, did you get it
working?  If so, can you send a code snippet of what works?  


Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com







NOTICE:
This message is for the designated recipient only and may contain privileged or 
confidential information. If you have received it in error, please notify the 
sender immediately and delete the original. Any other use of this e-mail by you 
is prohibited.
___
Flashcoders 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] Xpath and HTML tags inside XML bug?

2005-12-07 Thread Mike Boutin
I was able to use xpath to return titlesome html/title then use 
nodeValue on that.


but I *wish* i could just do /xmlnode/xmlnode/text() and cut nodeValue 
out but i dont think its possible.




Morten Barklund Shockwaved wrote:


Mike Boutin wrote:

Still wasnt able to get it working.  I had to resort to using 
nodeValue instead. pain in the ass



Why is it a workaround? Doesn't the XPath return the XMLNode? You 
can't just use the regular toString-method of the XMLNode-object - 
that'll return the wrong encoding. The nodeValue *is* the only proper 
way to fetch the correct textdata without encoding.


If the XPath-method, that you use, is supposed to return the string 
value of a text element, then using nodeValue is a hack. But if you 
only use an XPath-method which is supposed to return an XMLNode, 
then it is *not* a hack, but doing exactly, what you are supposed to 
do. I haven't used this XPath-extension, but maybe I should check i out.




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


Re: [Flashcoders] Xpath and HTML tags inside XML bug?

2005-12-07 Thread Mike Boutin

string = XPath.selectNodes(my_xml, /path/to/nodes).nodeValue;

This results in undefined.

Johannes Nel wrote:


try dropping the last slash in ur xpath statement

On 12/7/05, Merrill, Jason [EMAIL PROTECTED] wrote:
 


Why is it a workaround? Doesn't the XPath return the XMLNode?
I haven't used this XPath-extension, but maybe I should check i out.
   


Morten, I'm not sure it returns the actual node - it might convert it to
another object instead because I too cannot get your suggestions to
work.  Could you send an xfactorstudio Xpath Actionscript example of
what you mean?  If you haven't used those classes before, then its
interesting that you are giving advice about a product you don't seem to
know the details of.  I like Mike cannot get your suggestions to work,
which if I am interpreting correctly, would mean:

myString =
XPath.selectNodes(my_xml,rootNode/myChildNodeNode/myChildNode/).nodeVa
lue;

That returns undefined when I try it.  Or are you suggesting something
else?



Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com






NOTICE:
This message is for the designated recipient only and may contain
privileged or confidential information. If you have received it in error,
please notify the sender immediately and delete the original. Any other use
of this e-mail by you is prohibited.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

   





--
j:pn
___
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] Xpath and HTML tags inside XML bug?

2005-12-07 Thread Mike Boutin

even in this case the result is undefined

string = XPath.selectNodes(my_xml, /pathto[1]/xml).nodeValue; !-- 
single node


Johannes Nel wrote:


sorry no, u r doing a query which returns an array, try slectSingleNode, and
that will work

On 12/7/05, Johannes Nel [EMAIL PROTECTED] wrote:
 


try dropping the last slash in ur xpath statement

On 12/7/05, Merrill, Jason [EMAIL PROTECTED]  wrote:
   


Why is it a workaround? Doesn't the XPath return the XMLNode?
I haven't used this XPath-extension, but maybe I should check i out.
 


Morten, I'm not sure it returns the actual node - it might convert it to
another object instead because I too cannot get your suggestions to
work.  Could you send an xfactorstudio Xpath Actionscript example of
what you mean?  If you haven't used those classes before, then its
interesting that you are giving advice about a product you don't seem to
know the details of.  I like Mike cannot get your suggestions to work,
which if I am interpreting correctly, would mean:

myString =
XPath.selectNodes(my_xml,rootNode/myChildNodeNode/myChildNode/).nodeVa
lue;

That returns undefined when I try it.  Or are you suggesting something
else?



Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com






NOTICE:
This message is for the designated recipient only and may contain
privileged or confidential information. If you have received it in error,
please notify the sender immediately and delete the original. Any other use
of this e-mail by you is prohibited.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 



--
j:pn

   





--
j:pn
___
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] Xpath and HTML tags inside XML bug?

2005-12-07 Thread Mike Boutin

Where is the documentation on selectSingleNode

It doesnt seem to be in flash 8 help files.

Johannes Nel wrote:


use the selectSingleNode method or use the array accessor

On 12/7/05, Mike Boutin [EMAIL PROTECTED] wrote:
 


even in this case the result is undefined

string = XPath.selectNodes(my_xml, /pathto[1]/xml).nodeValue; !--
single node

Johannes Nel wrote:

   


sorry no, u r doing a query which returns an array, try slectSingleNode,
 


and
   


that will work

On 12/7/05, Johannes Nel [EMAIL PROTECTED] wrote:


 


try dropping the last slash in ur xpath statement

On 12/7/05, Merrill, Jason [EMAIL PROTECTED]  wrote:


   


Why is it a workaround? Doesn't the XPath return the XMLNode?
I haven't used this XPath-extension, but maybe I should check i out.


 


Morten, I'm not sure it returns the actual node - it might convert it
 


to
   


another object instead because I too cannot get your suggestions to
work.  Could you send an xfactorstudio Xpath Actionscript example of
what you mean?  If you haven't used those classes before, then its
interesting that you are giving advice about a product you don't seem
 


to
   


know the details of.  I like Mike cannot get your suggestions to work,
which if I am interpreting correctly, would mean:

myString =
XPath.selectNodes
 


(my_xml,rootNode/myChildNodeNode/myChildNode/).nodeVa
   


lue;

That returns undefined when I try it.  Or are you suggesting something
else?



Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com






NOTICE:
This message is for the designated recipient only and may contain
privileged or confidential information. If you have received it in
 


error,
   


please notify the sender immediately and delete the original. Any other
 


use
   


of this e-mail by you is prohibited.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



 


--
j:pn



   



--
j:pn
___
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

   





--
j:pn
___
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] Xpath and HTML tags inside XML bug?

2005-12-07 Thread Mike Boutin

Perfect, thanks for the help!



Morten Barklund Shockwaved wrote:


Mike Boutin wrote:


even in this case the result is undefined

string = XPath.selectNodes(my_xml, /pathto[1]/xml).nodeValue;



I've just gotten the libraries, and it is exactly as I expected. 
selectNodes returns an Array of XMLNode-objects. Even the notion of 
/text() is just to get the node, which has no name, as it is a 
textnode - but it does not mean, that it will return the text. The 
function will still return an array of XMLNode-objects. So in order to 
actually get the text, you need to select the corrent index in the 
array, and then get the nodeValue from the XMLNode. given:


var nodes:Array = XPath.selectNodes(my_xml, /pathto[1]/xml/text());
var textnode:XMLNode = XMLNode(nodes[0]);
var text:String = textnode.nodeValue;

That would be the proper way to do this perfectly and correctly. And 
rather OOP and nice too :)




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


Re: [Flashcoders] Xpath and HTML tags inside XML bug?

2005-12-07 Thread Mike Boutin

Sweet that works. thanks for the update! ;)

Mike Boutin
Juicy Studios

Merrill, Jason wrote:


By the way Martin, I hope I didn't come across as being unappreciative -
thanks again for your help.  Mike too.  Mike, if it's any less painful,
while not pretty, I knocked it down to a single line and this works:

myText=XMLNode((XPath.selectNodes(myxml,myNodePath/mynode())[0])).node
Value;


Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com





NOTICE:
This message is for the designated recipient only and may contain privileged or 
confidential information. If you have received it in error, please notify the 
sender immediately and delete the original. Any other use of this e-mail by you 
is prohibited.
___
Flashcoders 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] HTML in XML

2005-12-06 Thread Mike Boutin

I am bring in some html text to show in flash in an xml file like this:


description id=0
   title![CDATA[bpicture 0/b]]/title
/description

When i trace it back in flash, it shows up like this:

lt;bgt;picture 0lt;/bgt;

How can I keep it show it shows the html tags because it wont show up in 
flash as bolded...




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


Re: [Flashcoders] xml, atomic values, special chars

2005-12-01 Thread Mike Boutin

Have you tried somethign like

a attrib=name1![CDATA[This is the atmoic value. It's so cool]]/a

Ramon Tayag wrote:


Hey everyone,

How do I properly render text that was pulled from an atomic value?

For example, here's the node:
a attrib=name1This is the atomic value.  It's so cool./a

Getting the child node of that node a and tracing it in flash gives me:
This is the atomic value.  Itapos;s so cool.

How do I get it to print out the normal apostrophe?

Thanks,
--
Ramon Miguel M. Tayag
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 



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


  1   2   >