List Info

Thread: attach and email MC with contextMenu




attach and email MC with contextMenu
user name
2007-10-12 15:32:55
I have a MC (with plain text) in AS2 I would like to right-click on, and get it to attach to an email.
Making email function for contextMenu is easy, but is there any way to attach itmes currently loaded into stage (by loader component) to the email?

I was trying to loop through all the text in the MC, and I am stuck from hereon ... the code so far ...
-------------------------------------

function doSomething(obj:Object, item:ContextMenuItem) {
    var textOnStage:LoadVars = new LoadVars();
 &nbsp;  for (var i = 0; i<_root.text1.length; i++) {
 &nbsp;   &nbsp;  textOnStage.html = true;
&nbsp; &nbsp; }
 &nbsp;  getURL("mailto:");
}
MENU = new ContextMenu();
MENU.hideBuiltInItems();
Functioned = new ContextMenuItem("Email this text", doSomething);
MENU.customItems.push(Functioned, Functioned.separatorBefore=true);
_root.menu = MENU;

---------------------------------------
Many thanks for any ideas, Robert


Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy! Try it!
Re: attach and email MC with contextMenu
user name
2007-10-13 11:08:32
Can you load the stage items into an XML file and email
that? I'm just
brainstorming, here.

On 10/12/07, robert nikolic <robert.nikolichotmail.com> wrote:
>
>  I have a MC (with plain text) in AS2 I would like to
right-click on, and
> get it to attach to an email.
> Making email function for contextMenu is easy, but is
there any way to
> attach itmes currently loaded into stage (by loader
component) to the email?
>
> I was trying to loop through all the text in the MC,
and I am stuck from
> hereon ... the code so far ...
> -------------------------------------
>
> function doSomething(obj:Object, item:ContextMenuItem)
{
>     var textOnStage:LoadVars = new LoadVars();
>     for (var i = 0; i<_root.text1.length; i++) {
>         textOnStage.html = true;
>     }
>     getURL("mailto:");
> }
> MENU = new ContextMenu();
> MENU.hideBuiltInItems();
> Functioned = new ContextMenuItem("Email this
text", doSomething);
> MENU.customItems.push(Functioned,
Functioned.separatorBefore=true);
> _root.menu = MENU;
>
> ---------------------------------------
> Many thanks for any ideas, Robert
>
> ________________________________
> Invite your mail contacts to join your friends list
with Windows Live
> Spaces. It's easy! Try it!
> _______________________________________________
> FlashLoungechattyfig.figleaf.com
> To change your subscription options or search the
archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashloun
ge
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.c
om
>
_______________________________________________
FlashLoungechattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashloun
ge

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

RE: attach and email MC with contextMenu
user name
2007-10-13 20:05:33
How do you propose to do that? Probably yes ...

> Date: Sat, 13 Oct 2007 12:08:32 -0400
> From: arva.adamsgmail.com
> To: flashloungechattyfig.figleaf.com
> Subject: Re: [FlashLounge] attach and email MC with contextMenu
>
> Can you load the stage items into an XML file and email that? I'm just
> brainstorming, here.
>
> On 10/12/07, robert nikolic <robert.nikolichotmail.com> wrote:
>; >
> > I have a MC (with plain text) in AS2 I would like to right-click on, and
> > get it to attach to an email.
>; > Making email function for contextMenu is easy, but is there any way to
> > attach itmes currently loaded into stage (by loader component) to the email?
>; >
> > I was trying to loop through all the text in the MC, and I am stuck from
> > hereon ... the code so far ...
> > -------------------------------------
> >
> > function doSomething(obj:Object, item:ContextMenuItem) {
> > var textOnStage:LoadVars = new LoadVars();
> > for (var i = 0; i<_root.text1.length; i++) {
> > textOnStage.html = true;
> > }
> > getURL("mailto:");
&gt; > }
> > MENU = new ContextMenu();
> > MENU.hideBuiltInItems();
> > Functioned = new ContextMenuItem("Email this text", doSomething);
> > MENU.customItems.push(Functioned, Functioned.separatorBefore=true);
> > _root.menu = MENU;
> >
> > ---------------------------------------
>; > Many thanks for any ideas, Robert
>; >
> > ________________________________
> > Invite your mail contacts to join your friends list with Windows Live
> > Spaces. It's easy! Try it!
> > _______________________________________________
> > FlashLoungechattyfig.figleaf.com
> > To change your subscription options or search the archive:
&gt; > http://chattyfig.figleaf.com/mailman/listinfo/flashlounge
> >
> > Brought to you by Fig Leaf Software
&gt; > Premier Authorized Adobe Consulting and Training
&gt; > http://www.figleaf.com
> > http://training.figleaf.com
> >
> _______________________________________________
> FlashLoungechattyfig.figleaf.com
> To change your subscription options or search the archive:
&gt; http://chattyfig.figleaf.com/mailman/listinfo/flashlounge
>
> Brought to you by Fig Leaf Software
&gt; Premier Authorized Adobe Consulting and Training
&gt; http://www.figleaf.com
> http://training.figleaf.com


Get news, entertainment and everything you care about at Live.com. Check it out!
[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )