Re: [Flashcoders] Any experience developing with Flex on a Mac?

2012-10-02 Thread Gustavo Duenas
You can use eclipse and the flex plugin, so far I have those also, if  
you want you can go to adobe and and ask for a free license for flex.  
( I have it)


Gus
On Oct 2, 2012, at 10:50 AM, Hans Wichman wrote:


bootcamp :)

On 2-10-2012 16:35, Joel Johnson wrote:

Hey,

I was looking for a good FlashDevelop alternative on Mac, and can't  
seem to
find one. I've been reading that TextMate and Eclipse are possible  
options,

but wanted to know what you guys thought.
I'm looking to develop casual games for internet browsers, and  
ultimately
as AIR apps for mobiles. I'll be quite possibly be using the  
Starling2D

framework with Flex and AIR.

What would you suggest?

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


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



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


Re: [Flashcoders] Actionscript lives on.

2012-09-18 Thread Gustavo Duenas

what program did you use for creating apps for android and ios?

Gus
On Sep 18, 2012, at 11:02 AM, Ima Newsletta wrote:

Actionscript "can manipulate" DOM... because as1 is quite the same  
as js.
My personal experience: I'm a flash developer since 2002, I've begun  
with Flash 6 (before I was a "classic" programmer, c, clipper and so  
on).
I appreciated very much when As3 came out because I was freed by  
that nightmare of implementing class with prototype, by passing  
always the context and so on...
Now, because "I have family", I was forced to learn html+js (and  
obviously jQuery) and I'm back into prototypes and context nightmare.
Ok let's say that I feel pretty strong and confortable with them,  
but it's a jump of at least 6 years in the past.
However, the REAL NIGHTMARE that I had forgottend since 2002 is that  
OBVIOUSLY html+js (also by using jQuery) differs from browser to  
browser.
jQuery helps a lot, however you have to test your webapp  on many  
browser and a lot of times what works on one, doesn't on another.
The real bad thing is that also on the language javascript there are  
important differences among the browser and you'll learn these only  
when they are in front of you.
For example, setTimeout(myFunction, 1000, myParam) won't work on  
explorer and you have to write it in this way:

setTimeout(function(){myFunction(myParam)} , 1000);
And this is just an example...

Btw I didn't left Flash, I use it for making Android and iOS apps  
and it works very well.
I made 4 apps, free on Android (with advertising banners by using an  
ANE) and with fee on Apple Store.


P.S. Sorry for my English, it's not my native tongue.


Il 18/09/2012 15:22, Merrill, Jason ha scritto:
Make it an EMCA viable script language. Like Actionscript  
becoming Javascripts competitor. Make it so Actionscript can  
control and manipulate DOM.

Just sayin..

THAT would be AWESOME and make me VERY HAPPY.

 Jason Merrill
 Instructional Technology Architect II
 Bank of America  Global Learning


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


References to "Sender" are references to any subsidiary of Bank of  
America Corporation. Securities and Insurance Products: * Are Not  
FDIC Insured * Are Not Bank Guaranteed * May Lose Value * Are Not a  
Bank Deposit * Are Not a Condition to Any Banking Service or  
Activity * Are Not Insured by Any Federal Government Agency.  
Attachments that are part of this EC may have additional important  
disclosures and disclaimers, which you should read. This message is  
subject to terms available at the following link:
http://www.bankofamerica.com/emaildisclaimer. By messaging with  
Sender you consent to the foregoing.

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


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



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


Re: [Flashcoders] I invite everyone to troll Apple's support forums

2012-01-13 Thread Gustavo Duenas

agreed
On Jan 13, 2012, at 8:04 AM, Matt S. wrote:


+Like.

On Fri, Jan 13, 2012 at 2:43 AM, Ima Newsletta
wrote:


Yes, until html5 will do a lot of damage to the web.
I'm sorry but I think that the only ones that do a damage to the  
web are
the poor creatives and the poor programmers, not a specific  
technology.



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



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


Re: [Flashcoders] ustream on flash tutorial

2011-09-30 Thread Gustavo Duenas

I found this for all those who wants to make their own ustream viewer.

here it is

http://svn.ustream.tv/flash/samples/viewer/


On Sep 21, 2011, at 11:34 PM, Karl DeSaulniers wrote:


try these..

http://www.ustream.tv/forum/showthread.php?5816-Custom-as3-player-Live-stream
http://www.conversationmarketing.com/2007/09/streaming_video_creating_a_pro.htm

the latter looked promising. dont have time to read out.
HTH,

Best,
Karl

OH.. and I googled "as3 and ustream tutorial"  ;)


On Sep 21, 2011, at 10:03 PM, Gustavo Duenas wrote:

Yep I tried, but it is so obscure and in the ustream site they  
don't have something like a step by step tutorial, don't you know  
other place or a page?


gus
On Sep 21, 2011, at 9:38 PM, Karl DeSaulniers wrote:


I think there is an list archive on this one.

Best,
Karl

Sent from losPhone

On Sep 21, 2011, at 8:32 PM, Gustavo Duenas > wrote:


does anyone knows how to integrate ustream with flash or at least  
point me to a good tutorial about it.


Thanks,

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


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



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


Karl DeSaulniers
Design Drumm
http://designdrumm.com

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



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


Re: [Flashcoders] ustream on flash tutorial

2011-09-22 Thread Gustavo Duenas

thanks buddy ;)

Gus
On Sep 21, 2011, at 11:34 PM, Karl DeSaulniers wrote:


try these..

http://www.ustream.tv/forum/showthread.php?5816-Custom-as3-player-Live-stream
http://www.conversationmarketing.com/2007/09/streaming_video_creating_a_pro.htm

the latter looked promising. dont have time to read out.
HTH,

Best,
Karl

OH.. and I googled "as3 and ustream tutorial"  ;)


On Sep 21, 2011, at 10:03 PM, Gustavo Duenas wrote:

Yep I tried, but it is so obscure and in the ustream site they  
don't have something like a step by step tutorial, don't you know  
other place or a page?


gus
On Sep 21, 2011, at 9:38 PM, Karl DeSaulniers wrote:


I think there is an list archive on this one.

Best,
Karl

Sent from losPhone

On Sep 21, 2011, at 8:32 PM, Gustavo Duenas > wrote:


does anyone knows how to integrate ustream with flash or at least  
point me to a good tutorial about it.


Thanks,

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


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



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


Karl DeSaulniers
Design Drumm
http://designdrumm.com

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



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


Re: [Flashcoders] ustream on flash tutorial

2011-09-21 Thread Gustavo Duenas
Yep I tried, but it is so obscure and in the ustream site they don't  
have something like a step by step tutorial, don't you know other  
place or a page?


gus
On Sep 21, 2011, at 9:38 PM, Karl DeSaulniers wrote:


I think there is an list archive on this one.

Best,
Karl

Sent from losPhone

On Sep 21, 2011, at 8:32 PM, Gustavo Duenas > wrote:


does anyone knows how to integrate ustream with flash or at least  
point me to a good tutorial about it.


Thanks,

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


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



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


[Flashcoders] ustream on flash tutorial

2011-09-21 Thread Gustavo Duenas
does anyone knows how to integrate ustream with flash or at least  
point me to a good tutorial about it.


Thanks,

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


[Flashcoders] ustream on flash

2011-07-27 Thread Gustavo Duenas

Hi does anyone know where is a tutorial to use ustream on flash.?

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


Re: [Flashcoders] Anybody Want to Work in Dubai?

2011-02-15 Thread Gustavo Duenas

would like, why not, send me specs.

Gus


On Feb 14, 2011, at 2:25 PM, David Benman wrote:

For the police? Came across this and thought it was interesting.  
More iOS, etc., but Flash is required too.


http://jobs.gamasutra.com/jobseekerx/viewjobrss.asp?cjid=25107&accountno=57817

David Benman
Interactive Developer
d...@dbenman.com
http://www.dbenman.com
(508) 954-1202 (cell)
(315) 637-8487 (home office)



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



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


Re: [Flashcoders] web developers forum

2010-10-20 Thread Gustavo Duenas
thanks but I  wrote it wrong, is web developers forums, not for  
wedding sorry.


Gustavo ;)


On Oct 20, 2010, at 4:17 PM, Kerry Thompson wrote:


Gustavo Duenas wrote:


does anyone of you knows a wed developers forums?


<http://careerplanning.about.com/od/occupations/a/wedding_planner.htm>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



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


[Flashcoders] web developers forum

2010-10-20 Thread Gustavo Duenas
Hi I have a question about iphone and css does anyone of you knows a  
wed developers forums?


Thanks,

Gustavo


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


Re: [Flashcoders] Flash CS5 iPhone development question

2010-10-12 Thread Gustavo Duenas
Hi, the air 2 package works with flex 3? someone knows that, because  
since I have a ppc with Cs4 I don't think I can have a transition to  
Cs5 yet.


gustavo
On Oct 12, 2010, at 2:04 PM, Kevin Newman wrote:

Optimizing for GPU is what helps most on iPhone - make sure every  
item on your display list is getting cached on the GPU (even ones  
you update, but minimize updates). Additionally, avoid addChild and  
removeChild (and the timeline, since it uses those a lot) - they are  
expensive - use visible property instead.


Maybe draw your background as a big shape, and set cacheAsBitmap,  
and cacheAsBitmapMatrix = new Matrix there as well. I'm not sure if  
that helps, but after I did that my app got faster (I don't do  
things as micro iteratively as I'd like, because the iPhone compile  
time is so horrendous - so I'm not always certain about which things  
helped or not - though I am sure that if I forget to set the GPU  
flags, it slows everything down, even if it's just the background  
display object).


8 objects should be no problem at all.

View the PDF here for more:
http://labs.adobe.com/technologies/packagerforiphone/
http://download.macromedia.com/pub/labs/packagerforiphone/packagerforiphone_devguide.pdf

Kevin N.


On 10/12/10 12:54 PM, Paul Steven wrote:

nce. I only have 8 balls moving with collision detection and
reactions using vector maths and what works so smoothly on the PC  
is really
sluggish on the iPhone. I have written the same code in Corona and  
it works
well on the iPhone. However I am determined to get it working with  
the Flash

version.


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



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


Re: [Flashcoders] paper effect

2010-06-23 Thread Gustavo Duenas

I will check on it
gus
On Jun 23, 2010, at 7:06 PM, Micky Hulse wrote:


Not sure if this will be helpful, but Indesign can output PDFs to a
flip action PDF.

This thread has some good info and links:



Ofc, it sounds like you want to learn how to do it yourself. :)

Thanks for that link Ryan!

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



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


Re: [Flashcoders] paper effect

2010-06-23 Thread Gustavo Duenas

thanks man, it looks awesome.

Gus
On Jun 23, 2010, at 3:05 PM, Ryan P wrote:


Hey Gus,

here is a open source one: http://www.megazine3.de/

Rp..



On Wed, Jun 23, 2010 at 11:56 AM, Nathan Mynarcik  
wrote:



http://activeden.net/searches?term=Magazine&type=files
<http://activeden.net/searches?term=Magazine&type=files>



On Wed, Jun 23, 2010 at 12:30 PM, Gustavo Duenas <
gdue...@leftandrightsolutions.com> wrote:


Thanks where can I get this flipping book component
Gustavo
On Jun 22, 2010, at 6:53 PM, Karl DeSaulniers wrote:

You could dissect/use the Flipping Book component


Karl


On Jun 22, 2010, at 5:42 PM, Gustavo Duenas wrote:

Hi, there is on the internet some tutorial about how can I make an

effect
like paper, something like you have your paper sheets moved by  
your

hand,

like the
pages of a book, I was wondering if someone knows a tutorial for  
that?


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



Karl DeSaulniers
Design Drumm
http://designdrumm.com

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



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


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


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



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


Re: [Flashcoders] CS3 vs CS5

2010-06-23 Thread Gustavo Duenas
unfortunately for me, I have a g5 mac late 2005, and the new flash  
doesn't support it.


Gustavo
On Jun 23, 2010, at 9:14 AM, Henrik Andersson wrote:


Tom Gooding wrote:

Hi,

I am still using Flash CS3, considering moving onto CS5 (we'll need  
to target player 10 soon in our AS3 projects so need an IDE upgrade  
to publish the visual elements - all our AS3 engineering is done  
using FDT/Flex SDK).
I guess I am after straw-polls? Has anyone picked it up recently  
and started using? Just wondering if there are any drawbacks and/or  
excellent new stuff that helps workflow?




Much better code assist, it now recognizes not just your own  
classes, but also timeline instances even without the postfixes.

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



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


Re: [Flashcoders] paper effect

2010-06-23 Thread Gustavo Duenas

Thanks where can I get this flipping book component
Gustavo
On Jun 22, 2010, at 6:53 PM, Karl DeSaulniers wrote:


You could dissect/use the Flipping Book component

Karl


On Jun 22, 2010, at 5:42 PM, Gustavo Duenas wrote:

Hi, there is on the internet some tutorial about how can I make an  
effect like paper, something like you have your paper sheets moved  
by your hand, like the
pages of a book, I was wondering if someone knows a tutorial for  
that?


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


Karl DeSaulniers
Design Drumm
http://designdrumm.com

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



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


[Flashcoders] paper effect

2010-06-22 Thread Gustavo Duenas
Hi, there is on the internet some tutorial about how can I make an  
effect like paper, something like you have your paper sheets moved by  
your hand, like the

pages of a book, I was wondering if someone knows a tutorial for that?

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


Re: [Flashcoders] five 3d

2010-06-22 Thread Gustavo Duenas

neither do I, so there is other 3d engine to try besides papervision 3d?

gus
On Jun 22, 2010, at 4:31 AM, Glen Pike wrote:


On 21/06/2010 23:22, Gustavo Duenas wrote:
Hi Guys, any ideas where can I get a good tutorial about five 3d, I  
saw it on its new version and kind of like it, but the tutorials  
seems a little obscure for me.

Some links for these tutorials?

Gus

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


Don't think I ever found tutorials apart from the demo's on the  
Five3D site - that was a while ago though, so things may have changed.

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



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


Re: [Flashcoders] Reverse Compiling

2010-06-22 Thread Gustavo Duenas

how can I install a subversion server on a mac?
gus
On Jun 22, 2010, at 10:56 AM, allandt bik-elliott (thefieldcomic.com)  
wrote:


can i recommend installing a subversion server into your workflow to  
avoid

future problems?

a

On 22 June 2010 15:30, Matt Perkins  wrote:

You can "decompile" it using 3rd part tools but the results aren't  
perfect.


I've used SoThink's Decompiler in the past the edit vendor code (they
didn't give us the FLAs and it was a year later).

http://www.sothink.com/product/flashdecompiler/index.htm




On 6/22/2010 10:10 AM, Lehr, Theodore wrote:

It's official - I am the biggest moron on the planet... which  
leads me to

this question:

Is it possible to take a .swf and turn it into a .fla?

I saved all my stuff locally (with no back-ups of course) and my  
hard

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





--
Matt Perkins

http://www.nudoru.com


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


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



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


[Flashcoders] five 3d

2010-06-21 Thread Gustavo Duenas
Hi Guys, any ideas where can I get a good tutorial about five 3d, I  
saw it on its new version and kind of like it, but the tutorials seems  
a little obscure for me.

Some links for these tutorials?

Gus

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


Re: [Flashcoders] OT: PDFs, HTML5 and iPads

2010-05-24 Thread Gustavo Duenas
So how are they a thread to Flash?, if it is clearly not a replace to  
flash, what are the other technologies as simple and not complicated  
as flash(for us designers I mean) that the apple guys are pointing to.


gus
On May 24, 2010, at 1:14 PM, Henrik Andersson wrote:


Gustavo Duenas wrote:
any idea of how html 5 think to replace flash, is there a sample  
about
how can I make an animation flash-like on html5 or is just  
conjectures?


It is not formally out yet, and html does not in itself provide any  
animation features what so ever. It can't even change it's own  
content in response to user actions. Except for adding table rows  
with the new forms.


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



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


Re: [Flashcoders] OT: PDFs, HTML5 and iPads

2010-05-24 Thread Gustavo Duenas
any idea of how html 5 think to replace flash, is there a sample about  
how can I make an animation flash-like on html5 or is just conjectures?


Gus
On May 11, 2010, at 8:48 AM, Mendelsohn, Michael wrote:


Hi list...

It seems to me that Flash might not be the tool most "threatened" by  
HTML5, but rather the PDF format.  HTML5 obviously can't replace all  
of Flash's capabilities.  But, it has all of these new tags that  
enhance the accuracy of describing documents.  So, should the Adobe  
Reader plugin feel more afraid?


On a side note, is the iPad supporting the Reader plugin?

Just wondering,
- Michael M.

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



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


Re: [Flashcoders] cue points problems (solved)

2010-03-03 Thread Gustavo Duenas
well is working now, apparently the video encoder cs4 was the problem,  
because when I code the cue point targeting for flv flash 8 or higher,  
the events triggers on flash pro cs4...odd, but is working  
now...thanks anyway.


gus

P.s: it looks like a kind of problem for the flash f4v format, when I  
change the format to the flv flash 8 and higher turns out good



On Mar 3, 2010, at 12:55 PM, Gustavo Duenas wrote:

Hi coders I've been following the tutorials on the net to trigger  
events from cuepoints in a video, but it seems that they are not  
working the only one working is from 0:00:000 the others don't, here  
is my code.



mport fl.video.MetadataEvent;
import fl.video.VideoEvent;



miMovie.addEventListener(MetadataEvent.CUE_POINT, cp);
function cp(e:MetadataEvent):void {
trace("start");
 if (e.info.name=="cp1") {
 trace("we are cp1");
 }
 if (e.info.name=="cp2") {
 trace("we are cp2");
 }
if (e.info.name=="cp3") {
 trace("we are cp3");
 }

}


I did this following a tutorial but so far is not working some help  
needed to understand why?


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



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


[Flashcoders] cue points problems

2010-03-03 Thread Gustavo Duenas
Hi coders I've been following the tutorials on the net to trigger  
events from cuepoints in a video, but it seems that they are not  
working the only one working is from 0:00:000 the others don't, here  
is my code.



mport fl.video.MetadataEvent;
import fl.video.VideoEvent;



miMovie.addEventListener(MetadataEvent.CUE_POINT, cp);
function cp(e:MetadataEvent):void {
trace("start");
  if (e.info.name=="cp1") {
  trace("we are cp1");
  }
  if (e.info.name=="cp2") {
  trace("we are cp2");
  }
if (e.info.name=="cp3") {
  trace("we are cp3");
  }

}


I did this following a tutorial but so far is not working some help  
needed to understand why?


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


Re: [Flashcoders] web video

2010-03-03 Thread Gustavo Duenas
help!!! the events are not working the way they were supposed on the  
tutorial, the first cue point should be always at 0? becuae I have it  
with other value.


Gus
On Mar 3, 2010, at 11:01 AM, Gustavo Duenas wrote:

I did use the adobe media encoder, I have 3 cuepoints cp1 cp2 and  
cp3 those are events,


here is my as and I don't know why this is not working;

import fl.video.MetadataEvent;
import fl.video.VideoEvent;



miMovie.addEventListener(MetadataEvent.CUE_POINT, cp);
function cp(e:MetadataEvent):void {
trace("start");
   if (e.info.name=="cp1") {
   trace("we are cp1");
   }
   if (e.info.name=="cp2") {
   trace("we are cp2");
   }
if (e.info.name=="cp3") {
   trace("we are cp3");
   }

}
On Mar 3, 2010, at 10:11 AM, Sam Brown wrote:

you can embed cuepoints in the flv and listen for them to cue  
events. Most

reliable way to embed them is via the Adobe Media Encoder

one way to access them is like:

import fl.video.VideoEvent;
import fl.video.MetadatEvent;

myVid.addEventListener(MetadataEvent.CUE_POINT, doThis);
function doThis(e:Event):void{
}
...
On Wed, Mar 3, 2010 at 9:45 AM, Gustavo Duenas <
gdue...@leftandrightsolutions.com> wrote:


it might start automatically

Gus
On Mar 2, 2010, at 8:34 PM, Nathan Mynarcik wrote:

Or, you could trigger a timer when it starts and when it hits 45  
seconds

call your function.

Are your users pressing play or does it start automatically?


--Original Message--
From: Gustavo Duenas
Sender: flashcoders-boun...@chattyfig.figleaf.com
To: Flash Coders List
ReplyTo: Flash Coders List
Subject: [Flashcoders] web video
Sent: Mar 2, 2010 6:40 PM

Hi coders I know that I can control  a flv from as3, but there is a
way to do the opposite?
I mean I have a video (flv) in one movie clip, when the video  
reaches

the second 45, can I trigger an event?
is that possible?, if so there is a tutorial pointing to that in   
the

internet?


Regards,


Gus

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


Nathan Mynarcik
Interactive Web Developer
nat...@mynarcik.com
254.749.2525
www.mynarcik.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



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


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



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



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


Re: [Flashcoders] web video

2010-03-03 Thread Gustavo Duenas
I did use the adobe media encoder, I have 3 cuepoints cp1 cp2 and cp3  
those are events,


here is my as and I don't know why this is not working;

import fl.video.MetadataEvent;
import fl.video.VideoEvent;



miMovie.addEventListener(MetadataEvent.CUE_POINT, cp);
function cp(e:MetadataEvent):void {
trace("start");
if (e.info.name=="cp1") {
trace("we are cp1");
}
if (e.info.name=="cp2") {
trace("we are cp2");
}
if (e.info.name=="cp3") {
trace("we are cp3");
}

}
On Mar 3, 2010, at 10:11 AM, Sam Brown wrote:

you can embed cuepoints in the flv and listen for them to cue  
events. Most

reliable way to embed them is via the Adobe Media Encoder

one way to access them is like:

import fl.video.VideoEvent;
import fl.video.MetadatEvent;

myVid.addEventListener(MetadataEvent.CUE_POINT, doThis);
function doThis(e:Event):void{
}
...
On Wed, Mar 3, 2010 at 9:45 AM, Gustavo Duenas <
gdue...@leftandrightsolutions.com> wrote:


it might start automatically

Gus
On Mar 2, 2010, at 8:34 PM, Nathan Mynarcik wrote:

Or, you could trigger a timer when it starts and when it hits 45  
seconds

call your function.

Are your users pressing play or does it start automatically?


--Original Message--
From: Gustavo Duenas
Sender: flashcoders-boun...@chattyfig.figleaf.com
To: Flash Coders List
ReplyTo: Flash Coders List
Subject: [Flashcoders] web video
Sent: Mar 2, 2010 6:40 PM

Hi coders I know that I can control  a flv from as3, but there is a
way to do the opposite?
I mean I have a video (flv) in one movie clip, when the video  
reaches

the second 45, can I trigger an event?
is that possible?, if so there is a tutorial pointing to that in   
the

internet?


Regards,


Gus

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


Nathan Mynarcik
Interactive Web Developer
nat...@mynarcik.com
254.749.2525
www.mynarcik.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



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


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



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


Re: [Flashcoders] web video

2010-03-03 Thread Gustavo Duenas

it might start automatically

Gus
On Mar 2, 2010, at 8:34 PM, Nathan Mynarcik wrote:

Or, you could trigger a timer when it starts and when it hits 45  
seconds call your function.


Are your users pressing play or does it start automatically?


--Original Message--
From: Gustavo Duenas
Sender: flashcoders-boun...@chattyfig.figleaf.com
To: Flash Coders List
ReplyTo: Flash Coders List
Subject: [Flashcoders] web video
Sent: Mar 2, 2010 6:40 PM

Hi coders I know that I can control  a flv from as3, but there is a
way to do the opposite?
I mean I have a video (flv) in one movie clip, when the video reaches
the second 45, can I trigger an event?
is that possible?, if so there is a tutorial pointing to that in  the
internet?


Regards,


Gus

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


Nathan Mynarcik
Interactive Web Developer
nat...@mynarcik.com
254.749.2525
www.mynarcik.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



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


[Flashcoders] web video

2010-03-02 Thread Gustavo Duenas
Hi coders I know that I can control  a flv from as3, but there is a  
way to do the opposite?
I mean I have a video (flv) in one movie clip, when the video reaches  
the second 45, can I trigger an event?
is that possible?, if so there is a tutorial pointing to that in  the  
internet?



Regards,


Gus

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


Re: [Flashcoders] 3d on flash

2010-02-09 Thread Gustavo Duenas

thanks I will check on the papervision, sandy and away 3d too

Gus

On Feb 9, 2010, at 10:39 AM, Merrill, Jason wrote:


It's probably not the kind of 3D support you're thinking of.  You'll
want to look at Papervision3D or one of the other 3D engines out there
for Flash like Away3D or Sandy http://en.wikipedia.org/wiki/3D_Flash .
But if you're sure you want to do this with Flash 10's 3D features,  
see

this link I googled:
http://www.adobe.com/devnet/flash/articles/3d_support.html


Jason Merrill

Bank of  America  Global Learning
Learning & Performance Soluions

Join the Bank of America Flash Platform Community  and visit our
Instructional Technology Design Blog
(note: these are for Bank of America employees only)





-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of  
Gustavo

Duenas
Sent: Tuesday, February 09, 2010 10:10 AM
To: Flash Coders List
Subject: [Flashcoders] 3d on flash

I want to make a menu in 3d, something like a letters that moves in
depth, any ideas where can I find a tutorial to work with the 3d
engine of flash, not papervision 3d I mean something of the Flash, I
know that fp10 has 3d support...any help would be appreciated.

Gustavo


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



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


[Flashcoders] 3d on flash

2010-02-09 Thread Gustavo Duenas
I want to make a menu in 3d, something like a letters that moves in  
depth, any ideas where can I find a tutorial to work with the 3d  
engine of flash, not papervision 3d I mean something of the Flash, I  
know that fp10 has 3d support...any help would be appreciated.


Gustavo


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


Re: [Flashcoders] making a repeating effect

2010-02-08 Thread Gustavo Duenas

Thanks guys, I'm working on all the hearts beating at time.

Gus
On Feb 5, 2010, at 11:31 AM, .matt wrote:


I stand corrected. Carry on. ;)

.matt

On Feb 5, 2010, at 11:00 AM, "Keith Reinfeld" > wrote:



heart.name = "heart"+timer.currentCount;

Regards,

Keith Reinfeld
Home Page: http://keithreinfeld.home.comcast.net


-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of  
Matt S.

Sent: Friday, February 05, 2010 9:53 AM
To: Flash Coders List
Subject: Re: [Flashcoders] making a repeating effect

Unless you need to assign a name or ID number to the heart, eg:

heart.name = "heart"+myCounter;

or

new Heart(myCounter);

(in which myCounter then gets saved within "heart" as idNum or  
whatever).


I guess it depends on whether the hearts just sit quietly once added
or will need to perform their own functions or be accessed at a later
time.

.m

On Thu, Feb 4, 2010 at 9:59 PM, Muzak   
wrote:
no need for the counter in the event handler, Timer has a "repeat  
count"

//Timer(delay, repeatCount)
var timer:Timer = new Timer(5000, 1000);

-

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 9.0.733 / Virus Database: 271.1.1/2668 - Release Date:  
02/05/10

01:35:00

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

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



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


Re: [Flashcoders] making a repeating effect

2010-02-04 Thread Gustavo Duenas
I did it, and you know it works, I put an event listener for the  
timer.stop the code is like this:


stop();
import flash.utils.*;
import flash.display.*;



var timer:Timer = new Timer(100, 100);

timer.addEventListener("timer",timedFunction);
var newX:Number = stage.stageWidth;
var newY:Number = stage.stageHeight;

timer.start();
timer.addEventListener(TimerEvent.TIMER_COMPLETE, timerStop);
function timedFunction(e:TimerEvent):void{
var heart:MovieClip = new Heart();
heart.x = Math.random() * (stage.stageWidth);
heart.y = Math.random()* (stage.stageHeight);
heart.width=heart.width * Math.random();
heart.height=heart.height  * Math.random();
addChild(heart);

}
function timerStop(e:TimerEvent):void{
timer.stop();
}

now I'm gonna look in google how to make the size of the heart more  
consistent...


now I'm going to be off-the air, going to church.

Cya friends


Gus


On Feb 4, 2010, at 5:40 PM, Jim Lafser wrote:

Add second param when instantiate Timer which indicates how many  
times it should repeat. If don't specify, then defaults to 0 which  
means run forever.

Add an event listener for the Timer.timerComplete event.
I think the listener you've already got should be registering for  
the Timer.timer event instead of "timer".



--- On Thu, 2/4/10, Gustavo Duenas  
 wrote:



From: Gustavo Duenas 
Subject: Re: [Flashcoders] making a repeating effect
To: "Flash Coders List" 
Date: Thursday, February 4, 2010, 4:14 PM


I've downloaded thanks
on other matters, when you say using a timer, you mean something  
like this ( I've have this from a tutorial, mixing with my idea);


something like this?

import flash.utils.*;

var timer:Timer = new Timer(5000);

timer.addEventListener("timer",TimedFunction);


timer.start();

function timedFuntion(e:TimerEvent):void{
var heart:MovieClip = new Heart();
heart.x = Math.random * stage.stageWidth;
heart.y = Math.random * stage.stageHeight;

}

the question is , how can I stop this?

Gus
On Feb 4, 2010, at 3:40 PM, Jer Brand wrote:


Completely un-helpful for your code, but you could also give HYPE a
whirl. Have been having a blast playing with it lately. I think the
above task is one of the examples.

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



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




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



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


Re: [Flashcoders] making a repeating effect

2010-02-04 Thread Gustavo Duenas
ok, now can repeat them until the end of the times...how can I make  
them to stop at certain number like 200 for example


gus


On Feb 4, 2010, at 4:14 PM, Gustavo Duenas wrote:


I've downloaded thanks
on other matters, when you say using a timer, you mean something  
like this ( I've have this from a tutorial, mixing with my idea);


something like this?

import flash.utils.*;

var timer:Timer = new Timer(5000);

timer.addEventListener("timer",TimedFunction);


timer.start();

function timedFuntion(e:TimerEvent):void{
var heart:MovieClip = new Heart();
heart.x = Math.random * stage.stageWidth;
heart.y = Math.random * stage.stageHeight;

}

the question is , how can I stop this?

Gus
On Feb 4, 2010, at 3:40 PM, Jer Brand wrote:


Completely un-helpful for your code, but you could also give HYPE a
whirl. Have been having a blast playing with it lately. I think the
above task is one of the examples.

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



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



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


Re: [Flashcoders] making a repeating effect

2010-02-04 Thread Gustavo Duenas

I've downloaded thanks
on other matters, when you say using a timer, you mean something like  
this ( I've have this from a tutorial, mixing with my idea);


something like this?

import flash.utils.*;

var timer:Timer = new Timer(5000);

timer.addEventListener("timer",TimedFunction);


timer.start();

function timedFuntion(e:TimerEvent):void{
 var heart:MovieClip = new Heart();
heart.x = Math.random * stage.stageWidth;
heart.y = Math.random * stage.stageHeight;

}

the question is , how can I stop this?

Gus
On Feb 4, 2010, at 3:40 PM, Jer Brand wrote:


Completely un-helpful for your code, but you could also give HYPE a
whirl. Have been having a blast playing with it lately. I think the
above task is one of the examples.

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



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


[Flashcoders] making a repeating effect

2010-02-04 Thread Gustavo Duenas

Hi Guys, I'm trying to accomplish this:
so far I a mac named heart which is hence a heart, so I'm trying to  
make a repetition of it along the screen until it reach the number of  
1000
or less, but so far I don't have the effect of its repeating one to  
one, instead I have all of them at the same time, there is a way to do  
this, maybe I'm losing something if anyone of you knows a site where  
that effects is explained for not left brainers as me, let me know.


Gus.

here is my code

stop()

import flash.display.*;



for(var i:Number=0; i<5000; i++){

var heart:MovieClip = new Heart();

heart.width= Math.random()*i *2;
heart.height=Math.random()*i * 2;
heart.x=Math.random()*i *2;
heart.y=Math.random()*i *2;
addChild(heart);
trace(heart);
}

//true is I have a lot of hearts on the screen but I would like those  
to start appearing one to one.




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


Re: [Flashcoders] and now..CLIENT now hates Flash

2010-02-04 Thread Gustavo Duenas
I'm suspecting something,  maybe adobe and android are planning  
something, maybe one of them, so just let Jobs to fantasize with the  
world domination, true that sooner or later flash will emerge even  
better.


Gus

On Feb 4, 2010, at 2:01 PM, Boerner, Brian J wrote:

I not saying 3G can't run it -- but that's the impression that  
customers have...


Not get into hardware business but maybe they should partner for  
FlashPad and FlashStore


I'm frustrated because Apple is dictating in that market and Adobe  
is passive about it... What do you think about the FlashApp Store?


While Lynch is weighing options Apple has done all of this. As a CTO  
do you think they're that well postioned? Should people abandon the  
Apple SDK for Flash? Where's the case being made that it should be?


I really think Flash does have potential to be great in that  
marketplace just wondering what's holding them up from promoting  
themselves as major players there.



-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com 
] On Behalf Of Dave Watts

Sent: Thursday, February 04, 2010 1:29 PM
To: Flash Coders List
Subject: Re: [Flashcoders] and now..CLIENT now hates Flash

As wireless device maybe but not 3G -- maybe once network gets up  
to 6 or 7G maybe resistance to flash fades for the handheld

crowd... who can predict?


Flash will work fine for all the people running Android and Symbian,
and probably WinMo, when FP 10.1 comes out. I suspect that'll be
pretty soon. Flash Player 7 actually worked just fine on my old WinMo
phone. 3G was good enough.

Adobe is so passive here -- why not a 'FlashPad' for learning? They  
then could think in terms of downloading apps that are closer
to game installs on a handheld device... Why not? A 'FlashStore'  
could then take on the 'AppStore'...


Adobe should get into the hardware business? Really? Very soon,
practically anything not iPhone/iPod/iPad will be able to run Flash!

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



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


Re: [Flashcoders] and now..CLIENT now hates Flash

2010-02-04 Thread Gustavo Duenas
Correct me if I'm wrong but for a touch screen flash based application  
you will need a monitor with touch screen hardware right?



gus


On Feb 4, 2010, at 8:21 AM, Karl DeSaulniers wrote:

Good to know. I guess I will have to try and build what I am  
thinking of. lol

I'll make it my first Air project. :)
Thanks everyone for the input,

Karl


On Feb 4, 2010, at 6:56 AM, Andrew Murphy wrote:

I recently coded an AIR app for our reception area touch screen  
which demos
one of Delvinia's other productions by loading it into an HTML  
component,
that website includes a SWF embedded on the page and it runs just  
fine in

the HTML component in AIR.

Building a touch screen keyboard in AIR that communicates with that  
SWF was
a bit of a pain, but the SWF itself just loads and runs exactly  
like it

would in any other browser.


--
Andrew Murphy
Interactive Media Developer
amur...@delvinia.com

Delvinia
370 King Street West, 5th Floor, Box 4
Toronto Canada M5V 1J9
P (416) 364-1455 ext. 232
F (416) 364-9830
W www.delvinia.com






-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf
Of Merrill, Jason
Sent: Wednesday, February 03, 2010 4:58 PM
To: Flash Coders List
Subject: RE: [Flashcoders] and now..CLIENT now hates Flash


Forgive me if I am unaware of what air actually is, but doesn't it
still have to be installed to work with a browser?


I was mostly kidding, but Adobe AIR does have a web browser
control so you can make an app that has web page inside it.
There are limitations to it of course, like I don't think it
supports Flash which is ironic.


Jason Merrill

Bank of  America  Global Learning
Learning & Performance Soluions

Join the Bank of America Flash Platform Community  and visit
our Instructional Technology Design Blog
(note: these are for Bank of America employees only)






-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf
Of Karl DeSaulniers
Sent: Wednesday, February 03, 2010 4:51 PM
To: Flash Coders List
Subject: Re: [Flashcoders] and now..CLIENT now hates Flash

Well yeah, but I mean an app like Safari or FireFox or IE,
but it has flash and all its capabilities already in it.
No need to install flash, because its a flash browser.

Forgive me if I am unaware of what air actually is, but
doesn't it still have to be installed to work with a browser?

Karl


On Feb 3, 2010, at 3:21 PM, Merrill, Jason wrote:


I say its time for a Flash browser.


I thought that was called AIR. :)


Jason Merrill

Bank of  America  Global Learning
Learning & Performance Soluions

Join the Bank of America Flash Platform Community  and visit our
Instructional Technology Design Blog
(note: these are for Bank of America employees only)






-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On

Behalf Of Karl

DeSaulniers
Sent: Wednesday, February 03, 2010 4:03 PM
To: Flash Coders List
Subject: Re: [Flashcoders] and now..CLIENT now hates Flash

Hello,
I usually sit back and let the experts chum these out, but

I have to

say one thing..

I say its time for a Flash browser.
No more installing plugins,
no more yellow line around your swf,
and no more relying on another browser to run flash.

Just create a flash based browser and you take flash to

another level

and another market.
All you have to worry about is creating it to run on multiple
platforms.
You can create your own security on the browser to coincide with
iPods, iPads, iPlops whatever..

like combining air + flashplayer as a OS app

Once users/clients figure out that they can have their cake

and eat it

too, you'll have them coming by the hordes and there wont

be anything

anyone can do.
Oh, well, except catch up.. :)

+1 Flash for ever!

Karl DeSaulniers
Design Drumm
http://designdrumm.com

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


Karl DeSaulniers
Design Drumm
http://designdrumm.com

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


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


Karl DeSaulniers
Design Drumm
http://designdrumm.com

___
Flashcoders mailing l

Re: [Flashcoders] SEO + Flash = any great strategies?

2010-02-04 Thread Gustavo Duenas
my server is not mine, I have it with a company(ix-webhosting), they  
are using h-sphere, there is way to use this mode_rewrite from the  
control panel?


Gus
On Feb 4, 2010, at 8:52 AM, Muzak wrote:


http://www.google.com/#hl=en&source=hp&q=mod_rewrite

- Original Message - From: "Gustavo Duenas" >

To: "Flash Coders List" 
Sent: Thursday, February 04, 2010 2:33 PM
Subject: Re: [Flashcoders] SEO + Flash = any great strategies?


do you mind to share with me how to use the mod_rewrite...is on  
the  as3 , in the javascript or the html?

regards,
Gus
On Feb 4, 2010, at 5:43 AM, tom rhodes wrote:
ah forgot to mention to use mod_rewrite and have all the  
links  in your

non flash version be without the "#"...

On 4 February 2010 11:42, tom rhodes  wrote:

swfaddress SEO solution works for me very well, i did a flash  
news  site for
a client and searching for headlines or article text came up in   
google
perfectly. it's php serving up either a version of the site for  
the  web

crawler/non flash user or the flash if you've got it...


On 4 February 2010 02:34, Steven Sacks  
  wrote:


I like the solution that Gaia uses. I'm biased because I wrote  
it  and it
works really well.  It is an idea given to me by a guy who's  
very  good at

SEO, I merely executed it.

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





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


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


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



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


Re: [Flashcoders] SEO + Flash = any great strategies?

2010-02-04 Thread Gustavo Duenas
do you mind to share with me how to use the mod_rewrite...is on the  
as3 , in the javascript or the html?


regards,

Gus
On Feb 4, 2010, at 5:43 AM, tom rhodes wrote:

ah forgot to mention to use mod_rewrite and have all the links  
in your

non flash version be without the "#"...

On 4 February 2010 11:42, tom rhodes  wrote:

swfaddress SEO solution works for me very well, i did a flash news  
site for
a client and searching for headlines or article text came up in  
google
perfectly. it's php serving up either a version of the site for the  
web

crawler/non flash user or the flash if you've got it...


On 4 February 2010 02:34, Steven Sacks   
wrote:


I like the solution that Gaia uses. I'm biased because I wrote it  
and it
works really well.  It is an idea given to me by a guy who's very  
good at

SEO, I merely executed it.

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





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



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


Re: [Flashcoders] and now..CLIENT now hates Flash

2010-02-03 Thread Gustavo Duenas
on other thoughts , I've always loved Hillman Curtis, the agency I  
mean, still straight though. Flash is still the best way to create  
cheap and creatives animations for the web... still unbeatable.


Gus
On Feb 3, 2010, at 7:29 PM, Jer Brand wrote:


"Just as people fall down and worship Steve Jobs today people fell
down and worshipped Jakob Nielssen in 2000."

... wait... I thought, as Flash developers, we were morally obligated
to worship Hillman Curtis back then ;-)


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



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


Re: [Flashcoders] and now..CLIENT now hates Flash

2010-02-03 Thread Gustavo Duenas
well I'm a flash designer now, as I was graphic designer in the past,  
same way I was an artist, illustrator and copy writer before that, I  
think you can always learn new things and new tricks. My point is the  
guy from the blog is right if Flash disappears, there is always  
something else to learn maybe with the same level of animation,  
creativity and interactivity as flash...I don't know but my hint is  
that Flash has been tried to be let down in the past and yet we are in  
the 2010 and there is a lot of interactive agencies, based on flash.  
that means something Mr. Jobs...but I'm a still loving macs...or  
hackingtosh my next garage project.


cya.

Gus
On Feb 3, 2010, at 6:38 PM, Brian Mays wrote:

I'm going to chime in to say this current tide reminds me of the  
hubbub that

rose up when this article was written:

http://www.useit.com/alertbox/20001029.html

The article's title: Flash is 99% bad.
It was published 10 years ago.

We've survived and evolved.

Brian Mays

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



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


Re: [Flashcoders] I Must Be Asking This Question Wrong...

2010-02-03 Thread Gustavo Duenas
gee!!!, can we pass BENO (benitin o lo que sea) and go forward to  
other more important matters.
BTW it is me, (probably is) but I still don't get what Beno is trying  
to do. is like making a comic figure to move the eyes and head when  
the mouse is over? is that?

On Feb 3, 2010, at 6:47 PM, Peter B wrote:


Could you kindly translate that into Mac lingo?




Seriously? You couldn't even look up / work out that for yourself? Hmm
- not a good SNR.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



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


Re: [Flashcoders] and now..CLIENT now hates Flash

2010-02-03 Thread Gustavo Duenas
"The "Back" button does not work. If you navigate within a Flash  
object, the standard backtracking method takes you out of the  
multimedia object and not, as expected, to the previous state."


has he/she ever tried the swfaddress ? I've done that and it works  
with the back and the forth button.


the rest of the article looks like the not to do list for flash  
designers. personally I've overpass the intros, using animated  
backgrounds now, they look nice most of the time :) and there is  
always the warning or advice page in the index (this site has flash,  
if you don't have the plug-in installed click here to download or got  
to the html version) more versions more hours for us, more pay...my  
two cents.


Gus


On Feb 3, 2010, at 6:38 PM, Brian Mays wrote:

I'm going to chime in to say this current tide reminds me of the  
hubbub that

rose up when this article was written:

http://www.useit.com/alertbox/20001029.html

The article's title: Flash is 99% bad.
It was published 10 years ago.

We've survived and evolved.

Brian Mays

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



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


Re: [Flashcoders] SEO + Flash = any great strategies?

2010-02-03 Thread Gustavo Duenas
swfaddress is ok for trying to make flash seo friendly, I've tried on  
one of my websites and it really works, course you can't make much of  
dynamic content (windows created by names from the mc or something  
like that) but you can't still make a sort of great things using that  
(the patron website is made with swfaddress), checking its code is  
when I learn about it.

I hope this helps.

Gus
On Feb 3, 2010, at 6:14 PM, Nathan Mynarcik wrote:

Google has instructions on best practices. Visit code.google.com and  
play around in that area.


There is never a bullet proof solution...


--Original Message--
From: artur
Sender: flashcoders-boun...@chattyfig.figleaf.com
To: Flash Coders List
ReplyTo: ar...@artur.com
ReplyTo: Flash Coders List
Subject: [Flashcoders] SEO + Flash = any great strategies?
Sent: Feb 3, 2010 5:01 PM

was wondering if there are any bulletproof SEO solutions out there
besides doing a mod re-write for crawlers.

does google still penalize for this?

thanks

artur

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


Nathan Mynarcik
Interactive Web Developer
nat...@mynarcik.com
254.749.2525
www.mynarcik.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



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


Re: [Flashcoders] I Must Be Asking This Question Wrong...

2010-02-02 Thread Gustavo Duenas

Keith I don't know what is this for, but surely it looks good to me.
Gus

On Feb 2, 2010, at 6:04 PM, Keith Reinfeld wrote:


beno,

Is this anything like what you are after?

http://keithreinfeld.home.comcast.net/~keithreinfeld/Testing/Main.html

Regards,

Keith Reinfeld
Home Page: http://keithreinfeld.home.comcast.net


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



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


Re: [Flashcoders] I Must Be Asking This Question Wrong...

2010-02-02 Thread Gustavo Duenas
from an artist to another, explain me what are you trying to do in  
plain english and maybe the people in the list would start seeing  
things your way...I don't know, but when I ask for help (a lot of  
times in the past, present and the future) I've always explained what  
am I looking to obtain first, then I submit the code for  
consideration, that helps me a lot...my two cents.


Gus
"call me pussy or moron I use to trace , but if you want to teach me  
breackpoints, no problem, i'll bring my sharpest pencil to defend  
myself"

;)




On Feb 2, 2010, at 1:08 PM, beno - wrote:

Frankly I'm glad things have slowed down. Let me play Devil's  
Advocate and
state explicitly I don't want you to do my work for me. I want you  
to help
me understand what it is I need to do. This morning, two very kind  
people
reached out to help me simultaneously. Their methodology was  
completely

different the one from the other. Their attitude was stellar but their
delivery beyond what they should have offered. Make_me_work. I'm not  
afraid
of working. I like it. I need to learn this for myself.  
Suggest...and make
me sweat. As it was, I was doing everything I could to keep up with  
the two
of you! Now that things have calmed down, I've had a chance to  
review your

suggestions and try to make sense of the vis-a-vis my code.

One lister commented I'm the most expensive programmer on the  
planet. I

laughed my a$$ off. It may be true. However, it's equally true I am
sincerely trying my best. Again, I'm an artist, and positively  
gifted at
that. (Or, as I would say, I'm really good at listening to the  
Muses. I'm
not the artist. They are.) This will be incorporated into my art, so  
it's
more than just a revenue generator. But as an artist, I really have  
a very
difficult time thinking like a left-brain programmer. Please believe  
me when
I tell you I'm doing the very best I can. I would never abuse your  
help,
even though it may seem that way to some of you left-brainers. If  
you could

walk a mile in my moccasins, you would have an entirely different
perspective on this matter, I assure you.

Lastly, before I get into the code, let me state that the Moock book  
should
arrive by Friday. Hopefully I'll be able to answer most of my own  
questions
by then, which--believe it or not--is what I would prefer to do. I  
don't
want to be the "most expensive programmer in the world." I want to  
do it
myself, at least as much as I possibly can. I want your respect, not  
your

charity.

So, the code. Working with Glen Pike's suggestions of keeping it all  
in the

same class, I've refined my code to this:

package
{
  import flash.events.Event;
  import flash.events.ProgressEvent;
  import flash.events.Event;
  import flash.events.MouseEvent;
  import flash.display.MovieClip;
  import com.greensock.*;
  import com.greensock.easing.*;
   public class Main2 extends MovieClip
  {
trace('hi');
public var myThumb:CloseThumb;
private var counter:int = 0;

public function Main2()
{
trace('Main2');
init();
addEventListener(Event.ENTER_FRAME, checkFrame);
}

public function init():void
{
trace('init');
theThumb();
}

public function checkFrame(e:Event):void
{
if (counter == 10)
{
doTween();
counter = 0;
} else
{
counter++;
trace(counter);
}
}

public function doTween():void
{
trace('doTween');
addChild(myThumb);
TweenMax.to(myThumb, .4, {shortRotation:{rotation:60},
ease:Back.easeOut,onComplete:onFinishTween});
}

public function onFinishTween():void
{
removeChild(myThumb);
}

public function theThumb():void
   {
trace('theThumb');
myThumb = new CloseThumb();
   myThumb.x = 365;
   myThumb.y = 355;
}
  }
}

Notice all the traces I have. Not a single one prints. It would help  
me to

know why. The mc CloseThumb does not play, either. What traces is the
following:

at Main2/theThumb()
at Main2/init()
at Main2

I would like to know what that means since I've seen it so many times.


Here's Cor's version of separating out a new class called  
CloseThumb() and

calling it from the main class. First, the Main2.as:

package
{
import flash.events.Event;
import flash.events.ProgressEvent;
import flash.events.Event;
import flash.events.MouseEvent;
import flash.display.MovieClip;
import com.greensock.*;
import com.greensock.easing.*;
import CloseThumb;
public class Main2 extends MovieClip
{
trace('hi');
private var myThumb:CloseThumb = new CloseThumb();


public function Main2()
{
trace('Main2');
init();
}


public function init():void
{
trace('init');
   CloseThumb();
}

}
}



Now, here's CloseThumb.as:

package
{
import flash.events.Event;
import flash.events.ProgressEvent;
import flash.events.Event;
import flash.events.MouseEvent;
import flash.display.MovieClip;
import com.greensock.*;
import com.greensock.easing.*;

public class CloseThumb extends MovieClip
{
public var myThumb:CloseThumb;


public function CloseThumb()
{
init();
}


public function init():void
{
theThumb();

Re: [Flashcoders] WIRED hates Flash

2010-02-01 Thread Gustavo Duenas
I don't get it, it says that ipad wouldn't support flash player, but  
recently I read on adobe labs that there is possible in cs5 to make  
app (flash based) for iphone, then is not the same system?


gus
On Feb 1, 2010, at 4:36 PM, Henrik Andersson wrote:


Gerry wrote:

Flash Player 1. I emailed Tobias and he replied...
Sorry, but Gordon supports only SWF version 1.0 at this time.  
Export your movie to FP1 and it will works great.


Can you even do that with recent Flash versions?
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



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


[Flashcoders] amfphp

2010-02-01 Thread Gustavo Duenas
Hi guys, I've pick this curiosity about amfphp since I'd like to use  
it on my websites, Does anyone of you knows a good tutorial of it,  
rather than the one in the amfphp website? that tutorial seems for me  
not easy to understand or follow, is so simple, maybe some example  
about how to make a repeater in as3 or reading info from a mysql  
database on a URLLoader in flash as3, any help would be appreciated on  
this end.


Regards,

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


Re: [Flashcoders] Flash and MySQL

2010-02-01 Thread Gustavo Duenas
Hi glen, sorry I catch Beno request before the ugh php, personally  
I've never used python, I've never had to. But would you mind to tell  
me of a website or tutorial where I can learn to make an app using  
amfphp with flash rather than the one is on the amfphp website...it  
seems too obscure for me,. I'd appreciate any enlightenment about ti.


Gustavo

;)

seems that I might need that kind of approach because I'd like to put  
all the text of my site on a mysql rather than .txt files





On Feb 1, 2010, at 2:05 PM, Glen Pike wrote:

FYI - Beno expressed a preference for Python, I think he does not  
like PHP, he said "oh...ugh...php".


Me - used to PHP, but liking some of Python's powerful list stuff,  
(not using it for web and thoroughly enjoying that fact :)


Beno - BTW, if you can write classes in Python you can write classes  
in PHP too.  Not sure about the comparison between functional PHP &  
functional Python though.  If you want to leverage your AS3 to  
Python backend stuff.  Have a look at PyAMF or some of the other  
systems that may be out there.  AMFPHP & PyAMF supports passing SQL  
recordsets straight back to Flash which is really powerful - you can  
just pass the SQL query result straight back to Flash and set it as  
the dataprovider for data-grids.  I have never used PyAMF, but the  
PHP version is nice and AMF remoting is worth looking at if you plan  
to do a lot of Flash->Server communication, why?


http://www.jamesward.com/census/

HTH

Glen

Gustavo Duenas wrote:

Hi Beno, you can try this one:

http://library.creativecow.net/articles/brimelow_lee/php_mysql/video-tutorial.php

here is a tutorial how to use php + mysql and flash, but is as Glen  
wrote, it is servce side, you have to have a server in order to  
prove it, or at least use mamp on your mac or whatever the kind is  
for windows.


Regards,

Gus
On Jan 29, 2010, at 8:48 AM, Glen Pike wrote:

I doubt this would really catch on because FlashPlayer is client  
side and MySQL is server side - you would normally talk to your  
webserver with Flash and get server side code to do the MySQL work.


Saying that, you could write your own AS3 MySQL engine and connect  
directly to port 3306, or alternatively use someone else's AS3- 
MySQL engine but they are usually not "complete" or mature like  
libs for PHP, Python, etc. etc.

http://www.google.com/search?ie=UTF-8&oe=UTF-8&sourceid=navclient&gfns=1&q=as3+mysql

beno - wrote:

Hi;
It dawned on me that in my study thus far of this very  
sophisticated AS3
language, there is no support for MySQL (or presumably for any  
database
engine). A quick preliminary search confirms that. Why? Will  
there be?

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





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



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



--

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

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



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


Re: [Flashcoders] Flash and MySQL

2010-02-01 Thread Gustavo Duenas

Hi Beno, here is other to try:

http://www.amfphp.org/

Regards,

gus

I totally agree with the rest of the guys, if you want to communicate  
mysql with flash you would have to use a php or coldfusion page first,  
make this page as xml and then retrieve the info into flash...it seems  
that there is not other way.



On Jan 29, 2010, at 8:48 AM, Glen Pike wrote:

I doubt this would really catch on because FlashPlayer is client  
side and MySQL is server side - you would normally talk to your  
webserver with Flash and get server side code to do the MySQL work.


Saying that, you could write your own AS3 MySQL engine and connect  
directly to port 3306, or alternatively use someone else's AS3-MySQL  
engine but they are usually not "complete" or mature like libs for  
PHP, Python, etc. etc.

http://www.google.com/search?ie=UTF-8&oe=UTF-8&sourceid=navclient&gfns=1&q=as3+mysql

beno - wrote:

Hi;
It dawned on me that in my study thus far of this very  
sophisticated AS3
language, there is no support for MySQL (or presumably for any  
database
engine). A quick preliminary search confirms that. Why? Will there  
be?

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





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



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


Re: [Flashcoders] Flash and MySQL

2010-02-01 Thread Gustavo Duenas

Hi Beno, you can try this one:

http://library.creativecow.net/articles/brimelow_lee/php_mysql/video-tutorial.php

here is a tutorial how to use php + mysql and flash, but is as Glen  
wrote, it is servce side, you have to have a server in order to prove  
it, or at least use mamp on your mac or whatever the kind is for  
windows.


Regards,

Gus
On Jan 29, 2010, at 8:48 AM, Glen Pike wrote:

I doubt this would really catch on because FlashPlayer is client  
side and MySQL is server side - you would normally talk to your  
webserver with Flash and get server side code to do the MySQL work.


Saying that, you could write your own AS3 MySQL engine and connect  
directly to port 3306, or alternatively use someone else's AS3-MySQL  
engine but they are usually not "complete" or mature like libs for  
PHP, Python, etc. etc.

http://www.google.com/search?ie=UTF-8&oe=UTF-8&sourceid=navclient&gfns=1&q=as3+mysql

beno - wrote:

Hi;
It dawned on me that in my study thus far of this very  
sophisticated AS3
language, there is no support for MySQL (or presumably for any  
database
engine). A quick preliminary search confirms that. Why? Will there  
be?

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





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



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


Re: [Flashcoders] event that is not working

2010-01-27 Thread Gustavo Duenas
solved, Nathan found out that I have two instances with the same name  
(logoMafle) that were causing the mistake, `I knew that was

something very dumb I was missing, thanks

Gustavo

On Jan 27, 2010, at 5:12 PM, Henrik Andersson wrote:


Karl DeSaulniers wrote:

not sure if you need the underscore in as3.


You might want to practice a little more. It is required that you  
don't have any underscore.


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



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


Re: [Flashcoders] event that is not working

2010-01-27 Thread Gustavo Duenas
I'm using it on as3 and I'm trying to use gotoAndPlay for the main  
time line


gustavo

P.s: I know that is don't but why it isn't working?

On Jan 27, 2010, at 4:16 PM, Karl DeSaulniers wrote:


Sorry to revert to AS2, but would this.gotoAndPlay work?
or mcName.gotoAndPlay?

Karl


On Jan 27, 2010, at 2:52 PM, Gustavo Duenas wrote:

not working! the gotoAndPlay event is on the main timeline, I don't  
know how can't I been able to use it, I did before...any other ideas


Gustavo

On Jan 27, 2010, at 2:52 PM, Nathan Mynarcik wrote:


Try e.target.gotoAndPlay(2);

--Original Message--
From: Gustavo Duenas
Sender: flashcoders-boun...@chattyfig.figleaf.com
To: Flash Coders List
ReplyTo: Flash Coders List
Subject: [Flashcoders] event that is not working
Sent: Jan 27, 2010 1:39 PM

Hi Coders I have this  code, apparently it  triggers the trace but  
it

doesn't move with the next frame in the time line, any ideas, I will
appreciate your input

here is my code


var ballXTween:Tween = new Tween(logoMafle, "y",Bounce.easeInOut,
logoMafle.y,
216, 1.5, true);

ballXTween.addEventListener(TweenEvent.MOTION_STOP, completo);
function completo(e:TweenEvent){
if(logoMafle.y>=216){
gotoAndPlay(2);
trace("arranca");
}
}

probably is a dumb question, but it is strange you know?


I'm doing everything I did before, but this is strange, weird, I  
hope

I'm doing something wrong

Gustavo

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


Nathan Mynarcik
Interactive Web Developer
nat...@mynarcik.com
254.749.2525
www.mynarcik.com

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



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


Karl DeSaulniers
Design Drumm
http://designdrumm.com

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



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


Re: [Flashcoders] event that is not working

2010-01-27 Thread Gustavo Duenas
not working! the gotoAndPlay event is on the main timeline, I don't  
know how can't I been able to use it, I did before...any other ideas


Gustavo

On Jan 27, 2010, at 2:52 PM, Nathan Mynarcik wrote:


Try e.target.gotoAndPlay(2);

--Original Message------
From: Gustavo Duenas
Sender: flashcoders-boun...@chattyfig.figleaf.com
To: Flash Coders List
ReplyTo: Flash Coders List
Subject: [Flashcoders] event that is not working
Sent: Jan 27, 2010 1:39 PM

Hi Coders I have this  code, apparently it  triggers the trace but it
doesn't move with the next frame in the time line, any ideas, I will
appreciate your input

here is my code


var ballXTween:Tween = new Tween(logoMafle, "y",Bounce.easeInOut,
logoMafle.y,
216, 1.5, true);

ballXTween.addEventListener(TweenEvent.MOTION_STOP, completo);
function completo(e:TweenEvent){
if(logoMafle.y>=216){
gotoAndPlay(2);
trace("arranca");
}
}

probably is a dumb question, but it is strange you know?


I'm doing everything I did before, but this is strange, weird, I hope
I'm doing something wrong

Gustavo

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


Nathan Mynarcik
Interactive Web Developer
nat...@mynarcik.com
254.749.2525
www.mynarcik.com

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



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


[Flashcoders] event that is not working

2010-01-27 Thread Gustavo Duenas
Hi Coders I have this  code, apparently it  triggers the trace but it  
doesn't move with the next frame in the time line, any ideas, I will  
appreciate your input


here is my code


var ballXTween:Tween = new Tween(logoMafle, "y",Bounce.easeInOut,  
logoMafle.y,

216, 1.5, true);

ballXTween.addEventListener(TweenEvent.MOTION_STOP, completo);
function completo(e:TweenEvent){
if(logoMafle.y>=216){
gotoAndPlay(2);
trace("arranca");
}
}

probably is a dumb question, but it is strange you know?


I'm doing everything I did before, but this is strange, weird, I hope  
I'm doing something wrong


Gustavo

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


Re: [Flashcoders] Rotation

2010-01-26 Thread Gustavo Duenas
Beno, I can help you out, this is my email, gusdue...@gmail.com email  
me the questions you need and If I don't know I can google it for you  
and point  you to the right Direction. I know is hard to be newbie,  
anchio i'll sono pittore, I'm an artist too, and I know how hard is to  
digest the code when you are just thinking  miles per hour in pure  
images. happens to me too. When it comes to you that way, my advice is  
to cool it down, write or draw it on  paper and then start designing  
and writing the code, that is the way I read on many books, (i've  
saved you introduction or chapter one in many flash books)



Blessings

Gus
On Jan 26, 2010, at 7:11 AM, beno - wrote:

On Mon, Jan 25, 2010 at 9:06 PM, jared stanley >wrote:



Beno, there's a list on here called 'flash newbies' or something -
despite the name there are great resources. The level of questions
you're asking are definitely pointed more to that list, please start
posting there I think you and everyone else will have a better
experience.



It took forever to find this list. If you can help me find a newbie  
list
that is __active__, fine, I'll be more than happy to do that. I  
still ask
some questions of the Adobe list, but I've learned which ones  
they'll answer

and which they'll ignore. Tricky business, this.
beno
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



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


Re: [Flashcoders] progressBar component question

2010-01-25 Thread Gustavo Duenas

I've solved the issue, thanks
now is working
On Jan 25, 2010, at 5:54 PM, Gustavo Duenas wrote:


stop();
import flash.display.*;


root.contentLoaderInfo.addEventListener (ProgressEvent.PROGRESS,  
plLoading);



function plLoading(event:ProgressEvent) :void {
if(event.bytesLoaded == event.bytesTotal){
gotoAndPlay(2);
}
}

this is what I got , how can I set the source to root.loaderInfo


thanks

Gustavo
On Jan 25, 2010, at 4:54 PM, Henrik Andersson wrote:


Set the source property to root.loaderInfo.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



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



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


Re: [Flashcoders] progressBar component question

2010-01-25 Thread Gustavo Duenas

stop();
import flash.display.*;


root.contentLoaderInfo.addEventListener (ProgressEvent.PROGRESS,  
plLoading);



function plLoading(event:ProgressEvent) :void {
if(event.bytesLoaded == event.bytesTotal){
gotoAndPlay(2);
}
}

this is what I got , how can I set the source to root.loaderInfo


thanks

Gustavo
On Jan 25, 2010, at 4:54 PM, Henrik Andersson wrote:


Set the source property to root.loaderInfo.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



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


[Flashcoders] progressBar component question

2010-01-25 Thread Gustavo Duenas
Hi, I was wondering how can I use the progressbar component to load  
the entire movie instead of a movie loaded inside a movie clip.
Anyone knows or at least knows about a tutorial to point me in?  
because I want to use it to check the progress of loading the entire  
movie, I can do it in as2, but it seems very obscure to do in as3.



I'de appreciate greatly your help friends.


Gustavo

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


Re: [Flashcoders] external interface-Lightbox in flash (solved)

2010-01-18 Thread Gustavo Duenas
Thanks for the help, I've just edit the lightbox++.js, because it  
appears that it is not working with the regular lightbox.js, there was  
a function to hide the flash and I've just erased, now everything is  
working as normal.


On Jan 18, 2010, at 12:21 PM, Bob Wohl wrote:


This line:


should just be





On Mon, Jan 18, 2010 at 8:25 AM, Gustavo Duenas <
gdue...@leftandrightsolutions.com> wrote:

so I change it for the regular lightbox.js or you meant inside of  
the js

file?
Gustavo

On Jan 16, 2010, at 1:33 AM, amol wrote:

It is because of your js   just chang this lightbox++.js   and check



- Original Message - From: "Gustavo Duenas" <
gdue...@leftandrightsolutions.com>
To: "Flash Coders List" 
Sent: Saturday, January 16, 2010 5:09 AM
Subject: Re: [Flashcoders] external interface


solved I did as you mentioned and also I put a folder named images

without seems not to work.
But now I have a problem, when I click and the lightbox is  
launched,  the

flash movie disappear and when I click close on the lightbox img,
the movie appears again, is that normal?


Gustavo
On Jan 15, 2010, at 3:54 PM, Bob Wohl wrote:

Also, just took a quick peep at your code, I'm pretty certain  
your  call

should look like:

  ExternalInterface.call("LightboxDelegate","images/  
cocoabutter.png" ,

"Cocoa Butter by COFINA SA'");

first param is the function name, second 2 would be the params  
you are
passing. I would probably clean this up a little on the JS side  
and

have a
function that accepts the call from flash and handle the call to  
the

lightbox script from there. But that's just my opinion. :)

hth

On Fri, Jan 15, 2010 at 1:47 PM, Bob Wohl   
wrote:


Are you able to get a simple alert to show from a button call?   
Also,

what
browser are you using?



On Fri, Jan 15, 2010 at 11:13 AM, Gustavo Duenas <
gdue...@leftandrightsolutions.com> wrote:

Thanks for your reply, I have the allow script access like this:



   var flashvars = {};
   var params = {};
   params.allowscriptaccess = "always";

var attributes={id:"menuCofina"};
swfobject.embedSWF("menucofina2.swf", "content", "100%", "100%",
"10.0.0",false,flashvars,params, attributes);



I'm testing it over the internet, on my test site.
but it is still not working, I don't get it...there is something
wrong
with my as3? I don't know I didn't realize this matter should  
be so

difficult

Gustavo

On Jan 15, 2010, at 12:57 PM, Bob Wohl wrote:

If you are testing localy you may need to go here and change  
your

privacy

settings to allow the directory you are testing from to   
communicate

with
JS:
<


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




Also, you need to make sure your embed script is properly  
set up.

Look at
allowScriptAccess.

B.

On Fri, Jan 15, 2010 at 10:43 AM, Gustavo Duenas <
gdue...@leftandrightsolutions.com> wrote:

Hi, Coders, I've been trying to use External interface to   
activate a



lightbox code I have on my web page, here is the html

EN" "

http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
http://www.w3.org/1999/xhtml";>


/>
Untitled Document



var attributes={id:"menuCofina"};
</pre><tt>swfobject.embedSWF("menucofina2.swf", "content", "100%",  
</tt><tt>"100%",
</tt><pre style="margin: 0em;">
"10.0.0",null,null,null, attributes);




</ 
</tt><tt>script>
</tt><pre style="margin: 0em;">
<script type="text/javascript" src="js/prototype.js">
</ 
</tt><tt>script>
</tt><pre style="margin: 0em;">
<script type="text/javascript">
function LightboxDelegate(url,caption) {
var objLink = document.createElement('a');
objLink.setAttribute('href',url);
objLink.setAttribute('rel','lightbox');
objLink.setAttribute('title',caption);
Lightbox.prototype.start(objLink);
}


<!--
body {
 background-color: #E9E8B3;
 background-image:url(backMain.jpg);
 background-attachment:fixed;
 background-repeat:repeat-y;
 background-position: center center;

}


-->











and here is my as3 code.

for the buttons.

buttinButter.addEventListener(MouseEvent.CLICK, butterImage);



function butterImage(evt:MouseEvent):void{
if(ExternalInterface.available){
 ExternalInterface.call("LightboxDelegate('images/  
cocoabutter.png'

,
'Cocoa Butter by COFINA SA')");
 trace("vamos bien");
}else{trace("problemas");}
}

buttonLiquor.addEventListener(MouseEvent.CLICK, liquorImage);

function

Re: [Flashcoders] external interface

2010-01-18 Thread Gustavo Duenas
so I change it for the regular lightbox.js or you meant inside of the  
js file?

Gustavo
On Jan 16, 2010, at 1:33 AM, amol wrote:


It is because of your js   just chang this lightbox++.js   and check


- Original Message - From: "Gustavo Duenas" >

To: "Flash Coders List" 
Sent: Saturday, January 16, 2010 5:09 AM
Subject: Re: [Flashcoders] external interface


solved I did as you mentioned and also I put a folder named images  
without seems not to work.
But now I have a problem, when I click and the lightbox is  
launched,  the flash movie disappear and when I click close on the  
lightbox img,

the movie appears again, is that normal?


Gustavo
On Jan 15, 2010, at 3:54 PM, Bob Wohl wrote:

Also, just took a quick peep at your code, I'm pretty certain  
your  call

should look like:

ExternalInterface.call("LightboxDelegate","images/  
cocoabutter.png" ,

"Cocoa Butter by COFINA SA'");

first param is the function name, second 2 would be the params you  
are
passing. I would probably clean this up a little on the JS side  
and  have a

function that accepts the call from flash and handle the call to the
lightbox script from there. But that's just my opinion. :)

hth

On Fri, Jan 15, 2010 at 1:47 PM, Bob Wohl   
wrote:


Are you able to get a simple alert to show from a button call?   
Also, what

browser are you using?



On Fri, Jan 15, 2010 at 11:13 AM, Gustavo Duenas <
gdue...@leftandrightsolutions.com> wrote:


Thanks for your reply, I have the allow script access like this:


 var flashvars = {};
 var params = {};
 params.allowscriptaccess = "always";

var attributes={id:"menuCofina"};
swfobject.embedSWF("menucofina2.swf", "content", "100%", "100%",
"10.0.0",false,flashvars,params, attributes);



I'm testing it over the internet, on my test site.
but it is still not working, I don't get it...there is  
something  wrong
with my as3? I don't know I didn't realize this matter should be  
so

difficult

Gustavo

On Jan 15, 2010, at 12:57 PM, Bob Wohl wrote:

If you are testing localy you may need to go here and change  
your privacy
settings to allow the directory you are testing from to   
communicate with

JS:
<

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




Also, you need to make sure your embed script is properly set  
up. Look at

allowScriptAccess.

B.

On Fri, Jan 15, 2010 at 10:43 AM, Gustavo Duenas <
gdue...@leftandrightsolutions.com> wrote:

Hi, Coders, I've been trying to use External interface to   
activate a

lightbox code I have on my web page, here is the html

http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
http://www.w3.org/1999/xhtml";>



Untitled Document



var attributes={id:"menuCofina"};
swfobject.embedSWF("menucofina2.swf", "content", "100%", "100%",
"10.0.0",null,null,null, attributes);






</ 
</tt><tt>script>
</tt><pre style="margin: 0em;">
<script type="text/javascript">
function LightboxDelegate(url,caption) {
var objLink = document.createElement('a');
objLink.setAttribute('href',url);
objLink.setAttribute('rel','lightbox');
objLink.setAttribute('title',caption);
Lightbox.prototype.start(objLink);
}


<!--
body {
   background-color: #E9E8B3;
   background-image:url(backMain.jpg);
   background-attachment:fixed;
   background-repeat:repeat-y;
   background-position: center center;

}


-->










and here is my as3 code.

for the buttons.

buttinButter.addEventListener(MouseEvent.CLICK, butterImage);



function butterImage(evt:MouseEvent):void{
if(ExternalInterface.available){
   ExternalInterface.call("LightboxDelegate('images/  
cocoabutter.png' ,

'Cocoa Butter by COFINA SA')");
   trace("vamos bien");
}else{trace("problemas");}
}

buttonLiquor.addEventListener(MouseEvent.CLICK, liquorImage);

function liquorImage(evt:MouseEvent):void{
   if(ExternalInterface.available){

ExternalInterface.call("LightboxDelegate('images/  
cocoaliquor.png' ,

'Cocoa
liquor by COFINA SA')");
   trace("vamos-rebien");}
}

buttonPowder.addEventListener(MouseEvent.CLICK, powderImage);

function powderImage(evt:MouseEvent):void{
   if(ExternalInterface.available){

ExternalInterface.call("LightboxDelegate('images/  
cocoapowder.png' ,

'Cocoa
Powder by COFINA SA')");
   trace("rebien Vamos!!");}
   }


Am I doing anything wrong, probably this is some estupid   
mistake, but I
don't see it, I'm doing anything by the book, let me know,   
please I need


Re: [Flashcoders] external interface

2010-01-15 Thread Gustavo Duenas
solved I did as you mentioned and also I put a folder named images  
without seems not to work.
But now I have a problem, when I click and the lightbox is launched,  
the flash movie disappear and when I click close on the lightbox img,

the movie appears again, is that normal?


Gustavo
On Jan 15, 2010, at 3:54 PM, Bob Wohl wrote:

Also, just took a quick peep at your code, I'm pretty certain your  
call

should look like:

 ExternalInterface.call("LightboxDelegate","images/ 
cocoabutter.png" ,

"Cocoa Butter by COFINA SA'");

first param is the function name, second 2 would be the params you are
passing. I would probably clean this up a little on the JS side and  
have a

function that accepts the call from flash and handle the call to the
lightbox script from there. But that's just my opinion. :)

hth

On Fri, Jan 15, 2010 at 1:47 PM, Bob Wohl  wrote:

Are you able to get a simple alert to show from a button call?  
Also, what

browser are you using?



On Fri, Jan 15, 2010 at 11:13 AM, Gustavo Duenas <
gdue...@leftandrightsolutions.com> wrote:


Thanks for your reply, I have the allow script access like this:


  var flashvars = {};
  var params = {};
  params.allowscriptaccess = "always";

var attributes={id:"menuCofina"};
swfobject.embedSWF("menucofina2.swf", "content", "100%", "100%",
"10.0.0",false,flashvars,params, attributes);



I'm testing it over the internet, on my test site.
but it is still not working, I don't get it...there is something  
wrong

with my as3? I don't know I didn't realize this matter should be so
difficult

Gustavo

On Jan 15, 2010, at 12:57 PM, Bob Wohl wrote:

If you are testing localy you may need to go here and change your  
privacy
settings to allow the directory you are testing from to  
communicate with

JS:
<

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




Also, you need to make sure your embed script is properly set up.  
Look at

allowScriptAccess.

B.

On Fri, Jan 15, 2010 at 10:43 AM, Gustavo Duenas <
gdue...@leftandrightsolutions.com> wrote:

Hi, Coders, I've been trying to use External interface to  
activate a

lightbox code I have on my web page, here is the html

http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
http://www.w3.org/1999/xhtml";>



Untitled Document



var attributes={id:"menuCofina"};
swfobject.embedSWF("menucofina2.swf", "content", "100%", "100%",
"10.0.0",null,null,null, attributes);








function LightboxDelegate(url,caption) {
var objLink = document.createElement('a');
objLink.setAttribute('href',url);
objLink.setAttribute('rel','lightbox');
objLink.setAttribute('title',caption);
Lightbox.prototype.start(objLink);
}


<!--
body {
background-color: #E9E8B3;
background-image:url(backMain.jpg);
background-attachment:fixed;
background-repeat:repeat-y;
background-position: center center;

}


-->










and here is my as3 code.

for the buttons.

buttinButter.addEventListener(MouseEvent.CLICK, butterImage);



function butterImage(evt:MouseEvent):void{
if(ExternalInterface.available){
ExternalInterface.call("LightboxDelegate('images/ 
cocoabutter.png' ,

'Cocoa Butter by COFINA SA')");
trace("vamos bien");
}else{trace("problemas");}
}

buttonLiquor.addEventListener(MouseEvent.CLICK, liquorImage);

function liquorImage(evt:MouseEvent):void{
if(ExternalInterface.available){

ExternalInterface.call("LightboxDelegate('images/ 
cocoaliquor.png' ,

'Cocoa
liquor by COFINA SA')");
trace("vamos-rebien");}
}

buttonPowder.addEventListener(MouseEvent.CLICK, powderImage);

function powderImage(evt:MouseEvent):void{
if(ExternalInterface.available){

ExternalInterface.call("LightboxDelegate('images/ 
cocoapowder.png' ,

'Cocoa
Powder by COFINA SA')");
trace("rebien Vamos!!");}
}


Am I doing anything wrong, probably this is some estupid  
mistake, but I
don't see it, I'm doing anything by the book, let me know,  
please I need

this fixed asap.

Regards,

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

___

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



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





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



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


Re: [Flashcoders] external interface

2010-01-15 Thread Gustavo Duenas

Thanks for your reply, I have the allow script access like this:


var flashvars = {};
var params = {};
params.allowscriptaccess = "always";

var attributes={id:"menuCofina"};
</pre><tt>swfobject.embedSWF("menucofina2.swf", "content", "100%", "100%",  
</tt><tt>"10.0.0",false,flashvars,params, attributes);
</tt><pre style="margin: 0em;">



I'm testing it over the internet, on my test site.
but it is still not working, I don't get it...there is something wrong  
with my as3? I don't know I didn't realize this matter should be so  
difficult


Gustavo
On Jan 15, 2010, at 12:57 PM, Bob Wohl wrote:

If you are testing localy you may need to go here and change your  
privacy
settings to allow the directory you are testing from to communicate  
with JS:

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




Also, you need to make sure your embed script is properly set up.  
Look at

allowScriptAccess.

B.

On Fri, Jan 15, 2010 at 10:43 AM, Gustavo Duenas <
gdue...@leftandrightsolutions.com> wrote:


Hi, Coders, I've been trying to use External interface to activate a
lightbox code I have on my web page, here is the html

http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
http://www.w3.org/1999/xhtml";>


Untitled Document



var attributes={id:"menuCofina"};
swfobject.embedSWF("menucofina2.swf", "content", "100%", "100%",
"10.0.0",null,null,null, attributes);








 function LightboxDelegate(url,caption) {
 var objLink = document.createElement('a');
 objLink.setAttribute('href',url);
 objLink.setAttribute('rel','lightbox');
 objLink.setAttribute('title',caption);
 Lightbox.prototype.start(objLink);
}


<!--
body {
  background-color: #E9E8B3;
  background-image:url(backMain.jpg);
  background-attachment:fixed;
  background-repeat:repeat-y;
  background-position: center center;

}


-->










and here is my as3 code.

for the buttons.

buttinButter.addEventListener(MouseEvent.CLICK, butterImage);



function butterImage(evt:MouseEvent):void{
if(ExternalInterface.available){
  ExternalInterface.call("LightboxDelegate('images/ 
cocoabutter.png' ,

'Cocoa Butter by COFINA SA')");
  trace("vamos bien");
}else{trace("problemas");}
}

buttonLiquor.addEventListener(MouseEvent.CLICK, liquorImage);

function liquorImage(evt:MouseEvent):void{
  if(ExternalInterface.available){

ExternalInterface.call("LightboxDelegate('images/cocoaliquor.png' ,  
'Cocoa

liquor by COFINA SA')");
  trace("vamos-rebien");}
}

buttonPowder.addEventListener(MouseEvent.CLICK, powderImage);

function powderImage(evt:MouseEvent):void{
  if(ExternalInterface.available){

ExternalInterface.call("LightboxDelegate('images/cocoapowder.png' ,  
'Cocoa

Powder by COFINA SA')");
  trace("rebien Vamos!!");}
  }


Am I doing anything wrong, probably this is some estupid mistake,  
but I
don't see it, I'm doing anything by the book, let me know, please I  
need

this fixed asap.

Regards,

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


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



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


[Flashcoders] external interface

2010-01-15 Thread Gustavo Duenas
Hi, Coders, I've been trying to use External interface to activate a  
lightbox code I have on my web page, here is the html


http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd 
">

http://www.w3.org/1999/xhtml";>


Untitled Document



var attributes={id:"menuCofina"};
swfobject.embedSWF("menucofina2.swf", "content", "100%", "100%", "10.0.0",null,null,null, attributes);


type="text/css"/>






   function LightboxDelegate(url,caption) {
   var objLink = document.createElement('a');
   objLink.setAttribute('href',url);
   objLink.setAttribute('rel','lightbox');
   objLink.setAttribute('title',caption);
   Lightbox.prototype.start(objLink);
}














and here is my as3 code.

for the buttons.

buttinButter.addEventListener(MouseEvent.CLICK, butterImage);



function butterImage(evt:MouseEvent):void{
if(ExternalInterface.available){
	ExternalInterface.call("LightboxDelegate('images/cocoabutter.png' ,  
'Cocoa Butter by COFINA SA')");

trace("vamos bien");
}else{trace("problemas");}
}

buttonLiquor.addEventListener(MouseEvent.CLICK, liquorImage);

function liquorImage(evt:MouseEvent):void{
if(ExternalInterface.available){
		ExternalInterface.call("LightboxDelegate('images/cocoaliquor.png' ,  
'Cocoa liquor by COFINA SA')");

trace("vamos-rebien");}
}

buttonPowder.addEventListener(MouseEvent.CLICK, powderImage);

function powderImage(evt:MouseEvent):void{
if(ExternalInterface.available){
		ExternalInterface.call("LightboxDelegate('images/cocoapowder.png' ,  
'Cocoa Powder by COFINA SA')");

trace("rebien Vamos!!");}
}


Am I doing anything wrong, probably this is some estupid mistake, but  
I don't see it, I'm doing anything by the book, let me know, please I  
need this fixed asap.


Regards,

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


Re: [Flashcoders] best way to use external interface

2009-09-28 Thread Gustavo Duenas

Ok, thanks, so it should work this way right?

Gustavi
On Sep 28, 2009, at 12:53 PM, Gregory Boland wrote:


thats essentially it.

Syntax is slightly different

if (ExternalInterface.available){
ExternalInterface.call("openMyWindow");}
}

make sure to import flash.external.ExternalInterface;

and when u tell it what the name of the method in the javascript is  
leave

off the ()



On Mon, Sep 28, 2009 at 12:18 PM, Gustavo Duenas <
gdue...@leftandrightsolutions.com> wrote:


Hi I have a function in javascript on the html

like:


[Flashcoders] best way to use external interface

2009-09-28 Thread Gustavo Duenas

Hi I have a function in javascript on the html

like:


Re: [Flashcoders] controlling an movie clipo from an external swf (SOLVED)

2009-08-25 Thread Gustavo Duenas
You were right I google my way in and I put an eventlistener  
(complete) to see when it is loaded and now it is working.

 here is the solution for those interested.

var contactLoader:Loader = new Loader();

contactLoader.contentLoaderInfo.addEventListener(Event.COMPLETE,  
onCompleto);

function onCompleto(e:Event):void{
var utop:MovieClip = contactLoader.content as MovieClip;
utop.buttonX.buttonMode=true;
utop.buttonX.addEventListener(MouseEvent.CLICK, closeMe);
function closeMe(e:MouseEvent):void{
removeChild(contactLoader);
}
trace("completo");
}
contactLoader.load(new URLRequest("contactUs.swf"));
addChild(contactLoader);
trace("contact");
}//contact Us Function



Regards,

Gus
On Aug 25, 2009, at 4:47 PM, Gregory Boland wrote:

you can't access another swf's timeline till its loaded.  Look at  
what your
writing, you have to account for the time it will take for the  
movieclip to

load in

greg

On Tue, Aug 25, 2009 at 4:24 PM, Gustavo Duenas <
gdue...@leftandrightsolutions.com> wrote:


 Hi coders I have this function and I'm trying to control an instance
inside an external swf called botonX

so far this is what I've been doing.

really need help, I'd appreciate



this is my code


function contactUs():void{

var contactMe:MovieClip = new MovieClip();
var contactLoader:Loader = new Loader();
contactLoader.load(new URLRequest("contactUs.swf"));
contactMe.addChild(contactLoader);
addChild(contactMe);
var myWindow:MovieClip = contactMe.contactLoader.botonX as MovieClip;
myWindow.addEventListener(MouseEvent.CLICK, closeClick);

trace("contact");
}//contact Us Function



this is the error message

TypeError: Error #1010: A term is undefined and has no properties.
   at main1_fla::MainTimeline/contactUs()
   at main1_fla::MainTimeline/onClick()




Regards,

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


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





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


[Flashcoders] controlling an movie clipo from an external swf

2009-08-25 Thread Gustavo Duenas
 Hi coders I have this function and I'm trying to control an  
instance inside an external swf called botonX


so far this is what I've been doing.

really need help, I'd appreciate



this is my code


function contactUs():void{

var contactMe:MovieClip = new MovieClip();
var contactLoader:Loader = new Loader();
contactLoader.load(new URLRequest("contactUs.swf"));
contactMe.addChild(contactLoader);  
addChild(contactMe);
var myWindow:MovieClip = contactMe.contactLoader.botonX as MovieClip;
myWindow.addEventListener(MouseEvent.CLICK, closeClick);

trace("contact");
}//contact Us Function



this is the error message

TypeError: Error #1010: A term is undefined and has no properties.
at main1_fla::MainTimeline/contactUs()
at main1_fla::MainTimeline/onClick()




Regards,

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


Re: [Flashcoders] flash forms to coldfusion or asp

2009-08-12 Thread Gustavo Duenas
Hi  I've recently  learned that the problem is not the code, is my  
server, the hosting support team is working on that...hoooray!

I hope those guys could do something.


Regards,

Gustavo
On Aug 9, 2009, at 7:16 PM, Karl DeSaulniers wrote:


Gus,
Can you send me a fla offline with all your fields and code in it?
Or I can send you the PHP file and you can adopt/edit/test the  
variables used.


LMK,

Karl

On Aug 8, 2009, at 11:14 PM, Gustavo Duenas wrote:

by the way this is the code I have could you check it from the  
side of the flash if this is ok.


appreciate it .


Gustavo

stop();

import flash.events.*;
import flash.net.URLLoader;
import flash.net.URLLoaderDataFormat;
import flash.net.URLRequest;
// 
var variables:URLVariables = new URLVariables();
// Be sure to change this URL to the PHP parse file on your site  
server

var varSend:URLRequest = new URLRequest("sendMail.cfm");
var varLoader:URLLoader = new URLLoader;
varSend.method = URLRequestMethod.POST;
varSend.data = variables;

this.status_txt.text = "";

this.sent.addEventListener(MouseEvent.CLICK, ValidateAndSend);


function ValidateAndSend(event:MouseEvent):void{

//validate form fields
if(!nombre.length) {
status_txt.text = "Please enter your name.";  
} else if(!email.length) {
status_txt.text = "Please enter an email address";
} else if(!validateEmail(email.text)) {
status_txt.text = "Please enter a VALID email address";
} else if(!details.length) {
status_txt.text = "Please enter a message.";
} else if (!phone.length){
status_txt.text ="enter you phone number";
}else if(!address.length){
status_txt.text ="enter your address";
}else if(!eventos.length){
status_txt.text="please enter your event description";
}



else {

 status_txt.text = "Thanks " + nombre.text + ", your message has  
been sent!";


variables.nombre = nombre.text;
variables.email = email.text;
variables.phone = phone.text;
variables.address=address.text;
variables.eventos=eventos.text;
variables.detalle = details.text;
varLoader.load(varSend);

gotoAndStop(2);

}
}

function validateEmail(str:String):Boolean {
var pattern:RegExp = /(\w|[_.\-])+@((\w|-)+\.)+\w{2,4}+/;
var result:Object = pattern.exec(str);
if(result == null) {
return false;
}
return true;
}
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Karl DeSaulniers
Design Drumm
http://designdrumm.com

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






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


Re: [Flashcoders] flash forms to coldfusion or asp

2009-08-08 Thread Gustavo Duenas

would you send me the link of the as3 version of the mail form?

gustavo
On Aug 8, 2009, at 9:47 PM, Karl DeSaulniers wrote:

I know where to find a php version you could get to work with as3.  
I use as2, so how to implement, you might have to google.


Lmk if you want to try as last resort,

Karl

Sent from losPhone

On Aug 8, 2009, at 5:36 PM, Gustavo Duenas  
 wrote:


Does anybody know where can I find a tutorial or sample files to  
make an email sender in flash as3 to asp or cfm pages?


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

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




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


Re: [Flashcoders] flash forms to coldfusion or asp

2009-08-08 Thread Gustavo Duenas
by the way this is the code I have could you check it from the side  
of the flash if this is ok.


appreciate it .


Gustavo

stop();

import flash.events.*;
import flash.net.URLLoader;
import flash.net.URLLoaderDataFormat;
import flash.net.URLRequest;
// 
var variables:URLVariables = new URLVariables();
// Be sure to change this URL to the PHP parse file on your site server
var varSend:URLRequest = new URLRequest("sendMail.cfm");
var varLoader:URLLoader = new URLLoader;
varSend.method = URLRequestMethod.POST;
varSend.data = variables;

this.status_txt.text = "";

this.sent.addEventListener(MouseEvent.CLICK, ValidateAndSend);


function ValidateAndSend(event:MouseEvent):void{

//validate form fields
if(!nombre.length) {
status_txt.text = "Please enter your name.";  
} else if(!email.length) {
status_txt.text = "Please enter an email address";
} else if(!validateEmail(email.text)) {
status_txt.text = "Please enter a VALID email address";
} else if(!details.length) {
status_txt.text = "Please enter a message.";
} else if (!phone.length){
status_txt.text ="enter you phone number";
}else if(!address.length){
status_txt.text ="enter your address";
}else if(!eventos.length){
status_txt.text="please enter your event description";
}



else {

 status_txt.text = "Thanks " + nombre.text + ", your message has  
been sent!";


variables.nombre = nombre.text;
variables.email = email.text;
variables.phone = phone.text;
variables.address=address.text;
variables.eventos=eventos.text;
variables.detalle = details.text;
varLoader.load(varSend);

gotoAndStop(2);

}
}

function validateEmail(str:String):Boolean {
var pattern:RegExp = /(\w|[_.\-])+@((\w|-)+\.)+\w{2,4}+/;
var result:Object = pattern.exec(str);
if(result == null) {
return false;
}
return true;
}
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] flash forms to coldfusion or asp

2009-08-08 Thread Gustavo Duenas
Does anybody know where can I find a tutorial or sample files to make  
an email sender in flash as3 to asp or cfm pages?


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


Re: [Flashcoders] flash forms problem

2009-08-08 Thread Gustavo Duenas

Thank leandro I'll do it.

gus
On Aug 8, 2009, at 1:16 PM, Leandro Ferreira wrote:

Ask it elsewhere, this is not a coldfusion list. Besides, I have no  
idea.





  Leandro Ferreira


On Sat, Aug 8, 2009 at 13:38, Gustavo Duenas <
gdue...@leftandrightsolutions.com> wrote:

Hi leandro, it went good, now I'm attempting to send it via email  
suing a
cfm page, this is the code of the coldfusion, so far is not  
working, would

you help me?

Regards,


Gus



replyto="#FORM.email#"

type="html">




 
   Name:
#FORM.nombre# 
 
 
   Email:
   #FORM.email#
 
 
   Address:
   #FORM.address#
 
 
   Phone:
   #FORM.phone#
 
 
   Date of the session:
   #FORM.eventos#
 
 
   Comments:
   #FORM.details#
 






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


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




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


Re: [Flashcoders] flash forms problem

2009-08-08 Thread Gustavo Duenas
Hi leandro, it went good, now I'm attempting to send it via email  
suing a cfm page, this is the code of the coldfusion, so far is not  
working, would you help me?


Regards,


Gus



replyto="#FORM.email#" type="html">





  
Name:
 #FORM.nombre# 
  
  
Email:
#FORM.email#
  
  
Address:
#FORM.address#
  
  
Phone:
#FORM.phone#
  
  
Date of the session:
#FORM.eventos#
  
  
Comments:
#FORM.details#
  





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


Re: [Flashcoders] flash forms problem

2009-08-07 Thread Gustavo Duenas
Hi Leandro so getting rid of this part would be ok then and the error  
wouldn't appear again.




var loader:URLLoader=new URLLoader();

loader.dataFormat=URLLoaderDataFormat.VARIABLES;

   try
   {
   loader.load(request);
   }
   catch (error:Error)
   {
   trace('Unable to load requested  
document.');

   }


Gustavo


On Aug 7, 2009, at 7:23 AM, Leandro Ferreira wrote:

As far as I know, the loader.dataFormat refers to the loaded data,  
not the
one you are about to send. My guess is that the error is on trying  
to decode
the variables name/value pair on the loaded data (see that the  
error is

triggered by URLLoader/onComplete())



  Leandro Ferreira
Sent from Brasilia, DF, Brazil

On Fri, Aug 7, 2009 at 00:12, Gustavo Duenas <
gdue...@leftandrightsolutions.com> wrote:


Hi coders, I have this code for a flash form


import flash.display.*;
import flash.events.*;
import flash.text.*;
import flash.net.*;

this.sent.addEventListener(MouseEvent.CLICK, sendMessage);

function sendMessage(e:Event):void
   {
   var variables:URLVariables=new URLVariables();
   variables.nombre=nombre.text;
   variables.email=email.text;
   variables.phone=phone.text;
   variables.address= address.text;
   variables.eventos=eventos.text;
   variables.details=details.text;



   var request:URLRequest=new URLRequest();
   request.url='sendMail.cfm';
   request.method=URLRequestMethod.POST;
   request.data=variables;

   var loader:URLLoader=new URLLoader();

loader.dataFormat=URLLoaderDataFormat.VARIABLES;

   try
   {
   loader.load(request);
   }
   catch (error:Error)
   {
   trace('Unable to load requested  
document.');

   }
   }

the fields are on the stage and those are input text.
when I click on the button,

 suddenly it sends this message Error: Error #2101: The String  
passed to

URLVariables.decode() must be a URL-encoded query string containing
name/value pairs.
   at Error$/throwError()
   at flash.net::URLVariables/decode()
   at flash.net::URLVariables()
   at flash.net::URLLoader/onComplete()


does anyone knows what this means?
help here pls.


Gustavo



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


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




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


[Flashcoders] flash forms problem

2009-08-06 Thread Gustavo Duenas

Hi coders, I have this code for a flash form


import flash.display.*;
import flash.events.*;
import flash.text.*;
import flash.net.*;

this.sent.addEventListener(MouseEvent.CLICK, sendMessage);

function sendMessage(e:Event):void
{
var variables:URLVariables=new URLVariables();
variables.nombre=nombre.text;
variables.email=email.text;
variables.phone=phone.text;
variables.address= address.text;
variables.eventos=eventos.text;
variables.details=details.text;



var request:URLRequest=new URLRequest();
request.url='sendMail.cfm';
request.method=URLRequestMethod.POST;
request.data=variables;

var loader:URLLoader=new URLLoader();
loader.dataFormat=URLLoaderDataFormat.VARIABLES;
try
{
loader.load(request);
}
catch (error:Error)
{
trace('Unable to load requested document.');
}
}

the fields are on the stage and those are input text.
when I click on the button,

 suddenly it sends this message Error: Error #2101: The String  
passed to URLVariables.decode() must be a URL-encoded query string  
containing name/value pairs.

at Error$/throwError()
at flash.net::URLVariables/decode()
at flash.net::URLVariables()
at flash.net::URLLoader/onComplete()


does anyone knows what this means?
help here pls.


Gustavo



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


Re: [Flashcoders] Holiday cards

2009-07-15 Thread Gustavo Duenas
Man, those cards are very good, you really need to start  
brainstorming now to do something way better than that.


Gustavo

P.D:

what kind of business is ?
who is your target group?
what is the concept they want in there?
What they will like to have it there?

Once you have those questions answered, you would start doing  
brainstorming, because the answer of the question is what you clients  
will be hearing to convince them of your work.


I'm a marketing consultant and a creative director too, that is why I  
consider it that important for you to do first.





On Jul 15, 2009, at 3:41 PM, Kerry Thompson wrote:


Michael Mendelssohn wrote:


Anyone know of any really superb examples of corporate holiday  
greeting

cards?

Just trying to brainstorm.


Jacquie Lawson is my favorite: 

Cordially,

Kerry Thompson

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



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


Re: [Flashcoders] Holiday cards

2009-07-15 Thread Gustavo Duenas

you flash based or printed ones?

Gustavo
On Jul 15, 2009, at 9:38 AM, Mendelsohn, Michael wrote:


Hi list...

Anyone know of any really superb examples of corporate holiday  
greeting cards?  Just trying to brainstorm.


Thanks!
- Michael M.

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





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


[Flashcoders] no more mac ppc for adobe?

2009-07-14 Thread Gustavo Duenas



Is adobe dropping the making of programs for the mac g5 ppc machines?  
I'm asking this because I've just downloaded the coldfusion builder  
beta and  the flash builder beta(gumbo)
and those are not going to run on g5 ppc machines , only for mac  
intel, is that the new direction of adobe or juts because of the beta  
releases?


Regards,

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


[Flashcoders] swfaddress issue resolved(finally)

2009-07-08 Thread Gustavo Duenas
 I don't know why but  while checking my old mails from the list  
I've found out that one of my colleagues here point me to a tutorial  
about how to use
SWFaddress, therefore I went there and I've tried the solution there  
and results that works fine!!!


1. instead of installing the swc from swfaddress I've just put the  
swfaddress.as and the swfAddressEvent.as in the folder of my flash  
site and copied the

the index.html file for the example and voila!!!

2. results that maybe I have the swc installed in someplace that  
wasn't the correct(causing some kind of conflict when it compiles),  
if anyone knows where is the correct place, please let me know.
and for second I've just put the swfaddress.addeventlistener to the  
end of the code instead of the beginning , according with  
gotoandlearn.com
so for the people who has problem with this swfaddress thingy, this  
maybe is a solution. Voila!! now is working as supposed to.



I hope it helps (for newbies like me :))


Gustavo





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


Re: [Flashcoders] problem with swfaddress

2009-07-06 Thread Gustavo Duenas LRS
Hi, I was wondering if this issue has something to do with the fact  
That I have embed fonts in the flash movie?


let me know, otherwise, I'm still needing desperately help.

gus
On Jul 6, 2009, at 10:06 PM, Gustavo Duenas wrote:




Hi I have a problem in swf address, I've been following the example  
on gotoandlearn.com and this is my second time, first time went  
good, but this time is odd.


here is my code on the flash side:

stop();
import com.asual.swfaddress.SWFAddress;
import com.asual.swfaddress.SWFAddressEvent;
import flash.display.*;
import flash.filters.*;
import flash.display.BlendMode;
import flash.net.URLLoader;
import flash.net.URLRequest;
import flash.display.Loader;
import flash.text.StyleSheet;
import fl.controls.UIScrollBar;

//swfaddress//

SWFAddress.addEventListener(SWFAddressEvent.CHANGE, onChange);

function onChange(e:SWFAddressEvent):void{
trace(e.value);
if(e.value != "/")
			SWFAddress.setTitle("Mafle Photography Jacksonville Fl-" +  
e.value.substring(1));

else
SWFAddress.setTitle("Mafle Photography - Home");
}




function aboutUs():void{
SWFAddress.setValue("AboutUs");
trace("about");
}
function commercialPics():void{
SWFAddress.setValue("Commercial");
trace("commercial");
}
function contactUs():void{
SWFAddress.setValue("Contact");
trace("contact");
}
function modelPictures():void{
SWFAddress.setValue("Models");
trace("models");
}
function portraitPics():void{

trace("portraits");
SWFAddress.setValue("Portraits");


}
function weddingPictures():void{
SWFAddress.setValue("Weddings");
trace("weddings");
}
function engagementPictures():void{
SWFAddress.setValue("Engagements");
trace("engagements");
}
function homeMafle():void{
SWFAddress.setValue("Home");
trace("home");
}
function blogMafle():void{
SWFAddress.setValue("Blog");
trace("blog");

}

function stockPictures():void{
SWFAddress.setValue("Stock");
trace("stock");
}

function clickDefault():void{
SWFAddress.setValue("Default");
trace("default");

}
function onClick(e:MouseEvent):void{


if (e.currentTarget.name == "about"){
aboutUs();
}else if(e.currentTarget.name=="commercial"){
commercialPics();
}else if(e.currentTarget.name=="weddings"){
weddingPictures();
}else if(e.currentTarget.name=="portraits"){
portraitPics();
}else if(e.currentTarget.name=="engagements"){
engagementPictures();
}else if(e.currentTarget.name=="contact"){
contactUs();

}else if(e.currentTarget.name=="models"){
modelPictures();
}else if(e.currentTarget.name=="stock"){
stockPictures();
}else if(e.currentTarget.name=="blog"){
blogMafle();
}else if(e.currentTarget.name=="home"){
homeMafle();
}else { clickDefault();}
}


ok, I've been doing everything as the video said, but I don't see a  
problem in the flash.



here is my html code.





Untitled Document



var attributes={id:"MainMafle"}
</pre><tt>swfobject.embedSWF("main1.swf", "content", "1024", "768",  
</tt><tt>"10.0.0",null,null,null, attributes);
</tt><pre style="margin: 0em;">












OK. everything is looking good, but in someway it is not working,  
someone please help me out.


Gustavo

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



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


Re: [Flashcoders] problem with code

2009-07-02 Thread Gustavo Duenas LRS
you could use to optimize a flash site the swfaddress, you can  
download it from here:

http://www.asual.com/swfaddress/
 and I'll send you a link for you to see how to apply this to your  
code, Actually the structure I have now is based on that.
You can use the metadata available in your keywords, description and  
others part also if you are using swfobject you can put in the part  
where is supposed to be the warning about the
flash kind you actually have running in your flash object (I'm doing  
that with no problem at all).
You can use indexation using a xml.tar.gz file to index the files in  
your website, you can make more than one page in html and named as  
the different parts of your website.


That is what I've been using.

Gus
On Jul 2, 2009, at 11:22 PM, Karl DeSaulniers wrote:


Hello List..

I could go to Google and try and find this out, but I figured being  
the seasoned designers you are, I would be in better hands if I  
asked here.
Excuse me if this is a little off-topic, but what, in your opinion,  
is the best way to optimize your flash site for search engines?


S.E.O is what I believe they call it.
Search Engine Optimization.

Doesn't this more pertain to the type of MetaData you have in your  
HTML then in your flash file???

Or is there a separate technology for S.E.O??

Any and all responses are welcome..

Best,

Karl DeSaulniers
Design Drumm
http://designdrumm.com

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



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


Re: [Flashcoders] problem with code

2009-07-02 Thread Gustavo Duenas LRS

Ok I got it.

the problem was that I got my buttons which were movieClips named the  
same as functions, I've just changed the name from about() to aboutUs 
() and now it is working, thank you.


Gustavo
On Jul 2, 2009, at 11:18 PM, Gustavo Duenas LRS wrote:

Ok I've tried just what you say and now I HAVE IMCOMPATIBLE  
OVERRIDE AND DUPLICATE FUNCTION DEFINITION, SOMEONE HELP ME PLEASE!!!


GUSTAVO

On Jul 2, 2009, at 10:44 PM, Karl DeSaulniers wrote:


Hey there Gus,
I think you just had a couple of things typed wrong. Try this:

//declare your functions before the onClick

function about():Void{//you had a lowercase "void" here it needs  
to be "Void"

//do something
}
function commercial():Void {//you didn't have a "Void" here
//do something
}
function contact():Void {//you had a lowercase "void" here it  
needs to be "Void"

//do something
}

function onClick(e:MouseEvent):Void {//you had a lowercase "void"  
here, I think it needs to be "Void", plus you had "mouseEvent" and  
I think it needs to be "MouseEvent"

if (e.currentTarget.name == "about") {
about();
} else if (e.currentTarget.name == "contact") {
contact();
} else if (e.currentTarget.name == "commercial") {
commercial();
} else {
    gotoAndPlay(3);
}
}

HTH

Karl DeSaulniers
Design Drumm
http://designdrumm.com

On Jul 2, 2009, at 9:03 PM, Gustavo Duenas LRS wrote:


Hi coders I have this code

this is an onclick function


function onClick(e:mouseEvent):void{

if(e.currentTarget.name =="about"){
about();
}else if(e.currentTarget.name=="contact"){
contact();
}else if(e.currentTarget.name=="commercial"){
commercial();
}else{ gotoAndPlay(3);}
}

function about():void{
do something
}
function commercial(){
do something
}
function contact():void{
do something}

Well the problem is that anytime I'm running through the flash,  
it gets me an odd error like an 1021: Duplicate function


does anyone can see what is wrong there and what am I missing?

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




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



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



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


Re: [Flashcoders] problem with code

2009-07-02 Thread Gustavo Duenas LRS
Ok I've tried just what you say and now I HAVE IMCOMPATIBLE OVERRIDE  
AND DUPLICATE FUNCTION DEFINITION, SOMEONE HELP ME PLEASE!!!


GUSTAVO

On Jul 2, 2009, at 10:44 PM, Karl DeSaulniers wrote:


Hey there Gus,
I think you just had a couple of things typed wrong. Try this:

//declare your functions before the onClick

function about():Void{//you had a lowercase "void" here it needs to  
be "Void"

//do something
}
function commercial():Void {//you didn't have a "Void" here
//do something
}
function contact():Void {//you had a lowercase "void" here it needs  
to be "Void"

//do something
}

function onClick(e:MouseEvent):Void {//you had a lowercase "void"  
here, I think it needs to be "Void", plus you had "mouseEvent" and  
I think it needs to be "MouseEvent"

if (e.currentTarget.name == "about") {
about();
} else if (e.currentTarget.name == "contact") {
contact();
} else if (e.currentTarget.name == "commercial") {
commercial();
} else {
        gotoAndPlay(3);
}
}

HTH

Karl DeSaulniers
Design Drumm
http://designdrumm.com

On Jul 2, 2009, at 9:03 PM, Gustavo Duenas LRS wrote:


Hi coders I have this code

this is an onclick function


function onClick(e:mouseEvent):void{

if(e.currentTarget.name =="about"){
about();
}else if(e.currentTarget.name=="contact"){
contact();
}else if(e.currentTarget.name=="commercial"){
commercial();
}else{ gotoAndPlay(3);}
}

function about():void{
do something
}
function commercial(){
do something
}
function contact():void{
do something}

Well the problem is that anytime I'm running through the flash, it  
gets me an odd error like an 1021: Duplicate function


does anyone can see what is wrong there and what am I missing?

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




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



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


[Flashcoders] problem with code

2009-07-02 Thread Gustavo Duenas LRS

Hi coders I have this code

this is an onclick function


function onClick(e:mouseEvent):void{

if(e.currentTarget.name =="about"){
about();
}else if(e.currentTarget.name=="contact"){
contact();
}else if(e.currentTarget.name=="commercial"){
commercial();
}else{ gotoAndPlay(3);}
}

function about():void{
do something
}
function commercial(){
do something
}
function contact():void{
do something}

Well the problem is that anytime I'm running through the flash, it  
gets me an odd error like an 1021: Duplicate function


does anyone can see what is wrong there and what am I missing?

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


[Flashcoders] transparency in flash

2009-06-19 Thread Gustavo Duenas



Hi there, in Illustrator and photoshop you can set the transaparency  
to overlay, normal, soft light, hardlight, multiply, etc, there is  
away to set this thing also using action script 3?



Regards,

Gustavo


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


Re: [Flashcoders] swfaddress help needed

2009-06-18 Thread Gustavo Duenas LRS

Thanks Man, I will try that tomorrow, let you you know if that was it.

Regards,

Gus


On Jun 18, 2009, at 5:02 PM, Glen Pike wrote:


Hi,

   Like Kenneth said - you need to pass all your navigation from  
Flash through SWFAddress and don't directly create windows when  
someone clicks a button in Flash, but you listen for the changes to  
the SWFAddress value and open windows based on the value.  That  
way, when someone clicks the forward & back buttons in the browser,  
the history changes the SWFAddress value, so your Flash will keep  
up...



//Somewhere in your init, you listen for changes to SWFAddress
SWFAddress.addEventListener(SWFAddressEvent.CHANGE, _changeHandler);

//Do your "normal" setup for buttons.   
this.contact.addEventListener(MouseEvent.CLICK, newClick);


var internal:Boolean = false;

function newClick(e:MouseEvent):void{
   //here is the swfAddress//
   //You only set the value in here - you wait for SWFAddress to  
tell you something has changed before doing anything

   swfAddress.setValue(e.currentTarget.name);
   //You might want to set a variable here like "internal = true"  
if you want to know whether clicks are from inside Flash or from  
the browser..

   internal = true;
}

//Handle changes in
function _changeHandler(event:SWFAddressEvent):void {

   var newWindow:NewWindow = new NewWindow();
 //The path value of the event contains the new SWFAddress path  
in your history.
   //On first load of the page you will get "/" as the path so you  
need to handle this.

   var path:String = event.path;
   if("/" == path) {
  path = "/home";
   }
   //Maybe do something if your internal variable was true.
   if(true == internal) {
  //Do something different maybe if someone clicked in Flash?
   }
   //reset internal
   internal = false;
   newWindow.name= path;
   //...
}

HTH

   Glen

Gustavo Duenas LRS wrote:

Hi Friends.
I have seen the tutorial for the swfaddress in gotoandlearn.com,  
but I want to use it on a project I have which is a quite  
different situation,


1. the website is dynamic the parts of it are me on runtime, are  
not present on the stage at the moment, are just called and  
assembly depending of the name of the button that click the call.


2. the swfaddress works good when it comes to show the address in  
the address bar of the browser, but when I try to use the  
directional arrows of the browser I'm shooting at the dark totally.
Because I don't know how to make it work, since he tutorial never  
mention about this particular.



here is the code to create the different parts.


//the part of the import the swfAddress is here, no problem at all

//the part of the set value//

switch(e.value){

case "/contact"

//here I don't know how to going forward since all my past intents  
were so frustrating...any ideas?//


}

this.contact.addEventListener(MouseEvent.CLICK, newClick);

function newClick(e:MouseEvent):void{

//here is the swfAddress//

swfAddress.setValue(e.currentTarget.name);

var newWindow:NewWindow = new NewWindow();

newWindow.name=e.currentTarget.name;

an so on the structures that are in the windows


///the part of the addchild that works good//


}


I hope someone could help me...any advice welcome.

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




--

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

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



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


[Flashcoders] swfaddress help needed

2009-06-18 Thread Gustavo Duenas LRS

Hi Friends.
I have seen the tutorial for the swfaddress in gotoandlearn.com, but  
I want to use it on a project I have which is a quite different  
situation,


1. the website is dynamic the parts of it are me on runtime, are not  
present on the stage at the moment, are just called and assembly  
depending of the name of the button that click the call.


2. the swfaddress works good when it comes to show the address in the  
address bar of the browser, but when I try to use the directional  
arrows of the browser I'm shooting at the dark totally.
Because I don't know how to make it work, since he tutorial never  
mention about this particular.



here is the code to create the different parts.


//the part of the import the swfAddress is here, no problem at all

//the part of the set value//

switch(e.value){

case "/contact"

//here I don't know how to going forward since all my past intents  
were so frustrating...any ideas?//


}

this.contact.addEventListener(MouseEvent.CLICK, newClick);

function newClick(e:MouseEvent):void{

//here is the swfAddress//

swfAddress.setValue(e.currentTarget.name);

var newWindow:NewWindow = new NewWindow();

newWindow.name=e.currentTarget.name;

an so on the structures that are in the windows


///the part of the addchild that works good//


}


I hope someone could help me...any advice welcome.

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


[Flashcoders] (no subject)

2009-06-17 Thread Gustavo Duenas
Hi Anyone knows a tutorial or how-to skin the scroll bar component in  
flash, I'd rather have something different than the regular scroll  
bar of flash CS3.


regards,

Gus





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


[Flashcoders] skinning in cs4 tutorial help

2009-06-16 Thread Gustavo Duenas LRS
Anyone knows a good tutorial about how to skin the slider component  
for text fields in flash cs4?


Regards,

Gustavo


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


Re: [Flashcoders] SWF address

2009-06-10 Thread Gustavo Duenas

Thanks man!

Gustavo
On Jun 10, 2009, at 2:29 PM, Gregory Boland wrote:


http://www.gotoandlearn.com/play?id=107

On Wed, Jun 10, 2009 at 2:11 PM, Gustavo Duenas <
gdue...@leftandrightsolutions.com> wrote:



Does anyone know how could I use the swf adreess? I have it  
downloaded but

it seems that there is no
a how to guide in the Asual Site, would anyone point me to a  
tutorial?


Regards,

Gustavo


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


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






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


[Flashcoders] SWF address

2009-06-10 Thread Gustavo Duenas


Does anyone know how could I use the swf adreess? I have it  
downloaded but it seems that there is no

a how to guide in the Asual Site, would anyone point me to a tutorial?

Regards,

Gustavo


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


Re: [Flashcoders] help removing an display object created

2009-06-04 Thread Gustavo Duenas
Hi Glen, problem is that for each button it creates a different clip  
named newWindow.


I have them named and it works according to your last formula the  
name of each one is root1 + the name on the object
I 'm trying to make a code to see first which is the object that is  
already created like


function removeClip():void{

if (root1.displayObject.name =="contact"){
removeChild(root1.contact);
}else if(root1.displayObject.name=="aboutUs"){
removeChild(root1.aboutUs);
}else if(root1.displayObject.name=="support"){
removeChild(root1.support);
}else if(root1.displayObject.name=="process"){
removeChild(root1.process);
}else if(root1.displayObject.name =="enviroment"){
removeChild(root1.enviroment);
} else{ trace("everything clear");
}

That is exactly the structure of what I'm looking for.

Regards,

Gustavo

P.s: this is a wild guess I haven't tried yet.

On Jun 4, 2009, at 4:16 AM, Glen Pike wrote:


Hi,

   Sorry, I just replied to your other thread, but now I see your  
code...


   Try something like this...

   function removeClip(thenameoftheobject) {
  thenameoftheobject.parent.removeChild(thenameoftheobject);
   }

   Glen

Gustavo Duenas wrote:



I have several buttons which create some windows based on a movie  
clip that exports for actioncript.
Everything is ok, with the creation, but when it comes to close  
them ( I have a button in the window itself that

can remove the child), I will trying to do it using actionscript.

if (stage.contains(thenameoftheobject)){
stage.removeChild(thenameoftheobject)}

but so far it isn't working,
Flash is telling me that the display object is not there (course  
is not there until it is created by the button) so everyone knows  
how could I
remove the child from the same buttons without the warning that  
the buttons are not there.


here is my code for the windows. it will explain how I have those  
created.


function newClick(e:MouseEvent){
productsOff();
removerChild()

gotoAndPlay(75);
var newBack:Loader = new Loader();
newBack.load(new URLRequest("imgs/sombrero.jpg"));
this.backMovie.addChild(newBack)
var myWindow:AboutUsWindow = new AboutUsWindow();
myWindow.name = e.currentTarget.name;
trace(myWindow.name);
myWindow.x=500.0;
myWindow.y=391.0;
var myText:URLLoader= new URLLoader();
myText.addEventListener(Event.COMPLETE, onLoaded);
function onLoaded(e:Event):void{
myWindow.textoWindow.text= e.target.data;
myScroll.scrollTarget=myWindow.textoWindow;
   }
myText.load(new URLRequest("text/"+ e.currentTarget.name 
+".txt"));

var myScroll:UIScrollBar = new UIScrollBar();
myScroll.enabled=true;
myScroll.direction= "VERTICAL";
myScroll.setSize(myWindow.textoWindow.width,  
myWindow.textoWindow.height);


myScroll.x=300;
myScroll.y=-33;
myScroll.height = myWindow.textoWindow.height;
myWindow.addChild(myScroll);
var myLoader:Loader = new Loader();
myLoader.load(new URLRequest(e.currentTarget.name+".swf"));
myWindow.imgScreen.addChild(myLoader);
myWindow.botoncito.buttonMode=true;
myWindow.botoncito.addEventListener(MouseEvent.MOUSE_OVER,  
botoncitoOver);
myWindow.botoncito.addEventListener(MouseEvent.MOUSE_OUT,  
botoncitoOut);
myWindow.botoncito.addEventListener(MouseEvent.CLICK,  
botoncitoClick);

//new botoncitoBehaviour//
function botoncitoOver(e:MouseEvent):void{
e.currentTarget.gotoAndPlay(2);
   }
function botoncitoOut(e:MouseEvent):void{
e.currentTarget.gotoAndStop(1);
}
function botoncitoClick(e:MouseEvent):void{
   removeChild(e.currentTarget.parent);
   }
addChild(myWindow);
}


Any help is appreciated.

Gus


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




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






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


[Flashcoders] help removing an display object created

2009-06-03 Thread Gustavo Duenas



I have several buttons which create some windows based on a movie  
clip that exports for actioncript.
Everything is ok, with the creation, but when it comes to close them  
( I have a button in the window itself that

can remove the child), I will trying to do it using actionscript.

if (stage.contains(thenameoftheobject)){
stage.removeChild(thenameoftheobject)}

but so far it isn't working,
Flash is telling me that the display object is not there (course is  
not there until it is created by the button) so everyone knows how  
could I
remove the child from the same buttons without the warning that the  
buttons are not there.


here is my code for the windows. it will explain how I have those  
created.


function newClick(e:MouseEvent){
productsOff();
removerChild()

gotoAndPlay(75);
var newBack:Loader = new Loader();
newBack.load(new URLRequest("imgs/sombrero.jpg"));
this.backMovie.addChild(newBack)

var myWindow:AboutUsWindow = new AboutUsWindow();
myWindow.name = e.currentTarget.name;
trace(myWindow.name);
myWindow.x=500.0;
myWindow.y=391.0;
var myText:URLLoader= new URLLoader();
myText.addEventListener(Event.COMPLETE, onLoaded);
function onLoaded(e:Event):void{
myWindow.textoWindow.text= e.target.data;
myScroll.scrollTarget=myWindow.textoWindow;

}
myText.load(new URLRequest("text/"+ e.currentTarget.name+".txt"));
var myScroll:UIScrollBar = new UIScrollBar();
myScroll.enabled=true;
myScroll.direction= "VERTICAL";
myScroll.setSize(myWindow.textoWindow.width,  
myWindow.textoWindow.height);


myScroll.x=300;
myScroll.y=-33;
myScroll.height = myWindow.textoWindow.height;
myWindow.addChild(myScroll);
var myLoader:Loader = new Loader();
myLoader.load(new URLRequest(e.currentTarget.name+".swf"));
myWindow.imgScreen.addChild(myLoader);
myWindow.botoncito.buttonMode=true;
	myWindow.botoncito.addEventListener(MouseEvent.MOUSE_OVER,  
botoncitoOver);
	myWindow.botoncito.addEventListener(MouseEvent.MOUSE_OUT,  
botoncitoOut);

myWindow.botoncito.addEventListener(MouseEvent.CLICK, botoncitoClick);


//new botoncitoBehaviour//


function botoncitoOver(e:MouseEvent):void{
e.currentTarget.gotoAndPlay(2);

}
function botoncitoOut(e:MouseEvent):void{
e.currentTarget.gotoAndStop(1);
}
function botoncitoClick(e:MouseEvent):void{

removeChild(e.currentTarget.parent);

}
addChild(myWindow);

}


Any help is appreciated.

Gus


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


Re: [Flashcoders] removing dynamically created movie clips(HELP)

2009-06-03 Thread Gustavo Duenas



Hi Glen, I did as you said and this is the result of the first  
part:clip is [object MainTimeline] name root1 how can I rename the  
object?True is I don't know how.

I tried using :

var newWindow:AboutUsWindow = new AboutUsWindow();
newWindow.name = "newWindow";

but it returns nothing, I only have the phrase you have in the  
beginning of my email.


Regards,


Gustavo


























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


Re: [Flashcoders] removing dynamically created movie clips(HELP)

2009-06-03 Thread Gustavo Duenas
Hi Glen, the problem is not the creation of the window(which is movie  
clip exported to actionscript), is to removing then in a function.

Regards,
Gustavo
On Jun 3, 2009, at 11:04 AM, Glen Pike wrote:

function click(e:MouseEvent):void{var newWindow:AboutUsWindow = new  
AboutUsWindow()://??addChild(newWindow)}Gustavo Duenas wrote:


Hi Matt I did as you sent me, but something wrong happened this is  
the warning flash gave me:1120: Access of undefined property  
contactWindow.and so on with the other parts of the code , code  
is:function removerChild():void{if(stage.contains 
(contactWindow)){stage.removeChild(contactWindow);} 
else if(stage.contains(productGeneral)) 
{stage.removeChild(productGeneral);}else if 
(stage.contains(productWindow)){stage.removeChild 
(productWindow);}else if(stage.contains(aboutWindow)) 
{stage.removeChild(aboutWindow);}else if 
(stage.contains(ecuacocoaWindow)){stage.removeChild 
(ecuacocoaWindow);}else if(stage.contains(suppWindow)) 
{stage.removeChild(suppWindow);}else if 
(stage.contains(eWindow)){stage.removeChild 
(eWindow);}else if(stage.contains(proWindow)) 
{stage.removeChild 
(proWindow);}  }T 
his is added to the click event of my buttons.The click is a  
function that creates an object based on an object that is export  
for actionscriptlike:function click(e:MouseEvent):void{var  
newWindow:AboutUsWindow = new AboutUsWindow():}see? is the regular  
way, problem is when I run the code above to try to get rid of  
those windows, but they are not still on stage..thatwas the  
reason? or I miss something else.Regards,gustavoOn Jun 2, 2009, at  
2:02 PM, Matt Gitchell wrote:


The container would be the stage in that instance, yes. I used it  
becauseStage extends DisplayObjectContainer, and you could use  
that chunk of codefor any DisplayObjectContainer (MovieClip,  
Sprite) as well.I should also mention that we're talking AS3.-- 
MattOn Tue, Jun 2, 2009 at 10:38 AM, Gustavo Duenas LRS  
 wrote:


in this case what is container? is stage.?like thisif 
(stage.contains(contactWindow)){stage.removeChild 
(contactWindow);}is like this, if not please explain me what  
this container is about.GustavoOn Jun 2, 2009, at 12:07 PM, Matt  
Gitchell wrote: if (container.contains(itemToRemove)){


container.removeChild(itemToRemove);};On Tue, Jun 2, 2009 at  
8:45 AM, Gustavo Duenas LRS   
wrote: Hi I have movie clips, that are created one I click a  
button, I'd like to


know how couldI remove then, something to put in the buttons,  
problem is when I try toremovethe movieclip from the stage(I  
put the orders en every single button Ihavethere), it says  
that is not created yet, there is a way to know when themovie  
clip is on there and if this is therejust remove it.Like if 
(stage.movieclipName=true){removeChild(movieClipName);}there  
is a way like this or something else around.Regards,Gustavo  
Duenas___Flashcoders  
mailing listflashcod...@chattyfig.figleaf.comhttp:// 
chattyfig.figleaf.com/mailman/listinfo/flashcoders  
___
Flashcoders mailing listflashcod...@chattyfig.figleaf.comhttp:// 
chattyfig.figleaf.com/mailman/listinfo/flashcoders
___Flashcoders  
mailing listflashcod...@chattyfig.figleaf.comhttp:// 
chattyfig.figleaf.com/mailman/listinfo/flashcoders
___Flashcoders  
mailing listflashcod...@chattyfig.figleaf.comhttp:// 
chattyfig.figleaf.com/mailman/listinfo/flashcoders
___Flashcoders mailing  
listflashcod...@chattyfig.figleaf.comhttp://chattyfig.figleaf.com/ 
mailman/listinfo/flashcoders
___Flashcoders mailing  
listflashcod...@chattyfig.figleaf.comhttp://chattyfig.figleaf.com/ 
mailman/listinfo/flashcoders


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


Re: [Flashcoders] removing dynamically created movie clips(HELP)

2009-06-03 Thread Gustavo Duenas
Hi Matt I did as you sent me, but something wrong happened this is  
the warning flash gave me:


1120: Access of undefined property contactWindow.
and so on with the other parts of the code , code is:



function removerChild():void{
if(stage.contains(contactWindow)){
stage.removeChild(contactWindow);
}else if(stage.contains(productGeneral)){
stage.removeChild(productGeneral);
}else if(stage.contains(productWindow)){
stage.removeChild(productWindow);
}else if(stage.contains(aboutWindow)){
stage.removeChild(aboutWindow);
}else if(stage.contains(ecuacocoaWindow)){
stage.removeChild(ecuacocoaWindow);
}else if(stage.contains(suppWindow)){
stage.removeChild(suppWindow);
}else if(stage.contains(eWindow)){
stage.removeChild(eWindow);
}else if(stage.contains(proWindow)){
stage.removeChild(proWindow);
}


}

This is added to the click event of my buttons.
The click is a function that creates an object based on an object  
that is export for actionscript


like:

function click(e:MouseEvent):void{

var newWindow:AboutUsWindow = new AboutUsWindow():

}

see? is the regular way, problem is when I run the code above to try  
to get rid of those windows, but they are not still on stage..that

was the reason? or I miss something else.

Regards,

gustavo

On Jun 2, 2009, at 2:02 PM, Matt Gitchell wrote:

The container would be the stage in that instance, yes. I used it  
because
Stage extends DisplayObjectContainer, and you could use that chunk  
of code

for any DisplayObjectContainer (MovieClip, Sprite) as well.
I should also mention that we're talking AS3.

--Matt

On Tue, Jun 2, 2009 at 10:38 AM, Gustavo Duenas LRS <
gdue...@leftandrightsolutions.com> wrote:


in this case what is container? is stage.?


like this

if(stage.contains(contactWindow)){
stage.removeChild(contactWindow);
}

is like this, if not please explain me what this container is about.

Gustavo



On Jun 2, 2009, at 12:07 PM, Matt Gitchell wrote:

 if (container.contains(itemToRemove)){

container.removeChild(itemToRemove);
};

On Tue, Jun 2, 2009 at 8:45 AM, Gustavo Duenas LRS <
gdue...@leftandrightsolutions.com> wrote:

 Hi I have movie clips, that are created one I click a button,  
I'd like to

know how could
I remove then, something to put in the buttons, problem is when  
I try to

remove
the movieclip from the stage(I put the orders en every single  
button I

have
there), it says that is not created yet, there is a way to know  
when the

movie clip is on there and if this is there
just remove it.

Like if(stage.movieclipName=true){
removeChild(movieClipName);
}

there is a way like this or something else around.


Regards,


Gustavo Duenas



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

 ___

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



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


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








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


Re: [Flashcoders] removing dynamically created movie clips

2009-06-02 Thread Gustavo Duenas LRS

sure Matt, I'm using as3...:)

also can I use

stage.removeChildAt(0);

since the newly created movieclip instance appears always on 0 or at  
least I think based on the link Glen pike send me about.


Gustavo

On Jun 2, 2009, at 2:02 PM, Matt Gitchell wrote:

The container would be the stage in that instance, yes. I used it  
because
Stage extends DisplayObjectContainer, and you could use that chunk  
of code

for any DisplayObjectContainer (MovieClip, Sprite) as well.
I should also mention that we're talking AS3.

--Matt

On Tue, Jun 2, 2009 at 10:38 AM, Gustavo Duenas LRS <
gdue...@leftandrightsolutions.com> wrote:


in this case what is container? is stage.?


like this

if(stage.contains(contactWindow)){
stage.removeChild(contactWindow);
}

is like this, if not please explain me what this container is about.

Gustavo



On Jun 2, 2009, at 12:07 PM, Matt Gitchell wrote:

 if (container.contains(itemToRemove)){

container.removeChild(itemToRemove);
};

On Tue, Jun 2, 2009 at 8:45 AM, Gustavo Duenas LRS <
gdue...@leftandrightsolutions.com> wrote:

 Hi I have movie clips, that are created one I click a button,  
I'd like to

know how could
I remove then, something to put in the buttons, problem is when  
I try to

remove
the movieclip from the stage(I put the orders en every single  
button I

have
there), it says that is not created yet, there is a way to know  
when the

movie clip is on there and if this is there
just remove it.

Like if(stage.movieclipName=true){
removeChild(movieClipName);
}

there is a way like this or something else around.


Regards,


Gustavo Duenas



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

 ___

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



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


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



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


Re: [Flashcoders] removing dynamically created movie clips

2009-06-02 Thread Gustavo Duenas LRS

Hi Glen, thanks do you think can I use:

stage.removeChildAt(0);

gustavo

On Jun 2, 2009, at 12:08 PM, Glen Pike wrote:

http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/ 
display/DisplayObjectContainer.html#getChildByName()


Gustavo Duenas LRS wrote:
Hi I have movie clips, that are created one I click a button, I'd  
like to know how could
I remove then, something to put in the buttons, problem is when I  
try to remove
the movieclip from the stage(I put the orders en every single  
button I have there), it says that is not created yet, there is a  
way to know when the movie clip is on there and if this is there

just remove it.

Like if(stage.movieclipName=true){
removeChild(movieClipName);
}

there is a way like this or something else around.


Regards,


Gustavo Duenas



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




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



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


Re: [Flashcoders] removing dynamically created movie clips

2009-06-02 Thread Gustavo Duenas LRS

in this case what is container? is stage.?


like this

if(stage.contains(contactWindow)){
stage.removeChild(contactWindow);
}

is like this, if not please explain me what this container is about.

Gustavo


On Jun 2, 2009, at 12:07 PM, Matt Gitchell wrote:


if (container.contains(itemToRemove)){
container.removeChild(itemToRemove);
};

On Tue, Jun 2, 2009 at 8:45 AM, Gustavo Duenas LRS <
gdue...@leftandrightsolutions.com> wrote:

Hi I have movie clips, that are created one I click a button, I'd  
like to

know how could
I remove then, something to put in the buttons, problem is when I  
try to

remove
the movieclip from the stage(I put the orders en every single  
button I have
there), it says that is not created yet, there is a way to know  
when the

movie clip is on there and if this is there
just remove it.

Like if(stage.movieclipName=true){
removeChild(movieClipName);
}

there is a way like this or something else around.


Regards,


Gustavo Duenas



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


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



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


  1   2   3   4   >