[Flashcoders] Vanishing Accordion Labels

2006-08-08 Thread Matthew Simpson
Has anyone encountered vanishing Accordion Labels? Comment out the
loadMovie and the labels appear on the accordion as expected. Uncomment
the loadMovie and the labels disappear...

Here's the AS...imports and var declarations omitted for brevity

//Import Controls/Containers/Classes/Packages
import mx.controls.*;
import mx.containers.Accordion;
import mx.core.View;

//The user interface components
private var shopping_acc:Accordion;

// Create Cart Data Grid
shopping_acc = container_mc.createClassObject(Accordion, "shopping_acc",
depth++);
//Set Size
shopping_acc.setSize(150, 415)
//Create Accordion Children 
var cart_obj:Object = shopping_acc.createChild(View, "cart",
{label:"Shopping Cart", icon: "cartIcon"});
var options_obj:Object = shopping_acc.createChild(View, "options",
{label:"Stuff You're Configuring", icon: "wrenchIcon"});
//Load 
cart_obj.loadMovie("wgShoppingCartView.swf");
options_obj.loadMovie("wgSelectedOptionsView.swf");
 

Sincerely,

 

Matthew Simpson

Senior U.I. Engineer 

SmartEquip Inc.

203.604.1309

[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 

 

This e-mail, including attachments, is covered by the Electronic
Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential, and
may be legally privileged. If you are not the intended recipient, you
are hereby notified that any retention, dissemination, distribution, or
copying of this communication is strictly prohibited. Please reply to
the sender that you have received the message in error, and then please
delete it. Thank you.


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

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


RE: [Flashcoders] WSIWYG HTML text editor in Flash?

2006-08-01 Thread Matthew Simpson
Jason,

We found a copy of 5 on Limewire...If you fail to find one, let me know
off-list. 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Merrill,
Jason
Sent: Tuesday, August 01, 2006 10:29 AM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] WSIWYG HTML text editor in Flash?

Haven't DevNet Resource Kits been discontinued?  If so, how would I get
my hands on that?  If not, how would I get my hands on that?  :) Thanks.

Jason Merrill
Bank of America
Learning & Organization Effectiveness - Technology Solutions 
 
 
 
 
 

>>-Original Message-
>>From: [EMAIL PROTECTED] [mailto:flashcoders- 
>>[EMAIL PROTECTED] On Behalf Of Adam Colpitts
>>Sent: Tuesday, August 01, 2006 10:23 AM
>>To: Flashcoders mailing list
>>Subject: Re: [Flashcoders] WSIWYG HTML text editor in Flash?
>>
>>There is a really nice Rich Text Editor component in DRK 5... not sure
if
>>you've seen this.  It's in the Flash UI Component Set 4 Update.
>>
>>On 8/1/06, Merrill, Jason <[EMAIL PROTECTED]> wrote:
>>>
>>> Two related questions.  In a nutshell, trying to make a WSIWYG HTML
text
>>> editor for Flash 7.
>>>
>>> Question 1:
>>>
>>> Has anyone created an HTML text editor component or class of some
kind
>>> in Flash?  Basically, having a textfield containing a paragraph of
text
>>> the user can apply bold, size, font, etc. to - I assume it would use

>>> something like:
>>>
>>>
textfield.replaceText(Selection.getBeginIndex(),Selection.getEndIndex(),
>>> theNewString)
>>>
>>> or something to that effect.
>>>
>>> So to my second question, I was able to get the above working, but
the
>>> html Textfield would not apply the new HTML tags, it would show them

>>> literally when replaceText was used.  Initially, I set the text with

>>> textField.htmlText = myText and renders fine with the bolding, but
>>> textField.replaceText() seems to not allow the textfield to show the
>>> bold tags applied - it shows the literal tag.   Any ideas?
>>>
>>> Basically, would like to create a WSIWYG HTML text editor (flash 7),
but
>>> from what I read in the archives, it's a lot harder than it sounds
and
>>> maybe not even possible in Flash right now, but I don't want to give
up
>>> too early.  It seems that all the basic methods are available, there
are
>>> just some quirks to work out with the Textfield class.
>>>
>>> Thanks,
>>>
>>> Jason Merrill
>>> Bank of America
>>> Learning & Organization Effectiveness - Technology Solutions
>>>
>>>
>>> ___
>>> Flashcoders@chattyfig.figleaf.com
>>> To change your subscription options or search the archive:
>>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>>
>>> Brought to you by Fig Leaf Software
>>> Premier Authorized Adobe Consulting and Training 
>>> http://www.figleaf.com http://training.figleaf.com
>>>
>>___
>>Flashcoders@chattyfig.figleaf.com
>>To change your subscription options or search the archive:
>>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
>>Brought to you by Fig Leaf Software
>>Premier Authorized Adobe Consulting and Training 
>>http://www.figleaf.com http://training.figleaf.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


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

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


RE: [Flashcoders] load/send XML data | Flash/JavaScript Integration Kit

2006-07-28 Thread Matthew Simpson
Or is there a better approach to get the XML in and out of Flash (other
than an external file)?

Yes, load the data dynamically from the servlet and forget the external
XML file altogether.

 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Maziak,
Peter
Sent: Friday, July 28, 2006 2:14 PM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] load/send XML data | Flash/JavaScript Integration
Kit

