[flexcoders] Vertical scroll bar on left hand side

2009-07-03 Thread Sceneshift


-- 
View this message in context: 
http://www.nabble.com/Vertical-scroll-bar-on-left-hand-side-tp24320336p24320336.html
Sent from the FlexCoders mailing list archive at Nabble.com.



[flexcoders] Vertical scroll bar on left hand side

2009-07-03 Thread Sceneshift

Hey guys, I am trying to get a canvas component to display the vertical
scroll bar on the left hand side, as opposed to the right. I can't seem to
find anything online which suggests how to do this, any ideas?
-- 
View this message in context: 
http://www.nabble.com/Vertical-scroll-bar-on-left-hand-side-tp24320345p24320345.html
Sent from the FlexCoders mailing list archive at Nabble.com.



[flexcoders] Sending data when application has finished

2009-05-30 Thread Sceneshift

Hey guys,

I've been trying to figure out a solution to this all day, I hope someone
can help me think of a solution. My application collects data as the user
interacts with it, and I want to store this data in a database. Obviously,
there is no way for Flash to tell when the browser has been closed / the
session ends so it seems there is way of sending the data to the server
efficiently. 

I can think of a few solutions to this problem:

1) Javascript onbeforeunload. Messy and requires html markup which I'm
trying to avoid
2) Use a timer to send the data on a interval - Messy about would totally
hammer the database when there are lots of users
3) Use some kind of media server to receive a shared object, and update the
database when the session ends.

Can anyone suggest any other methods which might be more appropriate or
efficient? If a media server of some kind is the way to go, what methods or
server technology would you suggest?

Any advice would be greatly appreciated!
-- 
View this message in context: 
http://www.nabble.com/Sending-data-when-application-has-finished-tp23795338p23795338.html
Sent from the FlexCoders mailing list archive at Nabble.com.



Re[flexcoders] moteObject help

2009-02-15 Thread Sceneshift

I'm trying to create a RemoteObject singleton class which I can reference
throughout my project, and make simple calls to the serverside code using
WebOrb. 

The singleton extends RemoteObject, but I am having trouble passing
arguments across. I'd like to be able to call the RemoteObject class like
so:

var _rm:RemotingManager = RemotingManager.getInstance();
_rm.addEventListener(ResultEvent.RESULT, onGetPage, false, 0, true);
_rm.call(destination, method, arguments); 

My question is simple, or at least I hope it is... is there a away to pass
arguments to the RemoteObject class which are NOT typed as Array? The
RemoteObject.arguments property expects an object, but if I pass it an
object Charles is reporting a null response which is really strange.

How can I improve my singleton to make it a little bit more flexible when
working with arguments like this?


-- 
View this message in context: 
http://www.nabble.com/RemoteObject-help-tp22026297p22026297.html
Sent from the FlexCoders mailing list archive at Nabble.com.



[flexcoders] HTMLLoader Component - Still broken?

2009-01-28 Thread Sceneshift

I am having trouble with getting the HTML component to reload another page
after the initial page load. I can't find any reason for this, has anyone
else come across this problem before?
-- 
View this message in context: 
http://www.nabble.com/HTMLLoader-Component---Still-broken--tp21708068p21708068.html
Sent from the FlexCoders mailing list archive at Nabble.com.



Re: [flexcoders] PHP Remoting and value objects

2009-01-28 Thread Sceneshift

I'm still having real trouble with his, it's really confusing. I am returning
the VO from PHP via WebORB, and in Flex I have a VO class with the following
at the top:

[RemoteClass(alias=SiteVO)]

However, the result I am getting from WebOrb is still typed as Object, and
it won't let me type it as SiteVO. 

Can anyone offer any help as to how I type my objects correct?


