[Flashcoders] AS2 open pps file from flash project

2011-10-05 Thread Bassam M
Hi Guys

can I open pps file from flash project, if anyone knows please help

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


[Flashcoders] AS3 load and unload swf from different movies

2011-06-13 Thread Bassam M
hi guys
I'm try to move from AS2 to AS3 I did some work with AS3 it seems to be easy
anyway i have problem with load and unload swf, in AS2 I use to use

loadMovie(movie.swf,level)
then from the movie.swf I can use back button to load the main movie again
or unload the movie if the level more the 0
in AS3 I use code
menu.movieBtn.addEventListener(MouseEvent.CLICK,loadMovieSwf);

function loadMovieSwf(event:Event)
{
var requestURL:URLRequest = new URLRequest(movie.swf)
var loader:Loader = new Loader()
loader.load(requestURL)
addChildAt(loader)

}

the problem I'm not able to unload movie from movie.swf I can unload
movie.swf from the main movie by this code
loader.unloadAndStop();
removeChild(_loader);
loader= null;
but if I place this code in movie.swf I get error
it was easy to do it in AS2 just unloadMovie(level)
I'm doing project with many swf files I have to load it from main page and
go back to main page I hope the problem is clear

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


Re: [Flashcoders] AS3 load and unload swf from different movies

2011-06-13 Thread Bassam M
Hi Ben
pls give me the link let me go through  it may help, I also had problem with
memory when i try to load movie into another  because I still didn't get the
logic of AS3 for load and unload.

On Tue, Jun 14, 2011 at 1:32 AM, Ben Sand b...@bensand.com wrote:

 Looked into this a while ago. Bottom line was you can never guarantee
 an unload, so repeated load/unload always have the potential for
 memory leaks.

 In the case of Flex apps it was never possible to completely clear
 them from memory.

 Our solution was to load other swfs in another window, though I
 appreciate this won't suit everyone. It may be possibleto load them on
 the same page with JavaScript communication between apps. If there is
 a physical overlap between the display areas, eg using z-index of CSS
 you may give up the option of 3d acceleration in flash 11 and there
 may be issues with display on some operating systems/ browsers

 On my phone now, but I can give links if you're interested

 On Tuesday, 14 June 2011, Bassam M sense...@gmail.com wrote:
  hi guys
  I'm try to move from AS2 to AS3 I did some work with AS3 it seems to be
 easy
  anyway i have problem with load and unload swf, in AS2 I use to use
 
  loadMovie(movie.swf,level)
  then from the movie.swf I can use back button to load the main movie
 again
  or unload the movie if the level more the 0
  in AS3 I use code
  menu.movieBtn.addEventListener(MouseEvent.CLICK,loadMovieSwf);
 
  function loadMovieSwf(event:Event)
  {
  var requestURL:URLRequest = new URLRequest(movie.swf)
  var loader:Loader = new Loader()
  loader.load(requestURL)
  addChildAt(loader)
 
  }
 
  the problem I'm not able to unload movie from movie.swf I can unload
  movie.swf from the main movie by this code
  loader.unloadAndStop();
  removeChild(_loader);
  loader= null;
  but if I place this code in movie.swf I get error
  it was easy to do it in AS2 just unloadMovie(level)
  I'm doing project with many swf files I have to load it from main page
 and
  go back to main page I hope the problem is clear
 
  thank you
  Bassam
  ___
  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] XML Gallery Viewer

2011-06-07 Thread Bassam M
Hi Guys
I need AS2 xml gallery viewer, it should be thumbnail and big image
something like this http://www.flashgallery.org/demo.html
but I need to have the fla source file to modify the code

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


Re: [Flashcoders] XML Gallery Viewer

2011-06-07 Thread Bassam M
Jason I knew all this but I was hoping to save time.
Thanks

On Tue, Jun 7, 2011 at 5:50 PM, Merrill, Jason 
jason.merr...@bankofamerica.com wrote:

  but I need to have the fla source file to modify the code

 I think a better approach is to:

 1. Learn how to load XML and get the data.
 2. Learn how to create display objects with code, animate and present them.
 3. Learn how to load external images.


  Jason Merrill
  Instructional Technology Architect
  Bank of America  Global Learning





 ___

 -Original Message-
 From: flashcoders-boun...@chattyfig.figleaf.com [mailto:
 flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Bassam M
 Sent: Tuesday, June 07, 2011 3:24 AM
 To: Flash Coders List
 Subject: [Flashcoders] XML Gallery Viewer

 Hi Guys
 I need AS2 xml gallery viewer, it should be thumbnail and big image
 something like this http://www.flashgallery.org/demo.html
 but I need to have the fla source file to modify the code

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

 --
 This message w/attachments (message) is intended solely for the use of the
 intended recipient(s) and may contain information that is privileged,
 confidential or proprietary. If you are not an intended recipient, please
 notify the sender, and then please delete and destroy all copies and
 attachments, and be advised that any review or dissemination of, or the
 taking of any action in reliance on, the information contained in or
 attached to this message is prohibited.
 Unless specifically indicated, this message is not an offer to sell or a
 solicitation of any investment products or other financial product or
 service, an official confirmation of any transaction, or an official
 statement of Sender. Subject to applicable law, Sender may intercept,
 monitor, review and retain e-communications (EC) traveling through its
 networks/systems and may produce any such EC to regulators, law enforcement,
 in litigation and as required by law.
 The laws of the country of each sender/recipient may impact the handling of
 EC, and EC may be archived, supervised and produced in countries other than
 the country in which you are located. This message cannot be guaranteed to
 be secure or free of errors or viruses.

 References to Sender are references to any subsidiary of Bank of America
 Corporation. Securities and Insurance Products: * Are Not FDIC Insured * Are
 Not Bank Guaranteed * May Lose Value * Are Not a Bank Deposit * Are Not a
 Condition to Any Banking Service or Activity * Are Not Insured by Any
 Federal Government Agency. Attachments that are part of this EC may have
 additional important disclosures and disclaimers, which you should read.
 This message is subject to terms available at the following link:
 http://www.bankofamerica.com/emaildisclaimer. By messaging with Sender you
 consent to the foregoing.
 ___
 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] send email from flash project (exe)

2011-05-10 Thread Bassam M
Hi Cor
do you know why I can't receive Arabic text ,if I try to send  Arabic text
flash send data  like this %D9%84%D8%A8%D9%84%D8%A7%D8%AA%EF%BB%99, and I'm
recieving empty email, asp.net code working fine.

any idea

Thanks
Bassam

On Thu, May 5, 2011 at 2:32 AM, Bassam M sense...@gmail.com wrote:

 Thanks you Cor
 my code now working the problem was in the server

 Regard's
 Bassam


 On Thu, May 5, 2011 at 12:54 AM, Cor c...@chello.nl wrote:

 Hi Bassam,

 Try this:

 newLoadVars = new URLVariables();
 loadvarSend=new URLRequest((http://.sensemis.com/test/contact.aspx
 );
 loadvarSend.method=URLRequestMethod.POST;
 loadvarSend.data=newLoadVars;
 loadvarLoader=new URLLoader  ;
 loadvarLoader.dataFormat=URLLoaderDataFormat.VARIABLES;
 loadvarLoader.addEventListener(Event.COMPLETE, completeLoginHandler,
 false,
 0, true);
  newLoadVars.myName1 = main.name.txt_name.text;
 newLoadVars.myEmail1 = main.email.txt_email.text;
 newLoadVars.mySubject1 = main.subject.txt_subject.text;
 newLoadVars.myMassage1 = main.msg.txt_msg.text;
 loadvarLoader.load(loadvarSend);


 Regards,
 Cor van Dooren
 The Netherlands


 -Original Message-
 From: flashcoders-boun...@chattyfig.figleaf.com
 [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Bassam M
 Sent: donderdag 5 mei 2011 9:43
 To: Flashcoders@chattyfig.figleaf.com
 Subject: [Flashcoders] send email from flash project (exe)

 Hi Guys
 I'm I want to send email from flash project file I tried to use
 sendAndLoad
 but it's not working this is the Code

 var newLoadVars = new LoadVars();
newLoadVars.myName1 = main.name.txt_name.text;
newLoadVars.myEmail1 = main.email.txt_email.text;
newLoadVars.mySubject1 = main.subject.txt_subject.text;

newLoadVars.myMassage1 = main.msg.txt_msg.text;
newLoadVars.sendAndLoad(
 http://.sensemis.com/test/contact.aspx
 ,newLoadVars,POST);
trace(newLoadVars)

 I need help please

 Thanks
 Bassam
 ___
 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] send email from flash project (exe)

2011-05-10 Thread Bassam M
Hi Groeten
i embed it but not working

Thanks
Bassam

On 5/10/11, Cor c...@chello.nl wrote:
 Hi Bassam,

 You have to embed the Arabic characters.

 Groeten,
 Cor van Dooren
 www.codobyte.com
 --
  There are only 10 types of people in the world:
Those who understand binary and those who don't.

 -Original Message-
 From: flashcoders-boun...@chattyfig.figleaf.com
 [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Bassam M
 Sent: dinsdag 10 mei 2011 11:10
 To: Flash Coders List
 Subject: Re: [Flashcoders] send email from flash project (exe)

 Hi Cor
 do you know why I can't receive Arabic text ,if I try to send  Arabic text
 flash send data  like this %D9%84%D8%A8%D9%84%D8%A7%D8%AA%EF%BB%99, and I'm
 recieving empty email, asp.net code working fine.

 any idea

 Thanks
 Bassam

 On Thu, May 5, 2011 at 2:32 AM, Bassam M sense...@gmail.com wrote:

 Thanks you Cor
 my code now working the problem was in the server

 Regard's
 Bassam


 On Thu, May 5, 2011 at 12:54 AM, Cor c...@chello.nl wrote:

 Hi Bassam,

 Try this:

 newLoadVars = new URLVariables();
 loadvarSend=new
 URLRequest((http://.sensemis.com/test/contact.aspx
 );
 loadvarSend.method=URLRequestMethod.POST;
 loadvarSend.data=newLoadVars;
 loadvarLoader=new URLLoader  ;
 loadvarLoader.dataFormat=URLLoaderDataFormat.VARIABLES;
 loadvarLoader.addEventListener(Event.COMPLETE, completeLoginHandler,
 false, 0, true);
  newLoadVars.myName1 = main.name.txt_name.text;
 newLoadVars.myEmail1 = main.email.txt_email.text;
 newLoadVars.mySubject1 = main.subject.txt_subject.text;
 newLoadVars.myMassage1 = main.msg.txt_msg.text;
 loadvarLoader.load(loadvarSend);


 Regards,
 Cor van Dooren
 The Netherlands


 -Original Message-
 From: flashcoders-boun...@chattyfig.figleaf.com
 [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of
 Bassam M
 Sent: donderdag 5 mei 2011 9:43
 To: Flashcoders@chattyfig.figleaf.com
 Subject: [Flashcoders] send email from flash project (exe)

 Hi Guys
 I'm I want to send email from flash project file I tried to use
 sendAndLoad but it's not working this is the Code

 var newLoadVars = new LoadVars();
newLoadVars.myName1 = main.name.txt_name.text;
newLoadVars.myEmail1 = main.email.txt_email.text;
newLoadVars.mySubject1 = main.subject.txt_subject.text;

newLoadVars.myMassage1 = main.msg.txt_msg.text;
newLoadVars.sendAndLoad(
 http://.sensemis.com/test/contact.aspx
 ,newLoadVars,POST);
trace(newLoadVars)

 I need help please

 Thanks
 Bassam
 ___
 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] send email from flash project (exe)

2011-05-05 Thread Bassam M
Hi Guys
I'm I want to send email from flash project file I tried to use sendAndLoad
but it's not working
this is the Code

var newLaodVars = new LoadVars();
newLaodVars.myName1 = main.name.txt_name.text;
newLaodVars.myEmail1 = main.email.txt_email.text;
newLaodVars.mySubject1 = main.subject.txt_subject.text;

newLaodVars.myMassage1 = main.msg.txt_msg.text;
newLaodVars.sendAndLoad(http://.sensemis.com/test/contact.aspx
,newLaodVars,POST);
trace(newLaodVars)

I need help please

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


Re: [Flashcoders] send email from flash project (exe)

2011-05-05 Thread Bassam M
Thanks you Cor
my code now working the problem was in the server

Regard's
Bassam

On Thu, May 5, 2011 at 12:54 AM, Cor c...@chello.nl wrote:

 Hi Bassam,

 Try this:

 newLoadVars = new URLVariables();
 loadvarSend=new URLRequest((http://.sensemis.com/test/contact.aspx;);
 loadvarSend.method=URLRequestMethod.POST;
 loadvarSend.data=newLoadVars;
 loadvarLoader=new URLLoader  ;
 loadvarLoader.dataFormat=URLLoaderDataFormat.VARIABLES;
 loadvarLoader.addEventListener(Event.COMPLETE, completeLoginHandler, false,
 0, true);
  newLoadVars.myName1 = main.name.txt_name.text;
 newLoadVars.myEmail1 = main.email.txt_email.text;
 newLoadVars.mySubject1 = main.subject.txt_subject.text;
 newLoadVars.myMassage1 = main.msg.txt_msg.text;
 loadvarLoader.load(loadvarSend);


 Regards,
 Cor van Dooren
 The Netherlands


 -Original Message-
 From: flashcoders-boun...@chattyfig.figleaf.com
 [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Bassam M
 Sent: donderdag 5 mei 2011 9:43
 To: Flashcoders@chattyfig.figleaf.com
 Subject: [Flashcoders] send email from flash project (exe)

 Hi Guys
 I'm I want to send email from flash project file I tried to use sendAndLoad
 but it's not working this is the Code

 var newLoadVars = new LoadVars();
newLoadVars.myName1 = main.name.txt_name.text;
newLoadVars.myEmail1 = main.email.txt_email.text;
newLoadVars.mySubject1 = main.subject.txt_subject.text;

newLoadVars.myMassage1 = main.msg.txt_msg.text;
newLoadVars.sendAndLoad(http://.sensemis.com/test/contact.aspx
 ,newLoadVars,POST);
trace(newLoadVars)

 I need help please

 Thanks
 Bassam
 ___
 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] calender component

2010-03-05 Thread Bassam M
Hi guys
anyone know where can I get free calender event component

I really need it

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


Re: [Flashcoders] JPGEncoder and com folder

2009-09-28 Thread Bassam M
Hi Glen
all this I knew I actually ask the question wrong way,my question I use
Library Graffiti AS3 but this library call JPGEncoder from import
com.adobe.images.JPGEncoder; my question was where to place JPGEncoder.
and where I can download JPGEncoder code .then I find out that I have to
create adobe folder and images folder and place it inside
first I thought this folder located inside the flash CS4 folder.

anyway thank you


On Mon, Sep 28, 2009 at 12:05 AM, Glen Pike postmas...@glenpike.co.ukwrote:

 Hi,

   This is really a bit of a newbie question, so if you have any more really
 basic ones like this, I would suggest trying the other list -
 http://chattyfig.figleaf.com/mailman/options/flashnewbie/ - but to give
 you a bit of a pointer...
 You can unzip the as3corelib files anywhere you like.  If you unzip in
 the same location as your project / FLA file, then you should see a folder
 called com in there - Flash will compile your movie okay because the
 classpath automatically includes the folder the FLA is in.

   If you put them somewhere else, you need to tell Flash where to look when
 compiling - add to your classpath.  Search for this in the Flash help
 because there are 2 places you can set it (for each fla file and globally)

   HTH

   Glen

 Bassam M wrote:

 Mike I'm confuse can you tell me where to copy the folder, I don't know
 where is com folder and the class I use Flash CS4



 On Fri, Sep 25, 2009 at 7:49 AM, Mike Chambers mcham...@adobe.com
 wrote:



 You need to download the code from the as3corelib library:

 http://code.google.com/p/as3corelib/

 mike chambers

 m...@adobe.com


 On Sep 24, 2009, at 4:36 PM, Bassam M wrote:

  Hi guys anybody know where is the folder  com.adobe I'm confuse about
 the


 class I don't know wher it's and I want to use JPEGEncoder but I'm
 getting
 error 1172: Definition com.adobe.images:JPGEncoder could not be found.
 so I want to place it inside the exact folder
 any Idea
 ___
 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




 --

 Glen Pike
 01326 218440
 www.glenpike.co.uk http://www.glenpike.co.uk


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

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


[Flashcoders] Adobe Air loader another PDF File

2009-09-28 Thread Bassam M
hi guys

I'm trying to loader pdf file using XML to retrieve the URL  and I have
CombBox to list all the files ,and I need to load another file every time I
change the silder for the CombBox
the problem is the pdf file load only first time and dosent  change if I
select another one from the list, I dont know what the the probelm I tried
manything like removeChild and I tried to use container but no change, only
first time the file load

this is Adobe air application
this is the code

cb_list.addEventListener(SliderEvent.CHANGE,changehandler);
function changehandler(e:Event):void {

var sort1:String=cb_list.value;
var id:String = myXML.tip.(title == sort1)@id.toxmlstring();
//trace(id)
var slectedtip = myXML.tip.(title == sort1).fulltip.text();
tit_label.text=myXML.tip.(@ID == id).title .text();
date_label.text=myXML.tip.(@ID == id).date.text();
full_tip.text=myXML.tip.(@ID == id).fulltip.text();
var flashfileURL = myXML.tip.(@ID == id).picURL.text();
swfURL.text=flashfileURL;
var url:String = new String();
url= myXML.tip.(@ID == id).picURL.text().toXMLString();

var requestpdf:URLRequest=new URLRequest(url);
var container:Sprite = new Sprite();

var pdf = new HTMLLoader();
pdf.height=stage.stageHeight-150;
pdf.width=stage.stageWidth-270;
pdf.y=100;
pdf.x=260;
pdf.load(requestpdf);

   pdf.addEventListener(Event.COMPLETE, completeHandler);


function completeHandler(event:Event):void {

addChild(pdf);
}
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] JPGEncoder and com folder

2009-09-28 Thread Bassam M
yes it's done thank you

On Mon, Sep 28, 2009 at 7:19 PM, Glen Pike postmas...@glenpike.co.ukwrote:

 Hi,
 Sorry - I probably got the wrong end of the stick too.
 Did you sort out the problem?

   Glen


 Bassam M wrote:

 Hi Glen
 all this I knew I actually ask the question wrong way,my question I use
 Library Graffiti AS3 but this library call JPGEncoder from import
 com.adobe.images.JPGEncoder; my question was where to place JPGEncoder.
 and where I can download JPGEncoder code .then I find out that I have to
 create adobe folder and images folder and place it inside
 first I thought this folder located inside the flash CS4 folder.

 anyway thank you


 On Mon, Sep 28, 2009 at 12:05 AM, Glen Pike postmas...@glenpike.co.uk
 wrote:



 Hi,

  This is really a bit of a newbie question, so if you have any more
 really
 basic ones like this, I would suggest trying the other list -
 http://chattyfig.figleaf.com/mailman/options/flashnewbie/ - but to give
 you a bit of a pointer...
You can unzip the as3corelib files anywhere you like.  If you unzip in
 the same location as your project / FLA file, then you should see a
 folder
 called com in there - Flash will compile your movie okay because the
 classpath automatically includes the folder the FLA is in.

  If you put them somewhere else, you need to tell Flash where to look
 when
 compiling - add to your classpath.  Search for this in the Flash help
 because there are 2 places you can set it (for each fla file and
 globally)

  HTH

  Glen

 Bassam M wrote:



 Mike I'm confuse can you tell me where to copy the folder, I don't know
 where is com folder and the class I use Flash CS4



 On Fri, Sep 25, 2009 at 7:49 AM, Mike Chambers mcham...@adobe.com
 wrote:





 You need to download the code from the as3corelib library:

 http://code.google.com/p/as3corelib/

 mike chambers

 m...@adobe.com


 On Sep 24, 2009, at 4:36 PM, Bassam M wrote:

  Hi guys anybody know where is the folder  com.adobe I'm confuse about
 the




 class I don't know wher it's and I want to use JPEGEncoder but I'm
 getting
 error 1172: Definition com.adobe.images:JPGEncoder could not be found.
 so I want to place it inside the exact folder
 any Idea
 ___
 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





 --

 Glen Pike
 01326 218440
 www.glenpike.co.uk http://www.glenpike.co.uk


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



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




 --

 Glen Pike
 01326 218440
 www.glenpike.co.uk http://www.glenpike.co.uk

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

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


Re: [Flashcoders] JPGEncoder and com folder

2009-09-27 Thread Bassam M
Mike I'm confuse can you tell me where to copy the folder, I don't know
where is com folder and the class I use Flash CS4



On Fri, Sep 25, 2009 at 7:49 AM, Mike Chambers mcham...@adobe.com wrote:

 You need to download the code from the as3corelib library:

 http://code.google.com/p/as3corelib/

 mike chambers

 m...@adobe.com


 On Sep 24, 2009, at 4:36 PM, Bassam M wrote:

  Hi guys anybody know where is the folder  com.adobe I'm confuse about the
 class I don't know wher it's and I want to use JPEGEncoder but I'm getting
 error 1172: Definition com.adobe.images:JPGEncoder could not be found.
 so I want to place it inside the exact folder
 any Idea
 ___
 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] JPGEncoder and com folder

2009-09-24 Thread Bassam M
Hi guys anybody know where is the folder  com.adobe I'm confuse about the
class I don't know wher it's and I want to use JPEGEncoder but I'm getting
error 1172: Definition com.adobe.images:JPGEncoder could not be found.
so I want to place it inside the exact folder
any Idea
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] streaming video on my server

2009-09-09 Thread Bassam M
thank you Jared, I found the solution it was the MIME TYPE i have to add flv
MIME type to the IIS

http://kb2.adobe.com/cps/194/tn_19439.html



On Wed, Sep 9, 2009 at 1:05 AM, jared stanley jared.stan...@gmail.comwrote:

 I remember running into this a few years ago; it had to do with the
 server not recognizing the .flv filetype - i would check that first.

 as far as just playing it off your server, you might want to try
 progressive download instead of streaming; that is the most common way
 of serving video and sounds like it might suit your needs.


 On Tue, Sep 8, 2009 at 6:46 AM, Bassam Msense...@gmail.com wrote:
  Hi Guys
 
  I have problem with playing video on my server, I create video player
 using
  the media components and every thing working fine , the video play fine I
  have not problem but when I upload the file to my site it stop working
 not
  video stream, I also used another player but same problem and I got error
  message (media not found)
  I need to know do I have to install flash media server on my server to
 play
  the video because my server don't have flash media server or please
  someboday tell my what to do
 
  Thanks
  Bassam
  ___
  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] streaming video on my server

2009-09-08 Thread Bassam M
Hi Guys

I have problem with playing video on my server, I create video player using
the media components and every thing working fine , the video play fine I
have not problem but when I upload the file to my site it stop working not
video stream, I also used another player but same problem and I got error
message (media not found)
I need to know do I have to install flash media server on my server to play
the video because my server don't have flash media server or please
someboday tell my what to do

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


[Flashcoders] franch Symbols not showing

2009-04-10 Thread Bassam M
Hi everybody
I'm doing one project in French it's flash CD presentation  but i have this
problem
Symbols like ë and é not showing in textfield I don't know what to do if
anyone know how to solve this problem please tell me I need to deliver the
project soon

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


Re: [Flashcoders] franch Symbols not showing

2009-04-10 Thread Bassam M
I tryed to embed Latin and Auto Fill  but still those symbole not showing (*é
à) *

On Fri, Apr 10, 2009 at 2:09 PM, laurent laur...@logiquefloue.org wrote:

 Bassam M a écrit :

  Hi everybody
 I'm doing one project in French it's flash CD presentation  but i have
 this
 problem
 Symbols like ë and é not showing in textfield I don't know what to do if
 anyone know how to solve this problem please tell me I need to deliver the
 project soon

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




 you have to embed the latin characters. The minimum one is enough. If not
 just add thos characters
 L
 ___
 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] franch Symbols not showing

2009-04-10 Thread Bassam M
thank you guys It was font problem
its solved

On Fri, Apr 10, 2009 at 2:30 PM, Matt S. mattsp...@gmail.com wrote:

 did you try typing those specific characters into the embed input field?

 .m

 On Fri, Apr 10, 2009 at 9:25 AM, Bassam M sense...@gmail.com wrote:
  I tryed to embed Latin and Auto Fill  but still those symbole not showing
 (*é
  à) *
 
  On Fri, Apr 10, 2009 at 2:09 PM, laurent laur...@logiquefloue.org
 wrote:
 
  Bassam M a écrit :
 
   Hi everybody
  I'm doing one project in French it's flash CD presentation  but i have
  this
  problem
  Symbols like ë and é not showing in textfield I don't know what to do
 if
  anyone know how to solve this problem please tell me I need to deliver
 the
  project soon
 
  Thanks
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 
 
 
  you have to embed the latin characters. The minimum one is enough. If
 not
  just add thos characters
  L
  ___
  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] franch Symbols not showing

