Re: [Flashcoders] Where is everyone

2014-11-27 Thread Kurt Dommermuth
Hi John,

I have no idea where everyone goes to discus flash topics, but I know for
me, I depend on StackOverflow.com.

A question for you though since you wrote and I know you do a lot AIR.

I took it upon myself to leverage WordPress as a CMS platform and use AIR
for the mobile front end.  AIR is essentially the shell and WordPress is
the content.

I'm making what is essentially a "Whisper" app clone.

I have a big decision though and I'm not sure what direction to go.

It has to with StageWebView. StageWebView is in many ways limiting, but if
I used it to display content, development would be more rapid and I could
more easily take advantage of open source tools.  The main trade off is a
little less refined control over cosmetics and user experience.  Then
again, with CSS3 and recent improvements, it's a now a little easier to
create a unique experience with HTML/JavaScript.

Alternatively, I'm finding it relative easy to access and load WordPress
data into AIR via JSON, but displaying what may be 1000's of posts requires
a lot of code and thought. WordPress makes it so you hardly have to think
about this in StageWebView.  For instance, AIR has no native kinetic
scrolling.  I've found a good library which I'm now using, but at the cost
of 5 or 6 hours research.  StageWebView would have solved it instantly.

What do you do?

I hope everyone is having a nice holiday.

Sorry to hijack your thread, but with so little activity on this mailing
list I thought it made sense.

Thank you,
Kurt



On Thu, Nov 27, 2014 at 1:10 PM, John R. Sweeney Jr.  wrote:

> Since this list has gotten rather quite, where are people going to discuss
> topics and problems.
>
> Or ask for help…
>
> Thanks and H:)ppy Thanksgiving to everyone,
> John
>
> John R. Sweeney Jr.
> Senior Interactive Multimedia Developer
> OnDemand Interactive Inc
> Hoffman Estates, IL 60169
>
>
>
>
> ___
> 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] Mailing Lists and Tools

2013-05-24 Thread Kurt Dommermuth
anyone using Zend?

http://www.zend.com/en/products/studio/features

Kenneth, thanks for bringing Dreamweaver up.  I have been using it for
years and have been happy enough, but I'm checking out phpStorm right now
myself and so far, I would have to agree that it's an improvement.  I'm
always leery of the fan boy mentality - sometimes to my own detriment. So
often there is too much hype and too little substance.  New technologies
and tools seem to be consumed like crack.  However, sometimes there really
is a better tool.  Maybe phpStorm?  Maybe Zend?

Thanks all.

Kurt

On Fri, May 24, 2013 at 5:10 AM, Kenneth Kawamoto  wrote:

> For what I do phpStorm looks perfect - it supports JS/jQuery and SASS, and
> it has FTP/SVN client. I'll try it out. Thanks guys.
>
> Kenneth Kawamoto
> http://www.materiaprima.co.uk/
>
>
>
> On 23 May 2013, at 23:35, Rick Hassen wrote:
>
> > if you really like Webstorm, some understand it to be a stripped down
> version of phpStorm (both by JetBrains):
> > http://www.jetbrains.com/phpstorm/
> >
> >
> >
> >> From: kennethkawam...@gmail.com
> >> To: flashcoders@chattyfig.figleaf.com
> >> Subject: Re: [Flashcoders] Mailing Lists and Tools
> >> Date: Thu, 23 May 2013 23:23:53 +0100
> >> CC:
> >>
> >> Webstorm doesn't support PHP :(
> >>
> >> Kenneth Kawamoto
> >> http://www.materiaprima.co.uk/
> >>
> >>
> >>
> >>
> >> On 23 May 2013, at 17:35, Jon Bradley wrote:
> >>
> >>> There are many better alternatives for professional coding that
> >>> include automated building, unit testing, support for SCSS and LESS,
> >>> grunt, etc. I wouldn't consider Dreamweaver a serious platform for
> >>> building web applications. Useful for some, certainly, but there are
> >>> many better options out there.
> >>>
> >>> Probably the best for those that aren't vested in the Visual Studio
> >>> platform:
> >>> http://www.jetbrains.com/idea/
> >>>
> >>> Second best (by the same company):
> >>> http://www.jetbrains.com/webstorm/
> >>>
> >>> For just text editor usage, for the most part:
> >>>
> >>> http://www.sublimetext.com/
> >>> http://macrabbit.com/espresso/
> >>>
> >>> I'd personally stay way away from Dreamweaver. It keeps you bound to
> >>> a low quality workflow that's not scalable or efficient.
> >>>
> >>> -j
> >>>
> >>>
> >>> On May 23, 2013, at 12:15 PM, Kenneth Kawamoto <
> kennethkawam...@gmail.com
>  wrote:
> >>>
>  I know it's a long tradition to laugh at Dreamweaver as substandard
>  tool, but I actually use it daily, for two reasons:
>  1. Comprehensive jQuery auto-completion/code-hint as well as PHP
>  2. Built-in FTP & SVN client
>  Obviously never touch the WYSIWYG editor.
> 
>  Please let me know if there are alternative with above equipped. I
>  don't like to be laughed at. But I know none.
> 
>  Kenneth Kawamoto
>  http://www.materiaprima.co.uk/
> 
> 
> 
>  On 23 May 2013, at 16:17, James Merrill wrote:
> 
> > I've been moving to StackOverflow for questions, and Reddit's coding
> > subreddits for general programming discussion  Here's a URL that
> > bundles a
> > bunch of good programming subreddits:
> >
> http://www.reddit.com/r/webdev+web_design+html+css+programming+learnprogramming+design+ProgrammerHumor+html5
> >
> > As for an IDE, I would highly discourage you from using
> > Dreamweaver. There
> > are much better tools that are cheap/free. I am currently using
> > Aptana,
> > which is Eclipse based and contains tons of helpful features. I am
> > moving
> > towards using SublimeText as my primary IDE. It's extremely
> > streamlined and
> > elegant, and I highly suggest checking it out. Adobe has been
> > working on an
> > IDE called Brackets that looks pretty cool too.
> >
> >
> >
> >
> > On Thu, May 23, 2013 at 11:06 AM, Kerry Thompson <
> al...@cyberiantiger.biz
> >> wrote:
> >
> >> I've found Dreamweaver to be a good tool for HTML5. when you get
> >> JavaScript
> >> under your belt, take a look at JQuery. it will save you a lot of
> >> development time.
> >>
> >> Mailing lists are pretty quiet these days. I don't know where the
> >> programmers congregate, but my colleagues in the French Horn
> >> world have
> >> moved to a Facebook group.
> >>
> >> Cordially,
> >>
> >> Kerry Thompson
> >> On May 23, 2013 9:52 AM, "Bryan Thompson" 
> >> wrote:
> >>
> >>> I know many developers are migrating towards HTML5/CSS/
> >>> JavaScript. Google
> >>> reveals a multitude of results for mailing lists.  I hope to take
> >> advantage
> >>> of the experience on this list to get some advice on good
> >>> quality lists
> >>> like
> >>> this one.  I also would like recommendations for (Windows) IDE's
> >>> for
> >>> JavaScript, or general HTML5 development including all the
> >>> supporting
> >>> languages. I have Dreamweave

Re: [Flashcoders] Mailing Lists and Tools

2013-05-23 Thread Kurt Dommermuth
I don't know of any lists, but in the link below the guy comments of
development tools.

Over a year old, but still a great read.

https://plus.google.com/u/0/109047477151984864676/posts/CVGJKLMMehs



On Thu, May 23, 2013 at 9:50 AM, Bryan Thompson  wrote:

> I know many developers are migrating towards HTML5/CSS/JavaScript. Google
> reveals a multitude of results for mailing lists.  I hope to take advantage
> of the experience on this list to get some advice on good quality lists
> like
> this one.  I also would like recommendations for (Windows) IDE's for
> JavaScript, or general HTML5 development including all the supporting
> languages. I have Dreamweaver, but that seems a bit of overkill for a
> developer.
>
> Thanks in advance guys!
>
>
>
> Bryan 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] Game physics programming needed.

2012-10-28 Thread Kurt Dommermuth
Thanks Roger.

You are right.  We're really just trying to get the physics right now and
are planning on fine tuning after we get that settled.

Take care and good luck to everyone on the east coast of the US!

Kurt




On Sun, Oct 28, 2012 at 3:55 PM, Roger Persson  wrote:

> Hi, just a quick comment.
> I like the graphics and general "feel" of the game. But since it looks
> like it's supposed to be a kids game, maybe there should be only two or
> three "steps" on the z-axis. And it runs very fast on my old machine
> (Chrome / winxp / 2 GHz duo) so there's not very much time to read the
> signs or jump and stuff like that :)
>
> Best of luck with the remaining development!
> /roger
>
>
>
> On 2012-10-27 19:53, Kurt Dommermuth wrote:
>
>> Thank you Karim.
>>
>> We'll look into Nape.
>>
>> JC menioned Box2d, but I don't think that would work for us because the
>> character moves in the z axis a little.
>>
>> any other thoughts are very much welcomed!
>>
>> Kurt
>>
>> On Sat, Oct 27, 2012 at 12:39 PM, Karim Beyrouti 
>> wrote:
>>
>>  I would also have a look at NAPE: 
>> https://github.com/deltaluca/**nape<https://github.com/deltaluca/nape>.
>>> CDK can be quite slow in comparison to vector maths.
>>>
>>> Karim Beyrouti
>>>
>>> t: +44 (0) 7977 997 629
>>> e: ka...@kurst.co.uk
>>> w: http://kurst.co.uk
>>> skype: karimbeyrouti
>>>
>>> 109 Timber Yard, Drysdale Street, Hoxton, London, N1 6ND
>>>
>>> On 27 Oct 2012, at 16:16, Kurt Dommermuth wrote:
>>>
>>>  Thank you JC.  My partner was excited about it, but then something
>>>>
>>> happened
>>>
>>>> that dissuaded him from using it.
>>>>
>>>> I'll run it by him again and find out why.
>>>>
>>>> Thanks for the note!
>>>>
>>>> Kurt
>>>>
>>>> On Sat, Oct 27, 2012 at 11:09 AM, Hans Wichman >>> wrote:
>>>>
>>>>  Hi Kurt,
>>>>>
>>>>> sorry don't have the time to help you out, would love to though:) but
>>>>> maybe it isn't necessary...
>>>>> have you thought about using box2d instead of CDK?
>>>>>
>>>>> regards,
>>>>> JC
>>>>>
>>>>> On 27/10/2012 16:49, Kurt Dommermuth wrote:
>>>>>
>>>>>  Hello People,
>>>>>>
>>>>>> Someone is helping me program a game, but neither he nor I can handle
>>>>>>
>>>>> some
>>>
>>>> aspects of it.  I won't speak for him, but the truth is my math skills
>>>>>> blow.
>>>>>>
>>>>>> Is anyone out there confident that could make this skateboard game
>>>>>>
>>>>> work?
>>>
>>>>
>>>>>> http://staticportfolio.com/TEY/skatebeach/<http://staticportfolio.com/**TEY/skatebeach/>
>>>>>> <
>>>>>>
>>>>> http://staticportfolio.com/**TEY/skatebeach/<http://staticportfolio.com/TEY/skatebeach/>
>>> >
>>>
>>>>
>>>>>> We've got so much of it together, but the rails, ramps and platform
>>>>>>
>>>>> just
>>>
>>>> aren't coming together well.  We're using CDK to help with the
>>>>>>
>>>>> collision
>>>
>>>> detection.  In the version we have up there now we removed our
>>>>>>
>>>>> attempts,
>>>
>>>> but the character is supposed to be able to jump up on rails and
>>>>>>
>>>>> 'grind',
>>>
>>>> go up the rail on the platform and fly through the air and hit the ramp
>>>>>> and
>>>>>> fly through the air,  If doesn't jump onto the rail, he should sort of
>>>>>> bounce off it - same with the platform.  There are other nuances that
>>>>>> someone more skilled than me could address, but that's the basic idea.
>>>>>>
>>>>>> I do have a budget for this, but time is tight.
>>>>>>
>>>>>> Email me directly or whatever suits you if you know you could help.
>>>>>>
>>>>>> Thanks all,
>>>>>> Kurt
>>>>>> _

Re: [Flashcoders] Game physics programming needed.

2012-10-27 Thread Kurt Dommermuth
Thank you Karim.

We'll look into Nape.

JC menioned Box2d, but I don't think that would work for us because the
character moves in the z axis a little.

any other thoughts are very much welcomed!

Kurt

On Sat, Oct 27, 2012 at 12:39 PM, Karim Beyrouti  wrote:

> I would also have a look at NAPE: https://github.com/deltaluca/nape .
> CDK can be quite slow in comparison to vector maths.
>
> Karim Beyrouti
>
> t: +44 (0) 7977 997 629
> e: ka...@kurst.co.uk
> w: http://kurst.co.uk
> skype: karimbeyrouti
>
> 109 Timber Yard, Drysdale Street, Hoxton, London, N1 6ND
>
> On 27 Oct 2012, at 16:16, Kurt Dommermuth wrote:
>
> > Thank you JC.  My partner was excited about it, but then something
> happened
> > that dissuaded him from using it.
> >
> > I'll run it by him again and find out why.
> >
> > Thanks for the note!
> >
> > Kurt
> >
> > On Sat, Oct 27, 2012 at 11:09 AM, Hans Wichman  >wrote:
> >
> >> Hi Kurt,
> >>
> >> sorry don't have the time to help you out, would love to though:) but
> >> maybe it isn't necessary...
> >> have you thought about using box2d instead of CDK?
> >>
> >> regards,
> >> JC
> >>
> >> On 27/10/2012 16:49, Kurt Dommermuth wrote:
> >>
> >>> Hello People,
> >>>
> >>> Someone is helping me program a game, but neither he nor I can handle
> some
> >>> aspects of it.  I won't speak for him, but the truth is my math skills
> >>> blow.
> >>>
> >>> Is anyone out there confident that could make this skateboard game
> work?
> >>>
> >>> http://staticportfolio.com/**TEY/skatebeach/<
> http://staticportfolio.com/TEY/skatebeach/>
> >>>
> >>> We've got so much of it together, but the rails, ramps and platform
> just
> >>> aren't coming together well.  We're using CDK to help with the
> collision
> >>> detection.  In the version we have up there now we removed our
> attempts,
> >>> but the character is supposed to be able to jump up on rails and
> 'grind',
> >>> go up the rail on the platform and fly through the air and hit the ramp
> >>> and
> >>> fly through the air,  If doesn't jump onto the rail, he should sort of
> >>> bounce off it - same with the platform.  There are other nuances that
> >>> someone more skilled than me could address, but that's the basic idea.
> >>>
> >>> I do have a budget for this, but time is tight.
> >>>
> >>> Email me directly or whatever suits you if you know you could help.
> >>>
> >>> Thanks all,
> >>> Kurt
> >>> __**_
> >>> Flashcoders mailing list
> >>> Flashcoders@chattyfig.figleaf.**com  >
> >>> http://chattyfig.figleaf.com/**mailman/listinfo/flashcoders<
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders>
> >>>
> >>
> >> __**_
> >> Flashcoders mailing list
> >> Flashcoders@chattyfig.figleaf.**com 
> >> http://chattyfig.figleaf.com/**mailman/listinfo/flashcoders<
> 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] Game physics programming needed.

2012-10-27 Thread Kurt Dommermuth
Thank you JC.  My partner was excited about it, but then something happened
that dissuaded him from using it.

I'll run it by him again and find out why.

Thanks for the note!

Kurt

On Sat, Oct 27, 2012 at 11:09 AM, Hans Wichman wrote:

> Hi Kurt,
>
> sorry don't have the time to help you out, would love to though:) but
> maybe it isn't necessary...
> have you thought about using box2d instead of CDK?
>
> regards,
> JC
>
> On 27/10/2012 16:49, Kurt Dommermuth wrote:
>
>> Hello People,
>>
>> Someone is helping me program a game, but neither he nor I can handle some
>> aspects of it.  I won't speak for him, but the truth is my math skills
>> blow.
>>
>> Is anyone out there confident that could make this skateboard game work?
>>
>> http://staticportfolio.com/**TEY/skatebeach/<http://staticportfolio.com/TEY/skatebeach/>
>>
>> We've got so much of it together, but the rails, ramps and platform just
>> aren't coming together well.  We're using CDK to help with the collision
>> detection.  In the version we have up there now we removed our attempts,
>> but the character is supposed to be able to jump up on rails and 'grind',
>> go up the rail on the platform and fly through the air and hit the ramp
>> and
>> fly through the air,  If doesn't jump onto the rail, he should sort of
>> bounce off it - same with the platform.  There are other nuances that
>> someone more skilled than me could address, but that's the basic idea.
>>
>> I do have a budget for this, but time is tight.
>>
>> Email me directly or whatever suits you if you know you could help.
>>
>> Thanks all,
>> Kurt
>> __**_
>> Flashcoders mailing list
>> Flashcoders@chattyfig.figleaf.**com 
>> http://chattyfig.figleaf.com/**mailman/listinfo/flashcoders<http://chattyfig.figleaf.com/mailman/listinfo/flashcoders>
>>
>
> __**_
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.**com 
> http://chattyfig.figleaf.com/**mailman/listinfo/flashcoders<http://chattyfig.figleaf.com/mailman/listinfo/flashcoders>
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Game physics programming needed.

2012-10-27 Thread Kurt Dommermuth
Hello People,

Someone is helping me program a game, but neither he nor I can handle some
aspects of it.  I won't speak for him, but the truth is my math skills blow.

Is anyone out there confident that could make this skateboard game work?

http://staticportfolio.com/TEY/skatebeach/

We've got so much of it together, but the rails, ramps and platform just
aren't coming together well.  We're using CDK to help with the collision
detection.  In the version we have up there now we removed our attempts,
but the character is supposed to be able to jump up on rails and 'grind',
go up the rail on the platform and fly through the air and hit the ramp and
fly through the air,  If doesn't jump onto the rail, he should sort of
bounce off it - same with the platform.  There are other nuances that
someone more skilled than me could address, but that's the basic idea.

I do have a budget for this, but time is tight.

Email me directly or whatever suits you if you know you could help.

Thanks all,
Kurt
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] AIR and external mp3's

2012-03-15 Thread Kurt Dommermuth
Hi John,

Yes, I have a couple apps out their on iPad.  One specifically does indeed
play external mp3s loaded from a sub directory.  It also records and plays
back wavs.

All doable.

I haven't responded because I did the last one approximately 10 months ago
and really don't recall the details.  I do vaguely remember some hurdles,
but I think most of the struggle revolved around recording sounds.

I just found where I loaded the mp3 -  perhaps this helps?

public static function playMP3File(sound_id:String):void
{
var existFile:File = File.applicationDirectory .resolvePath("mp3s/sound_" +
sound_id + ".mp3");
 if(existFile.exists)
{
sound_playing = true;
existFile.addEventListener(Event.COMPLETE,onfileOpenLoad);
existFile.load();
 function onfileOpenLoad(evt:Event):void
{
existFile.removeEventListener(Event.COMPLETE,onfileOpenLoad);
var song:Sound = new Sound()
song.load(new URLRequest(existFile.url));//nativePath
 mp3channel = song.play();
  mp3channel.addEventListener(Event.SOUND_COMPLETE,
doSoundComplete);
}
 function doSoundComplete(e:Event):void
{
mp3channel.removeEventListener(Event.SOUND_COMPLETE, doSoundComplete);
sound_playing = false;
}
}

}

On Thu, Mar 15, 2012 at 2:25 PM, John R. Sweeney Jr.  wrote:

> So no one has dabbled in iPad apps? That's a bit surprising or is that
> saying "don't"?
>
> :(
>
>
> John R. Sweeney Jr.
> Senior Interactive Multimedia Developer
> OnDemand Interactive Inc
> Hoffman Estates, IL 60169
>
>
>
>
> On Mar 14, 2012, at 1:57 PM, John R. Sweeney Jr. wrote:
>
> > Has anyone built a app in AIR for iPad? I'm experimenting now, for a
> project coming up and have found that when I access an external mp3 and try
> to load and play, that it doesn't play. Works on my desktop, but not on the
> iPad.
> >
> > I have internal audio that works just fine, but can't hear the external,
> so I'm assuming that is not loading? I'm sure there are other gotcha's
> going to the iPad, so any ideas of a good resource or book on the specific
> subject of AIR for iPad that someone would recommend.
> >
> > This one is going to be fun… :)
> >
> > John
> >
> > Senior Interactive Multimedia Developer
> > OnDemand Interactive Inc
> > Hoffman Estates, IL 60169
> >
> >
> >
> >
> > ___
> > 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] Switching to HaXe?

2011-11-30 Thread Kurt Dommermuth
Tom,

You're right about the haXe mailing list being active.  It's encouraging.

Kurt

On Wed, Nov 30, 2011 at 7:33 AM, tom rhodes  wrote:

> the haxe forum isn't very active but the mailing list is, and it is a great
> place to get help to get started.
>
> this is the new home of the list
>
> https://groups.google.com/group/haxelang/topics?pli=1
>
> you have to dig around a bit to get going as documentation is limited at
> the moment but the list is the best place to get the information you need.
>
> if you want to do html5 using code that is familiar to you as an AS3 coder
> then look at NME as i mentioned in a previous post.
>
> On 30 November 2011 13:16, Kurt Dommermuth 
> wrote:
>
> > Hi Jason,
> >
> > You're very first statement is exactly what interests me too.  You wrote
> > "Thinking of starting to learn haXe to produce OOP apps and export as
> > Javascript for HTML 5 apps."
> >
> > What are your thoughts so far?  I just looked at Haxe too but I'm
> concerned
> > because there doesn't seem to be a lot of actvity in the Haxe forum.
> >
> > I'm at a loss this morning because at this moment I really just want to
> > make a web based app that performs well on the iPhone. I have looked at
> the
> > following and am not finding satisfaction:
> >
> > appmobi - they get too many hooks into you and force you down paths you
> may
> > not necessarily want to go - like using the Amazon network to store
> files.
> > I just wanted to grab my resources and upload them to MY server.  No easy
> > task with appmobi.
> >
> > phonegap - everyone seems to love it, but it seems to be primarily geared
> > to use traditional web based tools to compile to native apps.  I want to
> be
> > on the web - not the device.
> >
> > jQuery mobile - assumes you want to make a web site, not an app and
> injects
> > all kinds of styles that get in the way.  I'm a big fan of jQuery, but
> > jQuery mobile is very confining.
> >
> > sencha - seems promising, but within 2 hours of working with it I seem to
> > have found a bug.  I cannot add a listener.  May be my misunderstanding
> > though, so I'm going to continue.
> >
> > Based on this conversation I looked at NME, but again, my small
> mindedness,
> > it feels like voodoo and it just doesn't seem to put much emphasis on
> > publishing for web based apps.
> >
> > Overall, I must say I resent the hell out of Steve Jobs.  His comments
> have
> > thrown us back into the dark ages. I look at the options to accommodate
> his
> > vision and I see one Frankenstein solution after another.  HTML5 seems to
> > be a handful of multimedia tags meant to make everyone and their mom a
> web
> > programer and that it will work on everything.  Hahhahahaha.  The problem
> > is that the reality is it takes a boat load of JS and fall backs to make
> it
> > work.
> >
> > We had AS3.  It did the job and though it was flawed it was far and away
> > the best cross platform solution there was. dammit.  Because of one dummy
> > and his legions of lemmings we're back to using 15 year old scripting
> > languages to get things done.
> >
> > H.  Guess I'm a little feisty and bitter this morning!
> >
> > :)
> >
> > Thanks for letting me vent.
> >
> > Anyway, I appreciate the discussion very much on this topic.
> >
> > Kurt
> >
> >
> >
> >
> >
> > On Tue, Nov 29, 2011 at 11:04 AM, Merrill, Jason <
> > jason.merr...@bankofamerica.com> wrote:
> >
> > > Thinking of starting to learn haXe to produce OOP apps and export as
> > > Javascript for HTML 5 apps. Checked it out years ago, but decided
> against
> > > it since it was not part of the normal ecosystem and would have to be
> > > sharing code with non-haXe AS3 developers. But not thinking of the
> > future,
> > > I am more interested in it given what's happening with Adobe and HTML5.
> > > Anyone done that and does it work well for that?  Can you have a single
> > > source base and export for AS3 apps and Javascript for HTML 5 or are
> > there
> > > caveats?
> > >
> > >  Jason Merrill
> > >  Instructional Technology Architect II
> > >  Bank of America  Global Learning
> > >
> > >
> > >
> > > --
> > > This message w/attachments (message) is intended solely for the use of
> > the
> >

Re: [Flashcoders] Switching to HaXe?

2011-11-30 Thread Kurt Dommermuth
Thanks again Tom. The example is impressive.

On Wed, Nov 30, 2011 at 8:21 AM, tom rhodes  wrote:

> Hi,
>
> ok, initially the haxe flash api to html5 was done with a lib called jeash.
> which has been around for a while now. the nme project has very recently
> incorporated jeash as it's route to html5.
>
> here is a nice example of using one codebase to hit swf and html5...
>
>
> http://www.joshuagranick.com/blog/2011/09/22/first-glimpse-at-cross-platform-game-running-flash-and-html5/
>
> if you do a google for haxe jeash, you'll see it's been around for a while
> and it's integration into nme seems pretty natural. they were parallel
> efforts in intepreting the flash api for ages...
>
> On 30 November 2011 14:03, Kurt Dommermuth 
> wrote:
>
> > Hi Tom,
> >
> > Thank you.  I'm going to look into Haxe more.
> >
> > Psychologically I have a stumbling block with NME.  On their how it works
> > page (http://www.haxenme.org/about-nme/how-it-works/) there are
> solutions
> > that go in the opposite direction of what I'm personally interested in.
> >
> > They very nicely show how NME publishes to SWF, iOS, webOS, Android,
> > MAC/LInux, but it doesn't mention publishing to HTML5/JS.
> >
> > It very well may, but you can understand why I'd tend to move on if it's
> > not mentioned on that page.
> >
> > Forgive me if I'm missing something.  I'm deep in this search for a
> > solution and I'll be the first to admit I could easily misunderstand
> > something.
> >
> > Kurt
> >
> > On Wed, Nov 30, 2011 at 7:33 AM, tom rhodes 
> wrote:
> >
> > > the haxe forum isn't very active but the mailing list is, and it is a
> > great
> > > place to get help to get started.
> > >
> > > this is the new home of the list
> > >
> > > https://groups.google.com/group/haxelang/topics?pli=1
> > >
> > > you have to dig around a bit to get going as documentation is limited
> at
> > > the moment but the list is the best place to get the information you
> > need.
> > >
> > > if you want to do html5 using code that is familiar to you as an AS3
> > coder
> > > then look at NME as i mentioned in a previous post.
> > >
> > > On 30 November 2011 13:16, Kurt Dommermuth 
> > > wrote:
> > >
> > > > Hi Jason,
> > > >
> > > > You're very first statement is exactly what interests me too.  You
> > wrote
> > > > "Thinking of starting to learn haXe to produce OOP apps and export as
> > > > Javascript for HTML 5 apps."
> > > >
> > > > What are your thoughts so far?  I just looked at Haxe too but I'm
> > > concerned
> > > > because there doesn't seem to be a lot of actvity in the Haxe forum.
> > > >
> > > > I'm at a loss this morning because at this moment I really just want
> to
> > > > make a web based app that performs well on the iPhone. I have looked
> at
> > > the
> > > > following and am not finding satisfaction:
> > > >
> > > > appmobi - they get too many hooks into you and force you down paths
> you
> > > may
> > > > not necessarily want to go - like using the Amazon network to store
> > > files.
> > > > I just wanted to grab my resources and upload them to MY server.  No
> > easy
> > > > task with appmobi.
> > > >
> > > > phonegap - everyone seems to love it, but it seems to be primarily
> > geared
> > > > to use traditional web based tools to compile to native apps.  I want
> > to
> > > be
> > > > on the web - not the device.
> > > >
> > > > jQuery mobile - assumes you want to make a web site, not an app and
> > > injects
> > > > all kinds of styles that get in the way.  I'm a big fan of jQuery,
> but
> > > > jQuery mobile is very confining.
> > > >
> > > > sencha - seems promising, but within 2 hours of working with it I
> seem
> > to
> > > > have found a bug.  I cannot add a listener.  May be my
> misunderstanding
> > > > though, so I'm going to continue.
> > > >
> > > > Based on this conversation I looked at NME, but again, my small
> > > mindedness,
> > > > it feels like voodoo and it just doesn't seem to put much emphasis on
> > > > publishing for web based apps.
> > > >
&g

Re: [Flashcoders] Switching to HaXe?

2011-11-30 Thread Kurt Dommermuth
Hi Tom,

Thank you.  I'm going to look into Haxe more.

Psychologically I have a stumbling block with NME.  On their how it works
page (http://www.haxenme.org/about-nme/how-it-works/) there are solutions
that go in the opposite direction of what I'm personally interested in.

They very nicely show how NME publishes to SWF, iOS, webOS, Android,
MAC/LInux, but it doesn't mention publishing to HTML5/JS.

It very well may, but you can understand why I'd tend to move on if it's
not mentioned on that page.

Forgive me if I'm missing something.  I'm deep in this search for a
solution and I'll be the first to admit I could easily misunderstand
something.

Kurt

On Wed, Nov 30, 2011 at 7:33 AM, tom rhodes  wrote:

> the haxe forum isn't very active but the mailing list is, and it is a great
> place to get help to get started.
>
> this is the new home of the list
>
> https://groups.google.com/group/haxelang/topics?pli=1
>
> you have to dig around a bit to get going as documentation is limited at
> the moment but the list is the best place to get the information you need.
>
> if you want to do html5 using code that is familiar to you as an AS3 coder
> then look at NME as i mentioned in a previous post.
>
> On 30 November 2011 13:16, Kurt Dommermuth 
> wrote:
>
> > Hi Jason,
> >
> > You're very first statement is exactly what interests me too.  You wrote
> > "Thinking of starting to learn haXe to produce OOP apps and export as
> > Javascript for HTML 5 apps."
> >
> > What are your thoughts so far?  I just looked at Haxe too but I'm
> concerned
> > because there doesn't seem to be a lot of actvity in the Haxe forum.
> >
> > I'm at a loss this morning because at this moment I really just want to
> > make a web based app that performs well on the iPhone. I have looked at
> the
> > following and am not finding satisfaction:
> >
> > appmobi - they get too many hooks into you and force you down paths you
> may
> > not necessarily want to go - like using the Amazon network to store
> files.
> > I just wanted to grab my resources and upload them to MY server.  No easy
> > task with appmobi.
> >
> > phonegap - everyone seems to love it, but it seems to be primarily geared
> > to use traditional web based tools to compile to native apps.  I want to
> be
> > on the web - not the device.
> >
> > jQuery mobile - assumes you want to make a web site, not an app and
> injects
> > all kinds of styles that get in the way.  I'm a big fan of jQuery, but
> > jQuery mobile is very confining.
> >
> > sencha - seems promising, but within 2 hours of working with it I seem to
> > have found a bug.  I cannot add a listener.  May be my misunderstanding
> > though, so I'm going to continue.
> >
> > Based on this conversation I looked at NME, but again, my small
> mindedness,
> > it feels like voodoo and it just doesn't seem to put much emphasis on
> > publishing for web based apps.
> >
> > Overall, I must say I resent the hell out of Steve Jobs.  His comments
> have
> > thrown us back into the dark ages. I look at the options to accommodate
> his
> > vision and I see one Frankenstein solution after another.  HTML5 seems to
> > be a handful of multimedia tags meant to make everyone and their mom a
> web
> > programer and that it will work on everything.  Hahhahahaha.  The problem
> > is that the reality is it takes a boat load of JS and fall backs to make
> it
> > work.
> >
> > We had AS3.  It did the job and though it was flawed it was far and away
> > the best cross platform solution there was. dammit.  Because of one dummy
> > and his legions of lemmings we're back to using 15 year old scripting
> > languages to get things done.
> >
> > H.  Guess I'm a little feisty and bitter this morning!
> >
> > :)
> >
> > Thanks for letting me vent.
> >
> > Anyway, I appreciate the discussion very much on this topic.
> >
> > Kurt
> >
> >
> >
> >
> >
> > On Tue, Nov 29, 2011 at 11:04 AM, Merrill, Jason <
> > jason.merr...@bankofamerica.com> wrote:
> >
> > > Thinking of starting to learn haXe to produce OOP apps and export as
> > > Javascript for HTML 5 apps. Checked it out years ago, but decided
> against
> > > it since it was not part of the normal ecosystem and would have to be
> > > sharing code with non-haXe AS3 developers. But not thinking of the
> > future,
> > > I am more interested in it given what's happening with Adob

Re: [Flashcoders] Switching to HaXe?

2011-11-30 Thread Kurt Dommermuth
Hi Jason,

You're very first statement is exactly what interests me too.  You wrote
"Thinking of starting to learn haXe to produce OOP apps and export as
Javascript for HTML 5 apps."

What are your thoughts so far?  I just looked at Haxe too but I'm concerned
because there doesn't seem to be a lot of actvity in the Haxe forum.

I'm at a loss this morning because at this moment I really just want to
make a web based app that performs well on the iPhone. I have looked at the
following and am not finding satisfaction:

appmobi - they get too many hooks into you and force you down paths you may
not necessarily want to go - like using the Amazon network to store files.
I just wanted to grab my resources and upload them to MY server.  No easy
task with appmobi.

phonegap - everyone seems to love it, but it seems to be primarily geared
to use traditional web based tools to compile to native apps.  I want to be
on the web - not the device.

jQuery mobile - assumes you want to make a web site, not an app and injects
all kinds of styles that get in the way.  I'm a big fan of jQuery, but
jQuery mobile is very confining.

sencha - seems promising, but within 2 hours of working with it I seem to
have found a bug.  I cannot add a listener.  May be my misunderstanding
though, so I'm going to continue.

Based on this conversation I looked at NME, but again, my small mindedness,
it feels like voodoo and it just doesn't seem to put much emphasis on
publishing for web based apps.

Overall, I must say I resent the hell out of Steve Jobs.  His comments have
thrown us back into the dark ages. I look at the options to accommodate his
vision and I see one Frankenstein solution after another.  HTML5 seems to
be a handful of multimedia tags meant to make everyone and their mom a web
programer and that it will work on everything.  Hahhahahaha.  The problem
is that the reality is it takes a boat load of JS and fall backs to make it
work.

We had AS3.  It did the job and though it was flawed it was far and away
the best cross platform solution there was. dammit.  Because of one dummy
and his legions of lemmings we're back to using 15 year old scripting
languages to get things done.

H.  Guess I'm a little feisty and bitter this morning!

:)

Thanks for letting me vent.

Anyway, I appreciate the discussion very much on this topic.

Kurt





On Tue, Nov 29, 2011 at 11:04 AM, Merrill, Jason <
jason.merr...@bankofamerica.com> wrote:

> Thinking of starting to learn haXe to produce OOP apps and export as
> Javascript for HTML 5 apps. Checked it out years ago, but decided against
> it since it was not part of the normal ecosystem and would have to be
> sharing code with non-haXe AS3 developers. But not thinking of the future,
> I am more interested in it given what's happening with Adobe and HTML5.
> Anyone done that and does it work well for that?  Can you have a single
> source base and export for AS3 apps and Javascript for HTML 5 or are there
> caveats?
>
>  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

Re: [Flashcoders] CS5.5 and AIR

2011-10-13 Thread Kurt Dommermuth
oh!  I guess 3.0 is ready.   Go for it.

2.7 was such a radical improvement for publishing iOS.  Hopefully with 3.0
it got even better.  I'll be installing soon too I guess.

Take care!

On Thu, Oct 13, 2011 at 6:25 PM, John R. Sweeney Jr.  wrote:

> Figures. :)
>
> All link to 2.7 are now pointing to 3.0. Can't find 2.7 anywhere. Argh. ;)
>
> You can't EVER win.  (hehe)
>
> On Oct 13, 2011, at 5:06 PM, Kurt Dommermuth wrote:
>
> > it is so worth it!
> >
> > Kurt
>
> John R. Sweeney Jr.
> Senior Interactive Multimedia Developer
> OnDemand Interactive Inc
> Hoffman Estates, IL 60169
>
>
>
> ___
> 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] CS5.5 and AIR

2011-10-13 Thread Kurt Dommermuth
yes!

Below is instructions for installing the 2.7 overlay.  You may be able to
install 3 now, but I don't know if they've declared it ready for prime time.

http://kb2.adobe.com/cps/908/cpsid_90810.html

it is so worth it!

Kurt

On Thu, Oct 13, 2011 at 5:57 PM, John R. Sweeney Jr.  wrote:

> Howdy all,
>
> I know that AIR 2.7 has been out for awhile and now 3.0 is available, but I
> notice that in my CS5.5 I have AIR 2.5 and 2.6. I have the latest update of
> 11.5.1
>
> Is there away to get 5.5 up to either 2.7 or 3.0?
>
> Thanks in advance,
> John
>
> John R. Sweeney Jr.
> Senior Interactive Multimedia Developer
> OnDemand Interactive Inc
> Hoffman Estates, IL 60169
>
>
>
>
> ___
> 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] CS 5.5 to iPad - poor image rendering

2011-06-15 Thread Kurt Dommermuth
Hi Kevin,

Thanks so much!

I can't wait to try this.

Kurt


On Wed, Jun 15, 2011 at 2:53 PM, Kevin Newman  wrote:
> Vector rendering quality in general is a problem on iOS in GPU mode. The way
> around it is to use Bitmaps in place of vectors, where you can.
>
> In Flash CS5.5, there is an easy way to do that - you can set the "Render"
> drop down to "Export As Bitmap" (in Properties, under Display). This will
> give you both a performance boost in GPU mode, as well as a rendering
> quality improvement.
>
> Quick tip, if you want to use that for a bunch of instances of the same
> asset - apply the export setting the the nested content, instead of multiple
> instances. This will cut down on runtime memory usage, since the flash
> runtime can reuse the same 1 bitmap texture.
>
> Kevin N.
>
>
> On 6/9/11 3:09 PM, Kurt Dommermuth wrote:
>>
>> Hi All,
>>
>> I am porting some games over to iOS and have run into a problem.
>>
>> I was very pleased to see the difference between using AUTO and GPU in
>> the publish settings.  The performance improvement when using GPU was
>> significant.  The games would almost be unplayable without it.
>>
>> However, it seems that the GPU renders rounded objects very poorly.
>> Most of my circles end up looking like Hexagons - yes, that bad.  Most
>> rounded edges get squared off pretty severely.  Not all, but most.  It
>> may be that these graphic are vectors in the IDE.  I have other games
>> that use bitmaps and were coded in Objective C and this wasn't an
>> issue.
>>
>> Perhaps it is the way Flash compiles the flash.  Perhaps the means of
>> converting vectors to bitmaps is not particularly good and the issue
>> gets compounded by the GPU.  I don't know.
>>
>> Has anyone else run into this?  Any solutions other than redrawing
>> these as bitmaps (there are probably thousands so it is not really an
>> appealing option)
>>
>> Flashcoders has been awesome, but are there any other mailing list
>> that may be more appropriate places for me to ask?
>>
>> Thanks everyone,
>> Kurt

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


[Flashcoders] CS 5.5 to iPad - poor image rendering

2011-06-09 Thread Kurt Dommermuth
Hi All,

I am porting some games over to iOS and have run into a problem.

I was very pleased to see the difference between using AUTO and GPU in
the publish settings.  The performance improvement when using GPU was
significant.  The games would almost be unplayable without it.

However, it seems that the GPU renders rounded objects very poorly.
Most of my circles end up looking like Hexagons - yes, that bad.  Most
rounded edges get squared off pretty severely.  Not all, but most.  It
may be that these graphic are vectors in the IDE.  I have other games
that use bitmaps and were coded in Objective C and this wasn't an
issue.

Perhaps it is the way Flash compiles the flash.  Perhaps the means of
converting vectors to bitmaps is not particularly good and the issue
gets compounded by the GPU.  I don't know.

Has anyone else run into this?  Any solutions other than redrawing
these as bitmaps (there are probably thousands so it is not really an
appealing option)

Flashcoders has been awesome, but are there any other mailing list
that may be more appropriate places for me to ask?

Thanks everyone,
Kurt
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Poptropica

2010-12-20 Thread Kurt Dommermuth
LOL.  I can't help, but this made me chuckle.

I have a kid who loves it too.

Thanks for the laugh.

Kurt

On Mon, Dec 20, 2010 at 12:06 PM, Gregory Boudreaux
wrote:

> Isn't there a Poptropica programmer on the list?
>
> My daughter is addicted... but she needs help.  She said she lost her
> her ship on Earth and cannot locate it.  Is there a way she can easily
> find it?
>
> Sorry for the slightly off topic question... but I am in crisis mode
> here.
>
> gregb
>
> ___
> 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] Apple changes their guidelines

2010-09-09 Thread Kurt Dommermuth
Exactly.  I don't think XML would be considered code, but they could justify
anything they want.

All in all, I'm pretty damn excited.  Personally I was crushed when Apple
blocked CS5 and unfortunately for Adobe I couldn't justify an upgrade.  Now
I can.  I'm sure I'm not alone.  I bet Adobe's sales will be up quite a bit
in the coming weeks.

Now that Apple seems to be making rational business decisions it makes me
think that flash players will be on their mobile devices soon too.  Maybe
within a year.



On Thu, Sep 9, 2010 at 12:04 PM, Nathan Mynarcik wrote:

> I understand.
>
> I have slight concerns about that statement too.  And the fact that it's to
> Apple's discretion on what they really mean...
>
> For example: Can we not access XML data stored on the web from our Apps?
>
> Nathan Mynarcik
> nat...@mynarcik.com
> 254.749.2525
> www.mynarcik.com
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Apple changes their guidelines

2010-09-09 Thread Kurt Dommermuth
Exactly.   It appears that all of the sudden we are all iApp developers.

On Thu, Sep 9, 2010 at 11:37 AM, Nathan Mynarcik wrote:

> I think (and hope) so.  Looks like my new business expense actually calls
> for the upgrade to CS5 now.
>
> Nathan Mynarcik
> nat...@mynarcik.com
> 254.749.2525
> www.mynarcik.com
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Apple changes their guidelines

2010-09-09 Thread Kurt Dommermuth
Hi Nathan,

It's the agreement they are referring to where the legalese is that sucks to
read. The article is fine.

At this point I've read enough to feel confident that they will accept CS5
as a development tool, but what I'm curious about is the statement "as long
as code isn't downloaded".  What does that mean?





On Thu, Sep 9, 2010 at 10:53 AM, Nathan Mynarcik wrote:

> That link is not even a page long...
>
> Nathan Mynarcik
> nat...@mynarcik.com
> 254.749.2525
> www.mynarcik.com
>
>
> On Thu, Sep 9, 2010 at 10:13 AM, Kurt Dommermuth  >wrote:
>
> > shit.  I don't want to read their damn agreement.  What the hell does
> this
> > mean?
> >
> >
> >
> > On Thu, Sep 9, 2010 at 9:59 AM, allandt bik-elliott (thefieldcomic.com)
> <
> > alla...@gmail.com> wrote:
> >
> > > how does cs5 generate files for iphone? Does it create a swf and then
> use
> > a
> > > cocoa framework to make it work or does it transcode the file directly
> > into
> > > objective c?
> > >
> > > suddenly looks very interesting again
> > >
> > > a
> > >
> > > On 9 September 2010 14:46, Henrik Andersson 
> > wrote:
> > >
> > > > http://www.apple.com/pr/library/2010/09/09statement.html
> > > > ___
> > > > 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] Apple changes their guidelines

2010-09-09 Thread Kurt Dommermuth
shit.  I don't want to read their damn agreement.  What the hell does this
mean?



On Thu, Sep 9, 2010 at 9:59 AM, allandt bik-elliott (thefieldcomic.com) <
alla...@gmail.com> wrote:

> how does cs5 generate files for iphone? Does it create a swf and then use a
> cocoa framework to make it work or does it transcode the file directly into
> objective c?
>
> suddenly looks very interesting again
>
> a
>
> On 9 September 2010 14:46, Henrik Andersson  wrote:
>
> > http://www.apple.com/pr/library/2010/09/09statement.html
> > ___
> > 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 game source code

2010-06-05 Thread Kurt Dommermuth

I have no idea how this email got sent to flashcoders





Sent from somthing that's difficult to type on.

On Jun 5, 2010, at 9:40 AM, Kurt Dommermuth   
wrote:



Got it !



Sent from somthing that's difficult to type on.

On Jun 5, 2010, at 4:43 AM, Karina Steffens   
wrote:


I actually wrote one from scratch a year ago for a client. My first  
AS3 project. Never got paid for it, though :-(


Karina



On 5 Jun 2010, at 04:20, Michael Stocke   
wrote:




Good evening everyone.



I would like to make a space invaders clone using AS3. I don't  
have alot of time, so developing from scratch isn't really an  
option. Does anyone have any suggestions for places to find source  
code? Flashkit is too old, and I haven't been able to find  
anything at kirupa.com. I've seen a number of emulators, but I  
want something that I can customize with my own assets and  
animations if possible. Any suggestions anyone can give would be  
appreciated. Thanks.


Foundry Designs Inc.
Professional Website Design and Online Marketing

Mike Stocke
msto...@foundrydesigns.com
248.787.1306



_
Hotmail is redefining busy with tools for the New Busy. Get more  
from your inbox.

http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_2___
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] flash game source code

2010-06-05 Thread Kurt Dommermuth

Got it !



Sent from somthing that's difficult to type on.

On Jun 5, 2010, at 4:43 AM, Karina Steffens   
wrote:


I actually wrote one from scratch a year ago for a client. My first  
AS3 project. Never got paid for it, though :-(


Karina



On 5 Jun 2010, at 04:20, Michael Stocke   
wrote:




Good evening everyone.



I would like to make a space invaders clone using AS3. I don't have  
alot of time, so developing from scratch isn't really an option.  
Does anyone have any suggestions for places to find source code?  
Flashkit is too old, and I haven't been able to find anything at kirupa.com 
. I've seen a number of emulators, but I want something that I can  
customize with my own assets and animations if possible. Any  
suggestions anyone can give would be appreciated. Thanks.


Foundry Designs Inc.
Professional Website Design and Online Marketing

Mike Stocke
msto...@foundrydesigns.com
248.787.1306



_
Hotmail is redefining busy with tools for the New Busy. Get more  
from your inbox.

http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_2___
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] remove Listener problems written better....

2010-03-04 Thread Kurt Dommermuth
Ok, I sent a note for the last post of mine to be ignored, but it's awaiting
moderation.

 

anyway, the following is written more clearly.  The problem is I can't
remove a listener.  Probably my noob status with as3.  

 

the remove listener works within the ENTER_FRAME fuction itself, but if I
keep calling "reCalcMeter" by clicking fast between buttons, it won't get
removed.

 

Can someone help?

 

function reCalcMeter(o:Object):void

{

 
var path:MovieClip = mainContent;

 
var targPercent:Number;

 
var myData:Object = mainContent.myData;

 
var bar:MovieClip = mainContent.meter.bar;

 
var percentDisplay:Object =
path.meter.meter_points_display.txt_percent_display;

 
var pointDisplay:Object = path.meter.meter_points_display.txt_pts;

 
var startPercent:Number = 0;

 


 
var accString:String = o.points_user_accumulated

 
var accumulated:Number = Number(accString.split(',').join(''));

 
var totalPts:Number = o.point_range_high.split(',').join('');

 
var scale:Number = 0;

 
targPercent = int((accumulated/totalPts)*100)/100;   

 
bar.scaleX = 0;

 


 
if(path.hasEventListener(Event.ENTER_FRAME))

 
{  

 
trace("Listener exists using hasEventListener \n--");

 
path.removeEventListener(Event.ENTER_FRAME, animateMeter);

 
trace("Is there still a listener? : " +
path.hasEventListener(Event.ENTER_FRAME)) // This still returns true!

 
}

 
else

 
{

 
trace("no event listener here");

 
}

 


 
path.addEventListener(Event.ENTER_FRAME, animateMeter);

 


 
function animateMeter(event:Event) 

 
{  

 
var nSX:Number = int((bar.scaleX + .01)*100)/100;

 
var myNum:Number = Math.round(nSX*100);

 
bar.scaleX += .008; 

 
percentDisplay.text = myNum + "%"

 
pointDisplay.text = accString + " pts"

 
if(nSX >= targPercent)

 
{

 
bar.scaleX = nSX

 
path.removeEventListener(event.type,animateMeter)  // this works!

 
}

 
}  

 
}

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


[Flashcoders] can't remove listener

2010-03-04 Thread Kurt Dommermuth
Hi All,

 

I've searched and read a lot about people having difficulties using
removeEventListener, but I just don't get why I'm having problems removing
one.  I'm sort of new to AS3 so that would probably explain a lot.  

 

I've tried so many variations of the following code that it probably looks
like a mess and is now inefficient, but hopefully someone more experienced
than me can identify the basic issue.  I appreciate any help.   - Kurt

 

var
create:Boolean = true;

function
reCalcMeter(o:Object):void

{

 
var path:MovieClip = mainContent;

 
var targPercent:Number;

 
var mc:MovieClip = new MovieClip();

 
path.addChild(mc);

 
var myData:Object = mainContent.myData;

 
var bar:MovieClip = mainContent.meter.bar;

 
var percentDisplay:Object =
path.meter.meter_points_display.txt_percent_display;

 
var pointDisplay:Object = path.meter.meter_points_display.txt_pts;

 
var startPercent:Number = 0;

 


 
var accString:String = o.points_user_accumulated

 
var accumulated:Number = Number(accString.split(',').join(''));

 
var totalPts:Number = o.point_range_high.split(',').join('');

 
var scale:Number = 0;

 
targPercent = int((accumulated/totalPts)*100)/100;   

 
bar.scaleX = 0;

 


 
if(!mc.hasEventListener(Event.ENTER_FRAME) && create)

 
{  

 
create = false

 
trace("should create");

 
mc.addEventListener(Event.ENTER_FRAME, animateMeter);

 


 
}

 
else

 
{

 
path.removeChild(mc);

 
mc.removeEventListener(Event.ENTER_FRAME, animateMeter);

 
trace("should die but doesnt");

 
}

 


 
function animateMeter(event:Event) 

 
{  

 
//trace("targpercent = " + targPercent);

 
var nSX:Number = int((bar.scaleX + .01)*100)/100;

 
var myNum:Number = Math.round(nSX*100);

 
bar.scaleX += .008; 

 
percentDisplay.text = myNum + "%"

 
pointDisplay.text = accString + " pts"

 
if(nSX >= targPercent)

 
{

 
mc.removeEventListener(event.type,animateMeter) //this is fine - works

 
}

 
}  

 
} 

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


RE: [Flashcoders] Flash Lite for Verizon

2010-02-24 Thread Kurt Dommermuth
Thanks Scott,

Already your blog looks to be enormously helpful!

Kurt

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Scott
Janousek
Sent: Wednesday, February 24, 2010 9:54 AM
To: Flash Coders List
Subject: Re: [Flashcoders] Flash Lite for Verizon

Kurt, see below. Contact me for further info. There is way too much history
and news to put into one, short, email. :)

Kurt Dommermuth wrote:
> Hi Everyone,
>
>
>
> I'm sorry if there is a better forum for this type of question, but 
> there are a lot of experienced people here so maybe someone can help.
>
>
>
> I was told that the last Flash Lite app Verizon accepted for their  
> "get it now" store was 2 years ago.
>
>
>
> Is this true?
>
I haven't heard of anyone in Flash community trying to get content on there
in at least 2 years.
>
>
> Anyone here developing smart phone apps for anything other than Apple?
>
Yes.
>
>
> Anyone using Flash Lite at all?
>
Yes.
>
>
> Any comments would be much appreciated.  There seems to be a lot of 
> conflicting info out there.
>
Right on. :)
>
>
> Thanks!
>
>
>
> Kurt
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>

--
Scott Janousek ("sj")
Speaker, Educator, Mobile Developer, Gadget Geek, & CEO

mobile:   617.840.4427
work: 617.276.2315
skype:scottajanousek
twitter:  scottjanousek
linkedin: http://www.linkedin.com/in/scottjanousek
qik.com   http://www.qik.com/scottjanousek
chumby:  scottjanousek (Note: You must send me your username via email)
site: http://www.scottjanousek.com
mobi: http://scottjanousek.mobi
blog: http://www.scottjanousek.com/blog
flashlog: http://flashmobile.scottjanousek.com/

Forum Nokia Champion
   http://blogs.forum.nokia.com/blog/scott-janouseks-forum-nokia-blog/
Adobe Flash Lite 1.1/2.x/3.x Certified Training Instructor Qualcomm
Authorized BREW Developer Co-Manager, Boston Adobe Mobile & Devices User
Group (BAMaDUG)
   http://www.flashmobilegroup.org
Adobe Community Expert - Mobile & Devices Member of the Adobe MaD Learning
Resources Advisory Group Coauthor, Foundation Flash Applications for Mobile
Devices, Friends of Ed (Apress), ISBN: 1590595580
   http://www.flashmobilebook.com
Coauthor, AdvancED Flash on Devices: Mobile Development with Flash Lite and
Flash 10, Friends of Ed (APress), ISBN: 1430219041
   http://advancED.flashmobilebook.com
Frame 27: Flash Mobile Game Reviews
   http://frame27.blogspot.com
Share your Flash Lite presentations
   http://www.slideshare.net/group/flash-lite-presentations
Flash Lite Community World Map
   http://www.frappr.com/?a=showmap2&mapid=2701599
Mobile Development Jobs
   http://www.mobiledevjobs.org

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


[Flashcoders] Flash Lite for Verizon

2010-02-24 Thread Kurt Dommermuth
Hi Everyone,

 

I'm sorry if there is a better forum for this type of question, but there
are a lot of experienced people here so maybe someone can help.

 

I was told that the last Flash Lite app Verizon accepted for their  "get it
now" store was 2 years ago.

 

Is this true?

 

Anyone here developing smart phone apps for anything other than Apple?

 

Anyone using Flash Lite at all?

 

Any comments would be much appreciated.  There seems to be a lot of
conflicting info out there.

 

Thanks!

 

Kurt

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


RE: [Flashcoders] Timeline Streaming Sounds Playing Early?

2009-10-21 Thread Kurt Dommermuth
Hi Kerry,

I'm not the original poster, but I'll add myself to the list of people
who've experienced this.

It's definitely a bug and it's been around for some time.

More details than that would take too long for a family man to put together,
but it's not hard to reproduce.

In the typical scenario you have a timeline based animation.  You put a stop
at the end of it.  In the next frame, in a different layer, add a keyframe
and put a sound from the libray on it.  Set it to stream.

Let you're animation play.  It will stop at the correct frame, but the sound
will play even though it is located after the frame where you put your
stop().

Fix it by adding more frames between the frame where the stop() is and where
the streaming sound is.


Take care.
Kurt

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Kerry
Thompson
Sent: Monday, October 19, 2009 5:28 AM
To: 'Flash Coders List'
Subject: RE: [Flashcoders] Timeline Streaming Sounds Playing Early?

 Dave Dev wrote:

> I have a frame with a stop actionscript command. The next frame has a
> streaming sounds and a frame label. At runtime, Flash stops at the stop
> command frame, but then plays a very brief portion of the streaming sound
in
> the next frame. Placing some frames in between the sound and command seems
> to fix(?) the problem. This occurs on Windows XP, but not Mac OS X using
> Flash Player 8. 

Hmm... which version of Flash are you using? Is the sound in the library, or
in an external audio file? Is the sound played with an AS command, or is it
on the time line?

Sorry to ask so many questions. The way you describe it, it sounds like a
bug in Flash, but something like that should have been found and fixed long
ago. I suspect there's more going on--possibly something you don't know
about, or that treats the audio in a way you haven't thought of.

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


[Flashcoders] Using LocalConnection to talk from AS3 file to AS2 in different domain

2009-09-16 Thread Kurt Dommermuth
Hi All,

 

Not a question here, but I wanted to share something that was fairly obscure
in the help docs.

 

If you are using LocalConnection to talk to an as2 swf from an as3 swf you
have to do some things differently than you might expect.

 

Knowing this can really help in trying to completely unload a loaded as2
swf.  For instance, you could change the test function to help you the
loaded as2 swf unload itself.  If you don't successfully do this, things get
messy quick (memory leak, sound won't stop etc..).

 

Basic sample code below (hopefully this can help someone in the future).

 

Kurt

 

__

 

Sending swf code (AS3)

 

var AVM_lc:LocalConnection = new LocalConnection();

 

// loader loads AVM1 movie

var loader:Loader = new Loader();

loader.load(new URLRequest("http://www.yourdomain.com/ as2_receiving.swf"));

addChild(loader);

 

loader.addEventListener(MouseEvent.CLICK, testfunction); //just to initiate
test..

 

function testfunction(event:MouseEvent):void 

{

AVM_lc.send("_AVM2toAVM1", "receivingfunction");  //IT IS CRUCIAL to add
the underscore!! (for more info read about superdomains).

}

 

AVM_lc.addEventListener(StatusEvent.STATUS,onConnStatus)

function onConnStatus(event:StatusEvent):void

 {

 switch (event.level)

  {

   case "status":

trace("LocalConnection.send() succeeded");

break;

case "error":

trace("LocalConnection.send() failed", event)

 break;

  }

 }

 

 



 

 

Receiving swf (AS2):

 

var AVM_lc:LocalConnection = new LocalConnection();

AVM_lc.client = this;

AVM_lc.allowDomain = function ( domain )

{ 

trace("allow domain called!!")  //You can specify that only
specific domains are allowed.  In this case I'm allowing ALL domains.

//Note;  in AS3 code you could just say
AVM_lc.allowDomain(*);

return true;

} 

 

// stopAnimation event handler

AVM_lc. receivingfunction = function()

{

trace("success");

}

 

AVM_lc.connect("_AVM2toAVM1"); //Again - the underscore is crucial.

 

 

 

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


RE: [Flashcoders] RE: Flash full screen examples

2009-08-07 Thread Kurt Dommermuth
http://www.gettheglass.com/

Really nice.  I can't believe there was a budget for that.  None of my
clients ever want to pay for something that elaborate.

Do you think the agency cut their rates to do the job or that they are just
amazing salesmen?

Anyway, cool stuff.


-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Boerner,
Brian J
Sent: Friday, August 07, 2009 11:30 AM
To: Flash Coders List
Subject: [Flashcoders] RE: Flash full screen examples


How about this one?



-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Mendelsohn,
Michael
Sent: Friday, August 07, 2009 11:11 AM
To: Flash Coders List
Subject: [Flashcoders] Flash full screen examples

Hi list...

Can anyone point out some amazing examples of Flash content taking up the
entire window?
(StageDisplayState.NORMAL, not StageDisplayState.FULL_SCREEN)
 
I can offer these examples, but I'm looking for examples applicable to an
eventual holiday greeting card.
http://rb.hi-res.net/index.html (drag the earth)
http://www.pushhere.com/
http://www.oringe.com/flashSite/ (click some of the links)
http://gskinner.com/site2_5/

Looking for inspiration, 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 mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] unloadAndStop works in IDE, not in browser (IE/Firefox)

2009-07-21 Thread Kurt Dommermuth
Hi All,

unloadAndStop works in the flash IDE, but not in the browser.

In the debugger it says "error 1069: Property unloadAndStop not found on
flash.display.loader"

I am publishing for the flash 10 player and my browsers are using the flash
10 player.

Anyone else experience this?

Thank you,
Kurt

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


RE: [Flashcoders] assigning variable to a movie clip and a MOUSE_DOWN event

2009-06-18 Thread Kurt Dommermuth
man.  THANK YOU!

Kurt

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Glen Pike
Sent: Thursday, June 18, 2009 5:38 PM
To: Flash Coders List
Subject: Re: [Flashcoders] assigning variable to a movie clip and a
MOUSE_DOWN event

e.target will change depending on what was clicked inside the thing you 
are listening to events from...

If you want to know the thing sending the event - the thing you are 
listening to, use e.currentTarget

This explains it a bit more:

http://mysticnomad.wordpress.com/2008/03/21/difference-between-eventtarget-a
nd-eventcurrenttarget-properties-in-an-event-object/

Kurt Dommermuth wrote:
> Hi All,
>
> New to AS3.  I'm enjoying it, but occasionally I run into issue where I
> don't know even what to search for to learn more.
>
> The short of it is this:
>
> //The first line is using an object "o" to store the loader info.
> //This was need because I had loaded an external swf and am loading
> //assets from it's library into the main container.
>
> var asset_class = o.loader_info.applicationDomain.getDefinition("linkage
> name") as Class;
> var asset_mc:MovieClip = new asset_class() as MovieClip;
> addChild(asset_mc);
> asset_mc.my_variable = "some value";
> asset_mc.buttonMode = true;
> asset_mc.useHandCursor = true;
>
> asset_mc.addEventListener(MouseEvent.MOUSE_DOWN, loadGame);
>
> function loadGame(e:MouseEvent):void
> {
> trace(e.target.my_variable);
> trace(e.target)
> }
>
> The trace will give me the expected value if I click on certain parts of
> asset_mc.  
>
> If I click on a nested movie clip it will trace as undefined.
>
> So, it seems that e.target changes depending on what I click on within
> asset_mc.
>
> I had a similar problem when I used MOUSE_OVER instead of ROLL_OVER.
>
> Anyway, that target gives me a different value depending on what I click
on.
> Sort of makes sense, but how do I "drill down" to get to the variable I
> assigned to asset_mc? I can think of ways, but it seems awfully
convoluted.
>
> I think what I'm looking for is the "root" of asset_mc.  How do I find it?

>
> Any ideas?
>
> Hope I'm making sense.
>
> Thank you,
> Kurt
>
>
>
>
>
>
>
> ___
> 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] assigning variable to a movie clip and a MOUSE_DOWN event

2009-06-18 Thread Kurt Dommermuth
Hi All,

New to AS3.  I'm enjoying it, but occasionally I run into issue where I
don't know even what to search for to learn more.

The short of it is this:

//The first line is using an object "o" to store the loader info.
//This was need because I had loaded an external swf and am loading
//assets from it's library into the main container.

var asset_class = o.loader_info.applicationDomain.getDefinition("linkage
name") as Class;
var asset_mc:MovieClip = new asset_class() as MovieClip;
addChild(asset_mc);
asset_mc.my_variable = "some value";
asset_mc.buttonMode = true;
asset_mc.useHandCursor = true;

asset_mc.addEventListener(MouseEvent.MOUSE_DOWN, loadGame);

function loadGame(e:MouseEvent):void
{
trace(e.target.my_variable);
trace(e.target)
}

The trace will give me the expected value if I click on certain parts of
asset_mc.  

If I click on a nested movie clip it will trace as undefined.

So, it seems that e.target changes depending on what I click on within
asset_mc.

I had a similar problem when I used MOUSE_OVER instead of ROLL_OVER.

Anyway, that target gives me a different value depending on what I click on.
Sort of makes sense, but how do I "drill down" to get to the variable I
assigned to asset_mc? I can think of ways, but it seems awfully convoluted.

I think what I'm looking for is the "root" of asset_mc.  How do I find it?  

Any ideas?

Hope I'm making sense.

Thank you,
Kurt







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


RE: [Flashcoders] understand getChildByName

2009-06-17 Thread Kurt Dommermuth
good idea.

I'll give it a go.

Thanks Greg.

Kurt

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Gregory
Boland
Sent: Wednesday, June 17, 2009 9:34 AM
To: Flash Coders List
Subject: Re: [Flashcoders] understand getChildByName

you might be experiencing a related issue regarding accessing properties of
an AS2 swf inside an AS3 swf.  I know that you have limited interaction with
an as2 movie loaded into as3.  Try loading an AS3 swf into there and see if
you have the same issue

greg

On Wed, Jun 17, 2009 at 6:13 AM, Kurt Dommermuth
wrote:

> Hi Cor,
>
> Thank you for reading this Cor.  It is a package and it looks like below.
> It is one of my first attempts so if you see any other room for
improvement
> it would be welcome.
>
> 
>
> The call to the loader looks like this:
>
> var mc:MovieClip = new MovieClip();
> var m = main.addChild(mc);
> mc.name = "btn_nav"
> var callback:Object = new Object();
> callback.fn = initGameNav;
> callback.mc = m;
> var l:Assetloader = new Assetloader(mc, "game_buttons_as3.swf", callback);
>
> 
>
> package com.dom.Loaders
> {
>import flash.display.Stage;
>import flash.display.MovieClip;
>import flash.display.Loader;
>import flash.display.LoaderInfo;
>import flash.events.*;
>import flash.net.URLRequest;
>import flash.net.URLLoader;
>import flash.text.TextField;
>import com.dom.Utilities.FeedbackMessage;
>import flash.utils.getDefinitionByName;
>
>public class Assetloader extends MovieClip
>{
>private var _path:MovieClip;
>private var _url:String;
>private var _callback:Object;
>private var _p:preloaderMC;
>private var _loader:Loader;
>private var _error:FeedbackMessage;
>
>public function Assetloader(path:MovieClip, url:String,
> callback:Object=null):void
>{
>_path = path;
>_url = url;
>_callback = callback;
>initLoader();
>}
>
>private function initLoader():void
>{
>var request:URLRequest = new URLRequest(_url);
>_loader = new Loader();
>
> _loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR,
> handleError);
>
> _loader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS,
> loadProgress);
>
> _loader.contentLoaderInfo.addEventListener(Event.COMPLETE, loadComplete);
>_loader.load(request); //initiate loading of
> main.swf
>trace("_callback.mc = " + _callback.mc)
>_path.addChild(_loader);
>trace("_callback.mc2 = " + _callback.mc)
>}
>
>// Update the percentage display
>private function loadProgress(event:ProgressEvent):void
>{
>var percentLoaded:Number = event.bytesLoaded /
> event.bytesTotal;
>percentLoaded = Math.round(percentLoaded * 100);
>
>}
>
>//remove the loader and free up resources
>private function cleanUp():void
>{
>_loader.removeEventListener(IOErrorEvent.IO_ERROR,
> handleError);
>_loader.removeEventListener(ProgressEvent.PROGRESS,
> loadProgress);
>_loader.removeEventListener(Event.COMPLETE,
> loadComplete);
>if(_p!=null)
>{
>_p.parent.removeChild(_p);
>}
>_p = null;
>}
>
>
>// Load complete, hide the animating graphic and text
>private function loadComplete(event:Event):void
>{
>_callback.load_info = new Object()
>_callback.load_info = event.target;
>_callback.mc = event.target.content;
>_callback.fn(_callback);
>cleanUp();
>}
>
>private function handleError(e:IOErrorEvent):void
>{
>trace("Error loading File");
>var msg:String = "The file '&quo

RE: [Flashcoders] understand getChildByName

2009-06-17 Thread Kurt Dommermuth
Hi Cor,

I meant to say that the movie I was loading in is an as2 swf.

the container is as3.

Kurt

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Cor
Sent: Wednesday, June 17, 2009 9:25 AM
To: 'Flash Coders List'
Subject: RE: [Flashcoders] understand getChildByName

This all looks AS3 to me.
Did I misunderstood AS2?

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Kurt
Dommermuth
Sent: woensdag 17 juni 2009 15:13
To: 'Flash Coders List'
Subject: RE: [Flashcoders] understand getChildByName

Hi Cor,

Thank you for reading this Cor.  It is a package and it looks like below.
It is one of my first attempts so if you see any other room for improvement
it would be welcome.



The call to the loader looks like this:

var mc:MovieClip = new MovieClip();
var m = main.addChild(mc);
mc.name = "btn_nav"
var callback:Object = new Object();
callback.fn = initGameNav;
callback.mc = m;
var l:Assetloader = new Assetloader(mc, "game_buttons_as3.swf", callback);



package com.dom.Loaders
{   
import flash.display.Stage;
import flash.display.MovieClip;
import flash.display.Loader;
import flash.display.LoaderInfo;
import flash.events.*;
import flash.net.URLRequest;
import flash.net.URLLoader;
import flash.text.TextField;
import com.dom.Utilities.FeedbackMessage;
import flash.utils.getDefinitionByName;

public class Assetloader extends MovieClip
{   
private var _path:MovieClip;
private var _url:String;
private var _callback:Object;
private var _p:preloaderMC;
private var _loader:Loader;
private var _error:FeedbackMessage;

public function Assetloader(path:MovieClip, url:String,
callback:Object=null):void
{
_path = path;
_url = url;
_callback = callback;
initLoader();
}

private function initLoader():void
{
var request:URLRequest = new URLRequest(_url);
_loader = new Loader();

_loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR,
handleError);

_loader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS,
loadProgress);

_loader.contentLoaderInfo.addEventListener(Event.COMPLETE, loadComplete);
_loader.load(request); //initiate loading of
main.swf
trace("_callback.mc = " + _callback.mc)
_path.addChild(_loader);
trace("_callback.mc2 = " + _callback.mc)
}

// Update the percentage display
private function loadProgress(event:ProgressEvent):void 
{
var percentLoaded:Number = event.bytesLoaded /
event.bytesTotal;
percentLoaded = Math.round(percentLoaded * 100);

}

//remove the loader and free up resources
private function cleanUp():void
{
_loader.removeEventListener(IOErrorEvent.IO_ERROR,
handleError);
_loader.removeEventListener(ProgressEvent.PROGRESS,
loadProgress);
_loader.removeEventListener(Event.COMPLETE,
loadComplete);
if(_p!=null)
{
_p.parent.removeChild(_p);
}
_p = null;
}


// Load complete, hide the animating graphic and text
private function loadComplete(event:Event):void 
{
_callback.load_info = new Object()
_callback.load_info = event.target;
_callback.mc = event.target.content;
_callback.fn(_callback);
cleanUp();  
}

private function handleError(e:IOErrorEvent):void 
{
trace("Error loading File");
var msg:String = "The file '" + _url + "' could not
be loaded."
_error = new FeedbackMessage(msg,_callback.path);
cleanUp()
}
}
}

__

RE: [Flashcoders] understand getChildByName

2009-06-17 Thread Kurt Dommermuth
et_game_to_load;
asset_mc.scaleX = .50
asset_mc.scaleY = .50
if(i<=10)
{
newY = 0
asset_mc.x = ((i-1) * asset_mc.bg.width/2) +
asset_mc.bg.width/2
}
else
{
newY = 80;
asset_mc.x = ((i-11) * asset_mc.bg.width/2) +
asset_mc.bg.width/2
}
asset_mc.y = newY;  .etc...

_


Kurt





-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Cor
Sent: Wednesday, June 17, 2009 8:34 AM
To: 'Flash Coders List'
Subject: RE: [Flashcoders] understand getChildByName

Hi Kurt,

How do you load youe swf into your myMC?

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Kurt
Dommermuth
Sent: woensdag 17 juni 2009 13:57
To: 'Flash Coders List'
Subject: [Flashcoders] understand getChildByName

Hi All,

New to AS3.

I'm sure I must be missing something obvious, but I'm at a loss.

Example:

I have created a movie clip - called "myMC". I added it to an existing movie
clip called "main" (main.addChild(myMC)).

At this point myMC traces as [object MovieClip].

I load an as2 swf into myMC.

At this point myMC traces as [object MainTimeline].

I change myMC's y value to 100 and it traces as 100.

Later I want to move it again.  To reference it I create a variable like
this:

var mc:DisplayObject = main.getChildByName("myMC");

Now when I trace mc's y value it is 0.

I don't know why.

Does the trace [object MainTimeline] indicate that I've used addChild
incorrectly?  Should I have added myMC to "main" after it had loaded?  Why
did it go from a MovieClip object to a MainTimeline object?

Does the fact that I'm loading in an as2 swf have anything to do with it?

Any help would be appreciated.

Thank you,
Kurt

___
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] understand getChildByName

2009-06-17 Thread Kurt Dommermuth
Hi All,

New to AS3.

I'm sure I must be missing something obvious, but I'm at a loss.

Example:

I have created a movie clip - called "myMC". I added it to an existing movie
clip called "main" (main.addChild(myMC)).

At this point myMC traces as [object MovieClip].

I load an as2 swf into myMC.

At this point myMC traces as [object MainTimeline].

I change myMC's y value to 100 and it traces as 100.

Later I want to move it again.  To reference it I create a variable like
this:

var mc:DisplayObject = main.getChildByName("myMC");

Now when I trace mc's y value it is 0.

I don't know why.

Does the trace [object MainTimeline] indicate that I've used addChild
incorrectly?  Should I have added myMC to "main" after it had loaded?  Why
did it go from a MovieClip object to a MainTimeline object?

Does the fact that I'm loading in an as2 swf have anything to do with it?

Any help would be appreciated.

Thank you,
Kurt

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


Re: [Flashcoders] Incredible Crashing Flash

2007-07-20 Thread Kurt Dommermuth


Hi Jobe,

I had a problem recently where I used a lot of bitmaps (developed on a 
PC).  The presentation crashed consistently on a couple of macs, not any 
PCs though.  In particular it seemed to be the new powerbooks.  Oddly 
enough though the cheesegraters with the new intel chip played it fine.


I turned out to be 1 tiny bitmap that must have been corrupt.  I recreated 
it in photoshop and replaced it and all was well.


it was a bitch to find.  but the clue was that it crashed at the same point 
in the timeline every time.


maybe this helps.

Kurt

At 11:54 AM 07/20/07, Jobe Makar wrote:


Hi James,

There are plenty of bitmaps used in the MovieClips. But I'm not giving 
linkage to any bitmaps directly.


Jobe Makar
http://www.electrotank.com
http://www.electro-server.com
phone: 252-627-8026
mobile: 919-609-0408
fax: 919-882-1121
- Original Message - From: "James Ford" <[EMAIL PROTECTED]>
To: 
Sent: Friday, July 20, 2007 11:13 AM
Subject: RE: [Flashcoders] Incredible Crashing Flash



Does it make much use of bitmap objects in the library?  That's a real
bugger for Flash 8, I know.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jobe Makar
Sent: 20 July 2007 15:32
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Incredible Crashing Flash

Hi guys,

I have one FLA file that crashes Flash about one in 3 or 4 publishes. The
FLA was created by someone on a Mac. It appears to be very clean. It is
Flash CS3, AS3. This issue is not happening with any of my other projects.

Needless to say this is driving me crazy. Any ideas at all?

ps - I'm on Vista Ultimate. And by 'crash' I mean Flash stops responding and
eventually I'm told by Windows that it needs to be closed forcefully.

Jobe Makar
http://www.electrotank.com
http://www.electro-server.com
phone: 252-627-8026
mobile: 919-609-0408
fax: 919-882-1121


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

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

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

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



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

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



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

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


Re: [Flashcoders] Job Posting: Glenwood MD (Baltimore/DC)

2007-04-26 Thread Kurt Dommermuth


now wait a minute!

I was kiiiing.

Just to be clear... people who work with me get paid very well.

So come on people!  Come work here in Glenwood Maryland and rule the world.

Kurt



At 03:41 PM 04/26/07, Helmut Granda wrote:



And as far as money goes, you'll get paid what I tell you you'll get paid.



I like your options. Does it work the same with projects? ;)
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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



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

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


Re: [Flashcoders] Job Posting: Glenwood MD (Baltimore/DC)

2007-04-26 Thread Kurt Dommermuth


Another job posting.  (Go flashers! It's busy out there).

I have some wonderful remote help already, but I need a full-time person to 
work more closely with me in my office.


2-4 years solid experience in the web world.  Flash/PHP/CSS/Javascript and 
a touch of mySQL.


Excellent client skills.

Creative.

Sense of humor.

Expect a relaxed, fun environment. Expect to work with some seriously 
talented people.  Your would probably appreciate my very diverse clients. 
From Marilyn Manson to the Baltimore Basilica.  The experience you gain 
would be invaluable.


If you're the right fit, you'll jump out of bed most days anxious to kick 
some ass.  If you're the wrong fit, I'll kick your ass.


And as far as money goes, you'll get paid what I tell you you'll get paid.

Seriously, it's based on your experience.  Make yourself invaluable to me 
and I'll make sure your are taken care of.


Email me if your think you might be right.  Be prepared show me why.

Thanks,
Kurt



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

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


Re: [Flashcoders] trig? calculus? put me out my misery

2007-03-12 Thread Kurt Dommermuth

Thank you all.

My assistant actually pointed out a very simple way to accomplish what I 
wanted to do.


He suggested just adding another mc called "targ" off the stage.  "targ" 
rotates with the projectile I'm firing.  when the user clicks I just tell 
the projectile to go to the target mc.


It works really well.

Thank you for your explanation on how this all works.  I feel like I can 
sort out most anything in AS, but when math is involved it's humbling.


Take care everyone,
Kurt





At 04:07 PM 03/12/07, you wrote:


Its trig, no calculus.
Basically you want a point off stage that the clip would pass through 
because it's pointing in that direction right?


Are you using the tween classes?  If so you'll probably need a X,Y 
coordinate.  If not, you could simply move your MC at the correct angle 
and use the X, Y values to test if its offstage.


So, launching it at the right angle.
If you think of things as a right-angled triangle, the flat bottom part of 
the triangle would be your X axis, while the straight side would be the Y 
axis.  What you want is to find how much X would be given Y, or vice versa.


In trig, the tangent of an angle is the opposite side of the angle divided 
by the adjacent side of the angle.

Or..
Math.tan(myAngle) = myclip._y / myclip._x;

So if you knew you wanted to move it 2 pixels in the X axis each time then 
you'd replace with this


Math.tan(myAngle) = myclip._y / 2

Then get the unknown quantity of y on one side so we can solve for it:

Math.tan(myAngle) * 2  = myclip._y;

The tricky part is if your angle is in degree or radians.  To use sine, 
cosine, or tangent, it must be in radiansso you gotta convert

If I remember correctly your angle in radians is myangle * Math.PI / 180.

So on every enter frame you could saymy speed horizontal speed is 
2 so myclip._x  +=2;
My vertical speed is determined by trig, so myclip._y += Math.tan(myangle 
* Math.PI / 180) * 2;


That's the gist.  I didn't check ANY of this.  So it might be wrong, but 
it's one of the ways to solve the problem.


Kurt Dommermuth wrote:

Hi all,

I have what I initially thought was simple problem, but I've been racking 
my brains, searching the web and I just don't get it.


I have a movieclip that the user can rotate .

When they click the movieclip shoots off in the direction it's pointing.

It's goes off the stage and simply stops.

the speed is fixed.  there is no gravity.

How do I determine the _x and _y value somewhere off stage?

I'd appreciate any help.  even if someone could let me know what to 
search for.


thank you!

Kurt

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

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

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

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



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

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


[Flashcoders] trig? calculus? put me out my misery

2007-03-12 Thread Kurt Dommermuth

Hi all,

I have what I initially thought was simple problem, but I've been racking 
my brains, searching the web and I just don't get it.


I have a movieclip that the user can rotate .

When they click the movieclip shoots off in the direction it's pointing.

It's goes off the stage and simply stops.

the speed is fixed.  there is no gravity.

How do I determine the _x and _y value somewhere off stage?

I'd appreciate any help.  even if someone could let me know what to search for.

thank you!

Kurt

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

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


[Flashcoders] Mid level Flasher needed.

2006-12-16 Thread Kurt Dommermuth

Hi all,

I just posted a job on Craigslist Maryland.  You can get an idea of what 
I'm looking for there:  http://baltimore.craigslist.org/art/249738732.html.


I have some pretty damn cool gigs (some boring too I guess) that I need 
help on.  I've got more work than I can handle and my family is starting to 
not recognize me.


You need to have good programing skills and good design.  Money wise I'm 
generous, but I'm pretty certain I couldn't afford some of the 
mega-flashers that post here. I guess, I'm looking for someone 
mid-level.  Maybe someone who operates on a top notch level, but needs some 
high profile clients in there portfolio.


Heres an example of the first project I need help on:
http://www.holidayinnexpresspromotion.com/interactiveexperience/window.html

I need 4 of those types of things mid January.

I don't have time to do a lot of hand holding so be confident!

I'm in Glenwood Maryland USA.  Yes, it would be great if I could meet you 
in person, but what the hell, I've never seen most of the people I work for 
and it's worked out very well.


Anyway, if you feel that you can help let me know and we'll talk.

[EMAIL PROTECTED]

Thanks all,
Kurt

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

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


Re: [Flashcoders] as 2 email validation class

2006-11-19 Thread Kurt Dommermuth

Muzak, thank you for the handy google search!

Another cool thing you done!

Kurt

At 04:49 PM 11/19/06, you wrote:


http://muzakdeezign.com/flashcoders/?q=email%20validation

Muzak


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

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


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

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


Re: [Flashcoders] Scale Stage but not a Movieclip?

2006-10-28 Thread Kurt Dommermuth
This was intended for someone else!  I don't know how I managed to send 
this here.


Sorry!
Kurt

At 06:58 AM 10/28/2006, you wrote:


Is this just for reference or was he telling you I can get files here?



At 03:48 PM 10/27/2006, you wrote:


That's the ticket!

thanks!

At 02:34 PM 10/27/2006, you wrote:


Check out brother James:

http://www.jamesor.com/2006/10/12/creating-liquid-guis-with-flash-part-1/

Scott

On 10/27/06, Kurt Dommermuth <[EMAIL PROTECTED]> wrote:


Hi All,

I suck at math and I need help.

I have a swf that is set to scale to the full size of the browser.

But I don't want some move clips to scale.

I think I need to get the proportions of the stage and somehow tell the
movie clip that I don't want to scale to do the opposite.

Am I being clear?

I know this must have been asked already, but I must also suck at
searching
through the archives.

thanks,
Kurt

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

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




--

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

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


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

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


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

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



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

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


Re: [Flashcoders] Scale Stage but not a Movieclip?

2006-10-28 Thread Kurt Dommermuth

Is this just for reference or was he telling you I can get files here?



At 03:48 PM 10/27/2006, you wrote:


That's the ticket!

thanks!

At 02:34 PM 10/27/2006, you wrote:


Check out brother James:

http://www.jamesor.com/2006/10/12/creating-liquid-guis-with-flash-part-1/

Scott

On 10/27/06, Kurt Dommermuth <[EMAIL PROTECTED]> wrote:


Hi All,

I suck at math and I need help.

I have a swf that is set to scale to the full size of the browser.

But I don't want some move clips to scale.

I think I need to get the proportions of the stage and somehow tell the
movie clip that I don't want to scale to do the opposite.

Am I being clear?

I know this must have been asked already, but I must also suck at
searching
through the archives.

thanks,
Kurt

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

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




--

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

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


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

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



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

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


Re: [Flashcoders] Scale Stage but not a Movieclip?

2006-10-27 Thread Kurt Dommermuth

That's the ticket!

thanks!

At 02:34 PM 10/27/2006, you wrote:


Check out brother James:

http://www.jamesor.com/2006/10/12/creating-liquid-guis-with-flash-part-1/

Scott

On 10/27/06, Kurt Dommermuth <[EMAIL PROTECTED]> wrote:


Hi All,

I suck at math and I need help.

I have a swf that is set to scale to the full size of the browser.

But I don't want some move clips to scale.

I think I need to get the proportions of the stage and somehow tell the
movie clip that I don't want to scale to do the opposite.

Am I being clear?

I know this must have been asked already, but I must also suck at
searching
through the archives.

thanks,
Kurt

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

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




--

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

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



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

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


[Flashcoders] Scale Stage but not a Movieclip?

2006-10-27 Thread Kurt Dommermuth

Hi All,

I suck at math and I need help.

I have a swf that is set to scale to the full size of the browser.

But I don't want some move clips to scale.

I think I need to get the proportions of the stage and somehow tell the 
movie clip that I don't want to scale to do the opposite.


Am I being clear?

I know this must have been asked already, but I must also suck at searching 
through the archives.


thanks,
Kurt

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

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


Re: [Flashcoders] Express Install (again)

2006-10-17 Thread Kurt Dommermuth
Thanks again Geoff.  It means a lot coming from you as you've invested so 
much time thinking about it.


Kurt

At 10:10 AM 10/17/2006, you wrote:


most of my projects these days do have express install enabled, so i
use the same code that is in the 'basic w/ express install' example.

swfobject doesn't really do much in the way of express install - all
it does is check to see if the user needs the upgrade or not, and
then pass some vars into your flash movie.

once the movie gets those vars, it just laods a swf from adobe and it
takes care of the rest. you do have control over which url is passed
into the swf, and that determines where the user is sent after the
install is done (by default it's the current page's url, but you can
change it by using the xiRedirectUrl attribute.

but rest assured, it does in fact work most of the time - i think the
issues you are having are probably rare things that may be caused by
your specific machine setup, and won't be seen by your users. there's
hundreds (thousands?) of websites using this daily, and like you
said, even if they aren't redirected back, they still get the updated
player and will hopefully find their way back to your site just like
they did in the 'old days' before express install existed.






On Oct 17, 2006, at 9:26 AM, Kurt Dommermuth wrote:


Hi Geoff,

thank you for the clarification.

so, as the creator of SWFobject, I'm sure you've put a ton of
thought into this.  (THANK YOU!)

I want to do the best thing.  would you say "Basic Flash Embed with
Express Install allowed " is the best option?  Or does it still
succumb to the problem you outlined below?

Basically,  what do you use?

also, yes, I did initially try testing on a local machine, but
ultimately tested on a remote server.   The results are inconsistent.

thanks again,
Kurt


At 08:37 AM 10/17/2006, you wrote:


there's one other issue with expressinstall, and that is if you are
using IE, and some other program on your system is using the flash
player .ocx file, then when you finish the upgrade, and your original
browser window closes and the new one opens, the page will still
think that you have the older flash player installed... so it will
prompt to start the install all over again.

this mostly happens with people using MSN messenger with the flash
player in it (not sure the details, but i guess they have some skins
or something that use flash?) this causes the ocx file to be locked
and the upgrade can't finish until they quit all the apps that use
the flash player. then everything is fine.

as for your general issues with the upgrade: the first thing to test,
is are you testing it on a web server? the redirect won't work if you
are launching it from a local file - this is a common mistake people
make when testing it.





On Oct 17, 2006, at 8:05 AM, Kurt Dommermuth wrote:


HI Toby,

Thanks for the comments.  Can I get your opinion on something?

I've gone the route of using express install because it seemed to
be that at worst you wouldn't be redirected back.

Are there other risks?

Thanks,
Kurt

At 06:45 AM 10/17/2006, you wrote:


Can I recommend you subscribe to the SWFobject list and post this
question
there > [EMAIL PROTECTED]

On the point of the issue you are experiencing I would have
thought this
could have been also been influenced by browser behaviour and the
installers
behaviour, regardless of SWFObject, infact, I doubt SWFObject
has any
control over the installer or what it does after it has
installed...
although that is pure guesswork!

OT: I think you will be lucky if you manage to get the express
install to
work identically on a lot of browsers over the next year,
especially with
IE7 coming out. Personally I would hold your horses depending on
the
commercial status of the website you are attaching this
functionality too.

Hope the ramblings help!
T


> -Original Message-----
> From: [EMAIL PROTECTED]
[mailto:flashcoders-
>>>> >> > [EMAIL PROTECTED] On Behalf Of Kurt Dommermuth
> Sent: 16 October 2006 18:57
> To: Flashcoders mailing list
> Subject: Re: [Flashcoders] Express Install (again)
>
> A follow-up.
>
> It just worked on one and not the other.  So freakin' erratic.
>
> will there ever be solid flash detection?
>
>
>
>
>
> At 01:53 PM 10/16/2006, you wrote:
>
> >Hello All,
> >
> >I've seen a few posts regarding express install/ swfObject/ ufo
etc..
> >
> >I'm having a problem with both Adobe's express install scheme
and
> swfObject.
> >
> >IE 6 works fine.
> >
> >Firefox (1.5.0.7) forces me to close the browser.  No redirect
back.
> >
> >I've tried on two different computers.  no joy.
> >
> >Anyone else experience this?  Is this a known problem?  Any fix?
> >
> >

Re: [Flashcoders] Express Install (again)

2006-10-17 Thread Kurt Dommermuth

Hi Geoff,

thank you for the clarification.

so, as the creator of SWFobject, I'm sure you've put a ton of thought into 
this.  (THANK YOU!)


I want to do the best thing.  would you say "Basic Flash Embed with Express 
Install allowed " is the best option?  Or does it still succumb to the 
problem you outlined below?


Basically,  what do you use?

also, yes, I did initially try testing on a local machine, but ultimately 
tested on a remote server.   The results are inconsistent.


thanks again,
Kurt


At 08:37 AM 10/17/2006, you wrote:


there's one other issue with expressinstall, and that is if you are
using IE, and some other program on your system is using the flash
player .ocx file, then when you finish the upgrade, and your original
browser window closes and the new one opens, the page will still
think that you have the older flash player installed... so it will
prompt to start the install all over again.

this mostly happens with people using MSN messenger with the flash
player in it (not sure the details, but i guess they have some skins
or something that use flash?) this causes the ocx file to be locked
and the upgrade can't finish until they quit all the apps that use
the flash player. then everything is fine.

as for your general issues with the upgrade: the first thing to test,
is are you testing it on a web server? the redirect won't work if you
are launching it from a local file - this is a common mistake people
make when testing it.





On Oct 17, 2006, at 8:05 AM, Kurt Dommermuth wrote:


HI Toby,

Thanks for the comments.  Can I get your opinion on something?

I've gone the route of using express install because it seemed to
be that at worst you wouldn't be redirected back.

Are there other risks?

Thanks,
Kurt

At 06:45 AM 10/17/2006, you wrote:


Can I recommend you subscribe to the SWFobject list and post this
question
there > [EMAIL PROTECTED]

On the point of the issue you are experiencing I would have
thought this
could have been also been influenced by browser behaviour and the
installers
behaviour, regardless of SWFObject, infact, I doubt SWFObject has any
control over the installer or what it does after it has installed...
although that is pure guesswork!

OT: I think you will be lucky if you manage to get the express
install to
work identically on a lot of browsers over the next year,
especially with
IE7 coming out. Personally I would hold your horses depending on the
commercial status of the website you are attaching this
functionality too.

Hope the ramblings help!
T


> -Original Message-
> From: [EMAIL PROTECTED]
[mailto:flashcoders-
>> > [EMAIL PROTECTED] On Behalf Of Kurt Dommermuth
> Sent: 16 October 2006 18:57
> To: Flashcoders mailing list
> Subject: Re: [Flashcoders] Express Install (again)
>
> A follow-up.
>
> It just worked on one and not the other.  So freakin' erratic.
>
> will there ever be solid flash detection?
>
>
>
>
>
> At 01:53 PM 10/16/2006, you wrote:
>
> >Hello All,
> >
> >I've seen a few posts regarding express install/ swfObject/ ufo
etc..
> >
> >I'm having a problem with both Adobe's express install scheme and
> swfObject.
> >
> >IE 6 works fine.
> >
> >Firefox (1.5.0.7) forces me to close the browser.  No redirect
back.
> >
> >I've tried on two different computers.  no joy.
> >
> >Anyone else experience this?  Is this a known problem?  Any fix?
> >
> >Thanks,
> >Kurt
> >
> >___
> >Flashcoders@chattyfig.figleaf.com
> >To change your subscription options or search the archive:
> >http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> >Brought to you by Fig Leaf Software
> >Premier Authorized Adobe Consulting and Training
> >http://www.figleaf.com
> >http://training.figleaf.com
> >
>
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com


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

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


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

RE: [Flashcoders] Alternative IDE for Flash Devel

2006-10-17 Thread Kurt Dommermuth

Hi,

I think this has been pretty much said, but after having recently explored 
AS editor options I'd like to give my take.


First, your needs are going to be based on how you work.  I do a lot of 
scripting but I also mix in some hand animations and other frame based stuff.


I'm not developing apps.

My primary objective for using an external editor is to keep 
organized.  That means smart Code folding.  Second I want code 
validation.  third, I want to compile from the editor.  Maybe all of the 
following are capable, but only one was intuitive and made it easy to 
accomplish these objectives.  I mean, within minutes.


Scite:  Ok but I was frustrated that I couldn't just click to close an open 
file.  no right click either?  You have to go to the top level menu.  Code 
folding was good. Coudn't find code validation.  Couldn't compile.  Maybe 
it was all there, but not intuitive.  I dumped it.


Primal Script.  Not great code folding.  It wouldn't save folds.  I asked 
in the forums.  no solution.  Plus of course it costs a few bucks. I dumped 
it right there.


Eclispe/FDT.  What a mess to configure.  It may be as powerful as everyone 
says, but it's pretty much worthless for my needs.  And frankly, I suspect 
my needs are more typical of the average flasher.  There are a lot of 
sophisticated programers on this list, god bless you all, but I don't think 
they represent your average flasher.  To much work.  To much time wasted 
setting it up.  Dumped it.  $$ (which btw, if something is worth it, I be 
glad to shell out).


Dreamweaver.  won't save code folding.  stopped trying it right there.

Sepy.  I'm happy with Sepy.  Simple.  Problem solved.  Set up and continued 
doing my work in minutes.


Kurt





At 05:53 AM 10/17/2006, you wrote:


>>Oh man you're in for a treat.

I've been using FlashDevelop for ages as an AS2 editor and wouldn't be
without it now, but after following this thread I am trying to setup a
project (something I have never done) and compile with MTASC...

Got this working fine, retrofitting an old project(about to be
redeveloped) following this tutorial...
http://www.smithaaronlee.net/archives/111
http://www.smithaaronlee.net/archives/113


But now need to get the following errors in the compiler

Warning : package com.Data not found
Warning : package com.UserInterface not found
Warning : package com.Utils not found

Warning : The MovieClip InfoScreen needs the class
UserInterface.InfoScreen which was not compiled :
Please force compilation of this class by adding it to the commandline.

I have setup com.Data etc in the IncludePackages Array, but clearly this
is incorrect.

What do I put in the IncludePackages Array?
How do I force compilation of each class by adding it to the
commandline?

TIA,

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

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


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

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


RE: [Flashcoders] Express Install (again)

2006-10-17 Thread Kurt Dommermuth

HI Toby,

Thanks for the comments.  Can I get your opinion on something?

I've gone the route of using express install because it seemed to be that 
at worst you wouldn't be redirected back.


Are there other risks?

Thanks,
Kurt

At 06:45 AM 10/17/2006, you wrote:


Can I recommend you subscribe to the SWFobject list and post this question
there > [EMAIL PROTECTED]

On the point of the issue you are experiencing I would have thought this
could have been also been influenced by browser behaviour and the installers
behaviour, regardless of SWFObject, infact, I doubt SWFObject has any
control over the installer or what it does after it has installed...
although that is pure guesswork!

OT: I think you will be lucky if you manage to get the express install to
work identically on a lot of browsers over the next year, especially with
IE7 coming out. Personally I would hold your horses depending on the
commercial status of the website you are attaching this functionality too.

Hope the ramblings help!
T


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:flashcoders-
> [EMAIL PROTECTED] On Behalf Of Kurt Dommermuth
> Sent: 16 October 2006 18:57
> To: Flashcoders mailing list
> Subject: Re: [Flashcoders] Express Install (again)
>
> A follow-up.
>
> It just worked on one and not the other.  So freakin' erratic.
>
> will there ever be solid flash detection?
>
>
>
>
>
> At 01:53 PM 10/16/2006, you wrote:
>
> >Hello All,
> >
> >I've seen a few posts regarding express install/ swfObject/ ufo etc..
> >
> >I'm having a problem with both Adobe's express install scheme and
> swfObject.
> >
> >IE 6 works fine.
> >
> >Firefox (1.5.0.7) forces me to close the browser.  No redirect back.
> >
> >I've tried on two different computers.  no joy.
> >
> >Anyone else experience this?  Is this a known problem?  Any fix?
> >
> >Thanks,
> >Kurt
> >
> >___
> >Flashcoders@chattyfig.figleaf.com
> >To change your subscription options or search the archive:
> >http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> >Brought to you by Fig Leaf Software
> >Premier Authorized Adobe Consulting and Training
> >http://www.figleaf.com
> >http://training.figleaf.com
> >
>
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com


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

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


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

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


Re: [Flashcoders] Express Install (again)

2006-10-16 Thread Kurt Dommermuth

A follow-up.

It just worked on one and not the other.  So freakin' erratic.

will there ever be solid flash detection?





At 01:53 PM 10/16/2006, you wrote:


Hello All,

I've seen a few posts regarding express install/ swfObject/ ufo etc..

I'm having a problem with both Adobe's express install scheme and swfObject.

IE 6 works fine.

Firefox (1.5.0.7) forces me to close the browser.  No redirect back.

I've tried on two different computers.  no joy.

Anyone else experience this?  Is this a known problem?  Any fix?

Thanks,
Kurt

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

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



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

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


[Flashcoders] Express Install (again)

2006-10-16 Thread Kurt Dommermuth

Hello All,

I've seen a few posts regarding express install/ swfObject/ ufo etc..

I'm having a problem with both Adobe's express install scheme and swfObject.

IE 6 works fine.

Firefox (1.5.0.7) forces me to close the browser.  No redirect back.

I've tried on two different computers.  no joy.

Anyone else experience this?  Is this a known problem?  Any fix?

Thanks,
Kurt

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

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


Re: [Flashcoders] search and replace keywords in textbox with CSS, asfunction.

2006-09-21 Thread Kurt Dommermuth

Now where the hell were you earlier this week!?

;)

that looks really cool and I bet much better written too, but I really need 
to make the highlighted text clickable.


I wanted to do that by getting the _x and _y of a given character, but I 
had no idea how.


that's why I went the html/css route so I could just add links and not care 
where the hell the _x and _y coords were.


Thanks Iv,
Kurt

At 12:39 PM 9/21/2006, you wrote:


Hello Kurt,

about 2 years ago I did this:
http://www.sharedfonts.com/fla/as_highlight.fla
possible it can help you.

--
Ivan Dembicki

[EMAIL PROTECTED] || 
http://www.design.ru

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

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


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

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


[Flashcoders] search and replace keywords in textbox with CSS, asfunction.

2006-09-21 Thread Kurt Dommermuth

Hi All,

Earlier this week I asked about a function that could search through text, 
replace words that are selected from an array, and make them clickable.


Karian Steffens and Jason Merrill offered some good suggestions on how to 
do this (CSS/asfunction).


Below is something that works, but I'm sure could be better optimized...

Question though, the limits of CSS in flash are really bothersome.  No 
leading, no kerning?  geez.


I think I know the answer to this, but is there no way to apply flash's 
native text formatting on top of CSS ?


anyhow, the function (I would love help making it better). also, it 
requires a stylesheet...




//keywords array [["keyword", doThisOnPress]]
var keywords_ar:Array = new Array();
var keywords_ar:Array = 
[["biotechnology","_root.testfunc"],["GM","_root.testfunc"]];



//key word search
keyWordSearch = function(sTS)
{   
var len = keywords_ar.length-1;
var cssBegin = ""
var cssEnd = ""
for(i=len;i>=0;i--)
{
var sF = _root.keywords_ar[i][0];
var func = _root.keywords_ar[i][1];
var startPos = sTS.indexOf(sF,0);
var marker = "?" + i;
var falseMarker = "~" + i;
while(startPos != -1)
{
var startPos = sTS.indexOf(sF,0);
if(startPos == -1)
{
break;
}
var sLen = sF.length;
var endPos = sTS.indexOf(sF,startPos)+ sLen;
var cBefore = sTS.charAt(startPos-1);
var cAfter = sTS.charAt(endPos);
var beginText = sTS.substring(0,startPos);
var endText = sTS.substring(endPos,sTS.length);
if(cBefore == " " || cBefore == "" || cBefore == "(")
{
if(cAfter == "." || cAfter == "," || cAfter == ";" || cAfter == ":" || 
cAfter == ")" || cAfter == " ")

{
sTS = beginText + marker + endText;
}
else
{
sTS = beginText + falseMarker + 
endText;
}
}
else
{
sTS = beginText + falseMarker + endText;

}
}
}
for(j=len;j>=0;j--)
{
var sF = _root.keywords_ar[j][0];
var func = _root.keywords_ar[j][1];
var marker = "?"+j;
var startPos = sTS.indexOf(marker,0);
while(startPos != -1)
{
var startPos = sTS.indexOf(marker,0);
if(startPos == -1)
{
break;
}
var sLen = marker.length;
var endPos = sTS.indexOf(marker,startPos)+ sLen;
var beginText = sTS.substring(0,startPos);
var endText = sTS.substring(endPos,sTS.length);
var replacement = "" + sF + 
"";
sTS = beginText + replacement + endText;
}
}
for(k=len;k>=0;k--)
{
var sF = _root.keywords_ar[k][0];
var falseMarker = "~"+k;
var startPos = sTS.indexOf(falseMarker,0);
while(startPos != -1)
{
var startPos = sTS.indexOf(falseMarker,0);
if(startPos == -1)
{
break;
}
var sLen = falseMarker.length;
var endPos = sTS.indexOf(falseMarker,startPos)+ sLen;
var beginText = sTS.substring(0,startPos);
var endText = sTS.substring(endPos,sTS.length);
var replacement = sF;
sTS = beginText + replacement + endText;
}
}   

return(cssBegin+sTS+cssEnd);
}

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

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


RE: [Flashcoders] search text file for keyword and add button

2006-09-19 Thread Kurt Dommermuth

You Are a Genius!

thank you so much.

I was fixated on getting x and y.

thank you again!

KUrt

At 09:34 AM 9/19/2006, you wrote:


Hi Kurt,

Just a thought - instead of looking for the coordinates to highlight the
keyword, replace the keyword with the same keyword hyperlinked (this would
require the text rendering as html), and link it to the glossary. Then when
searching for another keyword, start with a clean copy of the text, and
hyperlink the new keyword. Replacing all instances of the keyword with a
hyperlink should be easy - just use split() and join() - and the hyperlink
can either point to an actionscript command, or an html file with anchors.

Karina

> -Original Message-
> From: Kurt Dommermuth [mailto:[EMAIL PROTECTED]
> Sent: 18 September 2006 21:23
> To: Flashcoders mailing list
> Subject: [Flashcoders] search text file for keyword and add button
>
> Hi All,
>
> First, I apologize if this was covered already.  If so,
> please point me in the right direction.
>
> I need to search through dynamic text for a keyword, create a
> highlight or button of some sort over it that links to a glossary.
>
> I don't see a problem finding the keyword, but I do see a
> problem getting it's coordinates.
>
> Has anyone done this already?  it just seems like one of
> those things that is probably already packaged up.
>
> if not, anyone have experience finding the x and y value for
> a letter in dynamic text?
>
> thank you very much in advance,
> Kurt
>
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com http://training.figleaf.com
>

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

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


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

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


Re: [Flashcoders] search text file for keyword and add button

2006-09-18 Thread Kurt Dommermuth

I'll reply to my own message.

I'm finding some threads in the archive that discuss this.

Hopefully there'll be something definitive there.

sorry to rehash this.  thank you!

Kurt

At 04:23 PM 9/18/2006, you wrote:


Hi All,

First, I apologize if this was covered already.  If so, please point me in 
the right direction.


I need to search through dynamic text for a keyword, create a highlight or 
button of some sort over it that links to a glossary.


I don't see a problem finding the keyword, but I do see a problem getting 
it's coordinates.


Has anyone done this already?  it just seems like one of those things that 
is probably already packaged up.


if not, anyone have experience finding the x and y value for a letter in 
dynamic text?


thank you very much in advance,
Kurt

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

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



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

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


[Flashcoders] search text file for keyword and add button

2006-09-18 Thread Kurt Dommermuth

Hi All,

First, I apologize if this was covered already.  If so, please point me in 
the right direction.


I need to search through dynamic text for a keyword, create a highlight or 
button of some sort over it that links to a glossary.


I don't see a problem finding the keyword, but I do see a problem getting 
it's coordinates.


Has anyone done this already?  it just seems like one of those things that 
is probably already packaged up.


if not, anyone have experience finding the x and y value for a letter in 
dynamic text?


thank you very much in advance,
Kurt

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

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


Re: [Flashcoders] Huge block of scrolling text: Choppy animation.

2006-09-15 Thread Kurt Dommermuth

You could turn it into a bitmap

mc.cacheAsBitmap = true;

That should help.




At 01:50 PM 9/15/2006, you wrote:


Hi,

I am working on a simple Flash project... at end of the animation I have a 
text block of 80 names, kinda like movie credits, that scroll from bottom 
of screen to top of screen... it looks like crap using motion tween. Very 
choppy movement, not smooth at all.


Any fixes?

I am assuming that the choppyness is due to the complexity of the text 
object/block.


Know of any AS scripts that might make this less of a problem?

I am using F8 and outputting a projector...

Any help would be great.
Cheers,
Micky


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

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



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

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


Re: [Flashcoders] (repost) Horizontal Drop-Down Menu (pleeeease don't flame me!)

2006-09-06 Thread Kurt Dommermuth

I''m sorry Mark.  I should have looked closer. that's a different beast.

but not a hard beast!

I wish I could offer to help further, but I'm trying to keep everybody 
happy before I leave for a vacation Friday.


If it can wait I can help next week.

Kurt

At 10:49 PM 9/5/2006, you wrote:


Hey Kurt,

Good to hear from you, too. I still have your old emails :)

Your menu would be useful to me if it allowed a cascade of full-width menu 
bars as in this gif:
http://www.dartfrogmedia.com/images/menuExample_MH060903a.gif 



It only needs to go three levels deep (as in the gif) but must highlight 
the selected menu items so the user can readily see the path to the 
current content.


Have you done any work on the menu that might lend itself to such an 
application?


Thanks and regards,

Marc


At 07:30 PM 9/5/2006, you wrote:

Marc, this may be of use, though it's a little dated.

I've probably got better code ast my office that I just haven't uploaded 
yet, but maybe it will get you started...


http://www.mrkurt.biz/kurtsmenu.html

hope that helps.

Kurt

PS > it's good to see you're still out there.  I recall emailing you at 
least 5 years ago!


At 07:23 PM 9/5/2006, you wrote:

[Still looking for the menu I need -- I'd sure appreciate if someone on 
the list has a clue for me.  thanks!]


I know this should be searchable, but I'm really not finding what I need 
in the archives or Google.


I need to find or create a horizontal drop-down menu that expands up to 
three tiers high. Each tier is a differently-colored bar the full width 
of the stage and contains text links. Links change color on rollover. 
Bars descend on mouseclick, not on rollover. They have a smooth tweening 
motion, not just an instant drop-down. Clicked links retain their 
rollover color so that if a user gets to the third tier, there would be 
a highlighted link in each level showing the user what path they'd 
taken. This should be xml-based. I'm happy to pay for something that 
will save me a day's scripting, but it has to fit the above parameters 
or be easily adaptable.


Here's an example of the menu expanced to all three tiers:
http://www.dartfrogmedia.com/images/menuExample_MH060903a.gif 



Thanks,
Marc


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

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


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

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

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

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



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

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


Re: [Flashcoders] (repost) Horizontal Drop-Down Menu (pleeeease don't flame me!)

2006-09-05 Thread Kurt Dommermuth

Marc, this may be of use, though it's a little dated.

I've probably got better code ast my office that I just haven't uploaded 
yet, but maybe it will get you started...


http://www.mrkurt.biz/kurtsmenu.html

hope that helps.

Kurt

PS > it's good to see you're still out there.  I recall emailing you at 
least 5 years ago!


At 07:23 PM 9/5/2006, you wrote:

[Still looking for the menu I need -- I'd sure appreciate if someone on 
the list has a clue for me.  thanks!]


I know this should be searchable, but I'm really not finding what I need 
in the archives or Google.


I need to find or create a horizontal drop-down menu that expands up to 
three tiers high. Each tier is a differently-colored bar the full width of 
the stage and contains text links. Links change color on rollover. Bars 
descend on mouseclick, not on rollover. They have a smooth tweening 
motion, not just an instant drop-down. Clicked links retain their rollover 
color so that if a user gets to the third tier, there would be a 
highlighted link in each level showing the user what path they'd taken. 
This should be xml-based. I'm happy to pay for something that will save me 
a day's scripting, but it has to fit the above parameters or be easily 
adaptable.


Here's an example of the menu expanced to all three tiers:
http://www.dartfrogmedia.com/images/menuExample_MH060903a.gif 



Thanks,
Marc


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

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



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

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


Re: [Flashcoders] Sharing fla over network

2006-06-16 Thread Kurt Dommermuth

Thank you everyone for all your thoughts!

Still the best list!

Kurt

At 02:51 PM 6/15/2006, you wrote:

Add Eclipse as an IDE and move to MTASC (FAME ). That is still the best 
way to go.


Ron

jim wrote:

If you can use some source control like SVN that might be what you are
looking for. Its pretty easy to set up and will stop you writing over each
others changes.

Jim

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Merrill,
Jason
Sent: 15 June 2006 15:02
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Sharing fla over network

Isn't is a better idea to have different people writing classes and then
sharing those? You can use interfaces to make sure they are complying
with the specs you establish for the project.  Then just have one person
compile the .fla.  The people writing classes can compile their own
.flas to test their classes, but the classes should be abstract enough
that only the lead Flash person needs to compile the .fla importing the
other classes the other developers wrote.

Jason Merrill
Bank of America Learning Technology Solutions









-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
>>> [EMAIL PROTECTED] On Behalf Of Kurt Dommermuth
Sent: Thursday, June 15, 2006 9:57 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Sharing fla over network

Makes sense.  Thanks Zeh.

Maybe you can tell me if there if there is any way to ensure that


accessing


fla files over the network is stable.  I know in the past that flas


have


disappeared on me when working off a network drive.  I'm guessing


you'd say


that I should duplicate whatever it is and put in on my own local


drive and


not even risk it, but I thought I'd ask.  It's just a mess to have


client


work all over the place.

thanks again!
Kurt

\At 09:49 AM 6/15/2006, you wrote:



I recently hired an assistant and we need to share and


simultaneously


work on .fla files over a local network.
There must be tools for this, but a search on google didn't yield
anything (must not be using the right terminology).


There isn't. Only one people can work on a .FLA at a time.

You can have separate symbols that are loaded ("shared") from other


.FLA


files at design time, so then can be worked on and the reloaded. But
usually it's not worth the hassle.

Usually, you shouldn't have the need for two people to work on the


same


.FLA file at the same time simply because changing two different


aspects


of a source file would make compiling and debugging impossible. If


they


want to work on two different things, you'd better split the .FLA


file


into different files, then the website would have different SWF files
which are loaded on demand on the website.


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

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



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

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


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

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

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

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




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

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



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

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


Re: [Flashcoders] Sharing fla over network

2006-06-15 Thread Kurt Dommermuth

Makes sense.  Thanks Zeh.

Maybe you can tell me if there if there is any way to ensure that accessing 
fla files over the network is stable.  I know in the past that flas have 
disappeared on me when working off a network drive.  I'm guessing you'd say 
that I should duplicate whatever it is and put in on my own local drive and 
not even risk it, but I thought I'd ask.  It's just a mess to have client 
work all over the place.


thanks again!
Kurt

\At 09:49 AM 6/15/2006, you wrote:

I recently hired an assistant and we need to share and simultaneously 
work on .fla files over a local network.
There must be tools for this, but a search on google didn't yield 
anything (must not be using the right terminology).


There isn't. Only one people can work on a .FLA at a time.

You can have separate symbols that are loaded ("shared") from other .FLA 
files at design time, so then can be worked on and the reloaded. But 
usually it's not worth the hassle.


Usually, you shouldn't have the need for two people to work on the same 
.FLA file at the same time simply because changing two different aspects 
of a source file would make compiling and debugging impossible. If they 
want to work on two different things, you'd better split the .FLA file 
into different files, then the website would have different SWF files 
which are loaded on demand on the website.



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

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



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

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


[Flashcoders] Sharing fla over network

2006-06-15 Thread Kurt Dommermuth

Hello fellow flashers,

I hope everyone is well!

First, let me apologize.  I know this topic must have been discussed many 
times before, but I simply can't find any info about it.


I recently hired an assistant and we need to share and simultaneously work 
on .fla files over a local network.


There must be tools for this, but a search on google didn't yield anything 
(must not be using the right terminology).


Any recommendations?

thank you very much for your time!

Kurt Dommermuth

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

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


RE: [Flashcoders] Game plays beautiful on PC/ not on mac. wtf?

2005-12-23 Thread Kurt Dommermuth


with great trepidation I reply to this thread, but a huge thank you is in 
order.


Johan, that must be it.  You're a saint for digging through and finding 
that.  an early XMAS present to me.


thank you

Kurt

At 05:22 AM 12/23/2005, you wrote:

looking at the source of your HTML(fpi_swap.js) code I find that the "wmode"
of the movie is set as transparent. And to my experience that usually gives
a huge performance hit on Mac.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Kurt
Dommermuth
Sent: den 21 december 2005 23:19
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Game plays beautiful on PC/ not on mac. wtf?


Hi Steven,

31fps

is that still the magic number?

thanks,
Kurt

At 04:58 PM 12/21/2005, you wrote:
>What's your frame rate set to?
>
>
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf
> > Of Kurt Dommermuth
> > Sent: Wednesday, December 21, 2005 6:35 AM
> > To: Flashcoders mailing list
> > Subject: [Flashcoders] Game plays beautiful on PC/ not on mac. wtf?
> >
> > Hi all,
> >
> > I'm really frustrated with something and hope someone out
> > there can help.
> >
> > I have this game >
> >
> > http://www.asherbartos.com/xmas2005/
> >
> > plays very well on my 1.7 ghz pc laptop.
> >
> > plays horribly on a dual 1.2 mac.
> >
> > some things simply don't work, on the Mac like the arrow keys.
> >
> > that sucks, but the performance is what is driving me nuts.
> >
> > I expect to take a hit on the mac, but this is beyond
> > anything I anticipated.
> >
> > is there code you should just simply stay away from on the Mac?
> >
> > I used a couple of listeners for arrow key control.  a couple of
> > setIntervals.  nothing too hard core at all...  most of the
> > code is below
> > if anyone cares to take a look.
> >
> > thanks for any help anyone can offer.
> >
> > Kurt
> >
> > goSanta = function()
> > {
> >   this.gotoAndStop(2);
> >   var spd:Number = _root.variableSpeed;
> >   var mX:Number = this._x;
> >   var targ:Number = (_root._xmouse -  mX)/spd;
> >   if(_root.variableSpeed<1)
> >   {
> >   _root.variableSpeed = 1;
> >   }
> >   this._x += targ;
> > }
> >
> > stopGame = function()
> > {
> >   clearInterval(goDrink);
> >   clearInterval(goTimer);
> >   delete _root.santa.onEnterFrame;
> >   _root.santa._x = -100;
> > }
> >
> > santasWasted = function()
> > {
> >   clearInterval(goDrinks);
> >   delete _root.santa.onEnterFrame;
> >   _root.santa.gotoAndPlay("passOut");
> > }
> >
> > startGame = function()
> > {
> >   s.stop();
> >   _root.santa.tween("_y",440,.5,'easeOutBack');
> >   attachSFX(_root.closingScreen,"start","start",50);
> >   _root.variableSpeed = 1;
> >   _root.closingScreen.gotoAndStop(1);
> >   _root.gotoAndStop("playGame");
> >   _root.santa.onEnterFrame = goSanta;
> >   _root.scoreBoard.meter.tween("_yscale",.5,.3);
> >   _root.count = 0;
> >   secondsLeft = 0;
> >   clearInterval(goDrink);
> >   goDrink = setInterval(drinkGenerator,700);
> >   clearInterval(goTimer);
> >   goTimer = setInterval(startTimer,1000);
> > }
> >
> >
> > fallingDrink = function()
> > {
> >   this._y+=this.spd;
> >   if(this._y > 340 && this._y < 420)
> >   {
> >   if
> > (this.hitTest(_root.santa.santasMouth))
> >   {
> >
> > attachSFX(this,this.sfx,"sfx",20);
> >   _root.variableSpeed +=
> > this.potency;
> >   var perLoaded =
> > int((_root.variableSpeed/20)*100);
> >
> > _root.scoreBoard.meter.tween("_yscale",perLoaded,.4);
> >
> > _root.santa.santasMouth.gotoAndPlay(2);
> >   if(_root.variableSpeed
> > > 20) //santa drank too much
> >   {
> >   _root.santasWasted();
> >   }
> >   this.removeMovieClip();
&g

RE: [Flashcoders] Game plays beautiful on PC/ not on mac. wtf?

2005-12-21 Thread Kurt Dommermuth

Hi Steven,

31fps

is that still the magic number?

thanks,
Kurt

At 04:58 PM 12/21/2005, you wrote:

What's your frame rate set to?


> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf
> Of Kurt Dommermuth
> Sent: Wednesday, December 21, 2005 6:35 AM
> To: Flashcoders mailing list
> Subject: [Flashcoders] Game plays beautiful on PC/ not on mac. wtf?
>
> Hi all,
>
> I'm really frustrated with something and hope someone out
> there can help.
>
> I have this game >
>
> http://www.asherbartos.com/xmas2005/
>
> plays very well on my 1.7 ghz pc laptop.
>
> plays horribly on a dual 1.2 mac.
>
> some things simply don't work, on the Mac like the arrow keys.
>
> that sucks, but the performance is what is driving me nuts.
>
> I expect to take a hit on the mac, but this is beyond
> anything I anticipated.
>
> is there code you should just simply stay away from on the Mac?
>
> I used a couple of listeners for arrow key control.  a couple of
> setIntervals.  nothing too hard core at all...  most of the
> code is below
> if anyone cares to take a look.
>
> thanks for any help anyone can offer.
>
> Kurt
>
> goSanta = function()
> {
>   this.gotoAndStop(2);
>   var spd:Number = _root.variableSpeed;
>   var mX:Number = this._x;
>   var targ:Number = (_root._xmouse -  mX)/spd;
>   if(_root.variableSpeed<1)
>   {
>   _root.variableSpeed = 1;
>   }
>   this._x += targ;
> }
>
> stopGame = function()
> {
>   clearInterval(goDrink);
>   clearInterval(goTimer);
>   delete _root.santa.onEnterFrame;
>   _root.santa._x = -100;
> }
>
> santasWasted = function()
> {
>   clearInterval(goDrinks);
>   delete _root.santa.onEnterFrame;
>   _root.santa.gotoAndPlay("passOut");
> }
>
> startGame = function()
> {
>   s.stop();
>   _root.santa.tween("_y",440,.5,'easeOutBack');
>   attachSFX(_root.closingScreen,"start","start",50);
>   _root.variableSpeed = 1;
>   _root.closingScreen.gotoAndStop(1);
>   _root.gotoAndStop("playGame");
>   _root.santa.onEnterFrame = goSanta;
>   _root.scoreBoard.meter.tween("_yscale",.5,.3);
>   _root.count = 0;
>   secondsLeft = 0;
>   clearInterval(goDrink);
>   goDrink = setInterval(drinkGenerator,700);
>   clearInterval(goTimer);
>   goTimer = setInterval(startTimer,1000);
> }
>
>
> fallingDrink = function()
> {
>   this._y+=this.spd;
>   if(this._y > 340 && this._y < 420)
>   {
>   if
> (this.hitTest(_root.santa.santasMouth))
>   {
>
> attachSFX(this,this.sfx,"sfx",20);
>   _root.variableSpeed +=
> this.potency;
>   var perLoaded =
> int((_root.variableSpeed/20)*100);
>
> _root.scoreBoard.meter.tween("_yscale",perLoaded,.4);
>
> _root.santa.santasMouth.gotoAndPlay(2);
>   if(_root.variableSpeed
> > 20) //santa drank too much
>   {
>   _root.santasWasted();
>   }
>   this.removeMovieClip();
>   }
>   }
>   //kill clip if drop too far
>   if(this._y > 550)
>   {
>   trace("mc dead")
>   this.removeMovieClip();
>   }
> }
>
>
> drinkGenerator = function()
> {
>   var myDepth = _root.drinkContainer.getNextHighestDepth();
>   var randSpd = getRandomNumber(12,6);
>   var randX = getRandomNumber(660,105);
>   var randomID = getRandomNumber(_root.gameItems.length-1,0)
>   var randomItem = _root.gameItems[[randomID]][0];
>
>   _root.drinkContainer.createEmptyMovieClip("mc"+myDepth,myDepth);
>
> _root.drinkContainer["mc"+myDepth].attachMovie(randomItem,"drink",1);
>   _root.drinkContainer["mc"+myDepth].drink._x = randX;
>   _root.drinkContainer["mc"+myDepth].drink.spd = randSpd;
>   _root.drinkContainer["mc"+myDepth].drink.potency =
> _root.gameItems[[randomID]][1];
>   _root.drinkContainer["mc"+myDepth].drink.sfx =
> _root.gameItems[[rando

[Flashcoders] Game plays beautiful on PC/ not on mac. wtf?

2005-12-21 Thread Kurt Dommermuth

Hi all,

I'm really frustrated with something and hope someone out there can help.

I have this game >

http://www.asherbartos.com/xmas2005/

plays very well on my 1.7 ghz pc laptop.

plays horribly on a dual 1.2 mac.

some things simply don't work, on the Mac like the arrow keys.

that sucks, but the performance is what is driving me nuts.

I expect to take a hit on the mac, but this is beyond anything I anticipated.

is there code you should just simply stay away from on the Mac?

I used a couple of listeners for arrow key control.  a couple of 
setIntervals.  nothing too hard core at all...  most of the code is below 
if anyone cares to take a look.


thanks for any help anyone can offer.

Kurt

goSanta = function()
{
this.gotoAndStop(2);
var spd:Number = _root.variableSpeed;
var mX:Number = this._x;
var targ:Number = (_root._xmouse -  mX)/spd;
if(_root.variableSpeed<1)
{
_root.variableSpeed = 1;
}
this._x += targ;
}

stopGame = function()
{
clearInterval(goDrink);
clearInterval(goTimer);
delete _root.santa.onEnterFrame;
_root.santa._x = -100;
}

santasWasted = function()
{
clearInterval(goDrinks);
delete _root.santa.onEnterFrame;
_root.santa.gotoAndPlay("passOut");
}

startGame = function()
{
s.stop();
_root.santa.tween("_y",440,.5,'easeOutBack');
attachSFX(_root.closingScreen,"start","start",50);
_root.variableSpeed = 1;
_root.closingScreen.gotoAndStop(1);
_root.gotoAndStop("playGame");
_root.santa.onEnterFrame = goSanta;
_root.scoreBoard.meter.tween("_yscale",.5,.3);
_root.count = 0;
secondsLeft = 0;
clearInterval(goDrink);
goDrink = setInterval(drinkGenerator,700);
clearInterval(goTimer);
goTimer = setInterval(startTimer,1000);
}


fallingDrink = function()
{
this._y+=this.spd;
if(this._y > 340 && this._y < 420)
{
if (this.hitTest(_root.santa.santasMouth))
{
attachSFX(this,this.sfx,"sfx",20);
_root.variableSpeed += this.potency;
var perLoaded = 
int((_root.variableSpeed/20)*100);

_root.scoreBoard.meter.tween("_yscale",perLoaded,.4);
_root.santa.santasMouth.gotoAndPlay(2);
if(_root.variableSpeed > 20) //santa 
drank too much
{
_root.santasWasted();
}
this.removeMovieClip();
}
}
//kill clip if drop too far
if(this._y > 550)
{
trace("mc dead")
this.removeMovieClip();
}
}


drinkGenerator = function()
{
var myDepth = _root.drinkContainer.getNextHighestDepth();
var randSpd = getRandomNumber(12,6);
var randX = getRandomNumber(660,105);
var randomID = getRandomNumber(_root.gameItems.length-1,0)
var randomItem = _root.gameItems[[randomID]][0];

_root.drinkContainer.createEmptyMovieClip("mc"+myDepth,myDepth);
_root.drinkContainer["mc"+myDepth].attachMovie(randomItem,"drink",1);
_root.drinkContainer["mc"+myDepth].drink._x = randX;
_root.drinkContainer["mc"+myDepth].drink.spd = randSpd;
	_root.drinkContainer["mc"+myDepth].drink.potency = 
_root.gameItems[[randomID]][1];

_root.drinkContainer["mc"+myDepth].drink.sfx = 
_root.gameItems[[randomID]][2];

_root.drinkContainer["mc"+myDepth].drink.onEnterFrame = fallingDrink;
}

attrition = function()
{
if(_root.variableSpeed > 1)
{
_root.variableSpeed -=.5
var perLoaded = int((_root.variableSpeed/20)*100);
_root.scoreBoard.meter.tween("_yscale",perLoaded,.4);
}
}

startTimer = function()
{
_root.attrition();
_root.scoreBoard.score = 0;
_root.count++
secondsLeft = _root.totalSecondsToPlay - _root.count;
_root.scoreBoard.timer = secondsLeft + ":00";
if(secondsLeft <= 0)
{
if(_root.variableSpeed > 12)
{
_root.closingScreen.gotoAndStop("tooJolly");
attachSFX(_root.closingScreen,"puke","p",40);
}
else if(_root.variableSpeed < 8)
{
_root.closingScreen.gotoAndStop("notJolly");
attachSFX(_ro

[Flashcoders] Client editable Flash exe as opposed to powerpoint

2005-11-08 Thread Kurt Dommermuth


Hi All,

On several occasions I have gotten the request from a client for a 
presentation done in flash as opposed to powerpoint.


The complications are:

1.  It is offline.
2.  They want to add and/or remove slides themselves. (the slides would be 
created in photo shop as 1 static image)


I've done this in the past where I'd pass along the FLA knowing that 
someone on the client side had some experience that would enable them to 
edit XML.


I don't have that option this time.

what I need to do, I think, is develop a tool for the client to "upload" a 
slide (a png, or a jpg) and add a comment. - and then generate/or edit 
existing XML that would save the appropriate info to be used by the 
presentation.


I've frequently loaded, parsed and used XML for various things, but I've 
never edited it from flash.


From the manual it looks like this can be done.  Can it be done 
offline?  is it advisable?  Is there a better way?


Would Zinc or some other third party tool be necessary?

thank you for any advice!

Kurt


  


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


Re: [Flashcoders] MC alpha fades and swapdepths

2005-11-07 Thread Kurt Dommermuth

Ron, Yes!

That's the way to do it.

thank you!
Kurt

At 04:27 PM 11/7/2005, you wrote:
Can you not just turn off the visibility of everything exceptthe one 
fading in and the one fading out. Once you fade-out to alpha almost zero, 
turn off the visibbilty of the faded out image.


You probably can just set the alpha to 0 for the ones that you do not want 
to see.


Visibility is probably better for performance.

Ron

Kurt Dommermuth wrote:


Hi All,

I am faced with another one of those problems that I think should be 
simple, but for whatever reason I can't solve.


Hopefully someone can help.

I have a series of movieclips stacked on top of each other beginning with 
MC1 and ending with MC6.


I want MC1 to fade out revealing MC2.

MC2 to fade out revealing MC3 and so on.

but when it gets to MC6, I want MC6 to fade out revealing MC1.

I know what I need to do (i think, but it's not working).

I need to take the previous MC that has just faded out and swap it's 
depth to the lowest depth of the 6 MCs and reset it's alpha to 100 so the 
process can loop indefinitely.


but I'm not able to do this.

I'm not able to think through to where I missing the boat.

can anyone offer some guidance?

thank you,
Kurt

___
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] MC alpha fades and swapdepths

2005-11-07 Thread Kurt Dommermuth

Hi All,

I am faced with another one of those problems that I think should be 
simple, but for whatever reason I can't solve.


Hopefully someone can help.

I have a series of movieclips stacked on top of each other beginning with 
MC1 and ending with MC6.


I want MC1 to fade out revealing MC2.

MC2 to fade out revealing MC3 and so on.

but when it gets to MC6, I want MC6 to fade out revealing MC1.

I know what I need to do (i think, but it's not working).

I need to take the previous MC that has just faded out and swap it's depth 
to the lowest depth of the 6 MCs and reset it's alpha to 100 so the process 
can loop indefinitely.


but I'm not able to do this.

I'm not able to think through to where I missing the boat.

can anyone offer some guidance?

thank you,
Kurt

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


Re: [Flashcoders] Fears and anxiety regarding Flex

2005-10-20 Thread Kurt Dommermuth
Stan, Michael, Jester and Weyert, thank you guys very very much for your 
responses.  I can't say all my uncertainty has evaporated; just my nature i 
guess, but I'm on my way to feeling a little less anxious and a little more 
enthusiastic.


Probably in about a year this will all seem manageable and hopefully I'll 
thoroughly understand it's usefulness and advantage.


thank you list.  Lurking and learning everyday.

Kurt






At 10:05 AM 10/19/2005, you wrote:
Yeah, ActionScript 3.0 really looks nice -- language wise. Only I have a 
problem now... where should I drool on? On Flex 2? ActionScript 3? 
BitmapData API of Flash 8? Damn, I am getting dehydrated. :)

___
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] Fears and anxiety regarding Flex

2005-10-19 Thread Kurt Dommermuth

Hi All,

I should probably just sit back and let the dust settle, but the rapid fire 
way MM is releasing new products makes me anxious.


Some questions below obviously can't be answered in a definitive way, but 
I'd like to hear where other peoples heads are at...


1. What type of client will benefit from Flex?  Is it only for large 
corporations, enterprise level apps?  Will my wedding photographer client care?


2. To what degree does flex allow for a customized look?  Can you do 
anything you'd do with Flash 8?  Will flex development most likely all look 
the same?


3. If I ignore flex, zorn/eclipse, c#, java, etc and just stick with my 
beloved flash 8, will there still be a market for me?


4. MM says they want to add an additional 1 million new developers to the 
current pool of an estimated 2 million developers.  If they are successful, 
how do you think this will affect your market share?  Will it generate more 
opportunity because there will be an increased awareness to the power of 
"flash"?  or will the market become saturated with developers?


5. How is AS3 different from AS2?  Would you say radical? Or is it 
something that really only the mega geek (said with respect and love!) will 
appreciate?


any thoughts are appreciated.

Kurt
  


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


Re: [Flashcoders] localToGlobal ?

2005-10-07 Thread Kurt Dommermuth

Hi again,

guess the list was down a while there.
Giles, thank you again for taking the time.

I've come to understand it better, but to anyone else out there not having 
success with localToGlobal, I checked out the link Neil sent 


http://www.acmewebworks.com/default.asp?ID=100&mc=Content

a function called localTolocal is there and worked beautifully for my 
needs.  I think that's John Gardners.  Thank you John!


Thanks again everyone.

Kurt


At 07:35 AM 10/7/2005, you wrote:

It can still be a pain to use at times though.
LocalToLocal is well worth a look. Easy to understand, and converts from any
timeline to any other timeline in one go.
http://www.acmewebworks.com/default.asp?ID=100&mc=Content

Cheers,
Neil
 On 10/7/05, Kurt Dommermuth <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> How localToGlobal is to be used has confounded me from day 1. I never
> "get" it and usually end up doing things in some assbackwards way to
> accomplish what I want.
>
> Hopefully someone can put me out of my misery once and for all.
>
> at least in terms of localToGlobal.
>
> I have a an MC called MAP . Within MAP I mark certain towns with nested
> movie clips with unique names such as "springfield".
>
> I want to pass a function located in _root the _x and _y values of
> "springfield" and have the map move so "springfield" is in the center of
> the stage.
>
> I know this should be a simple task and yet I waste hours every time I'm
> faced with this type of problem.
>
> Hope I'm being clear.
>
> thank you!
> Kurt
>
> ___
> 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: Fwd: RE: [Flashcoders] localToGlobal ?

2005-10-07 Thread Kurt Dommermuth
Giles, I really try not to be pest, but I'm afraid I am.  I apologize ahead 
of time, but thanks to you I feel close to solving this so I can't stop 
myself from asking


You are absolutely right about the centerPoint.  duh, I wasn't giving a 
reference point.


but the one thing still confuses me is why what should be a constant value 
(point.x, point.y) changes each time the function is called using the same 
arguments.


it of course has something to do with localToGlobal and the object 
"point".  I think I'm missing a fundamental characteristic of objects or 
the nature of localToGlobal.


somehow localToGlobal should only be called once?  the object point doesn't 
go away each time the function is called even though it is preceded by var?


the function again...

selectCommunity = function(communityName) {
 var point:Object = {x:map[communityName]._x,
y:map[communityName]._y};
 map[communityName].localToGlobal(point);

 map.tween("_y",point.y,.6,'easeOutSine');
 map.tween("_x",point.x,.6,'easeOutSine');

 trace("point.y = " + point.y + " point.x = " + point.x); }

I need to establish the localToGlobal values outside of the function or can 
I destroy the function after each use?


sorry for being a pest!!!

thank you again!!
Kurt



At 09:52 AM 10/7/2005, you wrote:

Hi Kurt,
What you are doing, I think, is putting the x&y of map to where
springfield is. If you want to center springfield on the stage then I
think you need to:

var centerPointX = Stage.width/2;
var centerPointY = Stage.height/2;

map.tween("_y",map._y + (centerPointY - point.y),.6,'easeOutSine');
map.tween("_x",map._x + (centerPointX - point.x),.6,'easeOutSine');



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kurt
Dommermuth
Sent: 07 October 2005 14:33
To: flashcoders@chattyfig.figleaf.com
Subject: Re: Fwd: RE: [Flashcoders] localToGlobal ?

Hi Giles,

thank you for responding.  this is exactly what i'm doing but my "MAP"
just shoots right off the stage.

selectCommunity = function(communityName) {
 var point:Object = {x:map[communityName]._x,
y:map[communityName]._y};
 map[communityName].localToGlobal(point);

 map.tween("_y",point.y,.6,'easeOutSine');
 map.tween("_x",point.x,.6,'easeOutSine');

 trace("point.y = " + point.y + " point.x = " + point.x); }

trace reveals point.y = 255.9 point.x = 768.9 then next time the
function is called: point.y = 779.7 point.x = 1436.8

so ive got two issues.  the map doesn't center on "springfield" and the
x and y value increase with every call.  I though var made it private.
this is not the case with objects? totally missing the boat.

nwebb, thank you for the link.  I haven't tried the function there, but
I will.


___
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: Fwd: RE: [Flashcoders] localToGlobal ?

2005-10-07 Thread Kurt Dommermuth

Hi Giles,

thank you for responding.  this is exactly what i'm doing but my "MAP" just 
shoots right off the stage.


selectCommunity = function(communityName)
{
var point:Object = {x:map[communityName]._x, y:map[communityName]._y};
map[communityName].localToGlobal(point);

map.tween("_y",point.y,.6,'easeOutSine');
map.tween("_x",point.x,.6,'easeOutSine');

trace("point.y = " + point.y + " point.x = " + point.x);
}

trace reveals point.y = 255.9 point.x = 768.9
then next time the function is called: point.y = 779.7 point.x = 1436.8

so ive got two issues.  the map doesn't center on "springfield" and the x 
and y value increase with every call.  I though var made it private.  this 
is not the case with objects? totally missing the boat.


nwebb, thank you for the link.  I haven't tried the function there, but I will.




At 08:46 AM 10/7/2005, you wrote:


Say you have a movieClip called "A_mc" on the stage that you move to
x:20 y:20, then you have a movieClip in "A_mc" called "B_mc" that you
place at x:20 y:20.

When looking at the stage "A_mc" will be at x:20 y:20, but "B_mc" will
be at x:40 y:40.

However, if you ask what B_mc._x is then it will say 20 because it
relates it to it's parent movieClips registration point(x:0 y:0).

So to find out when "B_mc" actually is on the stage you use:
var myPoint:Object = {x:B_mc._x, y:B_mc._y}
B_mc.localToGlobal(myPoint);
Trace("myPoint is now relative to the Stage: (" + myPoint.x + ":" +
myPoint.y + ")");

So, in your case you would say:
var myPoint:Object = {x:MAP.springfield._x, y:MAP.springfield._y}
MAP.springfield.localToGlobal(myPoint);
Trace("myPoint is now relative to the Stage: (" + myPoint.x + ":" +
myPoint.y + ")");

Hope that help you "get" it.
Giles


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


[Flashcoders] localToGlobal ?

2005-10-07 Thread Kurt Dommermuth

Hello,

How localToGlobal is to be used has confounded me from day 1.  I never 
"get" it and usually end up doing things in some assbackwards way to 
accomplish what I want.


Hopefully someone can put me out of my misery once and for all.

at least in terms of localToGlobal.

I have a an MC called MAP .  Within MAP I mark certain towns with nested 
movie clips with unique names such as "springfield".


I want to pass a function located in _root the _x and _y values of 
"springfield" and have the map move so "springfield" is in the center of 
the stage.


I know this should be a simple task and yet I waste hours every time I'm 
faced with this type of problem.


Hope I'm being clear.

thank you!
Kurt 


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