Re: [flexcoders] Embed pdf in Flex?

2010-01-29 Thread Abdul Qabiz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1




There is no official way of doing it in Flex i.e. Flash Player doesn't
support embedding PDF.

Having said that, there are some actionscript libraries around that
would help you read and render PDF documents in Flash Player. I am not
aware of any stable library, except one that helps generating pdfs on
clinet side: http://code.google.com/p/alivepdf/

Some use server-side rendering technique, i.e. process pdf on
server-side and send simple data (image, vector, etc) to client and
render using actionscript.

Some do it using popular iframe technique, where they create overlay on
top of flex/flash app and use html in it.

http://www.deitte.com/archives/2008/07/dont_use_iframe.htm
http://code.google.com/p/flex-iframe

BTW! Link you posted doesn't work on my machine (OSX 10.5.8, Chromium,
FP10).

- -abdul



On 30/01/10 2:17 AM, markflex2007 wrote:
  
 
 Hi,
 
 This is a demo
 
 http://drumbeatinsight.com/examples/htmlcomponent/pdf/HTMLWithPDF.html
 http://drumbeatinsight.com/examples/htmlcomponent/pdf/HTMLWithPDF.html
 
 Do you have idea how to do this or do you have some URL about this issue.
 
 Thanks
 
 Mark
 
 

- -- 
- -abdul
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJLY1otAAoJEKfKMj1VVDITlUoIAMagG5YQutr+7wnvK54dH+sI
TU8O8iJCtQrez8ZbQSqcbvC8nUi/HN2Zr0dRldIZHK5qNKp+WMly9I3wVubkB5eF
iDS+HyM8bzdo2IJZFIfOmXGDTVRzrMoHZCuKvGwevnHhf5KSzX2uw8+aK18oD1E+
GmxThmdL0zlYazOMS6Ohz/32SxggJvAwdtCDUHK/fC42VGoc7qopui/WNLH0AJxc
lIR14dBt3jcy2GPAKiGYaeqbEV+hUz3f6utsH1VqmeMdgIJrHzIgpWZ6xju/uV8q
bciWFcrVTj/Z6bY8JOTqG8XlZ/S5V3VsfMcwMCtgch4c0Bph1G0CVMiU9Ux0In4=
=fjzY
-END PGP SIGNATURE-




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Alternative FAQ location: 
https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
flexcoders-dig...@yahoogroups.com 
flexcoders-fullfeatu...@yahoogroups.com

* To unsubscribe from this group, send an email to:
flexcoders-unsubscr...@yahoogroups.com

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/



Re: [flexcoders] Adobe Developer Connection Downloads

2010-01-29 Thread Abdul Qabiz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



That would be interesting to have. I have not investigated whether they
use RTMP or Progressive(HTTP) video streams.

It might not be legal, but one can easily write some sort of script to
save http-streams to disk.

I have feel, Adobe uses something better than progressive-videos.

- -abdul



On 30/01/10 1:41 AM, Dan Pride wrote:
  
 
 I want to download some training videos so I can watch them when I am
 traveling and don't have guaranteed access to high speed.
 I don't see anyway obvious to download most of them
 where is it?
 I found a place to download flex in a week for Flash builder 4 but that
 was it so far. Why don't they have a download here on the ADC pages?
 
 Dan Pride
 
 

- -- 
- -abdul
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJLY1qyAAoJEKfKMj1VVDITyKsH/iDTYPmy1mFKUrL6MYA7lpEC
x+uJNmMlZZF4F6u6IXyIWS6tggA1+CT5kuRFs/3FcLlAtBvoAmQRFty57y1WWjQc
8o1KXKqdytNnNAgKtDKwH4ugQAfRJkhcU/7UPkfeX2DAE7GC/1egLNChQJmLYXgq
opQf/v107STkesdu4dUmBBTDzPBRr/ghyMN09WeFWzudwsL79t9n07oGqyNds3G8
aQTZindQaaOxYju8+KA3dcMt3XkcQqj4OBruE1BTm1dDk4JUplH7Siq8EKY4Vys1
je+ubeFzLCCvPdD3ZX8jhrRpx/g4Qd0d/6vYSSimvqUNwB3fK8iKsIWI+N1Ck7A=
=75RG
-END PGP SIGNATURE-


Re: [flexcoders] swf not showing up the right size

2010-01-29 Thread Abdul Qabiz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


I don't use FlashBuilder, but I believe you don't edit html inside
bin-debug, rather at different place html-template?

- -abdul