2009-04-10 Thread Bassam M
I just changed the font to arial and it's working fine
thanks

On Fri, Apr 10, 2009 at 2:43 PM, Bassam M sense...@gmail.com wrote:

  thank you guys It was font problem
 its solved

   On Fri, Apr 10, 2009 at 2:30 PM, Matt S. mattsp...@gmail.com wrote:

 did you try typing those specific characters into the embed input field?

 .m

 On Fri, Apr 10, 2009 at 9:25 AM, Bassam M sense...@gmail.com wrote:
  I tryed to embed Latin and Auto Fill  but still those symbole not
 showing (*é
  à) *
 
  On Fri, Apr 10, 2009 at 2:09 PM, laurent laur...@logiquefloue.org
 wrote:
 
  Bassam M a écrit :
 
   Hi everybody
  I'm doing one project in French it's flash CD presentation  but i have
  this
  problem
  Symbols like ë and é not showing in textfield I don't know what to do
 if
  anyone know how to solve this problem please tell me I need to deliver
 the
  project soon
 
  Thanks
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 
 
 
  you have to embed the latin characters. The minimum one is enough. If
 not
  just add thos characters
  L
  ___
  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: SPAM-LOW: Re: [Flashcoders] Arabic flipping

2008-12-04 Thread Bassam M
I have the same problem I tried everything but I couldn't solve the text
broken at the end of the of the line

If anybody know how to solve this problem please let me know it's know years
I'm having this prb



Thanks

On Thu, Dec 4, 2008 at 6:59 PM, Mike Grunwald [EMAIL PROTECTED]wrote:

 @Cedric

 I did see that. The problem with that is it's not XML. When I try to wrap
 any of the translations in tags, the words shift order. It has to have
 something to do with mixing Eastern and Western characters. I think it's
 tied to the alignment. Since Arabic is right justified, it displays properly
 when those are the only characters in the document. As soon as you introduce
 a Western character, it must automatically switch the justification and by
 doing so it flips the order of the Eastern words.



 On Dec 4, 2008, at 12:41 PM, Cedric Muller wrote:

 :(

 Did you see this post ?
 http://joeabiraad.com/design/how-to-write-arabic-in-flash-8/36

 hth,
 Cedric

 @Cedric

 It is weird and crazy.I know it's happening, so there's no need to show
 the client.

 PS I haven't taken hallucinogens in quite sometime so I'm ruling out a
 Flashback. Other people see it too.


 Mike Grunwald

 McDill Design
 626 N Water St
 Milwaukee, WI 53202
 414.277.8111
 mcdilldesign.com

 On Dec 4, 2008, at 11:57 AM, Cedric Muller wrote:

 OT but could you open the XLS and take a snapshot of the text, and then
 send to your client, to check if it is correct.
 Then, if ok, could you copy / paste this text into another document
 (like word, txt, xml) and take snapshots in order to send them to your
 client ?

 I find 'the order of words rearranged' very weird, almost crazy.

 hth,
 Cedric

 Not a stupid question @Ian.

 It's not  a matter of each individual character reversing the order. If
 it were I could convert the string to an array and reorder it ah la:

 var myCharity_L2R:String = myXML.ARB.CHARITY;
 var myCharity_R2L:String = myCharity_L2R.split().reverse().join();

  The actual problem is it's taking the order of words and rearranging
 them. And to answer you, it's not displaying properly in the SWF.



 On Dec 4, 2008, at 11:00 AM, Ian Thomas wrote:

 This is probably a stupid question - but does it matter?

 By which I mean - it may flip RTL text so that it's LTR in the XML
 file, but when it actually gets to the screen, is it still flipped?
 Can you control the flipping in the display on the screen, rather than
 worrying about it in the XML file?

 Ian

 On Thu, Dec 4, 2008 at 4:22 PM, Mike Grunwald
 [EMAIL PROTECTED] wrote:

 OK... I think I've reached the end of the internet as well as the end
 of my
 patients.

 I've been trying to figure out a way to take translations that I've
 received
 in an Excel spreadsheet and paste them into an XML document. The XML
 is
 UTF-8 and it's plain text (of course). No matter what editor (Flex
 Builder
 3, Dreamweaver, Text Edit, WordPad, NotePad, Word, etc.) or OS (OSX
 10.4,
 Windows XP) or combination of the two, it seems that when I try to
 combine
 the eastern translation with western markup (XML tags, or even
 western
 characters for that matter), as soon as I drop in a single character,
 if
 flips the orientation of the translated Arabic text?!?

 Everything that I find on the internet leads me hopeful down a path
 of
 ultimate disappointment. I know that I'm not the only one with this
 problem
 and I'm sure one of you has experienced this. Please let me in on you
 secrets. I beg you...

 Let me just clarify—My problem is not font related (I've got that all
 sorted
 out), and for the most part it's not really Flash related (except for
 the
 fact that I'm using this XML content for dynamic text fields). this
 list is
 probably not the proper place for this question, but I'm out of
 options and
 I thinking that I'm going to have to scrap some of the digging I've
 done in
 relation to getting text to display properly and make alterations to
 my
 application to load images instead of live type.

 Somebody... Anybody Help a brotha out!




 ___
 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] mouse event still down

2008-12-02 Thread Bassam M
hi guys

I have flash scroller it's working fine in flash but i have to use the
flash file in Director so when i use in director i have this problem .
if i try to drag the scroller down the mouse will release and scroller
will stop
I use this code

on (press)
{
startDrag (, false, 0, 0, 0, _parent._parent.line._height -
_parent._parent.dragMC._height);
}
on (release, releaseOutside)
{
stopDrag ();
}

i need to know how can I keep mouse press in director ther is one
event _mouse.stillDown  I need some thing same or if I can use
addListener

please need help urgent

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


Re: [Flashcoders] open word document from flash

2008-10-24 Thread Bassam M
Hi Mendelson
I download Buddy API but I'm not able to open word file from director I can
open txt file by baOpenFile() can you tyell me to open word file or excel
from director using Buddy API.

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


[Flashcoders] open word document from flash

2008-10-23 Thread Bassam M
Hi guy
Is there anyway that I can open word-excel files from flash


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


[Flashcoders] change text problem

2008-08-30 Thread Bassam M
Hello
I have this code to load movie and and keydown space
movie loading fine but I have problem with change the text in tit_txt is
dynamic  textfield

 _root.tit_txt.text = _root[tit+num] ;
the text value always movie1 I don't know why I trace (_root[tit+num])
it's change but the text movie 1 , movie2 ... but in text field not
change please see the code and help me to solve it




stop();
var tit1:String = Movie1;
var tit2:String = Movie2;
var tit3:String = Movie3;
var tit4:String = Movie4;
var tit5:String = Movie5;
var tit6:String = Movie6;
var tit7:String = Movie7;
var tit8:String = Movie8;
var tit9:String = Movie9;
var tit10:String = Movie10;
var num:Number = 0;
var keyListener:Object = new Object();
keyListener.onKeyDown = function() {
 if (Key.isDown(Key.SPACE)) {
  if (num=9) {
   num = num+1;
// load movie
   mplayer.contentPath = test_0+num+.flv;
// change text
   _root.tit_txt.text = _root[tit+num];
  } else {
   gotoAndPlay(last);
  }
  trace(num);
 }
};

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


Re: [Flashcoders] AS3 - Displaying images from a directory

2008-07-13 Thread Bassam M
Sjm  I asked this question before and I got the answer as the following

If your item classes are card1, card2, card3 and so on, and your code
currently works...


AboutButton.addEventListener(MouseEvent.CLICK, gocard);
function gocard(e:MouseEvent):void {
///
var cardName:String = card+String(1 + uint(Math.random()*49));  //
49 is the number of clips you have

var cardClass:Object = getDefinitionByName(cardName) as Object
var newcard:* = new cardClass();
// replace the asterisk i used for the base class that all your cards
extend from
///

 this.addChild(newcard);
 newcard.x = 25;
 newcard.y = 45;
}


I hope this help


On 7/8/08, Rich Shupe [EMAIL PROTECTED] wrote:

 these should all work:

 --FlashVar will work if you can edit the template (still no server-side
 required),
 --a list in a text or XML file where no server interaction is required but
 an external file is needed (should work unless your CMS radically alters
 your directory structure)
 --a pre-defined list or filename structure, as suggested (although I'd add
 error handling for the final failure)


 On 7/8/08 9:54 AM, SJM - Flash [EMAIL PROTECTED] wrote:

  My problem is the flash file is going to be embeded into a templete page
 to be
  added to a CMS unfortunatly there is no option for me to use any
 additional
  XML, PHP, ASP, Pearl script etc... the way i thought it would work is the
 path
  to the images would be a flash var!

 Rich
 http://www.LearningActionScript3.com


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

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