I have a flash app that gets populated by parsing data from an external
XML file.  However, my JSP development team tells me that to keep the
XML in a session it would be better to load the XML as a string from the
HTML (JSP).  Is it possible to put the XML into a hidden input field
within a form on the containing HTML?  How easy is it to have Flash
communicate with the HTML and vice-versa?  Or is there a better approach
to get the XML in and out of Flash (other than an external file)?
 
Also, I've looked into the Flash/JavaScript Integration Kit [
http://osflash.org/doku.php?id=flashjs OR
http://weblogs.macromedia.com/flashjavascript/ ] but am confused by the
installation instruction:

Copy the following library files from source/flash/actionscript
into your Flash Authoring classpath:
com/macromedia/javascript/JavaScriptProxy.as
com/macromedia/javascript/JavaScriptSerializer.as

Where is the Flash Authoring classpath!?
 
Thanks,
-Pete
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


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

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


RE: [Flashcoders] Flash AICC tracking

2006-07-26 Thread Matthew Simpson
Google it and there should be plenty if not, here's the entire method:

//Submit Purchase Order
public function submitPO(){
//construct new XML object 
var poXML:XML = new XML()
var element1:XMLNode = poXML.createElement("SUBMITPO");
element1.attributes.poTotal= acmm.poTotal;
poXML.appendChild(element1);
for (var i = 0; imailto:[EMAIL PROTECTED] On Behalf Of David
Brunswick
Sent: Wednesday, July 26, 2006 3:57 PM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] Flash AICC tracking

That sounds like a good solution where can I find xml object flash
samples?

David Brunswick
Multimedia Developer/OLP Administrator
FedEx Customer Information Services
Customer Service Organizational Learning
901-434-6605
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Matthew
Simpson
Sent: Wednesday, July 26, 2006 2:50 PM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Flash AICC tracking

I have not read the prior posts so I'm not sure if this is what you are
looking for, but I pass XML/Vars to JSP servlets all day using:

poXML.sendAndLoad(acmm.servletURL+"POManager", poReplyXML);

poXML is the doc I send
Acmm.servletURL is a dynamic var containing the JSP URL "POManager" is
the servlet name.
poReplyXML is the servlets reply in an XML object.

HTH

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David
Brunswick
Sent: Wednesday, July 26, 2006 3:35 PM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] Flash AICC tracking

Is there another way to call/pass info to servlet besides getURL?

David Brunswick
Multimedia Developer/OLP Administrator
FedEx Customer Information Services
Customer Service Organizational Learning
901-434-6605
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Aaron
Silvers
Sent: Wednesday, July 26, 2006 2:14 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Flash AICC tracking

Unfortunately, I think you're stuck with that html page.  It is what
keeps the connection open to the LMS to make sure that completion_status
is written to the learner's transcript.

AICC can an ugly mistress, depending on the LMS implementation.

-a-

On 7/26/06, David Brunswick <[EMAIL PROTECTED]> wrote:
>
> Hello List I am able to post completion to my LMS using 
> exitBtn.onRelease = function(){
>
>   getURL("myurl\myservlet?edt_action=RecModuleCmpl" , "POST");
> getURL("javascript: window.opener=self; window.close();"); }
>
> The problem is the servlet launches a html page verifying completion 
> which I do not want any ideas to prevent this?
>
> Fyi the second getURl closes the flash embedded html.
>
> David Brunswick
> Multimedia Developer/OLP Administrator FedEx Customer Information 
> Services Customer Service Organizational Learning
> 901-434-6605
>
>
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training 
> http://www.figleaf.com http://training.figleaf.com
>



--
-a-

Aaron E. Silvers
[EMAIL PROTECTED]
http://flashforlearning.com
--
"Whoso would be a man must be a nonconformist." - Ralph Waldo Emerson
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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

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

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


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

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

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

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting 

RE: [Flashcoders] Flash AICC tracking

2006-07-26 Thread Matthew Simpson
I have not read the prior posts so I'm not sure if this is what you are
looking for, but I pass XML/Vars to JSP servlets all day using:

poXML.sendAndLoad(acmm.servletURL+"POManager", poReplyXML);

poXML is the doc I send
Acmm.servletURL is a dynamic var containing the JSP URL
"POManager" is the servlet name.
poReplyXML is the servlets reply in an XML object.

HTH

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David
Brunswick
Sent: Wednesday, July 26, 2006 3:35 PM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] Flash AICC tracking

Is there another way to call/pass info to servlet besides getURL?

David Brunswick
Multimedia Developer/OLP Administrator
FedEx Customer Information Services
Customer Service Organizational Learning
901-434-6605
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Aaron
Silvers
Sent: Wednesday, July 26, 2006 2:14 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Flash AICC tracking

Unfortunately, I think you're stuck with that html page.  It is what
keeps the connection open to the LMS to make sure that completion_status
is written to the learner's transcript.

AICC can an ugly mistress, depending on the LMS implementation.

-a-