On 29/01/10 7:00 AM, Calbeans wrote:
  
 
 Hi All,
 
 I come from working in the Flash IDE and just moved over to Flash
 Builder and I'm loving it. One thing I can't figure out though is how to
 get my swf file to embed correctly on my page.
 
 Inside my package and before my import statements, I've defined my swf
 properties:
 
 [SWF(frameRate=30, width=800, height=500, backgroundColor=#00)]
 
 but when I save and run my document in the browser, the video that i'm
 trying to display is distorted and the dimensions are incorrect. The
 HTML file inside of my bin-debug folder has my width and height
 properties set to 100% which is incorrect, but when I change that, it
 just changed back to 100% when I re-save. I also tried changing the
 index.template but nothing works when I do that. Can someone tell me
 what I'm doing wrong here?
 
 

- -- 
- -abdul
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJLY11DAAoJEKfKMj1VVDITSA0H/26N7/EH7/TjBpU6Pv6Rh8eR
iJG/UHXPqs2HQ5BVKMZaSRJW4lUpxmfmnupM5RVqNtrEpUOX75laiPSQizOfuNHt
oJswAXJxm0UfpiKpWmARlVEiTxdYkgTwdpVMXMjhz84JfF5yyRkj05Tm5pT1Ql6z
DvjRmTV2AtsTRfMEGcsgjx82EGsLABzW8qWNWs/ThQSoW+yXKJbwi+DSI0qLi/UL
PvYtiumv6FU24fIzQbXi4RGS8nKpbjpSZVf9p6t3Pq59pb2RlPTlIiO8lJEz6GsL
sg5oCR8H201lh+axGiephcTanu2/Wx+ETyfvYih84vysvhQxXMSdzZWrtIL+COA=
=S1QS
-END PGP SIGNATURE-


Re: [flexcoders] migration xml to json ??

2008-01-28 Thread Abdul Qabiz
Well it depends on your XML structure. You would have to change your code
(bindings etc).

There is JSON library available as a part of as3corelib project..

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

-abdul

On Jan 28, 2008 5:26 PM, sondang paruliant [EMAIL PROTECTED] wrote:

   dear all

 I was made web flex application and 90% finish,
 using php XML. my question is How to migration xml to json with simple
 work.
 anyone have tips or trick to do this ???

 Thanks,

 Sondang parulian


 --
 Looking for last minute shopping deals? Find them fast with Yahoo! 
 Search.http://us.rd.yahoo.com/evt=51734/*http://tools.search.yahoo.com/newsearch/category.php?category=shopping
 




-- 
-abdul
---
http://abdulqabiz.com/blog/
---


Re: [flexcoders] Role based rendoring of MXML components - visibility and editability

2008-01-28 Thread Abdul Qabiz
I would not do any such role-based things on client, it's very easy to spoof
http packets and a normal user can get access to Admin UI...

Just be careful with that... If you have solid way to avoid any such
security issues, go ahead.

-abdul

On Jan 28, 2008 8:49 PM, Paul Andrews [EMAIL PROTECTED] wrote:

An interesting idea.

 I haven't got time to experiment, but here are some thoughts.

 There's two approacheas as I see it - 'outside in', or 'inside'.

 'inside' would mean adding a call to a security object inside the custom
 object to inspect the security parameters and 'detach' any components nested
 inside the custom component.

 'outside-in' would be similar to the 'inside' approach but with one call
 at the application level, which investigates all children for the security
 settings of each component and recursively descends into components if they
 satisfy the security settings and 'detach' those that don't.

 It's not as easy as simply building a html page on the fly, because you
 can't completely detach components. For example, your application might have
 a login component sitting on the layout and for arguments sake there's a
 'save' component that will appear after login if the user has the right
 security settings. So initially, with no user logged in, the save button
 can't appear, but cannot be permamently removed either. Once the user has
 logged in we need to make the button appear if the security settings are
 right. Similarly when the user logs out, it goes again. Unlike an html page
 which is refreshed, an instance of a Flex component may remain throughout
 the life of the application. It's not possible to 'lose' these optional
 components completely - hence the 'detach'.  You can partially get what you
 want by making these custom component invisible and taking them out of the
 layout, but potentially there's another problem perhaps - what if a custom
 component is doing some processing and not just sitting on the layout?

 Whenever the security status changes it will be necessary to trigger a new
 traversal of the application component tree to decide which components are
 visible or not.

 The Flex traditional way to do this kind of thing would be using states.
 Your security-aware components could implement the correct states to adjust
 to the security settings just by switching states - this would probably give
 you what you want with the security component updating states rather than
 directly manipulating components.

 Hope that helps.

 Paul
 - Original Message -

 *From:* cool.king08 [EMAIL PROTECTED]
 *To:* flexcoders@yahoogroups.com
 *Sent:* Sunday, January 27, 2008 5:04 PM
 *Subject:* [flexcoders] Role based rendoring of MXML components -
 visibility and editability

 Hi
 I need some help regarding role based access control mechanism at the view
 level i.e on flex components.

 My requirement is simple  - I have flex page which has many controls like
 buttons, combox, textinput etc. The users who access the page are grouped by
 roles. I want limit access to components in the page. For example the 'Save'
 button should be VISIBLE to a user with role 'ADMIN'. Another use case is a
 combobox components should only be EDITABLE by a user with role 'ADMIN or
 SUPER'. This could be more advanced; for example instead of controlling just
 one component, we could control a block of MXML code like:

 *custom:Authorize visible=ADMIN|SUPER  editable=SOMEUSER
mx:Button name=Save /
mx:Combobox name=Users /
 /custom:Authorize*

 (ofcourse visible attribute takes priority over editable attribute). Again
 the features of such a robust view layer security can be limitless. For
 example the above code just shows UI Controls. It could have a mix of layout
 components, custom UI components, and UI Controls. It could also support
 wildcards like | (or),  (and), !(not). This is a common requirement in
 intranet applications where there are many different types of business users
 demarcated by roles. This type of components also reduces code duplication.
 For example a flex page can be shown in VIEW_ONLY mode as well as EDIT mode
 based on the user role instead of writing two different flex pages.

 My mid tier has J2EE with spring + acegi. Acegi has a cool JSP tag library
 authz:authorizewhich does a similar thing -

 *authz:authorize ifAllGranted=ROLE_VIP, ROLE_GUEST*
 *Welcome USER*
 *   a href=...Logoff/a*
 */authz:authorize*

  I know flex doesnt have any such out-of-the-box component/functionality.
 Is there anything out there which does something similar? I have some ideas
 of how this can be implemented but if you can give some ideas it will always
 help.
 Thanks

  




-- 
-abdul
---
http://abdulqabiz.com/blog/
---


Re: [flexcoders] Re: Yahoo Maps AS3 integration problem

2008-01-28 Thread Abdul Qabiz
crossdomain.xml on Yahoo! img servers doesn't allow all domains except
Yahoo! servers..

As someone pointed out above, proxy is other option but you might need to
change Yahoo! AS3 map's code so that it loads images via proxy...Be careful,
it's gonna eat a lot of bandwidth and if your site is really traffic
intensive with not many servers/load-balancing, user-experience might be
slow.

-abdul

On Jan 28, 2008 9:27 PM, aceoohay [EMAIL PROTECTED] wrote:

   The answer to life, the universe and everything is 42.

 Would you be so kind as to share a bit more information with the
 unwashed masses?

 Paul

 --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Alex
 Harui [EMAIL PROTECTED] wrote:
 
  The workaround is a proxy server.
 
 
 
  
 
  From: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com
 [mailto:flexcoders@yahoogroups.com flexcoders%40yahoogroups.com] On
  Behalf Of aceoohay
  Sent: Sunday, January 27, 2008 10:13 PM
  To: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com
  Subject: [flexcoders] Re: Yahoo Maps AS3 integration problem
 
 
 
  I put the following in both the AS file that does the
 BitmapData/Draw
  () as well as the module that renders the map;
 
  Security.loadPolicyFile('http://us.maps1.yimg.com/crossdomain.xml
  http://us.maps1.yimg.com/crossdomain.xml ');
 
  I believe the problem is on the yahoo side since their
  crossdomain.xml file contains;
 
  cross-domain-policy
  allow-access-from domain=*.yimg.com /
  allow-access-from domain=*.yahoo.com /
  /cross-domain-policy
 
  I assume that they would need to change it to something like;
 
  cross-domain-policy
  allow-access-from domain=*.yimg.com /
  allow-access-from domain=*.yahoo.com /
  allow-access-from domain=* /
  /cross-domain-policy
 
  This presupposes that I understand how a crossdomain.xml policy
 file
  works, a shaky proposition.
 
  Paul
 
  --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.commailto:
 flexcoders% flexcoders%25
 40yahoogroups.com
  , Sherif Abdou sherif626@ wrote:
  
   try a crossDomain file
  
  
   - Original Message 
   From: aceoohay pauls@
   To: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com mailto:
 flexcoders% flexcoders%25
 40yahoogroups.com
   Sent: Sunday, January 27, 2008 11:39:22 PM
   Subject: [flexcoders] Yahoo Maps AS3 integration problem
  
   I am adding Yahoo maps to an existing application. Everything
 seems
   to be working swimmingly. This application has a generic feature
  for
   all panels that allows the user to e-mail the panel to another
 user.
  
   To do this the application grabs the image of the panel using
 the
   BitmapData/draw( ) funtionality. Flex get's its shorts in a
 bunch
  over
   this when trying to access the Yahoo Maps panel.
  
   The error I get is;
  
   SecurityError: Error #2121: Security sandbox violation:
   BitmapData.draw: http://localhost/ XXX/src/bin/ XXXMain.swf
 cannot
   access http://us.maps1. yimg.com/ us.tile.maps. yimg.com/ tile?
   md=200705152300 col=0row= 4z=14t= p. This may be worked
 around
  by
   calling Security.allowDomai n.
  
   I have tried calling Security.allowDomai n() with various urls
 to
  no
   avail.
  
   Is there a workaround for this?
  
   Paul
  
  
  
  
  
  
  __
  __
   Be a better friend, newshound, and
   know-it-all with Yahoo! Mobile. Try it now.
  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
  
 

  




-- 
-abdul
---
http://abdulqabiz.com/blog/
---


Re: [flexcoders] a rather odd thing about ResourceBundle

2008-01-28 Thread Abdul Qabiz
How does the directory structure look like? is assets1 folder inside en
directory?

-abdul

On Jan 28, 2008 2:33 PM, li_rang [EMAIL PROTECTED] wrote:

   Hi,All,

 I am creating an application for three languages. To make things easier,
 I am using resource bundle to manage images, (you know, different
 languages will need different pictures).

 My code is like following:

 [ResourceBundle(EmbeddedClassesBundle)]
 public var rb_embed_1:ResourceBundle;

 [ResourceBundle(EmbeddedClassesBundle_sp)]
 public var rb_embed_2:ResourceBundle;

 [ResourceBundle(EmbeddedClassesBundle_ge)]
 public var rb_embed_3:ResourceBundle;

 rb_embed_1 is for English version
 rb_embed_2 is for Spanish version
 rb_embed_3 is for some other language version

 the code of EmbeddedClassesBundle is like following:

 package {
 import mx.resources.ResourceBundle;
 import img_1_en;

 public class EmbeddedClassesBundle extends ResourceBundle {
 public function EmbeddedClassesBundle() {
 super();
 }

 override protected function getContent():Object {
 var contentObj:Object = new Object();

 // Add a reference to the embedded graphic asset.
 contentObj[img_1] = img_1_en; //img_1_en is a class of bitmapassets
 return contentObj;
 }
 }

 So for example, my main app looks like
 mx:Image id=image1 source = {rb_embed_1.getObject('img_1')}/

 That works fine for me.

 But my problem is: when i use those resource bundles,
 mx:Image id=image2 source = @Embed(source='assets1/btn_sales.png') /

 will never display the png. once i removed those resouce bundles,
 image2 works.

 Do you know why i cannot embed images in mxml after i am using
 resource bundles?

 for those three language versions, most pictures will be same, so i
 don't want to create a class for each of them.

 Thanks

  




-- 
-abdul
---
http://abdulqabiz.com/blog/
---


Re: [flexcoders] Using HTTPService with a TileList

2008-01-10 Thread Abdul Qabiz
 click=HTTPService.send()/

It should be:-

click=tempXML.send ()


-abdul

On Jan 10, 2008 11:24 PM, markcavins [EMAIL PROTECTED] wrote:

   I have also tried to change the way that I get the data to

 Code:

 mx:HTTPService id=tempXML
 url=
 https://mysite.net/interface.php?action=showopenamp;operation=showassetsa\
 mp;format=xmlamp;opstatus=defectamp;rand=12345645647https://mysite.net/interface.php?action=showopenoperation=showassetsformat=xmlopstatus=defectrand=12345645647
 
 /mx:HTTPService

 mx:TileList dataProvider={tempXML.asset.fleet}
 width=344 backgroundColor=#00 color=#ff fontSize=27
 borderColor=#00 columnWidth=300 rowHeight=50
 themeColor=#808080 fontWeight=bold allowMultipleSelection=true
 id=TileList1 height=0 y=202 x=178/

 mx:Button label=Refresh Page Now height=27 fillAlphas=[1.0,
 1.0] fillColors=[#03, #03, #474545, #474545]
 borderColor=#DCDEDF click=HTTPService.send()/

 but now I'm getting 2 errors

 1061: Call to a possibly undefined method send through a reference
 with static type Class.

 1119: Access of possibly undefined property asset through a reference
 with static type mx.rpc.http.mxml:HTTPService.

 I am trying to find the reason for that problem it seems it doesn't
 like the services being used with the TileList. Still trying to see
 what's going on now.

  




-- 
-abdul
---
http://abdulqabiz.com/blog/
---


Re: [flexcoders] can we control flashCS3 movies from flex

2008-01-10 Thread Abdul Qabiz
Is your SWF using ActionScript3? If yes, then you can pretty much control it
from Flex 2 application.

If it uses ActionScript 2, then you might consider using LocalConnection or
ExternInterface. AVM- (SWF which use ActionScript 2 or below)  and AVM+ (SWF
which uses ActionScript 3 or above) applications can not communicate with
each other except limited stuff, because each of these run different virtual
machines, as mentioned (AVM- and AVM+). There are only two ways:
LocalConnection and ExternalInterface.

Check out various libararies available, for example flashinteface:-

http://www.flashextensions.com/products/flashinterface.php

-abdul

On Jan 10, 2008 11:50 PM, Gustavo Duenas [EMAIL PROTECTED]
wrote:

 Hi Guys, I was wondering if anyone knows a good tutorial about how to
 controlan external swf movie from flex, the same old way as we did with
 flash.

 Regards


 Gustavo




 Gustavo A. Duenas
 Creative Director
 LEFT AND RIGHT SOLUTIONS
 904.  265 0330 - 904. 386 7958
 www.leftandrightsolutions.com
 Jacksonville - Florida








-- 
-abdul
---
http://abdulqabiz.com/blog/
---


Re: [flexcoders] Populating comboBox

2008-01-10 Thread Abdul Qabiz
ComboBox or most of the list-base components expect label and data
properties in dataProvider. If your dataProvider has different properties,
you can use the labelField or labelFunction  fields to show the label (which
in this case is showing [Object Object]).

Check out the ComboBox (or Listbase) docs for more info. You can do the
following to make it work for now.

comboBoxInstance.labelField = week;

-abdul

On Jan 10, 2008 10:31 PM, candysmate [EMAIL PROTECTED] wrote:

   I'm tring to populate a comboBox with

 var dsWeek:Array = [];
 [Bindable]
 var dsWeekArray = new ArrayCollection(dsWeek);
 var systemUtilitiesWeek:int = 35;

 private function initDissection():void
 {
 dsWeekArray.addItem({week:Select});

 for(var ds1:int = 1; ds1 = systemUtilitiesWeek; ds1 ++)
 {
 dsWeekArray.addItem({week: ds1});
 }

 dsWeekArray.refresh();
 }

 I'm expected the comboBox, with dataprovider set to {dsWeekArray}
 to be:

 Select
 1
 2
 3
 4
 5
 ...

 but it just says [Object, object]

 Where have I gone wrong please?

  




-- 
-abdul
---
http://abdulqabiz.com/blog/
---


Re: [flexcoders] Massive Error for login script

2008-01-10 Thread Abdul Qabiz
Probably, your login script on server-side is throwing some error when it
sees the wrong data...

What happens, if you copy paste URL in browser (not in flex app):-

https://mysite.net/interface.php?password=passcustomer=34343username=wrong_namehttps://mysite.net/interface.php?password=passcustomer=13username=uzernamz

Do you see any error?


BTW! Just a suggestion, nothing to do with this problem, it's not good idea
to use HTTP/GET for this purpose. Use POST method in HTTPService and also
modify the php to use $_POST or $_REQUEST (works for both GET and POST but
it's good to use the specific ones).

-abdul

On Jan 10, 2008 11:57 PM, markcavins [EMAIL PROTECTED] wrote:

   Hello,

 I am having a major problem with my login script. When a user enters
 information correctly there is not problem. if a user enters in the
 wrong customer name I get the expected popup that says enter your
 customer #. However if the username or customer name is wrong the
 browser pops up a warning (set by a serverside js warning used by
 other programs) and I get the following error

 [RPC Fault faultString=HTTP request error
 faultCode=Server.Error.Request faultDetail=Error: [IOErrorEvent
 type=ioError bubbles=false cancelable=false eventPhase=2 text=Error
 #2032: Stream Error. URL:

 https://mysite.net/interface.php?password=passcustomer=13username=uzernamz
 ].
 URL: https://mysite.net/interface.php;]
 at
 mx.rpc::AbstractInvoker/
 http://www.adobe.com/2006/flex/mx/internal::faultHandler
 ()[E:\dev\flex_3_beta2\sdk\frameworks\projects\rpc\src\mx\rpc\AbstractInvoker.as:211]
 at
 mx.rpc::Responder/fault
 ()[E:\dev\flex_3_beta2\sdk\frameworks\projects\rpc\src\mx\rpc\Responder.as:56]
 at
 mx.rpc::AsyncRequest/fault
 ()[E:\dev\flex_3_beta2\sdk\frameworks\projects\rpc\src\mx\rpc\AsyncRequest.as:110]
 at

 DirectHTTPMessageResponder/errorHandler()[E:\dev\flex_3_beta2\sdk\frameworks\projects\rpc\src\mx\messaging\channels\DirectHTTPChannel.as:343]
 at flash.events::EventDispatcher/dispatchEventFunction()
 at flash.events::EventDispatcher/dispatchEvent()
 at flash.net::URLLoader/redirectEvent()

 I have read articals like judah's blog I am still stumped how to fix
 this issue.

  




-- 
-abdul
---
http://abdulqabiz.com/blog/
---


Re: [flexcoders] Re: HTTPService, POST, and QueryString

2008-01-10 Thread Abdul Qabiz
If it's PHP on server, you can use $_REQUEST for POST or GET data.

Not sure, if URLLoader would let you load a URL with a query-string at the
same time posting the data to it?

-abdul

On Jan 10, 2008 8:55 PM, Jim Hayes [EMAIL PROTECTED] wrote:

I'm pretty sure that if you use POST in flex then you are going to have
 to change your server to read the POSTed information rather than the
 querystring.

 That said, you don't mention what you're using on your server. In any
 case, it's likely to be a fairly trivial change to implement assuming that
 you have control over the server side code.



 -Original Message-
 *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
 Behalf Of *markgoldin_2000
 *Sent:* 10 January 2008 14:26
 *To:* flexcoders@yahoogroups.com
 *Subject:* [flexcoders] Re: HTTPService, POST, and QueryString



 Where is my Form data going to be? In URLVariables too?

 --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Nathan
 Arizona
 [EMAIL PROTECTED] wrote:
 
  You can use this I think.
 
  var dataset:URLVariables = new URLVariables();
 
  var request:URLRequest = newURLRequest(somepage);
  request.data = dataset;
  request.method = URLRequestMethod.POST
 
  --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com,
 markgoldin_2000
  markgoldin_2000@ wrote:
  
   My server side of application uses QueryString to extract
 parameters
   being sent from the client to query data and send it back. To
 save data
   I would want to use POST but I also need to send some parameters
 to the
   server as well. I want to use same server logic to process
 parameters
   in both getting data and saving it. But if I use POST method no
   QueryString is available on the server. Any suggestions?
  
   Thanks
  
 


 __
 This communication is from Primal Pictures Ltd., a company registered in
 England and Wales with registration No. 02622298 and registered office: 4th
 Floor, Tennyson House, 159-165 Great Portland Street, London, W1W 5PA, UK.
 VAT registration No. 648874577.

 This e-mail is confidential and may be privileged. It may be read, copied
 and used only by the intended recipient. If you have received it in error,
 please contact the sender immediately by return e-mail or by telephoning
 +44(0)20 7637 1010. Please then delete the e-mail and do not disclose its
 contents to any person.
 This email has been scanned for Primal Pictures by the MessageLabs Email
 Security System.
 __
  




-- 
-abdul
---
http://abdulqabiz.com/blog/
---


Re: [flexcoders] FileReferenceList for Downloads?

2008-01-10 Thread Abdul Qabiz
I think, it's not hard to build that using Flex? I would probably do this:-

1) Load a list of files in server-directory, in flex UI (pretty trivial
stuff).
2) Let user select bunch of items (shown in TileList or List or whatever
control)
3) Use FileReferenceList to initiate download

We should not forget that, Flash Player/AIR are client side runtimes.
Anything to do with server, you would need to write the logic. I remember,
from coldfusion management console, there was a java-applet that allowed you
to do that, but they would have done the similar thing as I mentioned
above...

-abdul

On Jan 10, 2008 9:42 PM, Rick Schmitty [EMAIL PROTECTED] wrote:

   So this kinda functionality is only in Apollo/AIR?

 On Jan 9, 2008 11:11 AM, Dimitrios Gianninas

 [EMAIL PROTECTED]dimitrios.gianninas%40optimalpayments.com
 wrote:
 
 
 
 
 
 
 
  dont think this is possible, you would have to FileReference for every
 file
  you want to download.
  Annoying yes, but the upload/download with the Flash is not the best.
 
  Unless I am totally wrong and someone corrects me.
 
  Dimitrios Gianninas
  RIA Developer and Team Lead
  Optimal Payments Inc.
 
 
  
  From: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com [mailto:
 flexcoders@yahoogroups.com flexcoders%40yahoogroups.com] On
  Behalf Of Rick Schmitty
  Sent: Wednesday, January 09, 2008 2:03 PM
  To: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com
  Subject: [flexcoders] FileReferenceList for Downloads?
 
 
 
 
 
 
  Is there a FileReferenceList for downloads? For example, select some
  images on the server, then call download, it prompts you once for the
  directory and now you can do something similar to multiple uploads and
  show progress on each file being downloaded
 
 
 
  AVIS IMPORTANT
 
  WARNING
 
 
  Ce message électronique et ses pièces jointes peuvent contenir des
  renseignements confidentiels, exclusifs ou légalement privilégiés
 destinés
  au seul usage du destinataire visé. L'expéditeur original ne renonce à
 aucun
  privilège ou à aucun autre droit si le présent message a été transmis
  involontairement ou s'il est retransmis sans son autorisation. Si vous
  n'êtes pas le destinataire visé du présent message ou si vous l'avez
 reçu
  par erreur, veuillez cesser immédiatement de le lire et le supprimer,
 ainsi
  que toutes ses pièces jointes, de votre système. La lecture, la
  distribution, la copie ou tout autre usage du présent message ou de ses
  pièces jointes par des personnes autres que le destinataire visé ne sont
 pas
  autorisés et pourraient être illégaux. Si vous avez reçu ce courrier
  électronique par erreur, veuillez en aviser l'expéditeur.
 
  This electronic message and its attachments may contain confidential,
  proprietary or legally privileged information, which is solely for the
 use
  of the intended recipient. No privilege or other rights are waived by
 any
  unintended transmission or unauthorized retransmission of this message.
 If
  you are not the intended recipient of this message, or if you have
 received
  it in error, you should immediately stop reading this message and delete
 it
  and all attachments from your system. The reading, distribution, copying
 or
  other use of this message or its attachments by unintended recipients is
  unauthorized and may be unlawful. If you have received this e-mail in
 error,
  please notify the sender.
  




-- 
-abdul
---
http://abdulqabiz.com/blog/
---


Re: [flexcoders] FLV dimensions from Flex or CF

2008-01-10 Thread Abdul Qabiz
FLV metadata contains it's dimensions, provided if right tool was used to
encode the video to FLV. In any case, you can use open-source tool called
flvtool2 (it's written in ruby and open-source) and hook it with your Upload
process, so you can run this tool on uploaded flv file. This way, you can
inject most of the metadata in flv and read it from Flex/ActionScript while
playback starts.

I am sure, there are such tools available in PHP/C#/Java, just search for
it. Burak (of ASV fame) has written FLVMDI, that can be used also along with
CFEXECUTE (if your are using windows as server), if you are using linux
based server, you might check for RUBY on your server and use flvtool2.

-abdul

On Jan 10, 2008 5:29 PM, Anzer [EMAIL PROTECTED] wrote:

Hi,

 I have a Flex app that will allow users to upload FLV videos. I want to
 find out the width and height of the uploaded file and do some logic
 accordingly. I have done a lot of research to find out the FLV dimensions
 from ColdFusion but I couldn't find a solution.

 Please let me know if there is any method to find out the FLV dimensions
 from Flex?



 Best Regards,

 Anz

 http://www.digitalmesh.com | 
 http://www.FlickrMailer.comhttp://www.flickrmailer.com/
  




-- 
-abdul
---
http://abdulqabiz.com/blog/
---


Re: [flexcoders] crossdomain not working with HTTP Request Error

2008-01-10 Thread Abdul Qabiz
Not sure, Flash Player 9,0,115,0,  has some new rules for crossdomain data
and socket... Check out the security article:

http://www.adobe.com/devnet/flashplayer/articles/fplayer9_security_print.html

I doubt, does it have to do with port number. Remember,
www.yourserver.com:80 and yourserver.com:80 are considered to be two
different domains, you need to allow both of these in your crossdomain.xml

-abdul

On Jan 10, 2008 12:45 PM, Alex Harui  [EMAIL PROTECTED] wrote:

I'm not the expert on network sniffers but apparently there are such
 things so you can tell what is being accessed.  If your crossdomain.xml is
 in http://[host]:[port]/crossdomain/crossdomain.xml, then you will need to
 use loadPolicyFile, but if you have a wsdl in your app, it might get fetched
 before your call to loadPolicyFile so you have to make sure you get the
 timing right.



 Server OS shouldn't matter.  Prove you can hit the crossdomain.xml by
 typing its url in a browser.


  --

 *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of
 *Dominique Bessette - Halsema
 *Sent:* Wednesday, January 09, 2008 11:34 AM
 *To:* flexcoders@yahoogroups.com

 *Subject:* Re: [flexcoders] crossdomain not working with HTTP Request
 Error



 i tried creating a war file with the context-root = /  it's located at
 http://[host]:[port]/crossdomainhttp://%5bhost%5d:%5bport%5d/crossdomain



 and i tried using the loadPolicyFile command where i tried loading it from
 http://[host]:[port]/crossdomainhttp://%5bhost%5d:%5bport%5d/crossdomain and


 http://[host]:[port]/fcs-service/crossdomain.xmlhttp://%5bhost%5d:%5bport%5d/fcs-service/crossdomain.xml





 and it's still not working.  i'm still getting http errors and



 Error while loading imported schema from parent location: 
 http://[host]:[port]/fcs-service/fcs?xsd=1Security
 http://%5bhost%5d:%5bport%5d/fcs-service/fcs?xsd=1Security error
 accessing url faultCode= XML.SchemaError.Import







 what if my server is running on a linux server does that make a
 difference?  should i put it in the /root directory?  how can i tell if the
 crossdomain file is loading?



 On 1/8/08, *Alex Harui* [EMAIL PROTECTED] wrote:

 Normally that is http://[host]:[port]/


   --

 * From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
 Behalf Of *Dominique Bessette - Halsema
 *Sent:* Tuesday, January 08, 2008 1:51 PM
 *To:* flexcoders@yahoogroups.com
 *Subject:* Re: [flexcoders] crossdomain not working with HTTP Request
 Error



 i understand that, what i dont understand is where exactly the file is
 supposed to go, as i said right now it is at



 http://[host]:[port]/weemc-service/crossdomain.xml
 http://%5bhost%5d:%5bport%5d/weemc-service/crossdomain.xml



 which is the web root of that ear file it is trying to access.  so are you
 saying i'm supposed to put it in the web root of the server, where is that
 or what does that mean?















 On 1/8/08, *Alex Harui*  [EMAIL PROTECTED] wrote:

 When you run on your local machine, there is no enforcement of security
 rules (mainly because there is no server serving the swf and thus no domain
 to verify against), but also as a convenience for development.



 When you deploy to a server, that server becomes the domain for your SWF.
 Any access to a different domain in a url (even the ip equivalent of the
 domain) is considered cross-domain and the server being accessed must grant
 permission via crossdomain.xml.


   --

 * From:* flexcoders@yahoogroups.com [mailto: [EMAIL PROTECTED] *On
 Behalf Of *Dominique Bessette - Halsema
 *Sent:* Tuesday, January 08, 2008 11:09 AM
 *To:* flexcoders@yahoogroups.com
 *Subject:* [flexcoders] crossdomain not working with HTTP Request Error



 I'm trying to finish this project and i'm running out of time if anyone
 has any ideas PLEASE let me know.



 I have a flex application that calls my web service through the wsdl which
 is located in an ear file



 http://{svr8}:port/weemc-service/weemc?wsdl
 http://%7bsvr8%7d:port/weemc-service/weemc?wsdl



 on my local machine the flex app works when i try to get the data from the
 database, but on my production server (which is svr8)  i get a security
 access error.  when i change the url so that i am viewing the file throught
 the web server (ie. svr8) and not the ip address I get a



 [WSDLError faultString=Element  not resolvable faultCode=
 WSDL.BadElement faultDetail=null]



 error.  After i select dismiss all and refresh the flex app then it's
 get's the data from the database.

 if i try to post/update data in the database on either my local machine I
 get this error



 [RPC Fault faultString=HTTP request error faultCode=
 Server.Error.Request faultDetail=Error: [IOErrorEvent type=ioError
 bubbles=false cancelable=false eventPhase=2 text=Error #2032: Stream Error.
 URL:



 but then it still updates the data



 if i try to post/update data on 

Re: [flexcoders] parseFloat vs Number

2007-10-31 Thread Abdul Qabiz

 Is there anything that Number() parses that parseFloat doesnt?


There are differences:-

1) Number is type where as parseFloat () is a global-function
2) Number (x) tries to cast x to Number where as parseFloat (x) reads, or *
parses*, and returns the numbers in a string until it reaches a character.

We use Number for typing, casting generally.

Does that make sense?


On 10/31/07, reflexactions [EMAIL PROTECTED] wrote:

   Just looking at parsing strings into a Number i.e.
 parseFloat(string) or Number(string)

 It seems to me that parseFloat does everything Number does plus a
 little bit more (it will accept trailing non-numeric characters).

 Is there anything that Number() parses that parseFloat doesnt?

 tks

  




-- 
-abdul
---
http://abdulqabiz.com/blog/
---


Re: [flexcoders] SOUND_COMPLETE event not firing?

2007-10-31 Thread Abdul Qabiz
There are some mp3 files with silence in the end or not proper end-of-file
bytes...

Sometimes it fires after some delay. Does it never fire in ur case?

Not sure what is the exact problem, it also happens with FLVs...

You might want to have a timer running that checks if sound is not buffering
and playhead has stopped (not moved for last N seconds), fire the event
manually? Yeah, take care of case when user might have paused the audio :)

-abdul


On 10/30/07, Mark [EMAIL PROTECTED] wrote:

   I have a sound/sound channel being set up in my actionscript and
 playing as expected, however the sound_complete event is not firing in
 all cases. I am attaching an event listener for this event after the
 play call, yet the associated handler is not called every time when an
 mp3 file reaches the end. There seems to be no pattern as to when it
 does/doesn't fire as expected. Code is fairly simple as follows
 (SoundAsset is a class that wraps a Sound object with several other
 associated variables, soundHandle returns the Sound object):

 public function setupSound(inSound:SoundAsset):void {
 soundAsset = inSound;
 if(!inSound.soundHandle.isBuffering) {
 playingSound = inSound.soundHandle;
 playingSound.play(0);
 playingSound.addEventListener(Event.SOUND_COMPLETE,
 soundCompleteHandler);.

 private function soundCompleteHandler(event:Event):void {
 trace(I hit the sc handler);.

 As I said, the mp3 file finishes playing but sometimes the
 sound_complete does not fire. Anyone ever come across a similar
 situation, or can offer any suggestions as to incorrectly set up code?

 TIA,
 --Mark

  




-- 
-abdul
---
http://abdulqabiz.com/blog/
---


Re: [flexcoders] fetching unicode characters

2007-10-31 Thread Abdul Qabiz
Updated code:-

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
creationComplete=onAppCreationComplete()
mx:Script
![CDATA[
import mx.rpc.http.HTTPService;
import mx.rpc.events.ResultEvent;

private var httpService:HTTPService;
private function onAppCreationComplete ():void
{
httpService = new HTTPService ();
httpService.addEventListener(ResultEvent.RESULT,
httpServiceResultHandler);
httpService.resultFormat = HTTPService.RESULT_FORMAT_OBJECT;
httpService.url = 
http://www.w3.org/2001/06/utf-8-test/UTF-8-demo.xml;;
httpService.send ();
}

private function httpServiceResultHandler
(event:ResultEvent):void
{
console.text = String (event.result.doc);
}
]]
/mx:Script
mx:TextArea id=console width=100% height=100%/
/mx:Application

On 10/31/07, Abdul Qabiz [EMAIL PROTECTED] wrote:

 I just tried to load one of W3C UTF-8 tests, it seems to be working
 fine...

 http://www.w3.org/2001/06/utf-8-test/UTF-8-demo.html


 Flex code (run standalone, you might need a proxy script to load it in
 browser):-

 ?xml version=1.0 encoding=utf-8?
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
 creationComplete=onAppCreationComplete()
 mx:Script
 ![CDATA[
 import mx.rpc.http.HTTPService;
 import mx.rpc.events.ResultEvent;

 private var httpService:HTTPService;
 private function onAppCreationComplete ():void
 {
 httpService = new HTTPService ();
 httpService.addEventListener(ResultEvent.RESULT,
 httpServiceResultHandler);
 httpService.resultFormat = HTTPService.RESULT_FORMAT_TEXT;
 httpService.url = 
 http://www.w3.org/2001/06/utf-8-test/UTF-8-demo.html;;
 httpService.send ();
 }

 private function httpServiceResultHandler
 (event:ResultEvent):void
 {
 console.text = String (event.result);
 }
 ]]
 /mx:Script
 mx:TextArea id=console width=100% height=100%/
 /mx:Application



 On 10/31/07, Abdul Qabiz [EMAIL PROTECTED] wrote:
 
  Flash Player  has UTF/Unicode capabilities for sometime. You can just
  request using  and pass the string to textarea..
 
  I am not sure about Unicode sequences though? Someone might confirm
  here..
 
  -abdul
 
  On 10/30/07, Aditya Kumar [EMAIL PROTECTED]  wrote:
  
 Hi,
   Can anyone please tell me how to fetch unicode characters through
   HTTPService and display the same in a TextArea Component.
   while sending the unicode characters i use contentType as UTF-8. What
   is the procedure while retrieving the same.
  
   Thanks  Regards,
   Aditya.

  
 
 
 
  --
  -abdul
  ---
  http://abdulqabiz.com/blog/
  ---




 --
 -abdul
 ---
 http://abdulqabiz.com/blog/
 ---




-- 
-abdul
---
http://abdulqabiz.com/blog/
---


Re: [flexcoders] Re: parseFloat vs Number

2007-10-31 Thread Abdul Qabiz
AFAIK, Number  (x) would return NaN as soon as it finds any character that's
digit/number... Where as parseFloat (x) does some effort to find out the
number until it encounters NaN character...

-abdul

On 10/31/07, reflexactions [EMAIL PROTECTED] wrote:

   Thanks anyway for the reply, though I wasnt really asking what the
 difference is between Number and parseFloat I was asking more
 specifically about the difference between Number and parseFloats
 string parsing capabilities.

 --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Abdul
 Qabiz [EMAIL PROTECTED]
 wrote:
 
  
   Is there anything that Number() parses that parseFloat doesnt?
  
 
  There are differences:-
 
  1) Number is type where as parseFloat () is a global-function
  2) Number (x) tries to cast x to Number where as parseFloat (x)
 reads, or *
  parses*, and returns the numbers in a string until it reaches a
 character.
 
  We use Number for typing, casting generally.
 
  Does that make sense?
 
 
  On 10/31/07, reflexactions [EMAIL PROTECTED] wrote:
  
   Just looking at parsing strings into a Number i.e.
   parseFloat(string) or Number(string)
  
   It seems to me that parseFloat does everything Number does plus a
   little bit more (it will accept trailing non-numeric characters).
  
   Is there anything that Number() parses that parseFloat doesnt?
  
   tks
  
  
  
 
 
 
  --
  -abdul
  ---
  http://abdulqabiz.com/blog/
  ---
 

  




-- 
-abdul
---
http://abdulqabiz.com/blog/
---


Re: [flexcoders] Is it possible to save an FLV to a Shared Local Object and open it later ?

2007-10-30 Thread Abdul Qabiz
I can image that i can be saved by using URLStream (to read) and ByteArray
to store. But how you would play it again?

Not sure, if Video class can take ByteArray to play video... Can Video class
consider FLV as embedded video (which in my opinion is different)?

-abdul

On 10/30/07, helihobby [EMAIL PROTECTED] wrote:


 Does anyone know how ( if possible ) to save an FLV or Image to the
 shared local object ( SOL ) and than open it later on for use by the
 Video Class ?

 I am trying to build my own Cache system and since Flash can not
 access the file system my only option is to use the SOL. ( can't use
 Appolo for this project ).

 I would imagine one would need to use the ByteArray class but I have
 no idea where to begin ...

 If someone has an example that would be GREAT !!!

 Thank you,

 Sean.

  




-- 
-abdul
---
http://abdulqabiz.com/blog/
---


Re: [flexcoders] Re: JS - How to send a byteArray using HTTPService??

2007-10-30 Thread Abdul Qabiz
Yup! This is another way of doing, quick and easy, you don't need to setup
anything on server, except byte to base64 conversion...

-abdul

On 10/30/07, li wenzhi [EMAIL PROTECTED] wrote:

   you can use as3 encoding class to convert the ByteArray to Base64
 String,  then send it with httpservice:


 a)bytearray  to base64 string:

 http://www.dynamicflash.com/goodies/base64



 b)base64 to byte[] in java:

 http://www.source-code.biz/snippets/java/2.htm



 - Original Message 
 From: Abdul Qabiz [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Tuesday, October 30, 2007 12:23:56 PM
 Subject: Re: [flexcoders] Re: JS - How to send a byteArray using
 HTTPService??

  I think, you can use AMFPHP on server-side. You can refer the following
 tutorial:-

 http://www.sephirot h.it/tutorials/ flashPHP/ amfphp_bytearray 
 /http://www.sephiroth.it/tutorials/flashPHP/amfphp_bytearray/
 http://www.bytearra y.org/?p= 90 http://www.bytearray.org/?p=90

 -abdul

 On 10/29/07, Jeff Schuenke  [EMAIL PROTECTED] com [EMAIL PROTECTED]
 wrote:
 
Hello Abdul,
 
  I have looked at URLLoader and see how to send. On the server side,
  I see the data in a byte array but am not sure how to pull this inot
  a variable. Any samples from either php or java?
  Thanks,
 
  Jeff
 
  --- In [EMAIL PROTECTED] ups.com flexcoders%40yahoogroups.com,
  Abdul Qabiz abdul.qabiz@ ...
  wrote:
  
   Note sure, if HTTPService allows anything beyond text You can
  use
   URLLoader to send the data to server..
  
   -abdul
  
   On 10/25/07, Jeff Schuenke [EMAIL PROTECTED] . wrote:
   
Hello All,
   
I need to do a screen capture of a UIComponenet and allow the
  user to save
this to their local drive. I understand thsi will need to go
  throu the
server. I have read about the ImageSnapshot and PNGEncode
  methods in SDK 3
so I can get the BitmapData ( this example is using SDK 2). What
  I don't
see how to do is send this to the server. I am trying this:
   
//get the data
var exportImage: BitmapData = new BitmapData(100, 100);
exportImage. draw(UIComponene t_name);
   
var outData:ByteArray = new ByteArray();
outData.readBytes( exportImage. getPixels( new Rectangle
  (0,0,100,100) ));
   
var sendImage:HTTPServi ce = new HTTPService( );
sendImage.method = POST;
sendImage.url = http://www.host. com/serverSave. 
phphttp://www.host.com/serverSave.php
  ;
sendImage.send( {HTTP_RAW_ POST_DATA: outData.writeByt es(outData) ,
 
  name:'
image.png'});
   
   
This is not working and it is only a guess. How can I send the
  data or
is it possibile to do this as a POST??
   
Thanks,
   
   
   
Jeff
   
   
   
  
  
  
   --
   -abdul
    - - -
   http://abdulqabiz. com/blog/ http://abdulqabiz.com/blog/
    - - -
  
 
 


 --
 -abdul
  - - -
 http://abdulqabiz. com/blog/ http://abdulqabiz.com/blog/
  - - -



 __
 Do You Yahoo!?
 Tired of spam? Yahoo! Mail has the best spam protection around
 http://mail.yahoo.com

  




-- 
-abdul
---
http://abdulqabiz.com/blog/
---


Re: [flexcoders] fetching unicode characters

2007-10-30 Thread Abdul Qabiz
Flash Player  has UTF/Unicode capabilities for sometime. You can just
request using  and pass the string to textarea..

I am not sure about Unicode sequences though? Someone might confirm here..

-abdul

On 10/30/07, Aditya Kumar [EMAIL PROTECTED] wrote:

   Hi,
 Can anyone please tell me how to fetch unicode characters through
 HTTPService and display the same in a TextArea Component.
 while sending the unicode characters i use contentType as UTF-8. What is
 the procedure while retrieving the same.

 Thanks  Regards,
 Aditya.
  




-- 
-abdul
---
http://abdulqabiz.com/blog/
---


Re: [flexcoders] fetching unicode characters

2007-10-30 Thread Abdul Qabiz
I just tried to load one of W3C UTF-8 tests, it seems to be working fine...

http://www.w3.org/2001/06/utf-8-test/UTF-8-demo.html


Flex code (run standalone, you might need a proxy script to load it in
browser):-

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
creationComplete=onAppCreationComplete()
mx:Script
![CDATA[
import mx.rpc.http.HTTPService;
import mx.rpc.events.ResultEvent;

private var httpService:HTTPService;
private function onAppCreationComplete ():void
{
httpService = new HTTPService ();
httpService.addEventListener(ResultEvent.RESULT,
httpServiceResultHandler);
httpService.resultFormat = HTTPService.RESULT_FORMAT_TEXT;
httpService.url = 
http://www.w3.org/2001/06/utf-8-test/UTF-8-demo.html;;
httpService.send ();
}

private function httpServiceResultHandler
(event:ResultEvent):void
{
console.text = String (event.result);
}
]]
/mx:Script
mx:TextArea id=console width=100% height=100%/
/mx:Application



On 10/31/07, Abdul Qabiz [EMAIL PROTECTED] wrote:

 Flash Player  has UTF/Unicode capabilities for sometime. You can just
 request using  and pass the string to textarea..

 I am not sure about Unicode sequences though? Someone might confirm here..

 -abdul

 On 10/30/07, Aditya Kumar [EMAIL PROTECTED] wrote:
 
Hi,
  Can anyone please tell me how to fetch unicode characters through
  HTTPService and display the same in a TextArea Component.
  while sending the unicode characters i use contentType as UTF-8. What is
  the procedure while retrieving the same.
 
  Thanks  Regards,
  Aditya.
   
 



 --
 -abdul
 ---
 http://abdulqabiz.com/blog/
 ---




-- 
-abdul
---
http://abdulqabiz.com/blog/
---


Re: [flexcoders] HTTP Cookie via ActionScript

2007-10-29 Thread Abdul Qabiz
Hi,

I am also confirming this is an issue with current beta player on labs. Not
sure if it is intentional or a bug?

-abdul

On 10/27/07, Abdul Qabiz [EMAIL PROTECTED] wrote:

 It seems to be Flash Player changes, what player version are you using?

 -abdul

 On 10/25/07, Sandeep Malik  [EMAIL PROTECTED] wrote:
 
Guys,
 
  We're using flex 3 beta 2 for some project and we're seeing this
  message:
 
  Error #2096: The HTTP request header Cookie cannot be set via
  ActionScript.
  ArgumentError: Error #2096: The HTTP request header Cookie cannot be
  set via ActionScript.
  at flash.net::URLStream/load()
  at flash.net::URLLoader/load()
 
  Is it true that Flex 3 will not allow to set HTTP Cookies via
  actionscript? This used to work with Flex 2. This will be really bad
  for backward compatibility as we have a framework written which sets
  HTTP Cookies.
 
  Can Adobe really be doing this?
 
  -Sandeep
 
   
 



 --
 -abdul
 ---
 http://abdulqabiz.com/blog/
 ---




-- 
-abdul
---
http://abdulqabiz.com/blog/
---


Re: [flexcoders] dynamic images and copy protection

2007-10-29 Thread Abdul Qabiz
You can load images over URLStream or load images via server-side script
that sets expire headers... You can load images over socket, it wouldn't go
to browser cache at all :)

-abdul

On 10/29/07, flashcrow2000 [EMAIL PROTECTED] wrote:

   Another crazy idea from my clients :).

 I need to load images from xml, and also the client wants some
 protection for the images. The only protection I can think of is to
 embed them, but how can i do that if i have an xml which defines the
 whole layout and content?

 Encrypting them us not an option. Also, they have to run locally, so
 loading the images from a server is also not an option.

 Any ideas?

 Can I embed images with dynamic paths? If so, maybe I can use MTASC
 and recompile the SWF every time a picture or something changes.

 Thanks

  




-- 
-abdul
---
http://abdulqabiz.com/blog/
---


Re: [flexcoders] Re: FileReference upload passing parameters in URLRequest

2007-10-29 Thread Abdul Qabiz
Hmm, that's strange... If you send data with file-content, it would be
multipart message on server-side, are you doing things correctly on server?

You can use service-capture, charles, firebug etc to see what data Flex app
is sending to server? This way, you can figure out the problem area.

-abdul

On 10/30/07, letterpigeon [EMAIL PROTECTED] wrote:

   Can someone please help? Thanks in advance.

 Ban

 --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com,
 letterpigeon [EMAIL PROTECTED]

 wrote:
 
  Hi,
 
  I've tried both method, GET and POST, but still couldn't get the
  parameters to be passed correctly.
 
  Thanks.
  Ban
 
  --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Abdul
 Qabiz abdul.qabiz@
  wrote:
  
   Note sure, but you might need to set the method in URLRequest.
  
   request.method = URLRequestMethod.POST;
  
   -abdul
  
   On 10/29/07, letterpigeon ban.luc@ wrote:
   
Hi all,
   
I'm having this strange problem while uploading file in flex
  using
FileReference, that even though I set the the request
 attribute
  on the
flex side, and I verified that before I call fileRef.upload,
 the
URLRequest object has all the attributes I set in its data
  property.
But when the request arrived on the java servlet side, the
httprequest contains no attributes at all. Below is the code
  snippet
that I'm using to perform the upload, this processUpload
  method is
called after the user has browsed for a file, then hit upload
 so
  I'm
only registering the COMPLETE event here. fileRef is a global
variable of type FileReference in the enclosing file.
private function processUpload(func:Function):void
   
{
   
fileRef.addEventListener(Event.COMPLETE, func);
   
var request:URLRequest = new
URLRequest(FileImportConfigurationSource.HOST_PORT_CONTEXT +
/FileUploadServlet);
   
var params:URLVariables = new URLVariables();
   
//Read file header data from UI input
   
var client:FIClient = clientList.selectedItem as FIClient;
   
var mnemonic:String = mnemonicList.selectedLabel;
   
uploadFileId = UIDUtil.createUID().toString();
   
params.uploadFileId = uploadFileId;
   
params.transmissionId = testing;
   
request.data = params;
   
fileRef.upload(request);
   
}
   
Anyone spot any wrongdoing in the above code? Thanks.
   
Ban
   
   
   
  
  
  
   --
   -abdul
   ---
   http://abdulqabiz.com/blog/
   ---
  
 

  




-- 
-abdul
---
http://abdulqabiz.com/blog/
---


Re: [flexcoders] Re: crossdomain.xml... real or not-so-real security?

2007-10-29 Thread Abdul Qabiz
Both server and workstation are owned by evil guy...As said earlier, a
determined person doesn't even need a server, most of things (data-access)
is doable from local SWF...

I am missing something, let me try to understand your point. What you mean
by  which then gives it access to my server at www.foo.com. ? Are you
concerned about data (xml, rss, server-side scripts etc) access? Are you
concerned about XSS (Cross Site Scripting - like reading cookies etc)?

-abdul



On 10/30/07, geoffreymina [EMAIL PROTECTED] wrote:

   You guys misunderstood what I was talking about. Here is the
 landscape:

 Server 1: (www.foo.com) Owned by me and I have a crossdomain.xml
 which allows access to *.foo.com. This server is NOT compromised and
 nobody is modifying any files.

 Server 2: (www.evil.com) Owned by malicious user. A Flash file is
 loaded on this server. The flash file makes calls to www.foo.com
 which under normal circumstances would NOT be allowed to access data
 on my server because of the crossdomain only allowing access from
 *.foo.com.

 Workstate 1: Owned by malicious user. The user makes a local host
 entry for evil.foo.com which points to the same IP as www.evil.com.
 the malicious flash file is loaded under the evil.foo.com host header
 which then gives it access to my server at www.foo.com.

 As you can see, no computers are compromised, yet the crossdomain.xml
 model fails under VERY simple circumstances.

 Basically what I am getting at is that crossdomain.xml really
 provides very little security at any layer.

 --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Abdul
 Qabiz [EMAIL PROTECTED]
 wrote:
 
   If that same evil person can get to your hosts file, that's the
 fault of
  the OS and not Flash.
 
  Yup! Machine is already compromised and that guy can do lots of
 other things
  :)
 
  -abdul
 
  On 10/27/07, Alex Harui [EMAIL PROTECTED] wrote:
  
   That's right. The goal of crossdomain.xml is to limit what an
 evil
   person can do in a SWF served over the web so that the
 unsuspecting Web
   citizen isn't burned. It does not block access to the contents
 from someone
   who has the desire to see the content on their machine. If that
 same evil
   person can get to your hosts file, that's the fault of the OS and
 not Flash.
  
  
   --
  
   *From:* flexcoders@yahoogroups.com flexcoders%40yahoogroups.com
 [mailto:flexcoders@yahoogroups.com flexcoders%40yahoogroups.com] *On
   Behalf Of *Abdul Qabiz
   *Sent:* Friday, October 26, 2007 1:40 PM
   *To:* flexcoders@yahoogroups.com flexcoders%40yahoogroups.com
   *Subject:* Re: [flexcoders] crossdomain.xml... real or not-so-real
   security?
  
  
  
   Isn't it like running a standalone SWF which can access network
 and local
   data (provided u have right trust config)? Why to run a internal
 server and
   create host entry? SWF in AIR/Standalone can access data from
 foo.com.
  
   Can you put (give an example) this use-case in context of internet
   (public)?
  
   -abdul
  
   On 10/26/07, *geoffreymina*  [EMAIL PROTECTED] wrote:
  
   Say there is a site which has a crossdomain.xml defined:
  
   http://www.foo.com/crossdomain.xml
  
   with
  
   allow-access-from domain=*.foo.com/
  
   If I were to load an SWF file on my internal webserver and create
 a
   local host file which contained an entry for fake.foo.com could I
 then
   load the SWF file from fake.foo.com and access data on
 www.foo.com?
  
   If this is the case, then it seems to me that crossdomain.xml is
 really
   just something to make people feel warm and fuzzy... and not at
 all a
   real security measure.
  
   Thanks,
   Geoff
  
  
  
  
   --
   -abdul
   ---
   http://abdulqabiz.com/blog/
   ---
  
  
  
 
 
 
  --
  -abdul
  ---
  http://abdulqabiz.com/blog/
  ---
 

  




-- 
-abdul
---
http://abdulqabiz.com/blog/
---


Re: [flexcoders] Re: JS - How to send a byteArray using HTTPService??

2007-10-29 Thread Abdul Qabiz
I think, you can use AMFPHP on server-side. You can refer the following
tutorial:-

http://www.sephiroth.it/tutorials/flashPHP/amfphp_bytearray/
http://www.bytearray.org/?p=90

-abdul

On 10/29/07, Jeff Schuenke [EMAIL PROTECTED] wrote:

   Hello Abdul,

 I have looked at URLLoader and see how to send. On the server side,
 I see the data in a byte array but am not sure how to pull this inot
 a variable. Any samples from either php or java?
 Thanks,

 Jeff

 --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Abdul
 Qabiz [EMAIL PROTECTED]
 wrote:
 
  Note sure, if HTTPService allows anything beyond text You can
 use
  URLLoader to send the data to server..
 
  -abdul
 
  On 10/25/07, Jeff Schuenke [EMAIL PROTECTED] wrote:
  
   Hello All,
  
   I need to do a screen capture of a UIComponenet and allow the
 user to save
   this to their local drive. I understand thsi will need to go
 throu the
   server. I have read about the ImageSnapshot and PNGEncode
 methods in SDK 3
   so I can get the BitmapData ( this example is using SDK 2). What
 I don't
   see how to do is send this to the server. I am trying this:
  
   //get the data
   var exportImage:BitmapData = new BitmapData(100,100);
   exportImage.draw(UIComponenet_name);
  
   var outData:ByteArray = new ByteArray();
   outData.readBytes(exportImage.getPixels(new Rectangle
 (0,0,100,100)));
  
   var sendImage:HTTPService = new HTTPService();
   sendImage.method = POST;
   sendImage.url = http://www.host.com/serverSave.php;;
   sendImage.send({HTTP_RAW_POST_DATA:outData.writeBytes(outData),
 name:'
   image.png'});
  
  
   This is not working and it is only a guess. How can I send the
 data or
   is it possibile to do this as a POST??
  
   Thanks,
  
  
  
   Jeff
  
  
  
 
 
 
  --
  -abdul
  ---
  http://abdulqabiz.com/blog/
  ---
 

  




-- 
-abdul
---
http://abdulqabiz.com/blog/
---


Re: [flexcoders] FileReference upload passing parameters in URLRequest

2007-10-28 Thread Abdul Qabiz
Note sure, but you might need to set the method in URLRequest.

request.method = URLRequestMethod.POST;

-abdul

On 10/29/07, letterpigeon [EMAIL PROTECTED] wrote:

   Hi all,

 I'm having this strange problem while uploading file in flex using
 FileReference, that even though I set the the request attribute on the
 flex side, and I verified that before I call fileRef.upload, the
 URLRequest object has all the attributes I set in its data property.
 But when the request arrived on the java servlet side, the
 httprequest contains no attributes at all. Below is the code snippet
 that I'm using to perform the upload, this processUpload method is
 called after the user has browsed for a file, then hit upload so I'm
 only registering the COMPLETE event here. fileRef is a global
 variable of type FileReference in the enclosing file.
 private function processUpload(func:Function):void

 {

 fileRef.addEventListener(Event.COMPLETE, func);

 var request:URLRequest = new
 URLRequest(FileImportConfigurationSource.HOST_PORT_CONTEXT +
 /FileUploadServlet);

 var params:URLVariables = new URLVariables();

 //Read file header data from UI input

 var client:FIClient = clientList.selectedItem as FIClient;

 var mnemonic:String = mnemonicList.selectedLabel;

 uploadFileId = UIDUtil.createUID().toString();

 params.uploadFileId = uploadFileId;

 params.transmissionId = testing;

 request.data = params;

 fileRef.upload(request);

 }

 Anyone spot any wrongdoing in the above code? Thanks.

 Ban

  




-- 
-abdul
---
http://abdulqabiz.com/blog/
---


Re: [flexcoders] crossdomain.xml... real or not-so-real security?

2007-10-28 Thread Abdul Qabiz
 If that same evil person can get to your hosts file, that's the fault of
the OS and not Flash.

Yup! Machine is already compromised and that guy can do lots of other things
:)

-abdul

On 10/27/07, Alex Harui [EMAIL PROTECTED] wrote:

That's right.  The goal of crossdomain.xml is to limit what an evil
 person can do in a SWF served over the web so that the unsuspecting Web
 citizen isn't burned.  It does not block access to the contents from someone
 who has the desire to see the content on their machine.  If that same evil
 person can get to your hosts file, that's the fault of the OS and not Flash.


  --

 *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
 Behalf Of *Abdul Qabiz
 *Sent:* Friday, October 26, 2007 1:40 PM
 *To:* flexcoders@yahoogroups.com
 *Subject:* Re: [flexcoders] crossdomain.xml... real or not-so-real
 security?



 Isn't it like running a standalone SWF which can access network and local
 data (provided u have right trust config)? Why to run a internal server and
 create host entry? SWF in AIR/Standalone can access data from foo.com.

 Can you put (give an example) this use-case in context of internet
 (public)?

 -abdul

 On 10/26/07, *geoffreymina*  [EMAIL PROTECTED] wrote:

 Say there is a site which has a crossdomain.xml defined:

 http://www.foo.com/crossdomain.xml

 with

 allow-access-from domain=*.foo.com/

 If I were to load an SWF file on my internal webserver and create a
 local host file which contained an entry for fake.foo.com could I then
 load the SWF file from fake.foo.com and access data on www.foo.com?

 If this is the case, then it seems to me that crossdomain.xml is really
 just something to make people feel warm and fuzzy... and not at all a
 real security measure.

 Thanks,
 Geoff




 --
 -abdul
 ---
 http://abdulqabiz.com/blog/
 ---

  




-- 
-abdul
---
http://abdulqabiz.com/blog/
---


Re: [flexcoders] Re: removechild and addchild cause flickering , help~

2007-10-28 Thread Abdul Qabiz
Yup! To avoid that you can load the image in other loader and swap it once
it's loaded...Something like double-buffering..

-abdul

On 10/29/07, Alex Harui [EMAIL PROTECTED] wrote:

Image loading is asynchronous and could take any number of frames on a
 slow network.


  --

 *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
 Behalf Of *icykorpio
 *Sent:* Sunday, October 28, 2007 8:03 AM
 *To:* flexcoders@yahoogroups.com
 *Subject:* [flexcoders] Re: removechild and addchild cause flickering ,
 help~



 i find only the first time i do the switch, the flicker appear.

 seems any UIComponent the first time be drawn needs two frames to show
 up.

  




-- 
-abdul
---
http://abdulqabiz.com/blog/
---


Re: [flexcoders] JS - How to send a byteArray using HTTPService??

2007-10-28 Thread Abdul Qabiz
Note sure, if HTTPService allows anything beyond text You can use
URLLoader to send the data to server..

-abdul

On 10/25/07, Jeff Schuenke [EMAIL PROTECTED] wrote:

   Hello All,

 I need to do a screen capture of a UIComponenet and allow the user to save
 this to their local drive.  I understand thsi will need to go throu the
 server.  I have read about the ImageSnapshot and PNGEncode methods in SDK 3
 so I can get the BitmapData ( this example is using SDK 2).  What I don't
 see how to do is send this to the server.  I am trying this:

 //get the data
 var exportImage:BitmapData =  new BitmapData(100,100);
 exportImage.draw(UIComponenet_name);

 var outData:ByteArray = new ByteArray();
 outData.readBytes(exportImage.getPixels(new Rectangle(0,0,100,100)));

 var sendImage:HTTPService = new HTTPService();
 sendImage.method = POST;
 sendImage.url = http://www.host.com/serverSave.php;;
 sendImage.send({HTTP_RAW_POST_DATA:outData.writeBytes(outData), name:'
 image.png'});


  This is not working and it is only a guess.  How can I send the data or
 is it possibile to do this as a POST??

 Thanks,



 Jeff

  




-- 
-abdul
---
http://abdulqabiz.com/blog/
---


Re: [flexcoders] crossdomain.xml... real or not-so-real security?

2007-10-26 Thread Abdul Qabiz
Isn't it like running a standalone SWF which can access network and local
data (provided u have right trust config)? Why to run a internal server and
create host entry? SWF in AIR/Standalone can access data from foo.com.

Can you put (give an example) this use-case in context of internet (public)?

-abdul

On 10/26/07, geoffreymina [EMAIL PROTECTED] wrote:

   Say there is a site which has a crossdomain.xml defined:

 http://www.foo.com/crossdomain.xml

 with

 allow-access-from domain=*.foo.com/

 If I were to load an SWF file on my internal webserver and create a
 local host file which contained an entry for fake.foo.com could I then
 load the SWF file from fake.foo.com and access data on www.foo.com?

 If this is the case, then it seems to me that crossdomain.xml is really
 just something to make people feel warm and fuzzy... and not at all a
 real security measure.

 Thanks,
 Geoff

  




-- 
-abdul
---
http://abdulqabiz.com/blog/
---


Re: [flexcoders] HTTP Cookie via ActionScript

2007-10-26 Thread Abdul Qabiz
It seems to be Flash Player changes, what player version are you using?

-abdul

On 10/25/07, Sandeep Malik [EMAIL PROTECTED] wrote:

   Guys,

 We're using flex 3 beta 2 for some project and we're seeing this message:

 Error #2096: The HTTP request header Cookie cannot be set via
 ActionScript.
 ArgumentError: Error #2096: The HTTP request header Cookie cannot be
 set via ActionScript.
 at flash.net::URLStream/load()
 at flash.net::URLLoader/load()

 Is it true that Flex 3 will not allow to set HTTP Cookies via
 actionscript? This used to work with Flex 2. This will be really bad
 for backward compatibility as we have a framework written which sets
 HTTP Cookies.

 Can Adobe really be doing this?

 -Sandeep

  




-- 
-abdul
---
http://abdulqabiz.com/blog/
---


Re: [flexcoders] Detecting a variable change

2007-10-26 Thread Abdul Qabiz
You can look at Binding (if it's Flex App) or flash.utils.Proxy class... You
can watch variable and do whatever you want..

-abdul

pretend we have a custom
 component with the code below. The langType variable is bound to
 another variable in the main application, and I want it to run the
 changeLangTxt function whenever the langType variable changes. How do
 I do this?

 var langType:String = new String(english);
 var helloMsg:String;

 private function changeLangTxt():void{
 if(langType == spanish){
 helloMsg = Holal
 }
 if(langType == english){
 helloMsg = Hi Therel
 }
 }

  




-- 
-abdul
---
http://abdulqabiz.com/blog/
---


Re: [flexcoders] Class Socket

2007-10-26 Thread Abdul Qabiz
Hi,

You can read and write data (file content) using Socket. If you are talking
about a scenario, where you want user to choose a file using FileReference
dialogue box and send the file over socket, that's wouldn't work in Flex
apps running in Flash Player. AIR apps can read file content and do whatever
they want to...

Anyway, once you get the reference of file (assuming it AIR app), you can
read the data in ByteArray and send the data over Socket.

Sorry no code here... FYI! We are using socket in as3httpclient (
http://code.google.com/p/as3httpclient), which allows HTTP File Upload.
Check  out the code, it might help.

-abdul

On 10/25/07, Hugo carvalho [EMAIL PROTECTED] wrote:

   Hi,

 someone could give an example of how to send a file (Not text) using
 socket.

 Thanks in advance,

 []!

 http://livedocs.adobe.com/flex/201/langref/flash/net/Socket.html
 http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/S...

  




-- 
-abdul
---
http://abdulqabiz.com/blog/
---


Re: [flexcoders] webparts in flex?

2007-10-23 Thread Abdul Qabiz
Ok, I just looked at webparts documention, if I am not wrong it's all about
personalization. Something like iGoogle, My Yahoo! etc..

You can change color, add widgets/controls, move things around,
maximize-minimize etc...

Adobe Flex doesn't come with personalization classes (though it would be
great to have that) but it's totally doable with whatever is available.

You can check out http://www.yourminis.com/start, it's done using
Flex/Flash.

With Flex, you can persist personalization information on client-side (using
SharedObject) as well as store it on server (you would need to take care of
storing/retrieving information because Adobe Flex is front-end technology
with exception of FDS).

-abdul


On 10/23/07, Jaganathan.K [EMAIL PROTECTED] wrote:

   is it possible to create webparts in flex? i mean, make the components
 customizable, change the layouts, change the colors. I know, we can
 acheive this in .NET, but is it possible to create the same effect in
 flex? Any help would be greatly appreciated.

 Thanks

 Regards
 Jaga

  




-- 
-abdul
---
http://abdulqabiz.com/blog/
---


Re: [flexcoders] select folder using FileReferenceList

2007-10-22 Thread Abdul Qabiz
Not sure, you can do that. User can select all files within folder.

-abdul

On 10/23/07, Shailesh Mangal [EMAIL PROTECTED] wrote:

   Hi all,

 I want user to select a folder but fileFilter only allows to filter
 (and select) files. Is there a way where I can show user the file
 browse dialog and allow him to select a folder. Any work arounds?

 -Shailesh

  




-- 
-abdul
---
http://abdulqabiz.com/blog/
---


Re: [flexcoders] TabNavigator with Local tag ..

2007-10-22 Thread Abdul Qabiz
Hi,

While building RIA using Flex or AJAX, we think in terms of views instead of
pages. We can consider each tab is a different view, each view could be a
separate (or same) component/module...

We can create views either by using inline tags or using components
(actionscript or mxml).

f.ex:

## Example.mxml - A MXML component

mx:VBox xmlns:mx=http://www.adobe.com/2006/mxml;
!-- TBD --
/mx:VBox

## YourApp.mxml

mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; xmlns:local=*
mx:TabNavigator id=tn  borderStyle=solid  height=400 width=600
x=11  paddingTop=0
mx:VBox label=TabOne width=600 height=520 paddingLeft=0
paddingTop=0
   local:Example id=exp paddingLeft=0 paddingTop=0 /
  /mx:VBox
/mx:TabNavigator
/mx:Application


Note the xmlns:local=*, that allows inclusion of mxml components in your
application under some namespace.

-- 
-abdul
---
http://abdulqabiz.com/blog/
---


On 10/23/07, Tom Preet [EMAIL PROTECTED] wrote:

   Hi All,

 In my app am using the TabNavigator control for displaying Tabs. When I
 click on click on each tab I've to open an mxml page with in a tab.

 for this am using like

 mx:TabNavigator id=tn  borderStyle=solid  height=400 width=600
 x=11  paddingTop=0
 mx:VBox label=TabOne width=600 height=520 paddingLeft=0
 paddingTop=0
local:Example id=exp paddingLeft=0 paddingTop=0 /
   /mx:VBox
 here Example is the mxml page calling using local tag.

 Since am using Local tag, am getting a error like Display Child Object
 Error

 Instead of using local tag is there any other alternative for this to
 achive it.

 Thanks,
 Preet.


  



Re: [flexcoders] youtube

2007-05-05 Thread Abdul Qabiz

I have been posting lots of details on YouTube...

You can search my blog: http://www.abdulqabiz.com/blog/ using this link

*http://tinyurl.com/2uoltz

*You can even find things like, getting FLV URL on client side without even
using server-side proxy, some sample apps playin YouTube Video etc.
*
-abdul
*


On 5/5/07, Manish Jethani [EMAIL PROTECTED] wrote:


  On 5/5/07, Benoit Hediard [EMAIL PROTECTED] ben%40benorama.com wrote:

 Are you sure that it is allowed to play FLV directly without the
official
 YouTube player?

Yes. But you have to get the FLV URL right. That's the tricky part.
 



Re: [flexcoders] Flash cache probem when flash is embedded in a asp.net page

2007-05-05 Thread Abdul Qabiz

You need to check if code in your ASPX page is setting HTTP requests headers
such that content expires?

Also check if the SWF path is static instead of a different or unique URL
everytime it loads... Make sure, you are not appending any random string to
SWF path...

-abdul

On 5/5/07, wpding [EMAIL PROTECTED] wrote:


  I have embedded a flash into a asp.net page, and i want the flash to be
cached by browsers.

But  the the flash embedded in the aspx Page will not be cached.So the
flash will be reloaded everytime your revisit the page.And if i embed the
flash into a html file ,there is no such probems. it seems that when the
page are generated dynamically , the flash will not be cached.

Does anyone know the reason and a solution.

I also found that the page http://www.flex.org/blogs/ ,which is generated
dynamically, has embedded a flash. And the flash will be cached.
Then i digged out that the page will first embed a iframe ,which cotains
the flash.  Since the iframe is html file ,the flash will be cached.

I am not sure if this is the only solution for the cache problem.

Is there better solution?

Thanks.

 



Re: [flexcoders] Stopping embedded flash in Flex

2007-05-05 Thread Abdul Qabiz

There is no interoperability between AS3 and AS2 apps that means you can't
control or invoke anything in loaded SWF8 ( or less) from a SWF9 or more..

There are workarounds which use LocalConnection or ExternalInterface to
achieve that. Infact, there are some projects around this problem.

http://www.flashextensions.com/blog/2006/12/11/swfadapter-%E2%80%93-proxy-to-communicating-to-flash-8-swfs-from-flash-9/

-abdul

On 5/3/07, Manish Jethani [EMAIL PROTECTED] wrote:


  On 5/2/07, John [EMAIL PROTECTED] wablam%40gmail.com wrote:
 I have a ViewStack that has a SWFLoader as one of the views.

 The problem is when I change views the flash on the first view(as well
 as the audio) is still running in the background. Anyway of
 stopping/pausing the flash when I switch Views?

You can either unload it by setting the source to  (or null). But I
found that that doesn't stop the movie playing. So try calling stop()
on the content.

loader.content.stop();

I'm assuming the content will be a MovieClip, etc. Didn't work for me
with an old Flash 7 SWF.
 



Re: [flexcoders] Re: Alert Control Crashing App

2007-04-27 Thread Abdul Qabiz

Ok, I tried running your app. It seems, it gets into recursion somewhere and
that's where Flash crashes..

-abdul

On 4/26/07, Troy A. Binford [EMAIL PROTECTED] wrote:


  I updated to version 9.0.45.0 that was released april 12. The code
still crashes to a large stack dump and an undefined error. Thanks
for the suggestion, but this didn't seem to fix my problem. Anyone
else have any suggestions? It would be much appreciated.

Thanks,

Troy

--- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, rml__
[EMAIL PROTECTED] wrote:

 Update your flash player version, i had the same problem in IE, it
was solved updating the flash player.

 rml

 - Mensaje original 
 De: Manish Jethani [EMAIL PROTECTED]

 Para: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com
 Enviado: miércoles, 25 de abril, 2007 5:33:04
 Asunto: Re: [flexcoders] Alert Control Crashing App













 Perhaps you can post a working example somewhere or at
least a stack

 trace? That'll make it easier to follow.



 On 4/25/07, Troy A. Binford troy.binford@ gmail.com wrote:

  This is a little complex, but I'll try to describe what's going on to

  the best of my ability.

 

  1. Create a new Flex Application.

  2. Add a Canvas or whatever and give it an id.

  3. Create a new Custom Control that is a DataGrid.

  4. Make the DataGrid editable and give it a dataProvider and at least

  one column.

  5. Add itemEditEnd event.

  6. Have the listener method fire an Alert.show( test)

  7. close the Custom Control.

  8. Create a mx:Script section in the main app.

  9. create a private var (x) that is an instance of the Custom Control.

  10. Add initialize event.

  11. Have the listener assign x = new Custom Control Name()

  12. addChild(x)

 

  Run the program and edit a column (making itemEditEnd fire). If done

  correctly, the Alert.show() will result in a large stack dump and an

  undefined error.

 

  My question is: Is this my fault? What did I do wrong?

 

 

 

  --

  Flexcoders Mailing List

  FAQ: http://groups. yahoo.com/ group/flexcoders /files/flexcoder
sFAQ.txt

  Search Archives: http://www.mail- archive.com/ flexcoders%
40yahoogroups. com

  Yahoo! Groups Links

 

 

 

 












 !--

 #ygrp-mlmsg {font-size:13px;font-family:arial, helvetica, clean,
sans-serif;}
 #ygrp-mlmsg table {font-size:inherit;font:100%;}
 #ygrp-mlmsg select, input, textarea {font:99% arial, helvetica,
clean, sans-serif;}
 #ygrp-mlmsg pre, code {font:115% monospace;}
 #ygrp-mlmsg * {line-height:1.22em;}
 #ygrp-text{
 font-family:Georgia;
 }
 #ygrp-text p{
 margin:0 0 1em 0;}
 #ygrp-tpmsgs{
 font-family:Arial;
 clear:both;}
 #ygrp-vitnav{
 padding-top:10px;font-family:Verdana;font-size:77%;margin:0;}
 #ygrp-vitnav a{
 padding:0 1px;}
 #ygrp-actbar{
 clear:both;margin:25px
0;white-space:nowrap;color:#666;text-align:right;}
 #ygrp-actbar .left{
 float:left;white-space:nowrap;}
 .bld{font-weight:bold;}
 #ygrp-grft{
 font-family:Verdana;font-size:77%;padding:15px 0;}
 #ygrp-ft{
 font-family:verdana;font-size:77%;border-top:1px solid #666;
 padding:5px 0;
 }
 #ygrp-mlmsg #logo{
 padding-bottom:10px;}

 #ygrp-vital{
 background-color:#e0ecee;margin-bottom:20px;padding:2px 0 8px 8px;}
 #ygrp-vital #vithd{


font-size:77%;font-family:Verdana;font-weight:bold;color:#333;text-transform:uppercase;}
 #ygrp-vital ul{
 padding:0;margin:2px 0;}
 #ygrp-vital ul li{
 list-style-type:none;clear:both;border:1px solid #e0ecee;
 }
 #ygrp-vital ul li .ct{


font-weight:bold;color:#ff7900;float:right;width:2em;text-align:right;padding-right:.5em;}
 #ygrp-vital ul li .cat{
 font-weight:bold;}
 #ygrp-vital a {
 text-decoration:none;}

 #ygrp-vital a:hover{
 text-decoration:underline;}

 #ygrp-sponsor #hd{
 color:#999;font-size:77%;}
 #ygrp-sponsor #ov{
 padding:6px 13px;background-color:#e0ecee;margin-bottom:20px;}
 #ygrp-sponsor #ov ul{
 padding:0 0 0 8px;margin:0;}
 #ygrp-sponsor #ov li{
 list-style-type:square;padding:6px 0;font-size:77%;}
 #ygrp-sponsor #ov li a{
 text-decoration:none;font-size:130%;}
 #ygrp-sponsor #nc {
 background-color:#eee;margin-bottom:20px;padding:0 8px;}
 #ygrp-sponsor .ad{
 padding:8px 0;}
 #ygrp-sponsor .ad #hd1{