Re: [Flashcoders] AS3 - Displaying images from a directory

2008-07-13 Thread Bassam M
Sorry I didn't get ur question right I thought from library !

On 7/13/08, Bassam M [EMAIL PROTECTED] wrote:

 Sjm  I asked this question before and I got the answer as the following

 If your item classes are card1, card2, card3 and so on, and your code
 currently works...


 AboutButton.addEventListener(MouseEvent.CLICK, gocard);
 function gocard(e:MouseEvent):void {
 ///
 var cardName:String = card+String(1 + uint(Math.random()*49));  //
 49 is the number of clips you have

 var cardClass:Object = getDefinitionByName(cardName) as Object
 var newcard:* = new cardClass();
 // replace the asterisk i used for the base class that all your cards
 extend from
 ///

  this.addChild(newcard);
  newcard.x = 25;
  newcard.y = 45;
 }


 I hope this help


  On 7/8/08, Rich Shupe [EMAIL PROTECTED] wrote:

 these should all work:

 --FlashVar will work if you can edit the template (still no server-side
 required),
 --a list in a text or XML file where no server interaction is required but
 an external file is needed (should work unless your CMS radically alters
 your directory structure)
 --a pre-defined list or filename structure, as suggested (although I'd add
 error handling for the final failure)


 On 7/8/08 9:54 AM, SJM - Flash [EMAIL PROTECTED] wrote:

  My problem is the flash file is going to be embeded into a templete page
 to be
  added to a CMS unfortunatly there is no option for me to use any
 additional
  XML, PHP, ASP, Pearl script etc... the way i thought it would work is
 the path
  to the images would be a flash var!

 Rich
 http://www.LearningActionScript3.comhttp://www.learningactionscript3.com/


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



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


[Flashcoders] loop or if

2008-07-13 Thread Bassam M
Hi guys
 I have this simple question
I have this script

btn.addEventListener(MouseEvent.CLICK, f1);
function f1(e:MouseEvent):void {
 var i:Number = 2 ;
 if (i  10) {
  i = i++;
  trace(i =  + i);
 }
}
I want to multiple i when I click on btn I m getting i =  2 always i don't
understand  I need to change fon first click 2 then second 4 and so until 10

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



Re: [Flashcoders] loop or if

2008-07-13 Thread Bassam M
Yes sorry its traces 3 but I want to do something like on click multiple the
i var or and variable as I said first click i=2 then second click i = 4 and
so untile i =10

On 7/13/08, Hans Wichman [EMAIL PROTECTED] wrote:

 Hi,

 function f1(e:MouseEvent):void {
 var i:Number = 2 ;   //set i to 2
 if (i  10) {  //if i10 = true, so this always executes
 i = i++;  //i = now 3
 trace(i =  + i);  //traces 3 not 2?
 }
 you probably want to declare i as an instance variable, not a local var and
 then do i += i; or  i *= 2; or i = 1;

 greetz
 JC

 On Sun, Jul 13, 2008 at 12:56 PM, Bassam M [EMAIL PROTECTED] wrote:

  Hi guys
   I have this simple question
  I have this script
 
  btn.addEventListener(MouseEvent.CLICK, f1);
  function f1(e:MouseEvent):void {
   var i:Number = 2 ;
   if (i  10) {
   i = i++;
   trace(i =  + i);
   }
  }
  I want to multiple i when I click on btn I m getting i =  2 always i
 don't
  understand  I need to change fon first click 2 then second 4 and so until
  10
 
  thank u
  ___
  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] loop or if

2008-07-13 Thread Bassam M
Cor thank you it's working

On 7/13/08, Bassam M [EMAIL PROTECTED] wrote:

 Yes sorry its traces 3 but I want to do something like on click multiple
 the i var or and variable as I said first click i=2 then second click i = 4
 and so untile i =10

 On 7/13/08, Hans Wichman [EMAIL PROTECTED] wrote:

 Hi,

 function f1(e:MouseEvent):void {
 var i:Number = 2 ;   //set i to 2
 if (i  10) {  //if i10 = true, so this always executes
 i = i++;  //i = now 3
 trace(i =  + i);  //traces 3 not 2?
 }
 you probably want to declare i as an instance variable, not a local var
 and
 then do i += i; or  i *= 2; or i = 1;

 greetz
 JC

 On Sun, Jul 13, 2008 at 12:56 PM, Bassam M [EMAIL PROTECTED] wrote:

  Hi guys
   I have this simple question
  I have this script
 
  btn.addEventListener(MouseEvent.CLICK, f1);
  function f1(e:MouseEvent):void {
   var i:Number = 2 ;
   if (i  10) {
   i = i++;
   trace(i =  + i);
   }
  }
  I want to multiple i when I click on btn I m getting i =  2 always i
 don't
  understand  I need to change fon first click 2 then second 4 and so
 until
  10
 
  thank u
  ___
  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] Flash And AJAX

2008-07-02 Thread Bassam M
Hi guys
anyone can tell me where to find tutorial to use AJAX wih flash  I need to
know how can I call flash file from flash menu and load flash file without
refesh the page
only the URL change like this http://domain.com/#/about for about page and
is I click services the URl change  http://domain.com/#/services
and the services page load without refersh
please help me to find out how can I do it

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


Re: [Flashcoders] random drawing

2008-06-30 Thread Bassam M
Dear Ashim

I didn't understanad hot to do it can you do sample for me with button on
click on the button will insert the card to the stage