On 7/26/06, David Brunswick <[EMAIL PROTECTED]> wrote:
>
> Hello List I am able to post completion to my LMS using 
> exitBtn.onRelease = function(){
>
>   getURL("myurl\myservlet?edt_action=RecModuleCmpl" , "POST");
> getURL("javascript: window.opener=self; window.close();"); }
>
> The problem is the servlet launches a html page verifying completion 
> which I do not want any ideas to prevent this?
>
> Fyi the second getURl closes the flash embedded html.
>
> David Brunswick
> Multimedia Developer/OLP Administrator FedEx Customer Information 
> Services Customer Service Organizational Learning
> 901-434-6605
>
>
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training 
> http://www.figleaf.com http://training.figleaf.com
>



-- 
-a-

Aaron E. Silvers
[EMAIL PROTECTED]
http://flashforlearning.com
--
"Whoso would be a man must be a nonconformist." - Ralph Waldo Emerson
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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

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

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


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

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


RE: [Flashcoders] Junior Developer Flash/Flex Salary?

2006-06-20 Thread Matthew Simpson
55 - 60K is at the bottom of the ladder in the North East USA.  

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tristan
Sent: Tuesday, June 20, 2006 12:03 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Junior Developer Flash/Flex Salary?

Ok, denver colorado

On 6/20/06, Robert Chyko <[EMAIL PROTECTED]> wrote:
>
> All depends on location
>
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Tristan
> Sent: Tuesday, June 20, 2006 11:47 AM
> To: Flashcoders mailing list
> Subject: [Flashcoders] Junior Developer Flash/Flex Salary?
>
>
> Does 30-55K a year sound right with benefits for a junior developer? I

> have a college degree and an extensive IT background but, I'm just now

> getting into a professional job environment developing but, I have 
> been using flash for some time now. 30K sounds wa too low, would 
> you agree? If someone had 2-3 years experience, what should a 
> flash/flex developer get? What should they start at?
>
> Thanks
> T
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training 
> http://www.figleaf.com http://training.figleaf.com 
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training 
> http://www.figleaf.com http://training.figleaf.com
>
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


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

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


RE: [Flashcoders] ComboBox Halo

2006-06-15 Thread Matthew Simpson
Steven,

The problem went away with a save and compact.

Thanks for the assistance!

Matthew 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Steven
Sacks
Sent: Thursday, June 15, 2006 1:12 PM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] ComboBox Halo

When I experience crazy behavior like this in Flash that absolutely
shouldn't happen, I take a few steps.

1) Save and compact.  Quit Flash.  Restart my computer.

2) If that doesn't fix it, I try deleting the component from the
library, save and compact, quit Flash, relaunch, put the component back
in.

3) If that doesn't fix it, I make a copy of the file and take other
components out one at a time until I find the conflict.

4) If that still doesn't fix it, and I've exhausted every other
reasonable debugging technique, I take drastic action.  Sometimes, Flash
files simply get corrupted and there's nothing you can do about it
except make a brand new Flash file and copy everything from the old
movie into it.  It sucks, but sometimes that is the only solution.
Hopefully, your movie isn't too complicated and you can do this without
too much more than some copying and pasting.  Yes, this solution
actually works.

HTH,
Steven

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

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


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

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


[Flashcoders] ComboBox Halo

2006-06-15 Thread Matthew Simpson
Good Morning.

I have a ComboBox on stage which is not behaving properly. When I pull
down the list within the Combo the Halo surrounding the drop down list
stays visible on stage also when I use the scrollbar to scroll down to a
selection, the moment I move the mouse away from the scroll bar the drop
down rolls back up. I can use the scroll wheel on my mouse to make a
selection.

Has anyone encountered this type of behavior? 
 

Sincerely,

Matthew Simpson

Senior U.I. Engineer 

SmartEquip Inc.

203.604.1309

[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 

 

This e-mail, including attachments, is covered by the Electronic
Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential, and
may be legally privileged. If you are not the intended recipient, you
are hereby notified that any retention, dissemination, distribution, or
copying of this communication is strictly prohibited. Please reply to
the sender that you have received the message in error, and then please
delete it. Thank you.


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

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


RE: [Flashcoders] re: self published

2006-05-31 Thread Matthew Simpson
I see. Thanks for the knowledge Thomas. Sounds to me like an XML socket is the 
way to go. Good Luck!
 
Matthew



From: [EMAIL PROTECTED] on behalf of Thomas Marbois
Sent: Wed 5/31/2006 1:53 PM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] re: self published




reply to:

Message: 5
Date: Tue, 30 May 2006 20:01:08 -0400
From: "Matthew Simpson" <[EMAIL PROTECTED]>
Subject: RE: [Flashcoders] self published.
To: "Flashcoders mailing list" 
Message-ID:
<[EMAIL PROTECTED]>
Content-Type: text/plain; charset="iso-8859-1"

I might stand alone on this but these questions popped into my mind 
before I got to the second paragraph of your post: Why would I want 
an open channel of communication between my applications (swf's) and 
you? Why must your utility communicate with your servers? Why would 
you not create your utility and make it available via the exchange as 
a component instead?


--

- its a game or utility that allows real-time interaction with others.
- my server PUSHES data to your screen.
- its not designed for Flash developers to add into the site - its 
designed for anyone with a moderate level of html skills to self 
publish into a site.

- I may instead GIVE a URL link for them to embed or copy into their 
site - but I want to know the benefits or cons for either method.

method a = embed a SWF in someones own domain and communicate with it 
-- push data to it -- via XML socket?
method b = GIVE someone a referenced URL link that they embed into 
their own site.

Does that make sense?

regards

Tj




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

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



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

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

[Flashcoders] Tab component SDK

2006-05-31 Thread Matthew Simpson
Does anyone know where to acquire the SDK with the v2 tab component? I inquired 
with Adobe several months ago and was pointed to third party re-sellers which 
turned into dead ends. Googling returned the same third party dead end results.
 
TIA
 
Matthew

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

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


RE: [Flashcoders] self published.

2006-05-30 Thread Matthew Simpson
I might stand alone on this but these questions popped into my mind before I 
got to the second paragraph of your post: Why would I want an open channel of 
communication between my applications (swf's) and you? Why must your utility 
communicate with your servers? Why would you not create your utility and make 
it available via the exchange as a component instead?
 
 



From: [EMAIL PROTECTED] on behalf of Thomas Marbois
Sent: Tue 5/30/2006 7:40 PM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] self published.



Hi

I have an idea for a self placed utility using Flash.  Meaning I 
allow users to place this utility in their own domains - and I dont 
know where those domains are -- and my utility allows me real-time 
communications between their published file - and my servers.

What kind of Flash security issues will i have to work around to get 
this to work on most or all domains?  Is this possible?  How?

Best regards,

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

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



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

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

RE: [Flashcoders] Test CPU/performance/rendering

2006-05-24 Thread Matthew Simpson
AFAIK the system.capabilities object is not capable of determining the highest 
FPS of the current viewer. Mostly it is for fairly vanilla info such as what 
FPlayer is running, OS, has Audio, has Video, etceteras. Which is not saying 
there is not a way to do so. If there is, peeps on this list will chime in and 
help.

That being said, my two cents would be to establish a baseline system/setup 
that you are programming for and develop for those systems and above. When you 
establish a baseline system, you have a clear cut black and white measurement 
of success which of course is very important when dealing with clients. 

Not much but HTH...



-Original Message-
From: [EMAIL PROTECTED] on behalf of Mick G
Sent: Wed 5/24/2006 7:27 PM
To: Flashcoders mailing list
Subject: [Flashcoders] Test CPU/performance/rendering
 
I'm building a fairly demanding site that has a fair bit of animation and
rather than aiming for an average performance level of animation for my
users, I'd like to turn off/on some features of the site depending on
rendering capabilities of the users computer.

Does anyone have any recommendations on the best way to achieve this? Off
the top of my head I guess finding out the highest FPS the current viewer
can achieve and flagging them as "high" or "low" performance depending on
the results. Any other suggestions?
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


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

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

RE: [Flashcoders] Slides/Screens Question - Help!

2006-05-24 Thread Matthew Simpson
Loren,

Have you tried using the output panel? EG. Get your external content loaded and 
running in your preso
then debug using List Object/Variables to the output panel. CTRL F to find the 
.swf you loaded into the preso...

-Original Message-
From: [EMAIL PROTECTED] on behalf of Loren R. Elks
Sent: Wed 5/24/2006 6:24 PM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Slides/Screens Question - Help!
 
OK.  I am creating this in a Flash Slide Presentation, NOT the normal
Flash document.

I have two buttons (play and pause) on the Master Slide (Presentation).
These buttons need to control the external content (external SWF) that
is loaded into each slide of the presentation.

For example, when Johnny clicks the Pause button (located on the Master
Slide), content1.swf which is loaded and playing inside Slide 1 stops.

I can't figure out the scoping on Slides and Forms.  Can anyone help?

If anyone knows of any really good web tutorials on Flash Form
Applications and Flash Slide Presentations, please let me know.

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

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


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

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

RE: [Flashcoders] gotoAndStop and Frame labels as Numbers

2006-05-23 Thread Matthew Simpson
Thanks for the knowledge Kevin. 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Fitzpatrick, Kevin
Sent: Tuesday, May 23, 2006 4:36 PM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] gotoAndStop and Frame labels as Numbers

Matthew,

Because in this case "2" would refer to the second of a number of
"slides".  I know it's not an ideal situation.  


Jason,
As to it being a best practice to start with a non-numeric character, I
totally understand the logic behind that.  However, I believe that this
is flaw in the player that we are being detoured around by the *best
practices*.  As we all know "2" is very different from 2.  If I specify
a string "2" why would the player reinterpret that into the Number(2)?
Whether I named it a silly name or not, why would the developers have
thought that I'd want them to change the datatype of my parameter when I
explicitly defined it as a String?  

We'll probably work around it by calling the frame "Slide 2" or whatever
but it does seem like a silly restriction.  

Of course, there is *always* the chance that I'm doing something
incredibly wrong, too :)

Thanks,
Kevin

Kevin Fitzpatrick
Flash Designer,
SAP.com Web Services Team - SAP Global Marketing SAP Global Solutions
Center
3999 West Chester Pike
Newtown Square, PA 19073
C (267) 254-6225
E [EMAIL PROTECTED]

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Matthew
Simpson
Sent: Tuesday, May 23, 2006 1:42 PM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] gotoAndStop and Frame labels as Numbers

Just curious, but why would you want to use numerics as frame labels
then use frameLabel:String? Why not frameLabel:Number?

 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Fitzpatrick, Kevin
Sent: Tuesday, May 23, 2006 1:33 PM
To: Flashcoders mailing list
Subject: [Flashcoders] gotoAndStop and Frame labels as Numbers

Hey all,

A question regarding frame labels. When using the
gotoAndStop(frameLabel:String) method in a simple flash movie and the
string could be evaluated to a Number (such as the string "2" or "20")
it seems that the flash player does evaluate it and sends the playhead
to *frame 2* instead of the frame *labeled '2' *.

Does everyone else experience this problem and is there anyway around it
that still allows one to label a frame with a string that could be a
number.

Sorry if that was a bit confusing.

Thanks,
Kevin

Kevin Fitzpatrick
Flash Designer,
SAP.com Web Services Team - SAP Global Marketing SAP Global Solutions
Center
3999 West Chester Pike
Newtown Square, PA 19073
C (267) 254-6225
E [EMAIL PROTECTED]

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

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


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

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


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

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


RE: [Flashcoders] gotoAndStop and Frame labels as Numbers

2006-05-23 Thread Matthew Simpson
Just curious, but why would you want to use numerics as frame labels
then use frameLabel:String? Why not frameLabel:Number?

 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Fitzpatrick, Kevin
Sent: Tuesday, May 23, 2006 1:33 PM
To: Flashcoders mailing list
Subject: [Flashcoders] gotoAndStop and Frame labels as Numbers

Hey all,

A question regarding frame labels. When using the
gotoAndStop(frameLabel:String) method in a simple flash movie and the
string could be evaluated to a Number (such as the string "2" or "20")
it seems that the flash player does evaluate it and sends the playhead
to *frame 2* instead of the frame *labeled '2' *.

Does everyone else experience this problem and is there anyway around it
that still allows one to label a frame with a string that could be a
number.

Sorry if that was a bit confusing.

Thanks,
Kevin

Kevin Fitzpatrick
Flash Designer,
SAP.com Web Services Team - SAP Global Marketing SAP Global Solutions
Center
3999 West Chester Pike
Newtown Square, PA 19073
C (267) 254-6225
E [EMAIL PROTECTED]

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

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


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

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


RE: [Flashcoders] Flex list

2006-05-23 Thread Matthew Simpson
I believe it is on Yahoo John... 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John
Grden
Sent: Tuesday, May 23, 2006 10:12 AM
To: Flashcoders mailing list
Subject: [Flashcoders] Flex list

what's the main list people are using for Flex discussion?

Thanks for the help,

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

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


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

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


RE: [Flashcoders] Can form based nested screens be delayed if not external

2006-05-22 Thread Matthew Simpson

We have found externals are the best way.  

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rich
Rodecker
Sent: Monday, May 22, 2006 2:50 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Can form based nested screens be delayed if
not external

you could probably change the loading frame for your classes in the
export settings, so that they arent loaded in frame 1.

On 5/22/06, Manuel Saint-Victor <[EMAIL PROTECTED]> wrote:
> Is the only way to delay loading of child forms in an form based 
> app-if the swfs are externally loaded?  I have a couple of child forms

> with assets etc right in them and am using ARP.  I am wondering the 
> best way to shrink that initial load time.  Right now I'm thinking the

> only way is using external swf files.
>
> Thanks,
>
> Mani
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training 
> http://www.figleaf.com http://training.figleaf.com
>
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


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

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


RE: [Flashcoders] dataGrid and editable text...

2006-05-22 Thread Matthew Simpson
Adding focusIn and focusOut listeners as shown below should help you
out...I found that even though I set a column to editable.false it would
open itself for data occasionally when going (clicking) from an editable
cell to an un-editable one...HTH  


// admin_dg cell focus in listener object var mfrAdmin_dgListener:Object
= new Object(); mfrAdmin_dgListener.cellFocusIn =
function(evt_obj:Object) {

var cell_str:String = "("+evt_obj.columnIndex+",
"+evt_obj.itemIndex+")";
//trace("The cell at "+cell_str+" has gained focus");

var Verified:String = new
String(evt.target.selectedItem.verified);
// Make DataGrid uneditable
mfrAdmin_dg.editable = false;

if (Verified == "true") {
// Make DataGrid uneditable
mfrAdmin_dg.editable = false;
submit_btn.enabled = false;
var notify = Alert.show("Credentials are verified:\n no
changes allowed.", Alert.OK, this);
notify.title = "MFR Credentials - Verified";
} else if (Verified == "false") {
// Make DataGrid editable
mfrAdmin_dg.editable = true;
// Make the UName column read-only
mfrAdmin_dg.getColumnAt(1).editable = true;
mfrAdmin_dg.getColumnAt(2).editable = true;
mfrAdmin_dg.getColumnAt(0).editable = false;
mfrAdmin_dg.getColumnAt(3).editable = false;
}
};
// Add listener
mfrAdmin_dg.addEventListener("cellFocusIn", mfrAdmin_dgListener);