font-family:Arial;font-weight:bold;color:#628c2a;font-size:100%;line-height:122%;}
 #ygrp-sponsor .ad a{
 text-decoration:none;}
 #ygrp-sponsor .ad a:hover{
 text-decoration:underline;}
 #ygrp-sponsor .ad p{
 margin:0;}
 o {font-size:0;}
 .MsoNormal {
 margin:0 0 0 0;}
 #ygrp-text tt{
 font-size:120%;}
 blockquote{margin:0 0 0 4px;}
 .replbq {margin:4;}
 --







 __
 Correo Yahoo!
 Espacio para todos tus mensajes, antivirus y antispam ¡gratis!
 Regístrate ya - http://correo.yahoo.com.mx/


 



Re: [flexcoders] Re: Alert Control Crashing App

2007-04-27 Thread Abdul Qabiz

It seems, itemEditEnd event handler is getting invoked recursively, you
might to look at it...

-abdul

On 4/27/07, Abdul Qabiz [EMAIL PROTECTED] wrote:


Ok, I tried running your app. It seems, it gets into recursion somewhere
and that's where Flash crashes..

-abdul

On 4/26/07, Troy A. Binford  [EMAIL PROTECTED] wrote:

   I updated to version 9.0.45.0 that was released april 12. The code
 still crashes to a large stack dump and an undefined error. Thanks
 for the suggestion, but this didn't seem to fix my problem. Anyone
 else have any suggestions? It would be much appreciated.

 Thanks,

 Troy

 --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, rml__
 [EMAIL PROTECTED] wrote:
 
  Update your flash player version, i had the same problem in IE, it
 was solved updating the flash player.
 
  rml
 
  - Mensaje original 
  De: Manish Jethani [EMAIL PROTECTED]

  Para: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com
  Enviado: miércoles, 25 de abril, 2007 5:33:04
  Asunto: Re: [flexcoders] Alert Control Crashing App
 
 
 
 
 
 
 
 
 
 
 
 
 
  Perhaps you can post a working example somewhere or at
 least a stack
 
  trace? That'll make it easier to follow.
 
 
 
  On 4/25/07, Troy A. Binford troy.binford@ gmail.com wrote:
 
   This is a little complex, but I'll try to describe what's going on
 to
 
   the best of my ability.
 
  
 
   1. Create a new Flex Application.
 
   2. Add a Canvas or whatever and give it an id.
 
   3. Create a new Custom Control that is a DataGrid.
 
   4. Make the DataGrid editable and give it a dataProvider and at
 least
 
   one column.
 
   5. Add itemEditEnd event.
 
   6. Have the listener method fire an Alert.show( test)
 
   7. close the Custom Control.
 
   8. Create a mx:Script section in the main app.
 
   9. create a private var (x) that is an instance of the Custom
 Control.
 
   10. Add initialize event.
 
   11. Have the listener assign x = new Custom Control Name()
 
   12. addChild(x)
 
  
 
   Run the program and edit a column (making itemEditEnd fire). If done
 
   correctly, the Alert.show() will result in a large stack dump and an
 
   undefined error.
 
  
 
   My question is: Is this my fault? What did I do wrong?
 
  
 
  
 
  
 
   --
 
   Flexcoders Mailing List
 
   FAQ: http://groups. yahoo.com/ group/flexcoders /files/flexcoder
 sFAQ.txt
 
   Search Archives: http://www.mail- archive.com/ flexcoders%
 40yahoogroups. com
 
   Yahoo! Groups Links
 
  
 
  
 
  
 
  
 
 
 
 
 
 
 
 
 
 
 
 
  !--
 
  #ygrp-mlmsg {font-size:13px;font-family:arial, helvetica, clean,
 sans-serif;}
  #ygrp-mlmsg table {font-size:inherit;font:100%;}
  #ygrp-mlmsg select, input, textarea {font:99% arial, helvetica,
 clean, sans-serif;}
  #ygrp-mlmsg pre, code {font:115% monospace;}
  #ygrp-mlmsg * {line-height:1.22em;}
  #ygrp-text{
  font-family:Georgia;
  }
  #ygrp-text p{
  margin:0 0 1em 0;}
  #ygrp-tpmsgs{
  font-family:Arial;
  clear:both;}
  #ygrp-vitnav{
  padding-top:10px;font-family:Verdana;font-size:77%;margin:0;}
  #ygrp-vitnav a{
  padding:0 1px;}
  #ygrp-actbar{
  clear:both;margin:25px
 0;white-space:nowrap;color:#666;text-align:right;}
  #ygrp-actbar .left{
  float:left;white-space:nowrap;}
  .bld{font-weight:bold;}
  #ygrp-grft{
  font-family:Verdana;font-size:77%;padding:15px 0;}
  #ygrp-ft{
  font-family:verdana;font-size:77%;border-top:1px solid #666;
  padding:5px 0;
  }
  #ygrp-mlmsg #logo{
  padding-bottom:10px;}
 
  #ygrp-vital{
  background-color:#e0ecee;margin-bottom:20px;padding:2px 0 8px 8px;}
  #ygrp-vital #vithd{
 

 
font-size:77%;font-family:Verdana;font-weight:bold;color:#333;text-transform:uppercase;}
  #ygrp-vital ul{
  padding:0;margin:2px 0;}
  #ygrp-vital ul li{
  list-style-type:none;clear:both;border:1px solid #e0ecee;
  }
  #ygrp-vital ul li .ct{
 

 
font-weight:bold;color:#ff7900;float:right;width:2em;text-align:right;padding-right:.5em;}
  #ygrp-vital ul li .cat{
  font-weight:bold;}
  #ygrp-vital a {
  text-decoration:none;}
 
  #ygrp-vital a:hover{
  text-decoration:underline;}
 
  #ygrp-sponsor #hd{
  color:#999;font-size:77%;}
  #ygrp-sponsor #ov{
  padding:6px 13px;background-color:#e0ecee;margin-bottom:20px;}
  #ygrp-sponsor #ov ul{
  padding:0 0 0 8px;margin:0;}
  #ygrp-sponsor #ov li{
  list-style-type:square;padding:6px 0;font-size:77%;}
  #ygrp-sponsor #ov li a{
  text-decoration:none;font-size:130%;}
  #ygrp-sponsor #nc {
  background-color:#eee;margin-bottom:20px;padding:0 8px;}
  #ygrp-sponsor .ad{
  padding:8px 0;}
  #ygrp-sponsor .ad #hd1{
 

 
font-family:Arial;font-weight:bold;color:#628c2a;font-size:100%;line-height:122%;}
  #ygrp-sponsor .ad a{
  text-decoration:none;}
  #ygrp-sponsor .ad a:hover{
  text-decoration:underline;}
  #ygrp-sponsor .ad p{
  margin:0;}
  o {font-size:0;}
  .MsoNormal {
  margin:0 0 0 0;}
  #ygrp-text tt{
  font-size:120%;}
  blockquote{margin:0 0 0 4px;}
  .replbq {margin:4;}
  --
 
 
 
 
 
 
 
  __
  Correo

Re: [flexcoders] embedding multiple images programmatically

2007-04-27 Thread Abdul Qabiz

Embedding the image in your application would increase the application
filesize. I would rather suggest you to think of loading these images on
runtime.

You can load images on runtime using mx;Image or any other class (Loader
etc)...

-abdul

On 4/28/07, dougco2000 [EMAIL PROTECTED] wrote:


  Hi all,

I have an array of image names (of PNGs on my server), and I want to
load these all up in an object list of images so I can show them when
needed in my application.

I've found an oddity where some of these, sometimes, don't load
properly for whatever reason and are blank when I need to show them.
So I am thinking I should just embed them. But since I have 50+
images, I'd like to run a loop to embed each one, and all the examples
of embedding show doing something like:

[Embed(source=logo.gif)]
[Bindable]
public var imgCls:Class;

and then mapping to an image. I'd rather not fill up my code with 50
separate variable defines, any easy way to iterate through this?

thanks!

 



Re: [flexcoders] embedding multiple images programmatically

2007-04-27 Thread Abdul Qabiz

mx:Image source=http//server/image.png /

var image:Image = new Image ();
container.addChild (image);
image.source = http://foo.com/test.png;;

-abdul

On 4/28/07, Abdul Qabiz [EMAIL PROTECTED] wrote:


Embedding the image in your application would increase the application
filesize. I would rather suggest you to think of loading these images on
runtime.

You can load images on runtime using mx;Image or any other class (Loader
etc)...

-abdul

On 4/28/07, dougco2000 [EMAIL PROTECTED] wrote:

   Hi all,

 I have an array of image names (of PNGs on my server), and I want to
 load these all up in an object list of images so I can show them when
 needed in my application.

 I've found an oddity where some of these, sometimes, don't load
 properly for whatever reason and are blank when I need to show them.
 So I am thinking I should just embed them. But since I have 50+
 images, I'd like to run a loop to embed each one, and all the examples
 of embedding show doing something like:

 [Embed(source=logo.gif)]
 [Bindable]
 public var imgCls:Class;

 and then mapping to an image. I'd rather not fill up my code with 50
 separate variable defines, any easy way to iterate through this?

 thanks!

  






Re: [flexcoders] FileReferenceList

2007-04-26 Thread Abdul Qabiz


1. how to trace values in console panel?



Use trace (..) statement. You might need to  configure/create mm.cfg on your
machine. Check this link:

http://livedocs.adobe.com/flex/201/html/logging_125_04.html

2. I have to create flv palyer in Apollo.


Read the documentation and write it. Check out how other folks have done:

http://theflexblog.com/?p=21

It's pretty simple but depends what all functionalities you are looking.


I'm getting problem in storing path of files which are selected by user in

an array so that i can play them one by one.



You need to read more and learn fundamentals and keep trying.

-abdul






On 4/26/07, kanu kukreja [EMAIL PROTECTED] wrote:


  Hello everyone,
being new to flex i have so many queries in this.

1. how to trace values in console panel?
2. I have to create flv palyer in Apollo.

   I'm getting problem in storing path of files which are selected by user
in an array so that i can play them one by one.

till selection of files i'm done but storing path is an issue.

I hope you all help me out in this ASAP.


*Best Regards*
*Kanu Kukreja*

--
Ahhh...imagining that irresistible new car smell?
Check out new cars at Yahoo! 
Autos.http://us.rd.yahoo.com/evt=48245/*http://autos.yahoo.com/new_cars.html;_ylc=X3oDMTE1YW1jcXJ2BF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDbmV3LWNhcnM-

 



Re: [flexcoders] Problem using a subclass of ComboBox in actionscript

2007-04-26 Thread Abdul Qabiz

Can you share the code? That helps understanding whats wrong..

It might be something with subclass code or the way you are trying to
instantiate.

-abdul

On 4/26/07, johnknyc [EMAIL PROTECTED] wrote:


  Hi all,

I created a AS subclass of ComboBox. I can use the subclass in MXML,
however when I try to instantiate the subclass in AS, it comes up
blank when I run the app.

I tried running a trace in the subclass's constructor, and it seems
the constructor is not even being called.

Any ideas?

 



Re: [flexcoders] Different webservice results in IE and Firefox

2007-04-26 Thread Abdul Qabiz

hmm...I have never seen such problem?

What do you see if you look at HTTP traffic using firebug or
livehttpheaders?

Do you recieve same or different data before it goes to Flash Player?

-abdul

On 4/27/07, manfred.maierhofer [EMAIL PROTECTED] wrote:


  Hey guys,
I have a really strange problem.

I use SOAP webservices to access data from a SAP server. The problem
is, I get different resultsets in IE and Firefox.

There are no error messages or anything comparable.

I use an event handler to read the data form the webservice result
event into a internal model variable. If I debug and set a breakpoint
to read the data directly from the result event the tables have
different entrys. In one column in Firefox a few row items are just
cleared instead of filled with text as in IE.

Has anybody already seen comparable problems??

Thanks for any suggestion, I am really confused.

Greets,
Mane

 



Re: [flexcoders] javascript-flex/actionscript communication

2007-04-11 Thread Abdul Qabiz
Just noticed, it's documented in Flex 2.0.1 docs.

http://livedocs.adobe.com/flex/201/langref/flash/external/ExternalInterface.html#addCallback()


SecurityError  — The containing environment belongs to a security
sandbox   to which the calling code does not have access. To fix this
problem:
In the object tag for the SWF file in the containing HTML page,
set the following parameter:

param name=allowScriptAccess value=always /
In the SWF file, add the following ActionScript:

flash.system.Security.allowDomain(sourceDomain)

-abdul

On 11 Apr 2007 05:23:58 -0700, Jeffry Houser [EMAIL PROTECTED] wrote:







   Sounds like you are running into security sandbox issues.  You may need a 
 crossdomain.xml, but I'm not sure if that will work for JavaScript oriented 
 stuff.

  At 10:44 PM 4/10/2007, Gautam wrote:


 Hi,

  I am using the ExternalInterface API to communicate between JavaScript and 
 Flex App. The sample code that I wrote to check this functionality works 
 perfectly fine.

  However, the same does not work for a slightly different scenario described 
 below:
  The application that has my swf and js files are being referenced by html 
 pages located on different domains.
  I am embedding the Flash Object in the html using JavaScript and have set 
 the parameter allowScriptAccess to always to allow cross-scripting. I am 
 inserting the flash object when the webpage loads in the browser within a div 
 tag through a custom browser toolbar using javascript. (currently testing on 
 firefox)

  When I test my sample application on the localhost domain, flex app is able 
 to call a method in javascript but the reverse is not working and for any 
 other domain, communication doesn't happen both the ways.

  Is there a way secure way of handling the above situation both in Firefox 
 and IE.

  Regards,
  Gautam.



  --
  Jeffry Houser, Software Developer, Writer, Songwriter, Recording Engineer
  AIM: Reboog711  | Phone: 1-203-379-0773
  --
  My Company:  http://www.dot-com-it.com
  My Podcast:  http://www.theflexshow.com
  My Blog:  http://www.jeffryhouser.com
  Connecticut Macromedia User Group:  http://www.ctmug.com


  


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 


Re: [flexcoders] Re: Control of SWF in SWFLoader

2007-04-11 Thread Abdul Qabiz

Hi,

AFAIK, you can not control an ActionScript 2 movie from ActionScript 3
movie. The possible ways are:-

1) Use LocalConnection
2) Use ExternalInterface (not recommended at all).

#1 has been used by many folks (Yahoo! Maps and many others) and there are
couple of projects around that approach. Sorry, I don't remember project
names, please search for it.

If you search, you would get many links.

There are a few, that might get you started:-

http://www.kirupa.com/forum/showpost.php?p=1964550postcount=249

You can also look at how Yahoo! Maps communication Kit is working:-
http://developer.yahoo.com/flash/as3_api_libraries.html#maps

-abdul


On 11 Apr 2007 04:33:11 -0700, nowak_petr [EMAIL PROTECTED] wrote:


  Hi,
I see I can access content properties with target.content ...

swfContent = e.target.content;
swfContent.gotoAndStop(2);
totalFrames_txt.text = String(swfContent.totalFrames);
bytesTotal_txt.text = String(swfContent.loaderInfo.bytesTotal);
frameRate_txt.text = String(swfContent.loaderInfo.frameRate);

Is it possible to control flash playing ? To know when it ends ? And
others... Where can I get more information about swfContent
properties and methods ? This is Flash documentation, I guess...

Thanks for help

Petr

--- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Hilary
Bridel [EMAIL PROTECTED]
wrote:

 Hi,
 This may help a little...
 http://www.bridel.org/?p=9

 Hilary

 --


 On 10 Apr 2007 13:11:02 -0700, nowak_petr [EMAIL PROTECTED] wrote:
 
  Hi,
  I have a flash SWF (9 or older version) and I play it with
SWFLoader.
  I'm able to play, stop. But how to know the number of frames ?
Control
  the speed of play ? And others .. Is it possible ?
  The flash SWF file is not my own, it's external, so no under
control
  (version, local connection, ...).
 
 
 



 --
 Hilary

 --


 



Re: [flexcoders] Accurate timing with flash

2007-04-11 Thread Abdul Qabiz


I
want to be able to perform a particular operation on a number of
separate, unconnected clients on exactly the same moment(e.g. they
should start blinking a piece of info at exactly the same moment with
the same blinking frequency).



same moment relative to other unconnected clients or same moment relative to
start of application?

Please read this article, to get some idea on Timer's resolution and fps
stuff.

http://www.kaourantin.net/2006/05/frame-rates-in-flash-player.html

-abdul



On 11 Apr 2007 06:10:20 -0700, mark_nankman [EMAIL PROTECTED] wrote:


  How accurately can operations be scheduled in Flash. For example, I
want to be able to perform a particular operation on a number of
separate, unconnected clients on exactly the same moment(e.g. they
should start blinking a piece of info at exactly the same moment with
the same blinking frequency).

Can this be guaranteed with Flash? If not, is there a way around it?

Regards,
Mark

 



Re: [flexcoders] The difference...

2007-04-11 Thread Abdul Qabiz

There has been a lot of confusion among Flash developer/designers. Some of
them even said, during early days of Flex, that Flex is flash killer. Which
was totally misconception.

I posted something around Macromedia MAX 2005,

http://www.abdulqabiz.com/blog/archives/macromedia_flex/macromedia_flex_and_flash.php

It's old post, should answer some of the questions.

-abdul


On 11 Apr 2007 06:43:39 -0700, Peter Farland [EMAIL PROTECTED] wrote:


   There should be a ton of articles online discussing this and I see
Abdul gave a good summary before. Here's my quick summary here... both Flex
and Flash applications are ultimately compiled down to a SWF file and run in
the Flash Player. They both use ActionScript to write programmatic logic and
they can make use of graphic, video and audio assets. However, the way in
which the applications are built is very different. Flash applications are
typically built with the Flash Authoring tool and focus around stages,
timelines, labels and script blocks to control program flow. Flex
applications are typically built with Flex Builder; the concept of a
timeline is effectively absent. Developing Flex applications should feel
like a hybrid between web development and traditional GUI application
development, but with a rich set of pre-built components. The Flex developer
uses an XML language to declaritively layout the UI and writes formal
classes to extend existing components or write completely new logic. From
Flex 2 we target Flash Player 9 and ActionScript 3.0.

Pete


 --
*From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
Behalf Of *Ed Capistrano
*Sent:* Wednesday, April 11, 2007 8:18 AM
*To:* flexcoders@yahoogroups.com
*Subject:* [flexcoders] The difference...

 Im a newbie in flex but I did studied developing flash
apps(mainly for the web)including its language as2.0.
I wonder whats with flex and flash appz? Any
significant diff. between the two?

__
Be a PS3 game guru.
Get your game face on with the latest PS3 news and previews at Yahoo!
Games.
http://videogames.yahoo.com/platform?platform=120121

 



Re: [flexcoders] Browser Print - Print Preview for Flex apps

2007-03-18 Thread Abdul Qabiz

Hi,

You can use the PrintJob or FlexPrintJob API to allow printing. It's good to
provide print button in your application.

I am not sure, Flash Player has hooks for Print command from browser. I
would love to see that in future version of Flash Player.

Probably, hook for text-size from Browser etc.

-abdul

On 16 Mar 2007 19:49:02 -0700, mjharris73 [EMAIL PROTECTED] wrote:


  We are developing a flex webapp -- ie, an HTML page containing only a
swf file. While running our app, if the user selects the Browser's
File | Print Preview option, all you see is the blank (parent) HTML
page. The current status of the SWF is not displayed.

Is there a way to print the current page in the Flex app?

 



Re: [flexcoders] DB access in Apollo

2007-03-06 Thread Abdul Qabiz

Great.

eLearning applications and occasionally connected clients would benefit from
it.

Some projects in India, for rural-internet-connectivity, can be done faster.

Where some computers in different villages get connected to Internet (via
WIFI access-point setup on moving school bus) for an hour or so, during that
time they download data for all requested queries. People benefit from it
even after latency of one-day.

With Apollo I can imagine a kiosk, which would allow to do such things. I
would love to contribute for this good cause.

Please let me know, if any of you are already working on something like
that.

-abdul


On 3/3/07, Gordon Smith [EMAIL PROTECTED] wrote:


   The Apollo team is considering integrating a SQL database into the
Apollo runtime.

- Gordon

 --
*From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
Behalf Of *Shannon Hicks
*Sent:* Friday, March 02, 2007 7:00 AM
*To:* flexcoders@yahoogroups.com
*Subject:* RE: [flexcoders] DB access in Apollo

  Don't forget that Apollo will let us use our own installers… There's no
reason you couldn't install your own database in addition to the Apollo
application.

Shan

 *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
Behalf Of *Abdul Qabiz
*Sent:* Thursday, March 01, 2007 12:20 PM
*To:* flexcoders@yahoogroups.com
*Subject:* Re: [flexcoders] DB access in Apollo

  I can imagine of doing that with Apollo. I would post soon .

On 3/1/07, Russell Sprague [EMAIL PROTECTED]rsprague%40infusion-studios.com
wrote:
 I noticed a while back that there wasn't any kind of local database
 access in Apollos feature list. Is this something that will/has
 changed, or are the devs thinking this will be a community
 contribution? It seems to me that DB access is a big part of desktop
 apps, I have built a couple using Flash, Zinc, and MySQL. It would be a
 shame to not be able to use Apollo for some projects because of this
 issue. Hopefully someone can tell me that I just missed it when Adobe
 added this to the feature list.

 Russ



  



Re: [flexcoders] DB access in Apollo

2007-03-01 Thread Abdul Qabiz
I can imagine of doing that with Apollo. I would post soon .

On 3/1/07, Russell Sprague [EMAIL PROTECTED] wrote:
 I noticed a while back that there wasn't any kind of local database
 access in Apollos feature list.  Is this something that will/has
 changed, or are the devs thinking this will be a community
 contribution?  It seems to me that DB access is a big part of desktop
 apps, I have built a couple using Flash, Zinc, and MySQL.  It would be a
 shame to not be able to use Apollo for some projects because of this
 issue.  Hopefully someone can tell me that I just missed it when Adobe
 added this to the feature list.

 Russ




Re: [flexcoders] Trial Expiration Message with Flex SDK

2007-02-02 Thread Abdul Qabiz

Thing that you have been  using with eclipse is FlexBuilder2, that is not
free.

Flex SDK is free, which is basically flex-framework, command-line tools
(compiler, debugger) and other libraries.

-abdul

On 2/2/07, primemate10 [EMAIL PROTECTED] wrote:


  I'm using the Flex SDK with Eclipse.

I was under the assumption that the SDK is FREE! unlike the Flex IDE
version that sells for a few hundred bucks.

Is anyone else get an expiration notice when using the Flex SDK?

thanks

 



Re: [flexcoders] How I can to modify a xml with Flex and Php?

2007-02-02 Thread Abdul Qabiz

Right. You need to focus on PHP code that would read/write/manipulate XML.
Once you are done with that, you can read how can Flex apps communicate with
backend (PHP, JSP etc).

Generally, there are following methods used:-

1) HTTPService class of Flex framwork - To communicate over standard HTTP
GET/POST
2) WebService class of Flex framework - To communicate with server for SOAP
based webservices (little complicated to use on both sides - server as well
as client)
3) RemoteObject class of Flex framework - To communicate using Flash
Remoting (AMF), it requires AMFPHP installed on your server, there is
learning curve to use it as well.

The simplest way is to you #1 option. You can make your PHP script accept
HTTP/POST and return XML/Text. This way you can write frontend in
Flex/AJAX/HTML-Form etc

Does this help you?

-abdul

On 2/2/07, cisnky [EMAIL PROTECTED] wrote:


  Do you have anymore information. Maybe start with how would you go about
modifying xml with php and then look at the flex bit.

On 2/2/07, alphaclass525  [EMAIL PROTECTED] wrote:

   How I can to modify a xml with Flex and Php?


 



Re: [flexcoders] Print Preview Help

2007-02-02 Thread Abdul Qabiz

Hi,


and the preview should be able to show the number of pages that would
be present in the Printed hard copy.


To show that you need to know the paper size, that is not known until you
start printjob.start (..), once printjob.start (..) is called Print dialogue
box is shown and Flash Player stops rendering anything on screen.

The only way I can imagine is when you know the page size or assume A4,
instruct user that print-preview is based on A4 (or whatever assume) page
size.

If you can assume or standardized the page size for your print preview, you
might do this to show print-preview.

Create Print Preview using same technique using PrintDataGrid, as shown in
docs, with these changes:-

- Create s separate view that contains the entire logic of printing. Which
means, when view is initialized, it would create PrintDataGrid instances,
populate the PrintDataGrid etc..
- you can provide controls to change pages in PrintDataGrid and print it.
- When user hits the print button, you basically start printJob and start
adding pages (footer, content pages, header) to FlexPrintJob instance..
- And print it..

I guess, I would do that way... But I am sure there are always better ways..

-abdul




On 2/2/07, Sastry [EMAIL PROTECTED] wrote:


  Hi All,

I am trying to print the contents of a DataGrid using a Print Data
Grid. The Direct print is working good. But now, I need a Print Preview
and the preview should be able to show the number of pages that would
be present in the Printed hard copy. I also want to let the user select
the pages he wants to print.

Any Ideas regarding this?

Thanks,
Sastry

 



Re: [flexcoders] ContextMenu in TextInput

2007-01-31 Thread Abdul Qabiz

Not sure you can do that? Did you trying hiding built-in items?

-abdul

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


  Hi ,
I found the ContextMenu in TextInput has these function as
copy,delete,paste...
Have anyone know that how to delelte or hide these.
I want that delete or hide intrinsic function, then add new functions
in the contextMenu in TextInput...
any ideas? Thanks a lot...


 



Re: [flexcoders] Crossdomain

2007-01-28 Thread Abdul Qabiz
There is Security Sandbox so you can not draw until you have right
permissions, just having crossdomain.xml is not sufficient. You need
to explictly set checkPolicyFile flag so that Flash Player 9 downloads
the policy file (crossdomain.xml) and grants the access to your code,
if it is allowed in policy file.

I am not sure which API you are using to load images. If you are using
Loader, then check for this.

Loader.load (..) method's second param is instance of LoaderContext,
this is where you can set checkPolicyFile=true.

Read the docs here:-

Loader.load () -
http://livedocs.macromedia.com/flex/2/langref/flash/display/Loader.html#load()

LoaderContext: 
http://livedocs.macromedia.com/flex/2/langref/flash/system/LoaderContext.html


Check out these links:-
http://missinghref.com/jdsblog/archive/2006/03/14/flash_8_cross_domain_bitmapdata_.aspx
http://www.abdulqabiz.com/blog/archives/flash_and_actionscript/bitmapdatadraw.php

-abdul
On 1/28/07, Brendan Meutzner [EMAIL PROTECTED] wrote:






 On which server, and where is your crossdomain located?  Is the 
 cineminha.com.br server a multi-hosting environment?

 Brendan




 On 1/27/07,  Leonardo Sobral [EMAIL PROTECTED] wrote:
 
 
 
 
 
 
  I´m trying to load an image from outsite of my domain and its giving me an 
  error, the crossdomain is there, set to permit *... I get the same error 
  online and from localhost. Any clue?
 
 
  SecurityError: Error #2122: Security sandbox violation:  BitmapData.draw: 
  http://localhost:8500/Store/bin/index.swf cannot access  
  http://www.cineminha.com.br/AdvHTML_Upload/photos/poster_diamante.jpg . A 
  policy file is required, but the checkPolicyFile flag was not set when this 
  media was loaded.
  at flash.display::BitmapData/draw()
  at mx.effects.effectClasses::MaskEffectInstance/::getVisibleBounds()
   at mx.effects.effectClasses::MaskEffectInstance/::initMask()
  at mx.effects.effectClasses::MaskEffectInstance/startEffect()
  at mx.effects::Effect/play()
  at mx.effects::EffectManager$/::createAndPlayEffect  ()
  at 
  mx.effects::EffectManager$/http://www.adobe.com/2006/flex/mx/internal::eventHandler()
  at 
  flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction
   ()
  at flash.events::EventDispatcher/dispatchEvent ()
  at mx.core::UIComponent/dispatchEvent()
  at mx.core::UIComponent/setVisible()
  at mx.core::UIComponent/set visible()
  at mx.containers::ViewStack/mx.containers:ViewStack::updateDisplayList()
at mx.core::UIComponent/validateDisplayList()
  at mx.core::Container/validateDisplayList()
  at mx.managers::LayoutManager/::validateDisplayList()
  at mx.managers::LayoutManager/::doPhasedInstantiation  ()
  at Function/http://adobe.com/AS3/2006/builtin::apply()
  at mx.core::UIComponent/::callLaterDispatcher2()
  at mx.core::UIComponent/::callLaterDispatcher()
  at flash.utils::Timer/flash.utils:Timer::_timerDispatch  ()
  at flash.utils::Timer/flash.utils:Timer::tick()



 --
 Brendan Meutzner
 Stretch Media - RIA Adobe Flex Development
 [EMAIL PROTECTED]
  http://www.stretchmedia.ca

   


Re: [flexcoders] Crossdomain

2007-01-28 Thread Abdul Qabiz

Leonardo,

Just having crossdomain.xml is not enough if you want to do Bitmap
operations, as I mentione din my previous reply.

I posted something on blog, you can see how can you fix this issue.

http://www.abdulqabiz.com/blog/archives/flash_and_actionscript/enabling_bitmapdatad.php


-abdul

On 1/28/07, Leonardo Sobral [EMAIL PROTECTED] wrote:


  The domain that has the image is cineminha.com.br, the crossdomain is
there:

http://www.cineminha.com.br/crossdomain.xml

I have more domains on this server, like store.filmeonline.com.br where
the .swf is located...

If I call just mx:Image it works fine, but iwhen I try to do something
with the bitmap it calls that security error



On 1/28/07, Brendan Meutzner [EMAIL PROTECTED] wrote:

   On which server, and where is your crossdomain located?  Is the
 cineminha.com.br server a multi-hosting environment?

 Brendan



 On 1/27/07, Leonardo Sobral [EMAIL PROTECTED] wrote:
 
I´m trying to load an image from outsite of my domain and its giving
  me an error, the crossdomain is there, set to permit *... I get the same
  error online and from localhost. Any clue?
 
 
  SecurityError: Error #2122: Security sandbox violation:
  BitmapData.draw: http://localhost:8500/Store/bin/index.swf cannot
  access http://www.cineminha.com.br/AdvHTML_Upload/photos/poster_diamante.jpg
  . A policy file is required, but the checkPolicyFile flag was not set
  when this media was loaded.
  at flash.display::BitmapData/draw()
  at mx.effects.effectClasses::MaskEffectInstance/::getVisibleBounds()
 
  at mx.effects.effectClasses::MaskEffectInstance/::initMask()
  at mx.effects.effectClasses::MaskEffectInstance/startEffect()
  at mx.effects::Effect/play()
  at mx.effects::EffectManager$/::createAndPlayEffect ()
  at mx.effects::EffectManager$/http://www.adobe.com/
  2006/flex/mx/internal::eventHandler()
  at
  
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
  at flash.events::EventDispatcher/dispatchEvent ()
  at mx.core::UIComponent/dispatchEvent()
  at mx.core::UIComponent/setVisible()
  at mx.core::UIComponent/set visible()
  at
  mx.containers::ViewStack/mx.containers:ViewStack::updateDisplayList()
  at mx.core::UIComponent/validateDisplayList()
  at mx.core::Container/validateDisplayList()
  at mx.managers::LayoutManager/::validateDisplayList()
  at mx.managers::LayoutManager/::doPhasedInstantiation ()
  at Function/http://adobe.com/AS3/2006/builtin::apply()
  at mx.core::UIComponent/::callLaterDispatcher2()
  at mx.core::UIComponent/::callLaterDispatcher()
  at flash.utils::Timer/flash.utils:Timer::_timerDispatch ()
  at flash.utils::Timer/flash.utils:Timer::tick()
 



 --
 Brendan Meutzner
 Stretch Media - RIA Adobe Flex Development
 [EMAIL PROTECTED]
 http://www.stretchmedia.ca




--
Leonardo Sobral
[EMAIL PROTECTED]
Adobe Certified Professional
Adobe Certified Instructor

 



Re: [flexcoders] Flex working directory

2007-01-28 Thread Abdul Qabiz

Yeah, look at the base param of OBJECT/EMBED tag.

By default, everything is loaded relative to html-wrapper (which hosts SWF).
But you can change that by specifying the base path..

http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_12701




On 1/28/07, Christoph Guse [EMAIL PROTECTED] wrote:


  Hi List,

I try to integrate FLEX 2.0 applications into the Liferay Portal. At a
first glance this should not to difficult but as each of us knows the
details are difficult ;-)

Until now I tried to use FLEX applications which load their information
from XML files. In the FLEX application there is a relative path from
the MXML file to the resource files ( like XML files, Images etc. ). The
standalone FLEX application works like a charm. Then I put the FLEX
application into a JSR 168 portlet container by embedding the SWF file
into the view JSP file of the portlet. The SWF file can be loaded but
the working directory seems to be changed. All resource files can't be
loaded.

Is there a possibility to set a flashvar which tells the Flash Plugin
which is the base folder from which it should load resource files?

Regards,
Christoph

--

Christoph Guse
Löhstraße 34
41747 Viersen
Tel. / VoIP 0 21 62 / 50 24 066
Mobil 01 51 / 17 80 74 84


 



Re: [flexcoders] Crossdomain

2007-01-28 Thread Abdul Qabiz

Yup! That would always work, now you going through proxy. But what I
suggested was different thing..

Doesn't matter, as long as you got it working and happy with the solution.

-abdul

On 1/28/07, Leonardo Sobral [EMAIL PROTECTED] wrote:


  Finally got this to work! here´s the solution:

I stoped fighting with fp security sandbox and tried to make via
coldfusion proxy. The example on Adobe website didnt work so I made some
changes on the code...

mx:Image id=img source=cfm/proxy.cfm?url=
http://www.somedomain.com/image.jpg; /

the proxy.cfm file:

cfprocessingdirective suppressWhiteSpace = Yes
cfhttp url=#URL.url# method=get/
cfcontent type=image/jpeg reset=Yes
cfoutput#toString(cfhttp.filecontent.toByteArray())#/cfoutput
/cfprocessingdirective

Thanks a lot for your help!


--
Leonardo Sobral
[EMAIL PROTECTED]
Adobe Certified Professional
Adobe Certified Instructor

On 1/28/07, Abdul Qabiz [EMAIL PROTECTED] wrote:

   There is Security Sandbox so you can not draw until you have right
 permissions, just having crossdomain.xml is not sufficient. You need
 to explictly set checkPolicyFile flag so that Flash Player 9 downloads
 the policy file (crossdomain.xml) and grants the access to your code,
 if it is allowed in policy file.

 I am not sure which API you are using to load images. If you are using
 Loader, then check for this.

 Loader.load (..) method's second param is instance of LoaderContext,
 this is where you can set checkPolicyFile=true.

 Read the docs here:-

 Loader.load () -
 http://livedocs.macromedia.com/flex/2/langref/flash/display/Loader.html#load
 ()

 LoaderContext: 
http://livedocs.macromedia.com/flex/2/langref/flash/system/LoaderContext.html


 Check out these links:-
 
http://missinghref.com/jdsblog/archive/2006/03/14/flash_8_cross_domain_bitmapdata_.aspx

 
http://www.abdulqabiz.com/blog/archives/flash_and_actionscript/bitmapdatadraw.php


 -abdul
 On 1/28/07, Brendan Meutzner [EMAIL PROTECTED]bmeutzner%40gmail.com
 wrote:
 
 
 
 
 
 
  On which server, and where is your crossdomain located? Is the
 cineminha.com.br server a multi-hosting environment?
 
  Brendan
 
 
 
 
  On 1/27/07, Leonardo Sobral [EMAIL PROTECTED]leonardo.sobral%40gmail.com
 wrote:
  
  
  
  
  
  
   I´m trying to load an image from outsite of my domain and its giving
 me an error, the crossdomain is there, set to permit *... I get the same
 error online and from localhost. Any clue?
  
  
   SecurityError: Error #2122: Security sandbox violation:
 BitmapData.draw: http://localhost:8500/Store/bin/index.swf cannot access
 http://www.cineminha.com.br/AdvHTML_Upload/photos/poster_diamante.jpg .
 A policy file is required, but the checkPolicyFile flag was not set when
 this media was loaded.
   at flash.display::BitmapData/draw()
   at mx.effects.effectClasses::MaskEffectInstance/::getVisibleBounds()
   at mx.effects.effectClasses::MaskEffectInstance/::initMask()
   at mx.effects.effectClasses::MaskEffectInstance/startEffect()
   at mx.effects::Effect/play()
   at mx.effects::EffectManager$/::createAndPlayEffect ()
   at 
mx.effects::EffectManager$/http://www.adobe.com/2006/flex/mx/internal::eventHandler
 ()
   at
 
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
   at flash.events::EventDispatcher/dispatchEvent ()
   at mx.core::UIComponent/dispatchEvent()
   at mx.core::UIComponent/setVisible()
   at mx.core::UIComponent/set visible()
   at
 mx.containers::ViewStack/mx.containers:ViewStack::updateDisplayList()
   at mx.core::UIComponent/validateDisplayList()
   at mx.core::Container/validateDisplayList()
   at mx.managers::LayoutManager/::validateDisplayList()
   at mx.managers::LayoutManager/::doPhasedInstantiation ()
   at Function/http://adobe.com/AS3/2006/builtin::apply()
   at mx.core::UIComponent/::callLaterDispatcher2()
   at mx.core::UIComponent/::callLaterDispatcher()
   at flash.utils::Timer/flash.utils:Timer::_timerDispatch ()
   at flash.utils::Timer/flash.utils:Timer::tick()
 
 
 
  --
  Brendan Meutzner
  Stretch Media - RIA Adobe Flex Development
  [EMAIL PROTECTED] brendan.meutzner%40stretchmedia.ca
  http://www.stretchmedia.ca
 
 




 



Re: [flexcoders] Setting LinkBar button size?

2007-01-28 Thread Abdul Qabiz

LinkButton have their own styles, you might wanna check it out.

Sorry, have not yet tried so not able to give you handy..

-abdul

On 1/22/07, Russell Sprague [EMAIL PROTECTED] wrote:


   Well I did set the horizontalGap to 0, but there is still a 10px or so
space in the buttons.  I didn't see anything in the style of the link bar
that controlled the buttons

Abdul Qabiz wrote:

 I have never done that but I have feeling you can reduce the space around
buttons using styles if LinkBar and LinkButton.

And also setting horizontalGap of LinkBar to reduce the gap between
individual buttons in LinkBar...

You might want to try that?

-abdul

 On 1/22/07, Russell Sprague [EMAIL PROTECTED]  wrote:

   Is there a way to set the width of the of the buttons in the LinkBar?
 I am trying to create a navigation path,where a user can click anywhere
 in the path to go to that location.
 ex. Parent/child/child/child etc. I was thinking using the linkbar would

 be easier then creating something from scratch, but I can't find a way
 to make the button fit the text, so there isn't space between the text.

 Thanks
 Russ


  



Re: [flexcoders] variable change event

2007-01-28 Thread Abdul Qabiz

You can dispatch event from your custom MXML component...

I suggest, having setters/getters functions in your custom component.
Whenever a property is set,
dispatch appropriate event.

Read docs more about dispatching event.

-abdul



On 1/25/07, paperbyolga [EMAIL PROTECTED] wrote:


  Hi, i need help with a change event listener. I want to simply fire
off a call to a webservice when a variable changes.

I have a combobox that fires a function that sets a variable that
gets passed to a component. if the variable changes in the
component, i want to fire a webservice to get new data... perhaps
there is a simple way to do this... so i'm open, thought an event
listener would do the trick, but i've looked at a few things and
frankly... i'm lost. New to flex, so getting my head around client
server versus web programming is a challenge. any examples, help or
direction would be great. thanks in advance. code is below.

Shane

* main comp 

?xml version=1.0 encoding=utf-8?
mx:VBox xmlns:mx=http://www.adobe.com/2006/mxml; width=100%
height=100% backgroundColor=#ff
horizontalScrollPolicy=off verticalScrollPolicy=off
initialize=locws.getStates.send(); xmlns:st=stat.*

mx:Script
![CDATA[
import mx.controls.Alert;
import mx.utils.ArrayUtil;
import mx.events.TreeEvent;

[Bindable]
private var thisLocationType:int = 0;
[Bindable]
private var thisLocationCode:String = '00';
[Bindable]
private var thisLocLabel:String = '';



private function changeState():void {

if (statsHome.visible == false) {
statsHome.visible = true;
}

if (locStates.selectedItem.LOC_CODE
== '00') {
currentState='';
} else {

currentState='locstateselected';
vCountyRadio.selected=false;
vMetroRadio.selected=false;
}

lbHist.text = 'History: ';
thisLocLabel =
locStates.selectedItem.LOC_NAME;
csState.label = ' ' +
locStates.selectedItem.LOC_NAME;
thisLocationCode =
locStates.selectedItem.LOC_CODE;
thisLocationType = 0;
csSubLoc.label = '';
csZipcode.label = '';

}

private function clickLocType
(loctype:int):void {

currentState='locsublocselected';
thisLocationType = loctype;
thisLocationCode = '';

if (loctype == 1) {
locws.getCounties.send();
subLocations.dataProvider =
theCountiesList;
} else if (loctype == 2) {
locws.getCities.send();
subLocations.dataProvider =
theCitiesList;
}

}

private function changeSubLocation():void {

if (thisLocationType == 1) {
thisLocationCode =
locStates.selectedItem.LOC_CODE + subLocations.selectedItem.LOC_CODE;
} else if (thisLocationType == 2) {
thisLocationCode =
subLocations.selectedItem.LOC_CODE;
}

if (thisLocationType != 0) {
locws.getZipcodes.send();
thisLocLabel =
subLocations.selectedItem.LOC_NAME;
csSubLoc.label = ' ' +
subLocations.selectedItem.LOC_NAME;
currentState='zipstate';
csZipcode.label = '';
}

}

private function setLocation():void {
thisLocationType = 4;
thisLocationCode =
zipcodes.selectedItem.LOC_CODE;
thisLocLabel =
zipcodes.selectedItem.LOC_NAME;
csZipcode.label = ' ' +
zipcodes.selectedItem.FULL_NAME;
}

private function error():void
{
Alert.show(Error getting data... refresh
the browser to try again., Error);
}

]]
/mx:Script

mx:WebService id=locws
wsdl={parentApplication.webServiceRootUrl}
useProxy=false
showBusyCursor=true
fault=error()

mx:operation name=getStates /

mx:operation name=getCounties
mx:request
statecode{locStates.selectedItem.LOC_CODE}
/statecode
/mx:request
/mx:operation

mx:operation name=getCities
mx:request
statecode{locStates.selectedItem.LOC_CODE}
/statecode
/mx:request
/mx:operation

mx:operation name=getZipcodes
mx:request
loctype{thisLocationType}/loctype
loccode{thisLocationCode}/loccode
/mx:request
/mx:operation

/mx:WebService

mx:ArrayCollection id=theStatesList
source={ArrayUtil.toArray(locws.getStates.lastResult)} /
mx:ArrayCollection id=theCountiesList
source={ArrayUtil.toArray(locws.getCounties.lastResult)} /
mx:ArrayCollection id=theCitiesList
source={ArrayUtil.toArray(locws.getCities.lastResult)} /
mx:ArrayCollection id=theZipcodeList
source={ArrayUtil.toArray(locws.getZipcodes.lastResult)} /

mx:states

mx:State name=locstateselected
mx:AddChild relativeTo={hblocstates}
position=lastChild
mx:VBox
mx:RadioButton label=View
Counties fontWeight=bold id=vCountyRadio click=clickLocType
(1);/
mx:RadioButton label=View
Cities fontWeight=bold id=vMetroRadio click=clickLocType(2);/
/mx:VBox
/mx:AddChild
mx:AddChild relativeTo={statsHome}
position=before
mx:VBox id=breadcrumb
width=100% height=22
mx:HBox width=100%
verticalAlign=middle
mx:Label
id=lbHist fontWeight=bold /
mx:LinkButton
id=csState toolTip=Click to return to this view
click=changeState() /
mx:LinkButton
id=csSubLoc toolTip=Click to return to this view
click=changeSubLocation() /
mx:LinkButton
id=csZipcode enabled=false /
/mx:HBox
/mx:VBox
/mx:AddChild
/mx:State

mx:State name=locsublocselected
basedOn=locstateselected
mx:AddChild relativeTo={hblocstates}
position=lastChild
mx:ComboBox id=subLocations
color=#00 labelField=LOC_NAME prompt=Select Location

Re: [flexcoders] Ogg Vorbis Tremor in AS3?

2007-01-27 Thread Abdul Qabiz

Cool! That's amazing..

-abdul

On 1/26/07, Martin Wood-Mitrovski [EMAIL PROTECTED] wrote:


  Its been done. :)

http://flash.j-ogg.de/

Hopefully the source will be released at some point.

I know that its built on top of the audio engine made by Chris Sperry of
FlashCodersBrighton fame.

http://www.flashcodersbrighton.org/wordpress/?p=9

There is a version of the core audio engine in the SID branch of the FC64
project if you are interested in seeing some source. (and it includes the
sample
rate fix)

Chris said that he has made some improvements to the engine but they are
not
public yet, hopefully these will be released soon.

for now thats all I know :)

martin.

Kevin Newman wrote:
 Hello,

 I was wondering what the feasibility of porting an integer based audio
 decoder like Ogg Vorbis Tremor to Actionscript 3 is. Are there APIs in
 place that would allow you to load a vorbis file, decode it and output
 the audio? Does AVM2 have the horse power to pull off something like
that?
 



Re: [flexcoders] Can't seem to customize Flash ContextMenu

2007-01-27 Thread Abdul Qabiz

Jeff,

I would try to reproduce the same at my end and let you know my findings..

-abdul

On 1/25/07, Battershall, Jeff [EMAIL PROTECTED] wrote:


   One thing to know about my app is that it has a jpg on the background
and no backgroundColor.

One way I found to work around it was to wrap a canvas container around
all my UI objects and set the backgroundColor t= 0xFF and
backgroundAlpha = 0.  I don't think a workaround like this should be
necessary.

Jeff

 -Original Message-
*From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
Behalf Of *Battershall, Jeff
*Sent:* Thursday, January 25, 2007 11:11 AM
*To:* flexcoders@yahoogroups.com
*Subject:* RE: [flexcoders] Can't seem to customize Flash ContextMenu

Just to bump this up a bit - I'm able to confirm this behavior - setting a
contextMenu at the Application container level sets the context menu for any
UI objects contained within it - BUT NOT FOR THE BACKGROUND OF THE APP. So
if there's any app background not covered by a UI object you'll see the
default Flash ContextMenu when you right-click on it.

How can this be handled For sure, I want to suppress the default
context menu in my app for the entire area of the player.

Jeff

 -Original Message-
*From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
Behalf Of *Battershall, Jeff
*Sent:* Wednesday, January 24, 2007 3:34 PM
*To:* flexcoders@yahoogroups.com
*Subject:* RE: [flexcoders] Can't seem to customize Flash ContextMenu

Abdul,

Thanks - yes, the positioning is absolute but no - the wrapper's
width/height attributes are the same as the mxml width/height.  And you can
get the flash context menu from anywhere on the screen that there isn't a UI
item.  Basically the controls are resting right on top of the application -
there's no intermediary container.  It seems like the reference you get to
the application (Application.application) is still one level (or so) down
from the player itself.  How do you get a reference to the player so you can
set its context menu?

Jeff

 -Original Message-
*From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
Behalf Of *Abdul Qabiz
*Sent:* Wednesday, January 24, 2007 3:02 PM
*To:* flexcoders@yahoogroups.com
*Subject:* Re: [flexcoders] Can't seem to customize Flash ContextMenu

It should work.

But I am guessing that your Application has absolute width/height
specified in your MXML. And your html-wrapper has different (greater)
width/height.

That's the only case, in my opinion, when flash-player's stage gets
exposed.

Try to keep the dimensions specified in MXML and HTML same.

-abdul



On 1/25/07, Battershall, Jeff  [EMAIL PROTECTED] wrote:

   I've got an app which I create a custom context menu for during
 initialization, but I've noticed that the context menu only shows up
 when I right click on UI objects (Tree, ApplicationControlBar, etc). but
 still I get the default Flash context menu when I right click on the
 background of the app.

 I've tried setting my custom menu to
 Application.application.contextMenu, but the behavior is the same.

 What am I missing here?

 Jeff Battershall
 Application Architect
 Dow Jones Indexes
 [EMAIL PROTECTED] jeff.battershall%40dowjones.com
 (609) 520-5637 (p)
 (484) 477-9900 (c)


  



Re: [flexcoders] Setting Initial NetStream Sound Volume

2007-01-26 Thread Abdul Qabiz

does adding [Bindable] metadata help?

[Bindable]
private var _volume:int = 100;

-abdul

On 1/26/07, John Kirby [EMAIL PROTECTED] wrote:


   I am trying to dynamically set the sound volume when different video is
played via:

stream = new NetStream(nc);
var st:SoundTransform = stream.soundTransform;
st.volume =( 40) * .01;
_volume = st.volume;


Here is the  volume control
mx:VSlider id=volumeSlider height=73 thumbDrag=updateVolume(event)
minimum=0 maximum=100 value={_volume}  dataTipPlacement= right
tickColor=white  allowTrackClick=true  liveDragging=true
toolTip=Slide to increase/decrease sound  showTrackHighlight=true
borderColor=#FF width=27  x=15 y=10/

However it always defaults to 100% volume.  What am I doing wrong here?

.j
--
*Whether you think that you can, or that you can't, you are usually right.
*
 - Henry Ford

 



Re: [flexcoders] Re: Localization - URGENT

2007-01-26 Thread Abdul Qabiz

This is the question for Gordon and Roger,

I am curious if we can use Modules/Shared-Libs to load
localization-resources on runtime? I have not been doing much in Flex 2 for
sometime. But just curious if we can come up something using new facilities
in Flex 2.0.1


Thanks

-abdul

On 1/26/07, Gordon Smith [EMAIL PROTECTED] wrote:


   BTW, I meant to say the next major release, not the next bug-fix
release (if there is one).



- Gordon


 --

*From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
Behalf Of *coldfusionpaul
*Sent:* Wednesday, January 24, 2007 8:28 PM
*To:* flexcoders@yahoogroups.com
*Subject:* [flexcoders] Re: Localization - URGENT



 The Flex framework doesn't currently have any support for runtime locale
 changes, but we're considering adding this in the next release.

pretty please ;-)

 



Re: [flexcoders] Convert Videos to FLV via Web

2007-01-26 Thread Abdul Qabiz

Merrill,

You can use FFMPEG in .Net also. You need to compile the wrappers and link
FFMPEG libraries. I was trying to do something using C#.

You can find some examples on FFMPEG site and on some blogs.

Hope that helps..

-abdul

On 1/25/07, Merrill, Jason [EMAIL PROTECTED] wrote:


   If I could tap on to this thread, anyone know of anything that does the
same using .NET?


Jason Merrill
Bank of America
Learning  Organizational Effectiveness







 --
*From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
Behalf Of *Abdul Qabiz
*Sent:* Thursday, January 25, 2007 10:20 AM
*To:* flexcoders@yahoogroups.com
*Subject:* Re: [flexcoders] Convert Videos to FLV via Web

 There is php hooks for ffmpeg: *http://ffmpeg*-*php*.sourceforge.net

On 1/24/07, Steve Gustafson [EMAIL PROTECTED] wrote:

   ffmpeg should help you out.  Here is a tutorial:

 http://soenkerohde.com/tutorials/ffmpeg/

 Gus

 On 1/23/07, Marlos Carmo | 5clicks.com.br  [EMAIL PROTECTED]
 wrote:
 
 Hi Folks,
 
 
 
  I need develop a video conversor to flv via Web, using PHP. Anybody
  have a suggestion for help me?
 
 
 
  Thanks,
 
 
 
  Marlos Carmo
 
 
   --
 
  *De:* [EMAIL PROTECTED] ups.com [mailto: [EMAIL PROTECTED] ups.com]
  *Em nome de *Jason Goodwin
  *Enviada em:* terça-feira, 23 de janeiro de 2007 17:10
  *Para:* flexcoders@yahoogroups.com
  *Assunto:* [flexcoders] Accessibility and imported components
 
 
 
  I have an app with lots of imported components. I can't seem to get
  JAWS to read anything that's not on the main page. I have tried
  several ways of add in the accessibility properties to the controls.
  Thanks.
 
 

  



Re: [flexcoders] Ogg Vorbis Tremor in AS3?

2007-01-26 Thread Abdul Qabiz

There are APIs (URLLoader, URLStream) to load binary data (file, stream
etc), manipulate bits (ByteArray) and create also.

I don't think there is out of box vorbis decoder in Adobe Flash Player.

You can achieve what you want to do... There are APIs to do that... And I
guess, once you are done transcoding (vorbis to MP3?) media,
you can load it in sound object ?

-abdul




On 1/25/07, Kevin Newman [EMAIL PROTECTED] wrote:


  Hello,

I was wondering what the feasibility of porting an integer based audio
decoder like Ogg Vorbis Tremor to Actionscript 3 is. Are there APIs in
place that would allow you to load a vorbis file, decode it and output
the audio? Does AVM2 have the horse power to pull off something like that?

Just curious. :-)

Kevin N.

 



Re: [flexcoders] HTTPService Vs WebService

2007-01-25 Thread Abdul Qabiz

HTTPService is good for doing standard HTTP GET/POST stuff...

Where as WebService can be used for SOAP, etc based webservices...


-abdul



On 1/25/07, theduderino82 [EMAIL PROTECTED] wrote:


  I've seen many tutorials and I just can't figure out what is the
difference between this too services. I usually use it to interrogate
mysql database through a php file. Which is best?

 



Re: [flexcoders] getObjectsUnderPoint Alternative?

2007-01-25 Thread Abdul Qabiz

You can attach your handler to mouseOver event of your component. mouseOver
is triggered whenever mouse would be over the component.

-abdul

On 1/25/07, Steve Cox [EMAIL PROTECTED] wrote:


   All,



I have the requirement to use mouse-over to cause a component to be
highlighted. Effectively the user will click a button activating a 'lookup'
.. when they roll over a component on screen this component will be
highlighted (perhaps with a dropshadow, or glow or something). Now I could
use getObjectsUnderPoint however this is returning me components within
components – which I don't want. For example if I hover over a button, it's
the UITextField of the button that is being returned.



Has anyone any suggestions on how is best to approach this?



Steve

 



Re: [flexcoders] Help needed in accesing files located in remote location

2007-01-25 Thread Abdul Qabiz

Security sandbox in Flash Player 8 onwards has changed. Which means SWF can
be compiled with two different config:-

1) Either access local files but no data from network
2) Or access network data but no local data.

I believe, FlexBuilder/MXMLC compiles with second config mentioned above.

You can however give a particular file or directory special permission
(policy) to achieve both of above.

I suggest a reading of Flash Security
Whitepapewww.adobe.com/devnet/flashplayer/articles/flash_player_9_security.pdf
r www.adobe.com/devnet/flashplayer/articles/flash_player_9_security.pdf to
understand things much better way. You can use Flash Player Security manager
to add the file or directory,

http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html

Security manager basically creates trust files on your system. You can also
create trust files manually (without using GUI), Please Flash Player
Security Whitepaper to learn more.