Amy-28 wrote:
 
 --- In flexcoders@yahoogroups.com, Sceneshift j...@... wrote:

 
 Hey guys,
 
 I'm a little confused over how to get myself from WebOrb PHP into a 
 VO in my
 Flex application. I am getting my result sent to me from my php 
 script which
 is returned as an object, and I'm trying to set this result as a 
 value
 object like so:
 
 var testVO:TestVO = e.result as TestVO;
 
 This isn't working, which confuses me. Do I have to run through 
 each result
 in order to type it accordingly? I thought one of the benefits of 
 remoting
 was that we didn't need to type our results?
 
 You shouldn't have to cast it--it should come back already as that 
 type.  If it isn't already that type, check out these links:
 http://flexdiary.blogspot.com/2008/11/thoughts-on-remoting.html
 http://flexdiary.blogspot.com/2009/01/lazy-loading-tree-example-file-
 posted.html
 
 The latter link includes both the php and Flex side of a working 
 remote class.
 
 HTH;
 
 Amy
 
 
 

-- 
View this message in context: 
http://www.nabble.com/PHP-Remoting-and-value-objects-tp21674002p21713717.html
Sent from the FlexCoders mailing list archive at Nabble.com.



RE: [flexcoders] PHP Remoting and value objects

2009-01-27 Thread Sceneshift

Thanks for the reply, although this is throwing an error for me. I'm using
WebOrb, if that makes any odds?


kratosaurus wrote:
 
 Try:
 
 var testVO:TestVO = e.result.serverInfo.initialData as TestVO;
 (depending on how you've constructed your data for return from php)
 
 Also, throw a breakpoint into your app where the remote comes back - then
 take a look inside the *result* object.
 
 You'll have the *result.serverInfo* object, which itself contains *
 initialData*, *serviceName*, *columnNames* among others.
 
 Cheers.
 
 

-- 
View this message in context: 
http://www.nabble.com/PHP-Remoting-and-value-objects-tp21674002p21683571.html
Sent from the FlexCoders mailing list archive at Nabble.com.



[flexcoders] PHP Remoting and value objects

2009-01-26 Thread Sceneshift

Hey guys,

I'm a little confused over how to get myself from WebOrb PHP into a VO in my
Flex application. I am getting my result sent to me from my php script which
is returned as an object, and I'm trying to set this result as a value
object like so:

var testVO:TestVO = e.result as TestVO;

This isn't working, which confuses me. Do I have to run through each result
in order to type it accordingly? I thought one of the benefits of remoting
was that we didn't need to type our results?

Any help would be appreciated!
-- 
View this message in context: 
http://www.nabble.com/PHP-Remoting-and-value-objects-tp21674002p21674002.html
Sent from the FlexCoders mailing list archive at Nabble.com.



[flexcoders] Structuring a medium sized application

2009-01-23 Thread Sceneshift

Hey guys,

I'm creating a fairly sizable, modular application which is great, I really
love modules. One problem I am having is how to go about structuring my
projects, right down to the folder structure.

Can anyone share their insight into how they structure their applications,
whats the norm and what to avoid? 

I'm staying away from Cairngorm, because I feel it's a little overkill for
an application like this.

Thanks!
-- 
View this message in context: 
http://www.nabble.com/Structuring-a-medium-sized-application-tp21627498p21627498.html
Sent from the FlexCoders mailing list archive at Nabble.com.



[flexcoders] Application language files

2009-01-19 Thread Sceneshift

Hi guys,

I want to store all my messages in a language class, common things like
login fail messages etc, so I can easily change them later or perhaps add
another language. I was talking with a friend about how best to do this, and
we couldn't decide. At first we thought of making a LanguageManager
singleton class with each translation as a const, but then we'd be bloating
the application with unwanted languages. Maybe we could import a SWC at
runtime with the correct language class?

Can anyone suggest the best solution for working with languages?
-- 
View this message in context: 
http://www.nabble.com/Application-language-files-tp21552940p21552940.html
Sent from the FlexCoders mailing list archive at Nabble.com.



Re: [flexcoders] Application language files

2009-01-19 Thread Sceneshift

Thanks very much for your reply, I will look into this!


Maciek Sakrejda wrote:
 
 Take a look at ResourceManager, and the resource module examples in the
 Developer Guide. We use this method, and it's been working pretty
 smoothly. We compile with locale= (the empty string), so that
 resources are *always* loaded at runtime (we found that this simplified
 things a little). You can pre-load a specific resource module (based on
 flashvars, I believe), so it's available at startup, but we just have a
 non-localized login screen where the user picks a locale.
 -- 
 Maciek Sakrejda
 Truviso, Inc.
 http://www.truviso.com
 
 -Original Message-
 From: Sceneshift j...@sceneshift.com
 Reply-To: flexcoders@yahoogroups.com
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Application language files
 Date: Mon, 19 Jan 2009 14:23:38 -0800 (PST)
 
 
 Hi guys,
 
 I want to store all my messages in a language class, common things like
 login fail messages etc, so I can easily change them later or perhaps
 add
 another language. I was talking with a friend about how best to do this,
 and
 we couldn't decide. At first we thought of making a LanguageManager
 singleton class with each translation as a const, but then we'd be
 bloating
 the application with unwanted languages. Maybe we could import a SWC at
 runtime with the correct language class?
 
 Can anyone suggest the best solution for working with languages?
 -- 
 View this message in context:
 http://www.nabble.com/Application-language-files-tp21552940p21552940.html
 Sent from the FlexCoders mailing list archive at Nabble.com.
 
 
 
 
  
 
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Application-language-files-tp21552940p21553412.html
Sent from the FlexCoders mailing list archive at Nabble.com.



[flexcoders] Modular applications and global config

2009-01-17 Thread Sceneshift

Hi there,

I'm working on my first larger scale application and making use of the
awesomeness that is modules. Normally, I have a single config singleton
which I use to house all my application wide variables. Things such as user
status and details, application wide paths and such. 

It seems using this class across modules isn't the best solution, and I find
a singleton quite clunky sometimes. 

My question to you, is there a better way of storing this information which
can be retrieved from anywhere in my application across all modules?
-- 
View this message in context: 
http://www.nabble.com/Modular-applications-and-global-config-tp21519388p21519388.html
Sent from the FlexCoders mailing list archive at Nabble.com.



[flexcoders] Microphone BlazeDS (Red5?)

2009-01-15 Thread Sceneshift

Hey guys,

I have a project coming up where I need to capture the Microphone input and
then push it to a byteArray. I know this isn't possible without first
recording the input and analyzing it afterward, which is fine. 

I was wondering which is the best flash server to push and send the data, I
was thinking about using Red5 and sending back the data as a sound only FLV
for analyzing, but perhaps Red5 would be a better solution?

Can anyone offer me any recommendations or experiences as to which method
they would employ? 
-- 
View this message in context: 
http://www.nabble.com/Microphone---BlazeDS-%28Red5-%29-tp21474622p21474622.html
Sent from the FlexCoders mailing list archive at Nabble.com.



Re: [flexcoders] Microphone BlazeDS (Red5?)

2009-01-15 Thread Sceneshift

Thanks for the replace Nate, I didn't consider Wowza but I'll certainly check
it out.

Just wondering if you had any thoughts on BlazeDS? 


Nate Beck wrote:
 
 Red5 is a great open source project, and a great solution for your needs.
  However, if you want support on your project, I've found Red5 to be a
 bit... lacking.
 If you have the funds... my recommendation would be to use Wowza Media
 Server (http://www.wowzamedia.com/).  A single license will run you around
 $1,000.  Which in my experience is well worth it for the level of support
 you get on their forums.
 
 I recommend Wowza over Adobe FMS for two reasons.
 
- You extend Wowza with Java... which makes life a lot easier instead
 of
using Server-Side Actionscript.
- It's much less expensive.
 
 Cheers,
 Nate
 
 
 On Thu, Jan 15, 2009 at 2:05 AM, Sceneshift j...@sceneshift.com wrote:
 

 Hey guys,

 I have a project coming up where I need to capture the Microphone input
 and
 then push it to a byteArray. I know this isn't possible without first
 recording the input and analyzing it afterward, which is fine.

 I was wondering which is the best flash server to push and send the data,
 I
 was thinking about using Red5 and sending back the data as a sound only
 FLV
 for analyzing, but perhaps Red5 would be a better solution?

 Can anyone offer me any recommendations or experiences as to which method
 they would employ?
 --
 View this message in context:
 http://www.nabble.com/Microphone---BlazeDS-%28Red5-%29-tp21474622p21474622.html
 Sent from the FlexCoders mailing list archive at Nabble.com.

  

 
 
 
 -- 
 
 Cheers,
 Nate
 
 http://blog.natebeck.net
 
 

-- 
View this message in context: 
http://www.nabble.com/Microphone---BlazeDS-%28Red5-%29-tp21474622p21484068.html
Sent from the FlexCoders mailing list archive at Nabble.com.



Re: [flexcoders] Microphone BlazeDS (Red5?)

2009-01-15 Thread Sceneshift

Ah I see, in that case I shall scrub BlazeDS off my list!

Even though Wowza is moderately priced in comparison to FMS, looks like Red5
is my only option within my budget. It's a shame there is barely any
documentation online for this kind of thing!

Thanks again Nate.


Nate Beck wrote:
 
 I haven't used BlazeDS on anything other than some of my small pet
 projects.
  However, I'm pretty sure that BlazeDS (Data Service) doesn't have an RTMP
 end-point.
 Meaning you can't make a NetConnection and NetStream call to it, which
 also
 means you can't use attachMicrophone to send your audio to the server.
 
 In my opinion there are only three options when it comes to Flash Media
 (camera  microphone) solutions:
 
- Adobe Flash Media Server (
http://www.adobe.com/products/flashmediaserver/) was Flash
 Communication
Server
- Wowza Media Server (http://wowzamedia.com)
- Red5 ( http://osflash.org/red5)
 
 Cheers,
 Nate
 
 
 On Thu, Jan 15, 2009 at 10:35 AM, Sceneshift j...@sceneshift.com wrote:
 

 Thanks for the replace Nate, I didn't consider Wowza but I'll certainly
 check
 it out.

 Just wondering if you had any thoughts on BlazeDS?

 Nate Beck wrote:
 
  Red5 is a great open source project, and a great solution for your
 needs.
  However, if you want support on your project, I've found Red5 to be a
  bit... lacking.
  If you have the funds... my recommendation would be to use Wowza Media
  Server (http://www.wowzamedia.com/). A single license will run you
 around
  $1,000. Which in my experience is well worth it for the level of
 support
  you get on their forums.
 
  I recommend Wowza over Adobe FMS for two reasons.
 
  - You extend Wowza with Java... which makes life a lot easier instead
  of
  using Server-Side Actionscript.
  - It's much less expensive.
 
  Cheers,
  Nate
 
 
  On Thu, Jan 15, 2009 at 2:05 AM, Sceneshift
 j...@sceneshift.comjon%40sceneshift.com
 wrote:
 
 
  Hey guys,
 
  I have a project coming up where I need to capture the Microphone
 input
  and
  then push it to a byteArray. I know this isn't possible without first
  recording the input and analyzing it afterward, which is fine.
 
  I was wondering which is the best flash server to push and send the
 data,
  I
  was thinking about using Red5 and sending back the data as a sound
 only
  FLV
  for analyzing, but perhaps Red5 would be a better solution?
 
  Can anyone offer me any recommendations or experiences as to which
 method
  they would employ?
  --
  View this message in context:
 
 http://www.nabble.com/Microphone---BlazeDS-%28Red5-%29-tp21474622p21474622.html
  Sent from the FlexCoders mailing list archive at Nabble.com.
 
 
 
 
 
 
  --
 
  Cheers,
  Nate
  
  http://blog.natebeck.net
 
 

 --
 View this message in context:
 http://www.nabble.com/Microphone---BlazeDS-%28Red5-%29-tp21474622p21484068.html
 Sent from the FlexCoders mailing list archive at Nabble.com.

  

 
 
 
 -- 
 
 Cheers,
 Nate
 
 http://blog.natebeck.net
 
 

-- 
View this message in context: 
http://www.nabble.com/Microphone---BlazeDS-%28Red5-%29-tp21474622p21484544.html
Sent from the FlexCoders mailing list archive at Nabble.com.



RE: [flexcoders] Microphone BlazeDS (Red5?)

2009-01-15 Thread Sceneshift

I use WebOrb currently for PHP remoting, I had no idea it supports RMTP? Bare
in mind I want to record live microphone input, does WebOrb really support
that?


Ryan Graham-3 wrote:
 
 
 Also, depending on what server technology you're comfortable developing
 in, you may want to check out WebORB - the .Net version is free, and
 they also provide versions for Java, PHP, CF, and Rails. I've only
 played with it a little bit, but what I saw seemed pretty solid.
 
  
 
 HTH, 
 
 Ryan
 
  
 
 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
 Behalf Of Sceneshift
 Sent: Thursday, January 15, 2009 11:59 AM
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] Microphone  BlazeDS (Red5?)
 
  
 
 
 Ah I see, in that case I shall scrub BlazeDS off my list!
 
 Even though Wowza is moderately priced in comparison to FMS, looks like
 Red5
 is my only option within my budget. It's a shame there is barely any
 documentation online for this kind of thing!
 
 Thanks again Nate.
 
 Nate Beck wrote:
 
 I haven't used BlazeDS on anything other than some of my small pet
 projects.
 However, I'm pretty sure that BlazeDS (Data Service) doesn't have an
 RTMP
 end-point.
 Meaning you can't make a NetConnection and NetStream call to it, which
 also
 means you can't use attachMicrophone to send your audio to the server.
 
 In my opinion there are only three options when it comes to Flash
 Media
 (camera  microphone) solutions:
 
 - Adobe Flash Media Server (
 http://www.adobe.com/products/flashmediaserver/) was Flash
 Communication
 Server
 - Wowza Media Server (http://wowzamedia.com)
 - Red5 ( http://osflash.org/red5)
 
 Cheers,
 Nate
 
 
 On Thu, Jan 15, 2009 at 10:35 AM, Sceneshift j...@sceneshift.com
 mailto:jon%40sceneshift.com  wrote:
 

 Thanks for the replace Nate, I didn't consider Wowza but I'll
 certainly
 check
 it out.

 Just wondering if you had any thoughts on BlazeDS?

 Nate Beck wrote:
 
  Red5 is a great open source project, and a great solution for your
 needs.
  However, if you want support on your project, I've found Red5 to be
 a
  bit... lacking.
  If you have the funds... my recommendation would be to use Wowza
 Media
  Server (http://www.wowzamedia.com/). A single license will run you
 around
  $1,000. Which in my experience is well worth it for the level of
 support
  you get on their forums.
 
  I recommend Wowza over Adobe FMS for two reasons.
 
  - You extend Wowza with Java... which makes life a lot easier
 instead
  of
  using Server-Side Actionscript.
  - It's much less expensive.
 
  Cheers,
  Nate
 
 
  On Thu, Jan 15, 2009 at 2:05 AM, Sceneshift
 j...@sceneshift.com mailto:jon%40sceneshift.com
 jon%40sceneshift.com
 wrote:
 
 
  Hey guys,
 
  I have a project coming up where I need to capture the Microphone
 input
  and
  then push it to a byteArray. I know this isn't possible without
 first
  recording the input and analyzing it afterward, which is fine.
 
  I was wondering which is the best flash server to push and send
 the
 data,
  I
  was thinking about using Red5 and sending back the data as a sound
 only
  FLV
  for analyzing, but perhaps Red5 would be a better solution?
 
  Can anyone offer me any recommendations or experiences as to which
 method
  they would employ?
  --
  View this message in context:
 

 http://www.nabble.com/Microphone---BlazeDS-%28Red5-%29-tp21474622p214746
 22.html
  Sent from the FlexCoders mailing list archive at Nabble.com.
 
 
 
 
 
 
  --
 
  Cheers,
  Nate
  
  http://blog.natebeck.net
 
 

 --
 View this message in context:

 http://www.nabble.com/Microphone---BlazeDS-%28Red5-%29-tp21474622p214840
 68.html
 Sent from the FlexCoders mailing list archive at Nabble.com.

 

 
 
 
 -- 
 
 Cheers,
 Nate
 
 http://blog.natebeck.net
 
 
 
 -- 
 View this message in context:
 http://www.nabble.com/Microphone---BlazeDS-%28Red5-%29-tp21474622p214845
 44.html
 Sent from the FlexCoders mailing list archive at Nabble.com.
 
  
 
 
 
 This message is private and confidential. If you have received it in
 error, please notify the sender and remove it from your system.
 

-- 
View this message in context: 
http://www.nabble.com/Microphone---BlazeDS-%28Red5-%29-tp21474622p21484706.html
Sent from the FlexCoders mailing list archive at Nabble.com.



[flexcoders] Loadbytes - Exclude framework?

2008-12-17 Thread Sceneshift

I am loading in a external SWF at runtime using loadBytes, so I am able to
retrieve library items / class names created via the designers in the SWF. I
need to use loadBytes so I can use timeline AS3 code etc.

I was wondering what the implications are of this, since the exported SWFs
filesize will include the FP framework. Is there a way to load in a SWF
using loadBytes, but ignoring any of the framework stuff we already have
loaded?
-- 
View this message in context: 
http://www.nabble.com/Loadbytes---Exclude-framework--tp21050425p21050425.html
Sent from the FlexCoders mailing list archive at Nabble.com.



[flexcoders] Best language for remoting

2008-12-08 Thread Sceneshift

Hey guys,

When building larger applications with bigger database interactions, which
is considered the best language to develop the back-end environment in? I
have been using PHP in most of my projects, but using AMFPHP to pass objects
just seems really clunky... It seems as though Adobe are pushing ColdFusion,
but I was wondering what the general consensus is on which methods
(webservices, remoting) and languages are considered to be the best for
communicating with databases. 
-- 
View this message in context: 
http://www.nabble.com/Best-language-for-remoting-tp20905438p20905438.html
Sent from the FlexCoders mailing list archive at Nabble.com.



RE: [flexcoders] Best language for remoting

2008-12-08 Thread Sceneshift

Thanks you very much for this detailed and extremely helpful reply. 

I've been looking into LCDS and it's certainly amazing, although probably
more than I need for now. It's something I am going to keep my eyes on for
the future if I ever need the functionality of offers.

For now, I think I'll look into Java and Remote Object. If anyone has any
links they found useful on this topic, I'd be very grateful. Thanks!


Tracy Spratt wrote:
 
 It is not even theoretically possible to  determine the best of
 anything.
 
  
 
 You must look at the project, the requirements, both business and
 technical, the proposed environment, everything.  All that said, if
 there are no budget or technical constraints to consider (working for
 God, maybe?), there are some popular, powerful combinations out there.
 
  
 
 For long term enterprise level solutions look into LCDS. Paging, push,
 messaging, a bunch of stuff I have not needed yet.  Big-time
 functionality, big-time cost.
 
  
 
 Many people swear by Java and Remote Object, because of the ability to
 pass strongly typed objects around. It is also very fast, probably the
 fastest protocol. (But transmission speed is rarely the bottleneck)  But
 there are third party programs that permit this with other back-end
 platforms like .net. (e.g. webOrb).
 
  
 
 Stay clear on what tier does what.  HttpService, WebService,
 RemoteObject, sockets, etc do not communicate with databases.  They are
 protocols for communicating with a back-endServer platform.  Code on
 that platform communicates with the database.  And which database?
 (rhetorical question)
 
  
 
 End to end design of a large project needs major commitment from many
 people, and there will be compormises on all sides.   The business side
 almost always wins, by the way.
 
  
 
 We, on this list, have yet to come up with a consensus on *anything*, so
 good luck with that.
 
  
 
 Tracy
 
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Sceneshift
 Sent: Monday, December 08, 2008 6:02 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Best language for remoting
 
  
 
 
 Hey guys,
 
 When building larger applications with bigger database interactions,
 which
 is considered the best language to develop the back-end environment in?
 I
 have been using PHP in most of my projects, but using AMFPHP to pass
 objects
 just seems really clunky... It seems as though Adobe are pushing
 ColdFusion,
 but I was wondering what the general consensus is on which methods
 (webservices, remoting) and languages are considered to be the best for
 communicating with databases. 
 -- 
 View this message in context:
 http://www.nabble.com/Best-language-for-remoting-tp20905438p20905438.htm
 l
 http://www.nabble.com/Best-language-for-remoting-tp20905438p20905438.ht
 ml 
 Sent from the FlexCoders mailing list archive at Nabble.com.
 
  
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Best-language-for-remoting-tp20905438p20906756.html
Sent from the FlexCoders mailing list archive at Nabble.com.



[flexcoders] X2O SWC generation, how do they do it?

2008-11-19 Thread Sceneshift

I was checking out http://blog.x2oframework.com/ this morning, and I was
really interested to see that the system creates SWCs somehow in relation to
your model.

How is it possible to compile a SWC via an online interface? Are they using
some kind of link between their online service and the Flex SDK? Any ideas?
-- 
View this message in context: 
http://www.nabble.com/X2O-SWC-generation%2C-how-do-they-do-it--tp2058p2058.html
Sent from the FlexCoders mailing list archive at Nabble.com.



[flexcoders] TextField and Stylesheets

2008-11-12 Thread Sceneshift

Hey guys,

I have a global stylesheet which is working fine through all my MXML
components.

I am trying to attach one of the style classes to a standard AS3 TextField
and I have no idea how to do this. Is there a way to access a CSS files
classes / embedded fonts in a AS class?

Any help appreciated!
-- 
View this message in context: 
http://www.nabble.com/TextField-and-Stylesheets-tp20457929p20457929.html
Sent from the FlexCoders mailing list archive at Nabble.com.



[flexcoders] Skins and filters

2008-11-11 Thread Sceneshift

I want to apply a filter to the labels on all my buttons. I have a custom
programmatic skin setup for my button, is there a way I can access to
label attached to the button component in order to apply a skin to it.
-- 
View this message in context: 
http://www.nabble.com/Skins-and-filters-tp20440540p20440540.html
Sent from the FlexCoders mailing list archive at Nabble.com.



[flexcoders] Pulling classes from a SWC

2008-11-10 Thread Sceneshift

Hi guys,

I have been looking into the best way to pull in library symbols (at compile
time) from flash for quite some time now... but one last hurdle is really
frustrating me.

I found the best way is to load in your asset swf using a URLLoader,
loadBytes and loaderContext to load the classes into the ApplicationDomain.
The problem with this method is that you won't get code hinting when writing
your code.

The other option is to add your assets SWC to the library path... but this
has one fatal flaw. Whilst you can access your classes with code hinting,
you are unable to use getDefinition without first having a reference to your
class in your application. This sucks when trying to create dynamic content
using something like getDefinitionByName or ApplicationDomain.currentDomain.

I found out the solution to this is to add a line to the compiler:
-include-libraries pathToAssets.swc, but this just seems a really fudged
method. Is there no other way to pull out classes from my SWCs dynamically?
-- 
View this message in context: 
http://www.nabble.com/Pulling-classes-from-a-SWC-tp20427607p20427607.html
Sent from the FlexCoders mailing list archive at Nabble.com.



Re[flexcoders] versing an ArrayCollection

2008-10-23 Thread Sceneshift

Hey guys,

I have an array collection which I populate from a web service. It consists
of a bunch of objects which I access by aryCollection[num].

My problem is, I need to reverse the contents. ArrayCollection doesn't have
a .reverse(); function, so can anyone suggest a solution?
-- 
View this message in context: 
http://www.nabble.com/Reversing-an-ArrayCollection-tp20134270p20134270.html
Sent from the FlexCoders mailing list archive at Nabble.com.



Re: [flexcoders] SWFLoader - Getting Symbols

2008-10-14 Thread Sceneshift

Does anyone have any idea how to do this? I am sure there is a way.
-- 
View this message in context: 
http://www.nabble.com/SWFLoader---Getting-Symbols-tp19798505p19951379.html
Sent from the FlexCoders mailing list archive at Nabble.com.



[flexcoders] SWFLoader - Getting Symbols

2008-10-03 Thread Sceneshift

Hey guys,

I have a swf loader:

mx:SWFLoader id=SWFText x=0 y=-15
source=@Embed(source='../Assets/Assets.swf')/


How do I go about retrieving a specific class / symbol from the SWFLoader
content for use in my application?


-- 
View this message in context: 
http://www.nabble.com/SWFLoader---Getting-Symbols-tp19798505p19798505.html
Sent from the FlexCoders mailing list archive at Nabble.com.



Re: [flexcoders] SWFLoader - Getting Symbols

2008-10-03 Thread Sceneshift

Thanks for the reply, but I am trying to access the assets at runtime.

I know you can do this using loadBytes, but I was wondering if there was a
way by using SWFLoader.



Haykel BEN JEMIA wrote:
 
 use: Embed(source='SWFFileName.swf', symbol='symbolName')
 doc: Flex 3 Developer's Guide, Advanced Flex Programming / Embedding
 Assets.
 
 On Fri, Oct 3, 2008 at 4:09 PM, Sceneshift [EMAIL PROTECTED] wrote:
 

 Hey guys,

 I have a swf loader:

 mx:SWFLoader id=SWFText x=0 y=-15
 source=@Embed(source='../Assets/Assets.swf')/

 How do I go about retrieving a specific class / symbol from the SWFLoader
 content for use in my application?

 --
 View this message in context:
 http://www.nabble.com/SWFLoader---Getting-Symbols-tp19798505p19798505.html
 Sent from the FlexCoders mailing list archive at Nabble.com.

  

 
 
 
 -- 
 Haykel Ben Jemia
 
 Allmas
 Web  RIA Development
 http://www.allmas-tn.com
 
 

-- 
View this message in context: 
http://www.nabble.com/SWFLoader---Getting-Symbols-tp19798505p19802264.html
Sent from the FlexCoders mailing list archive at Nabble.com.



[flexcoders] Application image compression

2008-09-24 Thread Sceneshift

Hi,

I'm trying to shrink the size of my SWF. Flash has the JPEG quality slider
in the publish screen and I was wondering if Flex has anything like this so
I can crunch down the size of my PNGs?

Thanks.
-- 
View this message in context: 
http://www.nabble.com/Application-image-compression-tp19650604p19650604.html
Sent from the FlexCoders mailing list archive at Nabble.com.



[flexcoders] Embedding SWF with Assets Code

2008-09-08 Thread Sceneshift

Hi guys,

I'm trying to embed a SWF into my Flex project so that I can use the library
symbols with the code intact. I would also like the path of the embed to by
dynamic, something like this perhaps:

[Embed[source={swf_path}]];

I managed to get this to work using a bindable variable, but I haven no idea
how I load the library assets from the embedded SWF.

Anyone help me out?
-- 
View this message in context: 
http://www.nabble.com/Embedding-SWF-with-Assets---Code-tp19378019p19378019.html
Sent from the FlexCoders mailing list archive at Nabble.com.