// admin_dg cell focus out listener object var
mfrAdmin_dgListener:Object = new Object();
mfrAdmin_dgListener.cellFocusOut = function(evt_obj:Object) {

var cell_str:String = "("+evt_obj.columnIndex+",
"+evt_obj.itemIndex+")";
//trace("The cell at "+cell_str+" has lost focus");

var Verified:String = new
String(evt.target.selectedItem.verified);
// Make DataGrid uneditable
mfrAdmin_dg.editable = false;
mfrAdmin_dg.getColumnAt(0).editable = false;
mfrAdmin_dg.getColumnAt(1).editable = false;
mfrAdmin_dg.getColumnAt(2).editable = false;
mfrAdmin_dg.getColumnAt(3).editable = false;

submit_btn.enabled = true;

};
// Add listener
mfrAdmin_dg.addEventListener("cellFocusOut", mfrAdmin_dgListener); 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
grimmwerks
Sent: Monday, May 22, 2006 2:06 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] dataGrid and editable text...

You know, even if I SET the grid.editable = false, the first column is
ALWAY editable.

I've even flipped cellRenderers as tests -- this thing is driving me
bonkers.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


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

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


RE: [Flashcoders] dataGrid and editable text...

2006-05-22 Thread Matthew Simpson
Let me guess...column 1 is un-editable if you try and edit it first, but
when you go from an editable column to column 1 sometimes it is editable
right? Or is it always editable?

 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
grimmwerks
Sent: Monday, May 22, 2006 1:42 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] dataGrid and editable text...

Dammit - them beanz ain't cool enough...

hate to be more of a PITA than I already am -- but now I want to make
the first column NOT editable.

So I've set the db.editable = true -- that sets all them beanz editable.
Then I've dg.getColumnAt(0).editable = false -- and that bean is still
flipping into an editable textField.

I'm sure it's just the way I'm doing something idiotic...
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


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

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


RE: [Flashcoders] dataGrid and editable text...

2006-05-22 Thread Matthew Simpson
Kool Beanz Grimm... 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
grimmwerks
Sent: Monday, May 22, 2006 1:27 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] dataGrid and editable text...

AH! Thanks Matthew -- though I didn't set the grid.editable to false
-- when I set it to TRUE, then it all worked.

So though the columns themselves are set to true, if the grid wasn't set
to true, it canceled it all out...

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

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


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

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


RE: [Flashcoders] dataGrid and editable text...

2006-05-22 Thread Matthew Simpson
As long as the grid itself and the columns within are set to editable,
the grid through the IDE or programmatically and the columns
programmatically, you should not have any problems accessing a field
within...I'd have to look at the code...

 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
grimmwerks
Sent: Monday, May 22, 2006 12:52 PM
To: Flashcoders mailing list
Subject: [Flashcoders] dataGrid and editable text...

Ok if I create a datagrid and assign a dataprovider, all the datagrid
components are fields, but only the first colun is editable -- I've
tried doing dg.getColumnAt(2).editable = true both before and after the
dataProvider set, but it's always just the first column that remains
editable...

what is it I'm missing?
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


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

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


RE: [Flashcoders] cellRender and editField questions

2006-05-22 Thread Matthew Simpson
I see...I looked at the example...stupid question is your dg.editable =
true?  

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
grimmwerks
Sent: Monday, May 22, 2006 12:42 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] cellRender and editField questions

Not exactly, but I appreciate the post.

My problem is that even if I set something as editable, I'm not getting
a textField where one can enter the data.

For example in this tutorial:
http://www.flash-db.com/Tutorials/cellrenderer/

If you doubleclick the car icon, you get a textField to enter in text.
But in the iconCellRender.as I can't find anything that has to do with
creating that textfield, etc.

I want to have multiple things like this in a grid - something that
someone can double click and change...
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


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

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


RE: [Flashcoders] problems loading an image into a movieclip

2006-05-22 Thread Matthew Simpson


this.createEmptyMovieClip("container_mc", 10);
container_mc.loadMovie("penguin.bmp");
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Monday, May 22, 2006 12:33 PM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] problems loading an image into a movieclip

Hi,
i have a movie with a button and a movieclip.
I want that when i click the button an external image is visualized into
the movieclip.

I called the movieclip instance ic and in add this code to the button :

on(click)
{
   loadMovie("penguin.bmp",ic);
}

the problem is that the movieClip became white but the image is not
visualized...
Ehat's wrong?
Thanks,Riccardo
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


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

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


RE: [Flashcoders] cellRender and editField questions

2006-05-22 Thread Matthew Simpson
Here's a snippet from one of the dg's I have to edit...HTH 


var mfrAdmin_dg:DataGrid;
var mfrAdmin_dgListener:Object = new Object();
mfrAdmin_dgListener.change = function(evt:Object) {

//trace("Selected MFR = "+evt.target.selectedItem.manufacturer);
//trace("Selected USR = "+evt.target.selectedItem.username);
//trace("Selected PWD = "+evt.target.selectedItem.password);
//trace("Selected VFD = "+evt.target.selectedItem.verified);

//trace("DS Length = "+mfrAdmin_ds.length);


var Verified:String = new
String(evt.target.selectedItem.verified)

// Make DataGrid read-only
mfrAdmin_dg.editable = false;


if (Verified == "true") {

// Make DataGrid read-only
mfrAdmin_dg.editable = false;

submit_btn.enabled = false;

var notify = Alert.show("Credentials are verified:\n no
changes allowed.", Alert.OK, this);
notify.title = "MFR Credentials - Verified";
notify.move(330,270);

}else if (Verified == "false") {

// Make DataGrid editable
mfrAdmin_dg.editable = true;
// Make the Username & Password column editable
mfrAdmin_dg.getColumnAt(1).editable = true;
mfrAdmin_dg.getColumnAt(2).editable = true;

_root.application.breadcrumb_mc.bc1_mc._alpha = 50;
_root.application.breadcrumb_mc.bc2_mc._alpha = 50;

submit_btn.enabled = true;

}
};
mfrAdmin_dg.addEventListener("change", mfrAdmin_dgListener); 




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
grimmwerks
Sent: Monday, May 22, 2006 10:27 AM
To: Flashcoders mailing list
Subject: [Flashcoders] cellRender and editField questions

Hey all -

I've got a dataGrid that I'm filling with custom cells -- one is the
multiline cell render example from Macromedia.

How exactly do I deal with an editField for this so that when one
doubleclicks it they can change the text?

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

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


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

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


RE: [Flashcoders] datagGRid elements alignment

2006-05-15 Thread Matthew Simpson
col.setStyle("textAlign", "center");


-Original Message-
From: [EMAIL PROTECTED] on behalf of [EMAIL PROTECTED]
Sent: Mon 5/15/2006 12:03 PM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] datagGRid elements alignment
 
Hi,
there is a way to align a datagrid column on the left ?
i mean dispose all elements of a certain row on the left?
Thanks,Riccardo
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


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

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

RE: [Flashcoders] Restrict textarea

2006-05-13 Thread Matthew Simpson
add in the special chars you want removed...


class Text {
   static function trim(str:String):String {
  //trace("Text.trim called: " + str);
  if (typeof str != "string") return "";
  var whiteSpace = " \r\n\t\f";
  //Make sure str is a string
  var startPos = 0;
  //Note: if 0 length string startPos will be 0
  var endPos = str.length-1;
  //Note: if 0 length string endPos will be -1
  while (startPos-1) {
 if (whiteSpace.indexOf(str.charAt(endPos))<0) {
break;
 } else {
endPos--;
 }
  }
  if (startPos>endPos) {
 return "";
  }
  return str.substring(startPos, endPos+1);
   }

   static function strip(str:String):String {
  //trace("Text.strip called: " + str);
  var whiteSpace = "\r\n\t\f";
  var tempStr = "";
  for (var i = 0; i < str.length; i++){
 var c = str.charAt(i);
 if (whiteSpace.indexOf(c) == -1) {
tempStr += c;
 }
  }
  return tempStr;
   }
   
}


-Original Message-
From: [EMAIL PROTECTED] on behalf of Jonathan Berry
Sent: Sat 5/13/2006 1:08 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Restrict textarea
 
Users are copying and pasting from a command line program and we are getting
some special characters that are coming through.

On 5/12/06, Matthew Simpson <[EMAIL PROTECTED]> wrote:
>
> Jonathon,
>
> I'm not sure I understand...A user is inputting the special characters as
> they type?
>
> Matthew

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

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


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

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

RE: [Flashcoders] Restrict textarea

2006-05-12 Thread Matthew Simpson
Jonathon,

I'm not sure I understand...A user is inputting the special characters as they 
type?

Matthew


-Original Message-
From: [EMAIL PROTECTED] on behalf of Jonathan Berry
Sent: Fri 5/12/2006 6:24 PM
To: Flashcoders mailing list
Subject: [Flashcoders] Restrict textarea
 
Hello all,
I googled and read the livedocs and searched the archives for this to no
avail. How can one restrict carriage returns and newlines in TextInput and
TextArea components? I tried
input_ti.restrict = "\u0020-\u007F"; and input_ti.restrict =
"^\u-\u0019";
but no luck with those. There appears to be some sort of carriage returns or
new line characters that are getting through. Hope you can advise or send me
a link. Thanks in advance.
-- 
Jonathan Berry, M.A.
IT Consultant
619.306.1712(m)
[EMAIL PROTECTED]
www.mindarc.com

---

This E-mail is covered by the Electronic Communications Privacy Act, 18
U.S.C. ?? 2510-2521 and is legally privileged.
This information is confidential information and is intended only for
the use of the individual or entity named above. If the reader of this
message is not the intended recipient, you are hereby notified that any
dissemination, distribution or copying of this communication is strictly
prohibited.

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

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


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

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

RE: [Flashcoders] dynamic creation of a datagrid

2006-05-10 Thread Matthew Simpson

import mx.controls.gridclasses.DataGridColumn;
var colNamevar1:DataGridColumn = item_dg.addColumn(new
DataGridColumn("colNamevar1"));
colNamevar1.headerText = "Name:";

item_dg.addItem({colNamevar1:dynVal1, colNamevar2:dynVal2,
colNamevar3:dynVal3});  

Inside of a while loop should be sufficient -- as long as the var names
you use to assign the column Headers is identical to the addItem code...


Below is a snippet of how we fill dg's with dynamic XML...

while (theXML.firstChild.firstChild.hasChildNodes()){   
x++;
var z = theXML.firstChild.firstChild;
for (var i = 0; imailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Wednesday, May 10, 2006 1:51 PM
To: flashcoders@chattyfig.figleaf.com
Subject: RE: [Flashcoders] dynamic creation of a datagrid

I use a perl script that give me a big string with | as row delimiter
and # as cell delimiter.
I'm able to spit it by rows and split every row .
I also have another string with all headers.

I'm able to add headers but i don't know how to add data...
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


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

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


RE: [Flashcoders] dynamic creation of a datagrid

2006-05-10 Thread Matthew Simpson
How is the data traveling back to flash from the DB? 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Wednesday, May 10, 2006 1:39 PM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] dynamic creation of a datagrid

Hi,
i need to put into a datagrid data coming from a db.
The problem is the number of columns is variable.
I use addColumn to add n new columns with their names, but when is time
to use assItem i don't know what to do...
The use of addItem is addItem( { col1: "val1",col2:val2 } ) but i know
col1 and col2 only at runtime 
What can i do to solve this problem?

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

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


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

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


RE: [Flashcoders] ? page refresh loop ?

2006-04-25 Thread Matthew Simpson
At which point in the movie does the site refresh?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sibrand
Hoekstra | Buyways B.V.
Sent: Tuesday, April 25, 2006 3:54 AM
To: Flashcoders mailing list
Subject: [Flashcoders] ? page refresh loop ?

Hello List,

today i am writing a menu in flash, which reads its contents from an xml

file.
I wrote the entire thing in flash 8 pro on windows xp.
In the office, we're all on linux, some on Debian and some on ubuntu, 
but the thing is:

When my colleague watches the html page in his [linux] firefox, the 
website keeps refreshing.
I am also on linux -ubuntu 5.10- and nothing's wrong, except no 
transparent background.
[this is a less important issue, can fix that in various ways]


So, can anyone figure out what is happening here?


    http://jim.buyways.nl/martiniplaza/   

Cheers,

Siep

-- 
Sibrand Hoekstra   BuyWays BVT +31 50 3118123
[EMAIL PROTECTED] Friesestraatweg 217c  F +31 50 3118124
http://www.buyways.nl  9743 AD  GroningenM +31 6 41910167

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

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


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

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


RE: [Flashcoders] WebService woes

2006-04-21 Thread Matthew Simpson
It's in their WS.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andreas Rønning
Sent: Friday, April 21, 2006 10:15 AM
To: Flashcoders mailing list
Subject: [Flashcoders] WebService woes

In the IDE, this works fine, and i have gotten no security sandbox 
warnings. In the SAplayer or browser, i get this:

FAULT
Unable to load WSDL, if currently online, please verify the URI and/or 
format of the WSDL

I've verified the URI, as it works in the IDE, but not outside.

Is this a problem on my end or theirs (i didn't do the webservice)?

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

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


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

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


RE: [Flashcoders] "+" simbol issue help

2006-03-29 Thread Matthew Simpson
I believe your + is not showing b/c it is being interpreted as a
mathematical operator and all content post the + sign as octal.

Try the "dynamic string"+"+"+"dynamic string"


HTH
Matthew
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alfredo
Laguia
Sent: Wednesday, March 29, 2006 8:58 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] "+" simbol issue help

yes i added the symbol in the list
and i did everything that i do allways

the code is simple:
*
misVars = new LoadVars()
var cantidad:Number
misVars.onLoad = function(success){
  if(success){
   //trace(misVars)
   cantidad = misVars.cant
   montoDatos()
   trace(misVars["titulo"+3])
  }
  else{
   trace("error al cargar los datos")
  }
 }


misVars.load("http://www.inaltia.es/demo/loadInfoNoticias.asp";, GET)



var posY = 60
montoDatos = function(){
 for(var i= 0; i
To: "Flashcoders mailing list" 
Sent: Wednesday, March 29, 2006 3:52 PM
Subject: Re: [Flashcoders] "+" simbol issue help


> Are you using an embedded font?
>
> If so, have you remembered to add the + symbol to the list of embedded
> characters?
>
> HTH,
>  Ian
>
> On 3/29/06, Alfredo Laguia <[EMAIL PROTECTED]> wrote:
>
>>   hi there
>>   what can i do to show "+" symbol in a dynamic textfield??
>>
>>   i take the data from an asp and calling the asp throw the
explorer 
>> i can see the content data without issue.
>>
>>
>>   thx for help!
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com 

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

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


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

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


RE: [Flashcoders] trouble with alert component

2006-03-27 Thread Matthew Simpson
We run into that problem here too and eliminate it by adding \n to our
messages...

HTH

Matthew

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Robin
Burrer
Sent: Monday, March 27, 2006 12:52 AM
To: Flashcoders mailing list
Subject: [Flashcoders] trouble with alert component

Hi there,

When I send a alert message to the v2 alert component it dose not show
the last couple of lines of the message. The wired thing is that on some
computers all characters of the message are displayed. It length of the
message dose not really make a difference though. Regardless if I want
to display two or twenty lines the last line is always missing.

This is driving me mad - any ideas?

Cheers

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

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


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

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