www.adobe.com/devnet/*flash**player*/articles/*flash*_*player*_9_*security*.pdf



-abdul

On 1/25/07, Vinod M Jacob [EMAIL PROTECTED] wrote:


  Hi ,

In my apllication i am using Flex 2.0  ,JSP and tomcat server.
I have hosted this application under Tomcat on a remote server.
The file which i am acessing from this application is stored in local
drive C://
This file when stored under context root is acessible but not from the
local drive.
Hence this following  error when i run the apllication.


SecurityError: Error #2148: SWF file
http://myserver:8080/application/bin/page.swf cannot access local resource
file:///C:/User_Content/Podcast/BasRutten.JPG. Only local-with-filesystem
and trusted local SWF files may access local resources.
 at flash.display::Loader/flash.display:Loader::_load()
 at flash.display::Loader/load()
 at mx.controls::SWFLoader/::loadContent()
 at mx.controls::SWFLoader/load()
 at mx.controls::SWFLoader/mx.controls:SWFLoader::commitProperties()
 at mx.core::UIComponent/validateProperties()
 at mx.managers::LayoutManager/validateClient()
 at
mx.controls.listClasses::TileBase/mx.controls.listClasses:TileBase::makeRowsAndColumns
()
 at
mx.controls.listClasses::ListBase/mx.controls.listClasses:ListBase::updateDisplayList
()
 at
mx.controls.listClasses::TileBase/mx.controls.listClasses:TileBase::updateDisplayList
()
 at mx.core::UIComponent/validateDisplayList()
 at mx.managers::LayoutManager/::validateDisplayList()
 at mx.managers::LayoutManager/::doPhasedInstantiation()
 at Function/http://adobe.com/AS3/2006/builtin::apply()
 at mx.core::UIComponent/::callLaterDispatcher2()
 at mx.core::UIComponent/::callLaterDispatcher()
 at flash.utils::Timer/flash.utils:Timer::_timerDispatch()
 at flash.utils::Timer/flash.utils:Timer::tick()

I would really appreciate your quick response.

Thanks ,
Vinod M Jacob

--
Don't be flakey. Get Yahoo! Mail for 
Mobilehttp://us.rd.yahoo.com/evt=43909/*http://mobile.yahoo.com/mailand
always stay 
connectedhttp://us.rd.yahoo.com/evt=43909/*http://mobile.yahoo.com/mailto 
friends.

 



Re: [flexcoders] HTTPService Vs WebService

2007-01-25 Thread Abdul Qabiz

Yup! You can use HTTPService with backend-scripts that return text or
name-value pairs...You can even use it for SOAP but you would need to do
more work.

Where as WebService can easily be used with SOAP but expects right input and
result.

-abdul


On 1/25/07, Merrill, Jason [EMAIL PROTECTED] wrote:


   The simplest dinstinction is that one is SOAP and the other one is
XML.
not quite that simple - not to confuse anyone further, but SOAP is
actually an XML-based protocol... :)

Jason Merrill
Bank of America
Learning  Organizational Effectiveness





 



Re: [flexcoders] File upload via JAVA

2007-01-25 Thread Abdul Qabiz

You can write simple servlet/jsp that does the uploading.

If you can write a simple app with html front end and java backend for file
uploading, you can transparently replace front-end with  Flash based
uploader. You have to take care of cases when multiple-files are being
uploaded together, on server-side you might need to check for that do the
appropriate.

-abdul



On 23 Jan 2007 20:29:28 -, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:



I'm trying to implement the file upload using the FileReference class and
can't find an example of the JAVA code that would be required, I've found
.net and php but no java, does anyone have an example ?

Cheers
Grant




Re: [flexcoders] Convert Videos to FLV via Web

2007-01-25 Thread Abdul Qabiz

There is php hooks for ffmpeg: *http://ffmpeg*-*php*.sourceforge.net

On 1/24/07, Steve Gustafson [EMAIL PROTECTED] wrote:


  ffmpeg should help you out.  Here is a tutorial:

http://soenkerohde.com/tutorials/ffmpeg/

Gus

On 1/23/07, Marlos Carmo | 5clicks.com.br [EMAIL PROTECTED] wrote:

Hi Folks,



 I need develop a video conversor to flv via Web, using PHP. Anybody have
 a suggestion for help me?



 Thanks,



 Marlos Carmo


  --

 *De:* [EMAIL PROTECTED] ups.com [mailto:[EMAIL PROTECTED] ups.com] *Em
 nome de *Jason Goodwin
 *Enviada em:* terça-feira, 23 de janeiro de 2007 17:10
 *Para:* flexcoders@yahoogroups.com
 *Assunto:* [flexcoders] Accessibility and imported components



 I have an app with lots of imported components. I can't seem to get
 JAWS to read anything that's not on the main page. I have tried
 several ways of add in the accessibility properties to the controls.
 Thanks.


 



Re: [flexcoders] crossdomain.xml problem

2007-01-24 Thread Abdul Qabiz

Did you try to look at the HTTP requests made by Flash Player. Try using
charles or fiddler to look at if request to load
crossdomain.xml is being made or not?

I am wondering, what could be the issue?



On 1/25/07, Danko Kozar [EMAIL PROTECTED] wrote:


  I have a strange behavior of a policy file.
On two different computers I have the same url open (IE6) and the
very same Flex content is loaded in both of them:

The first one loads the specified crossdomain.xml normally, and
consumes the web service from the remote location.

The other one doesn't load the crossdomain.xml at all (!?!).

The policy file is in the arbitrary location of data server that's
hosting the web service and is loaded into Flex using
Security.loadPolicyFile(url:String).

The content of the policy is:

?xml version=1.0?
!DOCTYPE cross-domain-policy
SYSTEM http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd;
cross-domain-policy
allow-access-from domain=* secure=false /
/cross-domain-policy

... but I gues it doesn't metter since it isn't loaded at all in my
case.

Any suggestions?

Thanks.

 



Re: [flexcoders] Can't seem to customize Flash ContextMenu

2007-01-24 Thread Abdul Qabiz

It should work.

But I am guessing that your Application has absolute width/height specified
in your MXML. And your html-wrapper has different (greater) width/height.

That's the only case, in my opinion, when flash-player's stage gets exposed.


Try to keep the dimensions specified in MXML and HTML same.

-abdul



On 1/25/07, Battershall, Jeff [EMAIL PROTECTED] wrote:


  I've got an app which I create a custom context menu for during
initialization, but I've noticed that the context menu only shows up
when I right click on UI objects (Tree, ApplicationControlBar, etc). but
still I get the default Flash context menu when I right click on the
background of the app.

I've tried setting my custom menu to
Application.application.contextMenu, but the behavior is the same.

What am I missing here?

Jeff Battershall
Application Architect
Dow Jones Indexes
[EMAIL PROTECTED] jeff.battershall%40dowjones.com
(609) 520-5637 (p)
(484) 477-9900 (c)
 



Re: [flexcoders] What's in a name? That which we call Apollo by any other name would smell as sweet....

2007-01-24 Thread Abdul Qabiz

1) Adobe Desktop
2) Adobe Universal Runtime
3) Adobe One Runtime

I had thought some more, gotta recall and post :)

Something cool but easily understood by everyone (average users)..

-abdul




On 1/24/07, Matt Chotin [EMAIL PROTECTED] wrote:


   I don't know the latest, but we're still working on getting the name
worked last I heard.  Can't comment further because the legal process for
getting a name that will work around the world is quite daunting.



Matt


 --

*From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
Behalf Of *Brendan Meutzner
*Sent:* Monday, January 22, 2007 3:38 PM
*To:* flexcoders@yahoogroups.com
*Subject:* [flexcoders] What's in a name? That which we call Apollo by
any other name would smell as sweet



Curious question... Apollo has been the code name since we first started
hearing about it... I've gotten so comfortable with it now, will I be
disappointed to hear that it will be called something entirely different by
June?  Can anyone at Adobe comment?

Brendan

 



Re: [flexcoders] runtime localization

2007-01-24 Thread Abdul Qabiz

Runtime localization, shouldn't it be easy to do with modules?

I have not really worked on Localization stuff after I left Macromedia
(Adobe), things must have changed a lot.

What I remember, all resources were compiled in .swc files... I guess, we
can use modules to load resources based on locale?

Might be totally wrong though..

-abdul

On 1/25/07, João Fernandes [EMAIL PROTECTED] wrote:


  Hi there,

since we got runtime CSS  with the update, couldn't we get runtime
Localization for flex 2.0.2 ?


João Fernandes
 



Re: [flexcoders] Re: creating swf online

2007-01-23 Thread Abdul Qabiz

4/...and return the builded swf. Here, We need to synchronize the
output of a shell command to the script return.



I don't know if MXMLC returns some code (which you can figure out
success/failure situation).. But it does return
standard message...

MXMLC would generate SWF on your file system... I suggest you looking at
mxmlc.jar, may be you can use it's API directly, that would give you more
control. But yes you can still do things with MXMLC...probably doing little
parsing on MXMLC messages...

-abdul


On 1/22/07, gdoucen [EMAIL PROTECTED] wrote:


  Hi Abdul,

1/ the first approach has sense but is not my favorite,

2/ I'm more interested by the second approach. A such solution would
be really clean and powerfull...not so far from the flexifier
application where they use private java api to do the job.

So what have we got ?

1/I have got a graphical interface that help me building my slideshow
by dragging images,shapes,audio (what i want) to the scene.

2/When pushlishing, an xml description of the scene (images  swf
assets to embed at compile, items properties) is transmitted to the
server-side script (php, java ???).

3/This script create my MXML file and call the mxmlc compiler to
generate the swf...

4/...and return the builded swf. Here, We need to synchronize the
output of a shell command to the script return.

Can u precise the last point? Have u got a working example.

I will make some test.

Thanks again for your help.

--- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Abdul
Qabiz [EMAIL PROTECTED] wrote:

 If I am right, you want to let user design something and then generate
 SWF...

 There are different ways, people do that:-

 1) You write two pieces (editor and player), editor let users design
and you
 serialize all information on server in database, xml or whatever. Player
 loads XML and renders the content.

 2) You want a monolithic piece (SWF) that contains the entire stuff...

 I guess, you are talking about second?

 You can do that by embedding all resources in SWF and letting user
download
 the final output. You can run MXMLC as CGI or process? to do that...

 Once user has done designing, you save the entire design (Canvas)
 information in some intermediate format, pass it to server-side
script which
 can construct a MXML file for it, run MXMLC on MXML to generate SWF...

 Does that make sense? But I would suggest you going for first
approach 

 -abdul

 On 1/21/07, gdoucen [EMAIL PROTECTED] wrote:
 
  Hi,
 
  I want to create a light scrapblog application as a personnal project.
  Which techniques scrapblog or similar apps use to create the swf
online ?
 
  Thanks for your help.
 
 
 


 



Re: [flexcoders] Is Flash a single thread application?

2007-01-23 Thread Abdul Qabiz

Yes it is Single threaded

-abdul

On 1/23/07, saha.prasanta [EMAIL PROTECTED] wrote:


  Hi,

I've read in some forum that Flash is a single thread application.
I tried to find some document supporting that statement, But I
couldn't find any document by Adobe or Macromedia regarding that.

Could you plase help me by forwarding the of such article. I need that
as a proof for one of my project.

Warm regards,

Prasanta Saha,
Flash Developer,
Hyderabad, Indaia

 



Re: [flexcoders] playing two video simultaneously, seeking too slow especially when playing from dvd

2007-01-23 Thread Abdul Qabiz

Hi,

1. Is it possible to force the flash player to just load both videos

into main memory (or PageFile) at start up?



You can set the buffer-time to a large number, I suggest don't keep it too
large. Should work fine on the cost of more memory consumption...

Read more about bufferTime in Flex docs.

You can also make it more

-abdul

On 1/23/07, Tom Chiverton [EMAIL PROTECTED] wrote:

On Monday 22 January 2007 17:43, Benjamin Schwehn wrote:
 The two FLV typically have sizes between 20 and 200MB each. One is
 encoded with an Flash 7 Codec, the other with the newer Flash 8 On2 VP6
 Codec. (seeking is slow with both codecs)

Would it be possible to just join the two video files together off line

and

ship that on the DVD ?
Obviously, if you have hundreds of videos on the disk that can have any

two

combined, this isn't going to work.

--
Tom Chiverton
Helping to biannually target killer paradigms



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England

and Wales under registered number OC307980 whose registered office address
is at St James's Court Brown Street Manchester M2 2JF.  A list of members is
available for inspection at the registered office. Any reference to a
partner in relation to Halliwells LLP means a member of Halliwells LLP.
Regulated by the Law Society.


CONFIDENTIALITY

This email is intended only for the use of the addressee named above and

may be confidential or legally privileged.  If you are not the addressee you
must not read it and must not use any information contained in nor copy it
nor inform any person other than Halliwells LLP or the addressee of its
existence or contents.  If you have received this email in error please
delete it and notify Halliwells LLP IT Department on 0870 365 8008.


For more information about Halliwells LLP visit www.halliwells.com.



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links






Re: [flexcoders] playing two video simultaneously, seeking too slow especially when playing from dvd

2007-01-23 Thread Abdul Qabiz

Depends, if you are streaming FLVs using Flash Media Server or Red5, you can
do the seek thingy...It's quite cool... But if it's progressive, it all
depends on how much video is downloaded, how much it is buffered, how big
the video is..

Generally seek algorithms are kindda complex.. Also depends on video
encoding, bitrate etc...

One of my colleagues has been doing some research on different ways to
buffer progressive videos...he has come up some algos, I would see if I can
share that with you, no promises though...

Since you are going do deliver your project on optical-disc, it's not about
downloading from internet.. I am sure you can do much better here... just
keep trying different things (playing with numbers, encoding options etc)...

-abdul

On 1/23/07, Benjamin Schwehn [EMAIL PROTECTED] wrote:


Tom Chiverton wrote:
 On Monday 22 January 2007 17:43, Benjamin Schwehn wrote:
 The two FLV typically have sizes between 20 and 200MB each. One is
 encoded with an Flash 7 Codec, the other with the newer Flash 8 On2 VP6
 Codec. (seeking is slow with both codecs)

 Would it be possible to just join the two video files together off line
and
 ship that on the DVD ?

We considered that option, but would like to avoid it because the videos
are not at the same resolution (neither same framerate, but that would
be less of a problem):

Video 1 (typically a lecturer giving a speech) is at 320x240, video 2
(typically PPT Slides, Animations, Films) is at 640x480. Since a joined
video must still be rectangular, it would get quite large, at least
980x480, but in fact even a bit bigger (ca 1040x480, since we would need
some additional space for our layout (the two videos shouldn't be right
next to each other). Those videos would possibly be a bit of a hassle to
generate and handle (and probably quite a bit larger because of the
empty space and because we'd have to use the higher framerate for both
videos). Escpecially as it is a bit of a hassle putting controls on top
of a VideoDisplay, which we would have to do to for design reasons.

I'm a bit surprised really, that Flash can't seek forward just a bit
faster once the FLVs are a bit bigger and better quality than the stuff
on YouTube etc.

Thanks
Ben


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links






Re: [flexcoders] Localizing Press Esc to exit full screen mode?

2007-01-22 Thread Abdul Qabiz

That's interesting, I guess Flash Player should detect the OS and show it.
It is something that Flash Player shows..

I guess, resource-string for different locales must be there.

-abdul

On 1/22/07, Oleg Filipchuk [EMAIL PROTECTED] wrote:


  Hi guyz and girlz,
is it possible to localize the label Press Esc to exit full screen mode
when movie is going to full screen?


--
Best regards,
Oleg Filipchuk
 



Re: [flexcoders] Socket Problem

2007-01-22 Thread Abdul Qabiz

I believe it might be something to do with permission (security-sandbox)?
App works when it's in standalone mode but from plugin its not working.

Is server running on port higher than 1024? Is it in same domain?

Can you give us some more details?

You can try adding the directory of swf from Adobe Flash Player security
manager

http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager.html

And check again?

-abdul

On 1/22/07, David Steele [EMAIL PROTECTED] wrote:


  I've got a java server (based on the SimpleServer code suggested in the
Flex documentation) and am listening to it from within Flex. It works fine
when I run from within Flex. But as soon as I double-click the HTML file
from within the bin folder, I get an error -- can't make the socket
connection. Has anyone ever had any experience with this? It's happening
whether I run it off my machine, or on a web server

Things are kinda urgent with this one, so any help would be greatly
appreciated.

TIA!!

--
TV dinner still cooling?
Check out Tonight's 
Pickshttp://us.rd.yahoo.com/evt=49979/*http://tv.yahoo.com/on Yahoo! TV.

 



Re: [flexcoders] Difference Between FDS and Flex SDK

2007-01-22 Thread Abdul Qabiz

Adobe Flex2 SDK is set of tools/libraries that allow you build Flex
applications without using FlexBuilder2, yeah it requires more work..

Adobe FDS is server, which you can use for advanced Flex 2 data-services.


Can I connect to Remote Object without FDS?


Yes, you can use AMFPHP, OpenAMF or other Flash remoting implementation...
But FDS is more than Remoting gateway...


-abdul


On 1/22/07, Stembert Olivier (BIL) [EMAIL PROTECTED]
wrote:


   Hi Sanjay,

You will find a lot of answers by searching a little bit in this forum.

And, by the way, here is the link to the doc:
http://www.adobe.com/support/documentation/en/flex/

Regards,

Olivier

 --
*From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
Behalf Of *sanjaypmg
*Sent:* Monday, January 22, 2007 6:21 AM
*To:* flexcoders@yahoogroups.com
*Subject:* [flexcoders] Difference Between FDS and Flex SDK

 Hi,

Can anyone tell me the main differences between Flex Data Services
(FDS) and Flex SDK?

And I have one more question, Can I connect to Remote Object without
FDS?

Please clearify my doubts.

Thanks,
Sanjay Sharma

-

An electronic message is not binding on its sender.

Any message referring to a binding engagement must be confirmed in writing
and duly signed.

-



-

An electronic message is not binding on its sender.

Any message referring to a binding engagement must be confirmed in writing
and duly signed.

-



 



Re: [flexcoders] Run time error ----- Netconnection must be connect.

2007-01-22 Thread Abdul Qabiz

Just replied to other mail of yours on ethe same subject.

Please wait for sometime before sending twice. Most of folks on this list
are busy, they reply whenever they get time...

:)

-abdul

On 1/22/07, rsekar_005 [EMAIL PROTECTED] wrote:


  Dear Friends,

in flex i am getting runtime error. this Net connection must be
connect.

plz give me solution for this. i am not able get video streaming. i
am using flex.

plz give me guide. or give me the sample code. can we able to do ip
address base video streaming. give the sample.

it helpful for me.

thanks in advance

waiting ur valuable reply

sekar.

 



Re: [flexcoders] Setting LinkBar button size?

2007-01-22 Thread Abdul Qabiz

I have never done that but I have feeling you can reduce the space around
buttons using styles if LinkBar and LinkButton.

And also setting horizontalGap of LinkBar to reduce the gap between
individual buttons in LinkBar...

You might want to try that?

-abdul

On 1/22/07, Russell Sprague [EMAIL PROTECTED] wrote:


  Is there a way to set the width of the of the buttons in the LinkBar?
I am trying to create a navigation path,where a user can click anywhere
in the path to go to that location.
ex. Parent/child/child/child etc. I was thinking using the linkbar would
be easier then creating something from scratch, but I can't find a way
to make the button fit the text, so there isn't space between the text.

Thanks
Russ

 



Re: [flexcoders] creating swf online

2007-01-22 Thread Abdul Qabiz

If I am right, you want to let user design something and then generate
SWF...

There are different ways, people do that:-

1) You write two pieces (editor and player), editor let users design and you
serialize all information on server in database, xml or whatever. Player
loads XML and renders the content.

2) You want a monolithic piece (SWF) that contains the entire stuff...

I guess, you are talking about second?

You can do that by embedding all resources in SWF and letting user download
the final output. You can run MXMLC as CGI or process? to do that...

Once user has done designing, you save the entire design (Canvas)
information in some intermediate format, pass it to server-side script which
can construct a MXML file for it, run MXMLC on MXML to generate SWF...

Does that make sense? But I would suggest you going for first approach 

-abdul

On 1/21/07, gdoucen [EMAIL PROTECTED] wrote:


  Hi,

I want to create a light scrapblog application as a personnal project.
Which techniques scrapblog or similar apps use to create the swf online ?

Thanks for your help.

 



Re: [flexcoders] Flex SDK configuration with JBoss?

2007-01-22 Thread Abdul Qabiz

What you want to do? Use Flex2 the way it worked in Flex 1.5 based,
server-based stuff?

I am sure you can achieve that...by creating a filter to handle .mxml
files... Filter would invoke MXMLC (or use MXMLC libs) to compile mxml and
cache SWF on server...Filter would then wrap the SWF in html and throw the
html to clients..

Well I am sure there would be better way, this is how I would do if Flex2SDK
doesn't have a way...

-abdul

On 1/22/07, sanjaypmg [EMAIL PROTECTED] wrote:


  Hi All,

How can I configure Flex SDK with JBoss server?

Is it the same as I configured Flex with JBoss or something different?

Please do tell me.

thanks,
Sanjay sharma

 



Re: [flexcoders] I want to know some statistics of flexcoders :)

2007-01-22 Thread Abdul Qabiz

- what term are you programmed on flex?

I didn't get the question, sorry..


- Do you know some high-level program language like C#, Java etc before

start to study and code on Flex?
Well if you know it helps but if you don't know all these and familiar with
any programming language (ActionScript, JavaScript etc), you would quickly
pickup things. Flex has different programming models (MXML - XML based and
ActionScript). Most of times applications requires knowledge of
both...Infact all complex application would require that.

You can start learning MXML and ActionScript from Flex 2 documentation,
believe doc is very comprehensive.


- Do you know some code patterns and using it before start to study and

code on Flex?

Not required to start learning Flex. So don't worry about that, you already
know some patterns (Observer etc) which you might not realize. Whenever you
get a problem in hand, just think how can I solve it? Is it a solved
problem, if yes how it has been done (search)? You would learn things that
way. Well again reading about patterns, if you have time is always
useful...because whatever you read is always used sooner or later...

So get started and believe me, you would get comfortable with things...

-abdul





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


  Hello All.
It maybe like flood but very interesting the next:

- what term are you programmed on flex?
- Do you know some high-level program language like C#, Java etc before
start to study and code on Flex?
- Do you know some code patterns and using it before start to study and
code on Flex?

The reason of questions above very simple. I'm just Flash programmer and
now I pressing by huge amount of Flex information ( classes, architecture
etc). Very interesting how you fight with Flex.

 



Re: [flexcoders] ActionScript Mozill

2007-01-22 Thread Abdul Qabiz

A better VM... Now community can also contribute to Virtual Machine...so
things should be more standard, fast and good..

What does it mean to me as ActionScript developer? I can use my existing
skills and write code in other environment which uses
Tamarinhttp://www.mozilla.org/projects/tamarin/
.

I liked the Manish Jethani's post on this:
http://mannu.livejournal.com/382940.html

-abdul

On 1/21/07, graysonpierce [EMAIL PROTECTED] wrote:


  Hello,

I read somewhere that Adobe was donating the source for ActionScript
to the Mozilla Foundation. Would anyone care to comment on what this
will mean to Flex  Apollo in the future?

GP

 



Re: [flexcoders] sequential addition of sprite objects

2007-01-22 Thread Abdul Qabiz

If you understand how Flash Player works,you would probably do it
differently.

Flash Player executes the code in the frame before rendering the objects on
the frame...

You need to use Timer class  or frame-event (enterFrame) instead of
while-loop here... to update the screen (rendering or paint)..

-abdul



On 1/20/07, chrisvet2001 [EMAIL PROTECTED] wrote:


  I'm trying to develop a system to show how to get from point A to
point B on a floorplan...

I'm having 2 problems --
1) the best way to display these points over a period of time (to
'animate' the points)
2) when i do build in some delays, nothing gets displayed until all of
the points are already there...

my prototype code is below...

package {
import flash.display.Sprite;

public class Breadcrumbs extends Sprite {

private var _pathX:Array = ['10','30','30','75'];
private var _pathY:Array = ['10','10','50','50'];

public function Breadcrumbs() {
init()
}

public function init():void {
drawPath();
}

private function drawPath():void {
var lastX:int = _pathX[0];
var lastY:int = _pathY[0];
var currentTime:Date;
var previousTime:Date = new Date();
var i:int = 0;

while (i  _pathX.length) {
currentTime = new Date();
if (currentTime.getTime()  previousTime.getTime() + 5000) {
var s:Sprite = new Sprite();
s.graphics.beginFill(0xFF, 1);
s.graphics.drawCircle(_pathX[i], _pathY[i], 2);
addChild(s);
i++;
}
}
}
}
}

Any Ideas as to how to improve the 'delay' code and/or how to get the
individual points to show up one at a time?

Thanks,
Chris

 



Re: [flexcoders] AS3 code obfuscators

2007-01-22 Thread Abdul Qabiz
Security through obscurity is not true security

On 1/22/07, Tom Chiverton [EMAIL PROTECTED] wrote:
 On Thursday 18 January 2007 22:55, Daniel Wabyick wrote:
  Does anyone know of any AS3 code obfuscators out there?

 Whats the point ?
 If need by, just distribute it as a SWC.
 You can't stop it being decompiled by a determined person.

 --
 Tom Chiverton
 Helping to enormously fashion six-generation channels

 

 This email is sent for and on behalf of Halliwells LLP.

 Halliwells LLP is a limited liability partnership registered in England and 
 Wales under registered number OC307980 whose registered office address is at 
 St James's Court Brown Street Manchester M2 2JF.  A list of members is 
 available for inspection at the registered office. Any reference to a partner 
 in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by 
 the Law Society.

 CONFIDENTIALITY

 This email is intended only for the use of the addressee named above and may 
 be confidential or legally privileged.  If you are not the addressee you must 
 not read it and must not use any information contained in nor copy it nor 
 inform any person other than Halliwells LLP or the addressee of its existence 
 or contents.  If you have received this email in error please delete it and 
 notify Halliwells LLP IT Department on 0870 365 8008.

 For more information about Halliwells LLP visit www.halliwells.com.



 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
 Yahoo! Groups Links






Re: [flexcoders] Need ur help

2007-01-22 Thread Abdul Qabiz

You are getting this error because NetConnection object is not yet
connected, message is quite clear.

The way you are doing things might not work on slow network or internet,
because it takes time to make connection before you can use this object for
any purpose.

I suggest you using NetConnection events (NET_sT to be sure when
NetConnection object is connected and do the further processing.

You can find a working example in Flex2 docs, I don't see the example in
Flex 2.0.1 docs so I am pasting it here.

package {
   import flash.display.Sprite;
   import flash.events.NetStatusEvent;
   import flash.events.SecurityErrorEvent;
   import flash.media.Video;
   import flash.net.NetConnection;
   import flash.net.NetStream;

   public class VideoExample extends Sprite {
   private var videoUrl:String = Video.flv;
   private var connection:NetConnection;
   private var stream:NetStream;

   public function VideoExample() {
   connection = new NetConnection();
   connection.addEventListener(NetStatusEvent.NET_STATUS,
netStatusHandler);
   connection.addEventListener(SecurityErrorEvent.SECURITY_ERROR,
securityErrorHandler);
   connection.connect(null);
   }

   private function netStatusHandler(event:NetStatusEvent):void {
   switch (event.info.code) {
   case NetConnection.Connect.Success:
   connectStream();
   break;
   }
   }

   private function securityErrorHandler(event:SecurityErrorEvent):void {
   trace(securityErrorHandler:  + event);
   }

   private function connectStream():void {
   var stream:NetStream = new NetStream(connection);
   var video:Video = new Video();
   video.attachNetStream(stream);
   stream.play(videoUrl);
   addChild(video);
   }
   }
}


hope it helps..

-abdul

file:///D:/downloads/Flex2_B3_Documentation_05-01/langref/index.html

On 1/21/07, sekar r [EMAIL PROTECTED] wrote:


  Dear Friends,

i am getting this error on runtime. [NetConnection object must be
connected.].

i have attached image file for error.

plz help me for this.

this my mxml. file.

?xml version=1.0?
!-- controls\videodisplay\VideoDisplayCamera.mxml --
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
mx:Script
![CDATA[

// Define a variable of type Camera.
import flash.media.Camera;
public var cam:Camera;
[Bindable] private var con:NetConnection;
public var ns:NetStream;

private function initCamera():void {
   con = new NetConnection();
   con.objectEncoding = flash.net.ObjectEncoding.AMF0;
   //if(!con.connected)
   con.connect(rtmp://10.21.160.125:1935/liveApp);
//else
 //con.close();
   var ns:NetStream=new NetStream(con);
   // Initialize the variable.
 cam = Camera.getCamera();
myVid.attachCamera(cam)

ns.attachCamera(cam);
ns.publish(dhina,live);
 }
]]
/mx:Script

mx:VideoDisplay id=myVid
width=320 height=240
creationComplete=initCamera();/
/mx:Application


waiting for ur valuable reply
thanks in advance

sekar.

--
Any questions? Get answers on any topic at Yahoo! 
Answershttp://answers.yahoo.com/;_ylc=X3oDMTFvbGNhMGE3BF9TAzM5NjU0NTEwOARfcwMzOTY1NDUxMDMEc2VjA21haWxfdGFnbGluZQRzbGsDbWFpbF90YWcx.
Try it now.

--
Looking for earth-friendly autos?
Browse Top Cars by Green 
Ratinghttp://autos.yahoo.com/green_center/;_ylc=X3oDMTE4MGw4Z2hlBF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDZ3JlZW5jZW50ZXI-at
 Yahoo! Autos' Green Center.

 





Re: [flexcoders] Localizing Press Esc to exit full screen mode?

2007-01-22 Thread Abdul Qabiz

I hope someone from Flash Player team is listening to us...

On 1/22/07, Oleg Filipchuk [EMAIL PROTECTED] wrote:


  I didn't find any docs about this issue.
Our client is really disapointed in that, and why it just couldn't be
modified

--
Best regards,
Oleg Filipchuk
 



Re: [flexcoders]

2006-09-27 Thread Abdul Qabiz



http://www.senocular.com/?id=1.373On 9/26/06, KP [EMAIL PROTECTED]
 wrote:












  











Hi All,



Below is the image which shows different coordinates for
resizing. This image is taken from flex editor.



Can we some how implement same thing at the run time for any
other component lets say image can we resize this…



Please suggest some approach for this.














Thanks 

Kumar







  















__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



  1   2   3   4   5   6   7   8   >