I tryed to do it my self  I user this code to insert the card from stage but
I couldn't use with your code

this is my code to insert card1 i don't know how to make it random

AboutButton.addEventListener(MouseEvent.CLICK, gocard);
function gocard(e:MouseEvent):void {
 var newcard:card1 = new card1();
 this.addChild(newcard);
 newcard.x = 25;
 newcard.y = 45;
}

thank you

On 6/30/08, Ashim D'Silva [EMAIL PROTECTED] wrote:

 If you're using AS3, everything in your library that's set to export
 for Actionscript will have a unique Class which you need to call to
 instantiate it.
 Use getDefinitionByName to turn a randomly selected string into a
 class definitiion and then call it.

 Example:

 If your library has 50 objects and their named: Card1, Card2, Card3 and so
 on.

 var cardName:String = Card+String(1 + uint(Math.random()*49));
 var cardClass:Object = getDefinitionByName(cardName) as Object
 var card:Sprite = new cardClass();

 The last line you can substitue your classes and parameters. Then run
 this code 7 times.

 2008/6/30 Bassam M [EMAIL PROTECTED]:
  Hi
 
  I'm trying to make game in this game I have 50 movie clip in the library
  I want when I click on one button call draw i want to show 7 of this
 movie
  clips on the stage but i want to select randomly 7 of 50 or more or once
 i
  click draw i want to draw one card  by one random
  can anyone help me please how to do it
 
  Tank you
  Bassam
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 



 --
 Random Lines 3D
 My online portfolio
 www.therandomlines.com
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


[Flashcoders] random drawing

2008-06-29 Thread Bassam M
Hi

I'm trying to make game in this game I have 50 movie clip in the library
I want when I click on one button call draw i want to show 7 of this movie
clips on the stage but i want to select randomly 7 of 50 or more or once i
click draw i want to draw one card  by one random
can anyone help me please how to do it

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


Re: [Flashcoders] Flip movie clip

2008-06-16 Thread Bassam M
thank you Willem
I tried

var rotate:String = cw;
function rotat(event:MouseEvent):void {
 if (rotate== cw) {
  rotate = cww;
  this.mainmov.scaleY *= -1;
  this.mainmov.y = (this.mainmov.stage.stageHeight / 1) -
(this.mainmov.height / 1);
 } else if (rotate == cww) {
  rotate = cw;
  this.mainmov.scaleY *= -1;
  this.mainmov.y = (this.mainmov.stage.stageHeight / 2) -
(this.mainmov.height / 2);
 }
}
ro.addEventListener(MouseEvent.CLICK, rotat);

I change the movie clip name to   this.mainmov
but the problem if I change the movie size of make it full screen it will
change the potion
is there anyway to flip it in same postion

Bassam


On 6/13/08, Geografiek [EMAIL PROTECTED] wrote:

 Hi Bassam,
 How about:
 function filp(event:MouseEvent):void {
mySampleMC.scaleY *= -1;
mySampleMC.y =  mySampleMC.y - mySampleMC.height;
 }
 Willem


 Op 12-jun-2008, om 14:44 heeft Bassam M het volgende geschreven:

   Hi
 I have Video playing in the center of the stage and I'm using button to
 filp
 it
 function filp(event:MouseEvent):void {

  mySampleMC.scaleY *= -1;
 }

 mySampleMC.addEventListener(MouseEvent.CLICK, flip);

 but the problem when I flip it change Y postion and go up ,
 I wnat to flip it and keep it in same postion


 Help please

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




 =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
 Geografiek is a Dutch, Utrecht-based map and chart design company.
 Willem van den Goorbergh can be contacted by telephone: (+31)30-2719512 or
 cell phone: (+31)6-26372378
 or by fax: (+31)302719687
 snail mail: Hooghiemstraplein 89 3514 AX UTRECHT
 Visit our website at: http://www.geografiek.nl
 =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=


 ___
 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] Flip movie clip

2008-06-13 Thread Bassam M
Need help here please

On 6/12/08, Bassam M [EMAIL PROTECTED] wrote:

 yes it's

 On 6/12/08, Jiri Heitlager [EMAIL PROTECTED] wrote:

 Is the center point in the middle?

 Jiri

 Bassam M wrote:

  Hi
 I have Video playing in the center of the stage and I'm using button to
 filp
 it
 function filp(event:MouseEvent):void {

  mySampleMC.scaleY *= -1;
 }

 mySampleMC.addEventListener(MouseEvent.CLICK, flip);

 but the problem when I flip it change Y postion and go up ,
 I wnat to flip it and keep it in same postion


 Help please

 Thanks
 Bassam
 ___
 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] Flip movie clip

2008-06-12 Thread Bassam M
 Hi
I have Video playing in the center of the stage and I'm using button to filp
it
function filp(event:MouseEvent):void {

 mySampleMC.scaleY *= -1;
}

mySampleMC.addEventListener(MouseEvent.CLICK, flip);

but the problem when I flip it change Y postion and go up ,
I wnat to flip it and keep it in same postion


Help please

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


Re: [Flashcoders] Flip movie clip

2008-06-12 Thread Bassam M
yes it's

On 6/12/08, Jiri Heitlager [EMAIL PROTECTED] wrote:

 Is the center point in the middle?

 Jiri

 Bassam M wrote:

  Hi
 I have Video playing in the center of the stage and I'm using button to
 filp
 it
 function filp(event:MouseEvent):void {

  mySampleMC.scaleY *= -1;
 }

 mySampleMC.addEventListener(MouseEvent.CLICK, flip);

 but the problem when I flip it change Y postion and go up ,
 I wnat to flip it and keep it in same postion


 Help please

 Thanks
 Bassam
 ___
 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