Re: [Flashcoders] Cache Issue

2012-07-16 Thread Nathan Mynarcik
add a query at the end of the xml string when loading.

var cb = new Date().getTime();

then when you load..

load('content.xml/?cb='+cb);
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Button events under mc

2012-07-09 Thread Nathan Mynarcik
Try MOUSE_OVER instead of ROLL_OVER.

Also, leave the mouseEnabled/mouseChildren set to false for whatever is on
top of the button.




On Mon, Jul 9, 2012 at 3:24 PM, natalia Vikhtinskaya
wrote:

> Yes I tried mouseEnabled for the text. That does not help.
> I can not put button over the text because on OVER yellow block should
> be under text. For some reason I also can not put text in each button.
>
> 2012/7/9 Hans Wichman :
> > so did you disable the mouseEnabled of the text?
> >
> >
> > On 9-7-2012 21:11, natalia Vikhtinskaya wrote:
> >>
> >> CS5.5
> >>
> >> 2012/7/9 Cor :
> >>>
> >>> Which version of Flash do you have?
> >>>
> >>>
> >>> -Original Message-
> >>> From: flashcoders-boun...@chattyfig.figleaf.com
> >>> [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of
> natalia
> >>> Vikhtinskaya
> >>> Sent: maandag 9 juli 2012 21:02
> >>> To: Flash Coders List
> >>> Subject: Re: [Flashcoders] Button events under mc
> >>>
> >>> http://www.mightybook.com/test/test.fla
> >>> http://www.mightybook.com/test/test.swf
> >>> If mouse exactly  over the text the button has even OUT. It is not
> >>> correct.
> >>>
> >>> 2012/7/9 Hans Wichman :
> 
>  Hi Natalia,
> 
>  you probably need to set mouseChildren and mouseEnabled of the
>  overlying movieclip to false.
> 
>  hth,
>  h
> 
> 
>  On 9-7-2012 20:00, natalia Vikhtinskaya wrote:
> >
> > Hi to all.
> > I have button under Movie clip. In AS3  button  does not have events
> > OVER or CLICK in place where is this mc. In AS2 that worked without
> > such problem. How can I have button events on entire button ?
> >
> > Thank in advance.
> > ___
> > 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
> >
> >
> >
> > ___
> > 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] RE: Grab Textfield Value from Javascript

2012-05-24 Thread Nathan Mynarcik
If you are not using swfObject to embed your flash, I highly recommend
doing so.  You should have no cross browser issues with it and the code
provided/researched to achieve your objective.

You can download it here:
http://code.google.com/p/swfobject/downloads/list

You can find the easy configuration tool here:
http://www.bobbyvandersluis.com/swfobject/generator/index.html
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] RE: Grab Textfield Value from Javascript

2012-05-24 Thread Nathan Mynarcik
*In JS:*

mainFlash = document.getElementById('flash'); //id of the object element


mainFlash.asFunc(); //trigger flash with an external interface call


*In Flash:*


//Flash listens for asFunc in JS and knows to execute myFunc

ExternalInterface.addCallback('asFunc', myFunc); //my Func is an
actual function in my AS3;

 myFunc will contain your script to grab the text in the TF and send
it back to JS.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] RE: Can Javascript Listen to Flash Events?

2012-05-22 Thread Nathan Mynarcik
Would allowscriptaccess="always" work in this situation? Perhaps the issue
is deeper than that?





On Tue, May 22, 2012 at 12:15 PM, Paul Andrews  wrote:

> Just get a flash event handler to call a javascript function.
>
> You probably don't have the security setting for the project set right -
> network access only.
>
> Paul
>
>
>
> On 22/05/2012 17:06, Ted Lehr wrote:
>
>> Oh - yes - I have the .fla... I just am running into issues when I try to
>> have the swf call out to the javascript - I get the security warning from
>> the player - so I am trying to figure out how to, instead of having the swf
>> make a call out - maybe the javascript could just listen to the player...
>>
>>
>> -Original Message-
>> From: 
>> flashcoders-bounces@chattyfig.**figleaf.comon
>>  behalf of Merrill, Jason
>> Sent: Tue 5/22/2012 11:52 AM
>> To: Flash Coders List
>> Subject: [Flashcoders] RE: Can Javascript Listen to Flash Events?
>>
>> You would have to add code to the .swf, but yes, Javascript can listen
>> for Flash events and vice versa.
>>
>>  Jason Merrill
>>  Instructional Technology Architect II
>>  Bank of America  Global Learning
>>
>>
>>
>>
>>
>> ___
>>
>> -Original Message-
>> From: 
>> flashcoders-bounces@chattyfig.**figleaf.com[mailto:
>> flashcoders-bounces@**chattyfig.figleaf.com]
>> On Behalf Of Ted Lehr
>> Sent: Tuesday, May 22, 2012 11:44 AM
>> To: flashcoders@chattyfig.figleaf.**com
>> Subject: [Flashcoders] Can Javascript Listen to Flash Events?
>>
>> So I have a swf that needs to run locally and make an
>> ExternalInterface.call ... I am unable to make settings changes to the
>> users Flash Players ... so as of now it seems unpossible!
>>
>> My thoughts was to see if the javascript can listen for a flash event
>> (the end of a flv in FLVPlayback to be specific)
>>
>> Any thoughts?
>>
>> Ted
>> __**_
>> Flashcoders mailing list
>> Flashcoders@chattyfig.figleaf.**com 
>> http://chattyfig.figleaf.com/**mailman/listinfo/flashcoders
>>
>> --**--**
>> --
>> This message w/attachments (message) is intended solely for the use of
>> the intended recipient(s) and may contain information that is privileged,
>> confidential or proprietary. If you are not an intended recipient, please
>> notify the sender, and then please delete and destroy all copies and
>> attachments, and be advised that any review or dissemination of, or the
>> taking of any action in reliance on, the information contained in or
>> attached to this message is prohibited.
>> Unless specifically indicated, this message is not an offer to sell or a
>> solicitation of any investment products or other financial product or
>> service, an official confirmation of any transaction, or an official
>> statement of Sender. Subject to applicable law, Sender may intercept,
>> monitor, review and retain e-communications (EC) traveling through its
>> networks/systems and may produce any such EC to regulators, law
>> enforcement, in litigation and as required by law.
>> The laws of the country of each sender/recipient may impact the handling
>> of EC, and EC may be archived, supervised and produced in countries other
>> than the country in which you are located. This message cannot be
>> guaranteed to be secure or free of errors or viruses.
>>
>> References to "Sender" are references to any subsidiary of Bank of
>> America Corporation. Securities and Insurance Products: * Are Not FDIC
>> Insured * Are Not Bank Guaranteed * May Lose Value * Are Not a Bank Deposit
>> * Are Not a Condition to Any Banking Service or Activity * Are Not Insured
>> by Any Federal Government Agency. Attachments that are part of this EC may
>> have additional important disclosures and disclaimers, which you should
>> read. This message is subject to terms available at the following link:
>> http://www.bankofamerica.com/**emaildisclaimer.
>> By messaging with Sender you consent to the foregoing.
>> __**_
>> Flashcoders mailing list
>> Flashcoders@chattyfig.figleaf.**com 
>> http://chattyfig.figleaf.com/**mailman/listinfo/flashcoders
>>
>>
>>
>> __**_
>> Flashcoders mailing list
>> Flashcoders@chattyfig.figleaf.**com 
>> http://chattyfig.figleaf.com/**mailman/listinfo/flashcoders
>>
>
> __**_
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.**com 
> http://chattyfig.figleaf.com/**mailman/listinfo/flashcoders
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyf

Re: [Flashcoders] Facebook share button

2012-01-08 Thread Nathan Mynarcik
I believe the meta tags has more importance than trying to manipulate the
title and description like how you are doing for the code you supplied.

You can however, try making a FB application which will then allow you to
send a predefined wall post of your liking. Of course, you would have to go
through the Auth Dialog. More info on that can be found here:
https://developers.facebook.com/docs/beta/authentication/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Adobe was my girl

2011-12-28 Thread Nathan Mynarcik
I couldn't put my feelings into words, but Jason, you did it perfectly!
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] SCORM development and packaging for LMS

2011-12-15 Thread Nathan Mynarcik
If I remember correctly, I think it's just referring to the manifest.xml
file.  That's the backbone of your 'package'.

Not sure what LMS I worked with at that time, but all I did was upload the
files in it's own directory with the manifest file in the top leve of the
course and then point the LMS to that directory when adding the course.

Hopefully someone else can provide you with a bit more direction on this.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] SCORM development and packaging for LMS

2011-12-15 Thread Nathan Mynarcik
I've used pipwerks SCORM wrapper with an elearning course I did a couple
years back.  Just ExternalInterface calls and letting the javascript do the
dirty work for me seemed best for me at the time.

http://pipwerks.com/2008/02/10/flash-demos-for-scorm-actionscript-classes-now-available/

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


Re: [Flashcoders] anyone heard of spongecell?

2011-12-15 Thread Nathan Mynarcik
I interviewed there over a year ago.  Small little company that seemed to
just be getting off the ground with a new technology that they were very
passionate about and seemed like it was their edge in delivering ads to a
more advanced targeted audience.

I'd say they are worth going in and listening to what they have to say.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Using a Flash Component in a Flex AS3 Project

2011-11-10 Thread Nathan Mynarcik
Have you tried having your entire player exported in a swc and reference
the asset in the swc for your flex compile?
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Tween

2011-11-07 Thread Nathan Mynarcik
You can keep TweenLite if you need to cut down on filesize and use the
below:

import com.greensock.plugins.*;

TweenPlugin.activate([BezierThroughPlugin, BezierPlugin]);

And if you dont use one of those, just omit.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Tween

2011-11-07 Thread Nathan Mynarcik
>
> TweenLite with Bezier curve is what I would use.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Flash + jQuery

2011-11-03 Thread Nathan Mynarcik
Why not use ExternalInterface.call('functionName')?

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


Re: [Flashcoders] ExternalInterface arguments?

2011-11-01 Thread Nathan Mynarcik
Do you have a reference of how you are using it?
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Twitter and RSS feeds

2011-09-24 Thread Nathan Mynarcik
Can you read a list timeline? Perhaps putting everyone in a list and
accessing that time line is a work around.
On Sep 24, 2011 2:14 PM, "John R. Sweeney Jr." 
wrote:
> Hello all,
>
> I can access the user_timeline of my account at Twitter, but cannot find
away to get to the either home_timeline, friend_timeline or
following_timeline. I don't want my tweets, but the tweets I see from the
people I follow. I've seen php or html suggestions for a fix, but this
project will be a swf running on the desktop, not a browser. Like I said I
get a users tweets just fine, but need what a user sees on their home page
from others.
>
> Any ideas or suggestions?
>
>
> Thanks and have a GREAT weekend,
> 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] Spotify AS3 lib?

2011-08-11 Thread Nathan Mynarcik
Are you looking to read the Metadata? Or develop a full 3rd party program?

I can across this http://developer.spotify.com/en/metadata-api/overview/

Perhaps it could help? Unfortunately it only allows search and lookup...
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Incorrect XML from PHP to Flash

2011-07-20 Thread Nathan Mynarcik
Sorry, I meant to say NOT wrapping.  Problem is beyond that though.


On Wed, Jul 20, 2011 at 10:58 AM, Henrik Andersson wrote:

> Did you even look at the code he posted? The code already does that!
>
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Incorrect XML from PHP to Flash

2011-07-20 Thread Nathan Mynarcik
Have you tried without wrapping it in a CDATA tag? Could this be converting
the tags to ASCII?
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] E4X question: finding parent

2011-05-05 Thread Nathan Mynarcik
Perhaps

[code]
xml..GroupNodeName
[/code]

 should get the parent node for ya?
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Emanuele Canavesi invited you to Dropbox

2011-03-30 Thread Nathan Mynarcik
Wow! Kudos to the spam to get more dropbox space. Touché!
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] FDT, version control and project files

2011-03-11 Thread Nathan Mynarcik
Hey Alias,

At my current place of work, we almost always use SVN to control our
projects.  Lately, we have started to noticed that the SVN plugin with FDT
3.5 is subpar and likes crap on us often. So some of the guys have started
using CornerStone to handle the SVN stuff.  I feel it's alot easier to use
and more intuitive.  Also has a couple of extra features that come in handy.
 When FDT can't handle the SVN, it's either Cornerstone or Terminal.

The only time we do not use SVN is if it's a very small and tight deadline
project, where only one developer will be working on it.  Only then it seems
as an overkill to setup an SVN for that particular project.

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


Re: [Flashcoders] error mesg

2010-12-16 Thread Nathan Mynarcik
Then have "e:MouseEvent = null"
On Dec 16, 2010 7:23 PM, "DONALD TALCOTT"  wrote:
> I failed to mention, also have the following for a button;
> mc_aim_higher.mc_form.submitBtn.addEventListener(MouseEvent.CLICK,
doSubmit);
>
> If I remove "e.MouseEvent" the button won't work.
>
>
> On Dec 16, 2010, at 7:05 PM, Nathan Mynarcik wrote:
>
>> Take out the "e:MouseEvent" in your doSubmit function.
>> On Dec 16, 2010 6:40 PM, "DONALD TALCOTT" 
wrote:
>>> I have the following code below. When I compile the swf,I get the
>> following error;
>>> Line 187 1136: Incorrect number of arguments. Expected 1.
>>>
>>> Have been playing with this all day, somewhat new to as3, and this has
me
>> stumped.
>>> Any help/insight would be greatly appreciated.
>>>
>>>
>>> stage.addEventListener(KeyboardEvent.KEY_DOWN, doSubmitViaEnter);
>>>
>>> function doSubmitViaEnter(e:KeyboardEvent):void
>>> {
>>> if (e.keyCode == 13)
>>> {
>>> doSubmit(); // this is line 187
>>> }
>>> };
>>>
>>>
>>> function doSubmit(e:MouseEvent):void
>>> {
>>> var clip:MovieClip = active_clip.mc_form;
>>>
>>> if (fname1field.text == "" || lname1field.text == "" || email1field.text
>> == "" || clip.fnamefield.text == "" || clip.lnamefield.text == "" ||
>> clip.titlefield.text == "" || clip.emailfield.text == "")
>>> {
>>> status_txt.text = "Please fill in all required fields.";
>>> }
>>> else
>>> {
>>> //All fields valid so send away!
>>> status_txt.text = "Posting nomination...\nPlease wait...";
>>> doSend();
>>> }
>>> }
>>>
>>>
>>>
>>>
>>> DON TALCOTT
>>> 316 Greenwood Avenue
>>> Decatur, Georgia 30030
>>>
>>> 404.538.1642
>>> dtalc...@mindspring.com
>>
>
> DON TALCOTT
> 316 Greenwood Avenue
> Decatur, Georgia 30030
>
> 404.538.1642
> dtalc...@mindspring.com
>
>
>
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] error mesg

2010-12-16 Thread Nathan Mynarcik
Take out the "e:MouseEvent" in your doSubmit function.
On Dec 16, 2010 6:40 PM, "DONALD TALCOTT"  wrote:
> I have the following code below. When I compile the swf,I get the
following error;
> Line 187 1136: Incorrect number of arguments. Expected 1.
>
> Have been playing with this all day, somewhat new to as3, and this has me
stumped.
> Any help/insight would be greatly appreciated.
>
>
> stage.addEventListener(KeyboardEvent.KEY_DOWN, doSubmitViaEnter);
>
> function doSubmitViaEnter(e:KeyboardEvent):void
> {
> if (e.keyCode == 13)
> {
> doSubmit(); // this is line 187
> }
> };
>
>
> function doSubmit(e:MouseEvent):void
> {
> var clip:MovieClip = active_clip.mc_form;
>
> if (fname1field.text == "" || lname1field.text == "" || email1field.text
== "" || clip.fnamefield.text == "" || clip.lnamefield.text == "" ||
clip.titlefield.text == "" || clip.emailfield.text == "")
> {
> status_txt.text = "Please fill in all required fields.";
> }
> else
> {
> //All fields valid so send away!
> status_txt.text = "Posting nomination...\nPlease wait...";
> doSend();
> }
> }
>
>
>
>
> DON TALCOTT
> 316 Greenwood Avenue
> Decatur, Georgia 30030
>
> 404.538.1642
> dtalc...@mindspring.com
>
>
>
>
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] development strategy for packages with

2010-12-13 Thread Nathan Mynarcik
It depends on how many files you want to manage.  I think from a OOP
perspective, you would want to have one fla and two doc classes.  As long as
it doesn't effect your timeline (or headaches) to get everything to work
together.

Nathan Mynarcik
nat...@mynarcik.com
www.mynarcik.com

<http://www.mynarcik.com/feed/rss.xml>
<http://www.twitter.com/NMynarcik>
<http://www.facebook.com/pages/Nathan-Mynarcik-Interactive-Web-Developer/265263144230>
  <http://www.linkedin.com/in/nathanmynarcik>




On Mon, Dec 13, 2010 at 3:28 PM, Mendelsohn, Michael <
michael.mendels...@fmglobal.com> wrote:

> Hi list...
>
> I'm developing an AIR app that will have a companion online swf.  The two
> pieces share much of the same code to render the UI and its various
> behaviors.
>
> I haven't started building the online swf yet, and I'm approaching the
> point in the AIR app where I am dealing solely with the AIR apis.  Would it
> make sense to have just one fla, but switch out the document class when it
> comes time to publish each piece, or just make two flas?  I'm looking for
> best practices in how to do this.
>
> 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


Re: [Flashcoders] stop caching

2010-12-09 Thread Nathan Mynarcik
The method I described is how I have kept from caching.  Wonder if there is
a difference when testing locally vs. on a server.

Nathan Mynarcik
nat...@mynarcik.com
www.mynarcik.com

<http://www.mynarcik.com/feed/rss.xml>
<http://www.twitter.com/NMynarcik>
<http://www.facebook.com/pages/Nathan-Mynarcik-Interactive-Web-Developer/265263144230>
  <http://www.linkedin.com/in/nathanmynarcik>




On Thu, Dec 9, 2010 at 2:13 PM, Lehr, Theodore wrote:

> I think it is the ?whatever=xxx that it is having issues with - so I am not
> sure doing it another way does not change it, I don;t think - it seems to
> only want "xxx.swf" not "xxx.swf?whatever=whatever"
>
> 
> From: flashcoders-boun...@chattyfig.figleaf.com [
> flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Nathan Mynarcik [
> nat...@mynarcik.com]
> Sent: Thursday, December 09, 2010 2:01 PM
> To: Flash Coders List
> Subject: Re: [Flashcoders] stop caching
>
> You could add a new Date variable at the end of your swf like:
>
> var d:Date = new Date()
>
> var nc:String = "?nocache=" + d.getTime();
>
> startLoad("moive.swf"+nc);
>
>
>
> Nathan Mynarcik
> nat...@mynarcik.com
> www.mynarcik.com
>
> <http://www.mynarcik.com/feed/rss.xml>
> <http://www.twitter.com/NMynarcik>
> <
> http://www.facebook.com/pages/Nathan-Mynarcik-Interactive-Web-Developer/265263144230
> >
>  <http://www.linkedin.com/in/nathanmynarcik>
>
>
>
>
> On Thu, Dec 9, 2010 at 1:07 PM, Lehr, Theodore  >wrote:
>
> > I am trying to prevent caching via:
> >
> > function startLoad(dfile:String)
> > {
> >var ran:int = Math.round(Math.random()*10);
> >var dfileb:String = new String();
> >dfileb = dfile+"?ran="+ran;
> >var mRequest:URLRequest=new URLRequest(dfileb);
> > }
> >
> > startLoad("moive.swf");
> >
> > but I get an error 2044: Unhandled IOErrorEvent:text=Error #2035: URL Not
> > Found
> >
> > What am I doing wrong?
> >
> > ___
> > 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] stop caching

2010-12-09 Thread Nathan Mynarcik
You could add a new Date variable at the end of your swf like:

var d:Date = new Date()

var nc:String = "?nocache=" + d.getTime();

startLoad("moive.swf"+nc);



Nathan Mynarcik
nat...@mynarcik.com
www.mynarcik.com

<http://www.mynarcik.com/feed/rss.xml>
<http://www.twitter.com/NMynarcik>
<http://www.facebook.com/pages/Nathan-Mynarcik-Interactive-Web-Developer/265263144230>
  <http://www.linkedin.com/in/nathanmynarcik>




On Thu, Dec 9, 2010 at 1:07 PM, Lehr, Theodore wrote:

> I am trying to prevent caching via:
>
> function startLoad(dfile:String)
> {
>var ran:int = Math.round(Math.random()*10);
>var dfileb:String = new String();
>dfileb = dfile+"?ran="+ran;
>var mRequest:URLRequest=new URLRequest(dfileb);
> }
>
> startLoad("moive.swf");
>
> but I get an error 2044: Unhandled IOErrorEvent:text=Error #2035: URL Not
> Found
>
> What am I doing wrong?
>
> ___
> 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] How to view and edit alternate content

2010-11-12 Thread Nathan Mynarcik
Or just change the name of the swf to embed in your swfObject code to test.
If it can't find the swf, alternate content its shown.
On Nov 12, 2010 5:22 AM, "Glen Pike"  wrote:
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Scrollbar Component

2010-11-10 Thread Nathan Mynarcik
You could also implementing the scrollbar via code:

*//Create the scrollBar instance
*var scrollBar:UIScrollBar = new UIScrollBar();*//assign the target of the
scrollBar to your textfield*
//theOutput is the TF instance name
scrollBar.scrollTarget = theOutput;
*//make the height the same as the textfield*
scrollBar.height = theOutput.height;
*//Move the scrollbar to the righthand side
*scrollBar.move(theOutput.x + theOutput.width, theOutput.y);
*//add it to the stage*
addChild(scrollBar);
*//check if it is required if so show it,put this function right after
updating your textfield contents with added text
*function updateScrollBar():void{
scrollBar.update();
if (scrollBar.enabled == false) {
scrollBar.alpha = 0;
} else {
scrollBar.alpha = 100;
}
}

Nathan Mynarcik
nat...@mynarcik.com
www.mynarcik.com

<http://www.mynarcik.com/feed/rss.xml>
<http://www.twitter.com/NMynarcik>
<http://www.facebook.com/pages/Nathan-Mynarcik-Interactive-Web-Developer/265263144230>
  <http://www.linkedin.com/in/nathanmynarcik>




On Wed, Nov 10, 2010 at 10:42 AM, Nathan Mynarcik wrote:

> Have you checked the component inspector and see if it is being linked to
> your dynamic TF?
>
> Nathan Mynarcik
> nat...@mynarcik.com
> www.mynarcik.com
>
> <http://www.mynarcik.com/feed/rss.xml>  <http://www.twitter.com/NMynarcik>
>  
> <http://www.facebook.com/pages/Nathan-Mynarcik-Interactive-Web-Developer/265263144230>
>   <http://www.linkedin.com/in/nathanmynarcik>
>
>
>
>
> On Wed, Nov 10, 2010 at 10:19 AM, Lehr, Theodore <
> ted_l...@federal.dell.com> wrote:
>
>> It is not the visibility of the scrollbar I am trying to fool with - it is
>> having the scrollbar be functional and actually scroll - hoe that makes
>> sense... the visibility I have working - it shows up when it should - it
>> just does not scroll or even have the little scroll thing you would drag to
>> make it scroll or the arrows... it does if I hardcose in text
>>
>> ________
>> From: flashcoders-boun...@chattyfig.figleaf.com [
>> flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Nathan Mynarcik [
>> nat...@mynarcik.com]
>> Sent: Wednesday, November 10, 2010 10:09 AM
>> To: Flash Coders List
>> Subject: Re: [Flashcoders] Scrollbar Component
>>
>> Do an if statement checking to see if the textfields height is greater
>> than
>> the scrollbars height. If false, scrollbar.visible = false.
>>
>> Is that what you want to do?
>> On Nov 10, 2010 8:51 AM, "Lehr, Theodore" 
>> wrote:
>> > The scrollbar component seems like it should be failry easy to work with
>> -
>> drag it over the dynamic text field and bam - if that textfield has too
>> much
>> text then it will scroll... I have it working that way in another movie
>> that
>> way (I think)...
>> >
>> > If I hard code text i the textfield - it works... but I am loading text
>> via xml - and the scrollbar shows up - but is not active to scroll any
>> thoughts?
>> >
>> > ___
>> > 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] Scrollbar Component

2010-11-10 Thread Nathan Mynarcik
Have you checked the component inspector and see if it is being linked to
your dynamic TF?

Nathan Mynarcik
nat...@mynarcik.com
www.mynarcik.com

<http://www.mynarcik.com/feed/rss.xml>
<http://www.twitter.com/NMynarcik>
<http://www.facebook.com/pages/Nathan-Mynarcik-Interactive-Web-Developer/265263144230>
  <http://www.linkedin.com/in/nathanmynarcik>




On Wed, Nov 10, 2010 at 10:19 AM, Lehr, Theodore
wrote:

> It is not the visibility of the scrollbar I am trying to fool with - it is
> having the scrollbar be functional and actually scroll - hoe that makes
> sense... the visibility I have working - it shows up when it should - it
> just does not scroll or even have the little scroll thing you would drag to
> make it scroll or the arrows... it does if I hardcose in text
>
> 
> From: flashcoders-boun...@chattyfig.figleaf.com [
> flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Nathan Mynarcik [
> nat...@mynarcik.com]
> Sent: Wednesday, November 10, 2010 10:09 AM
> To: Flash Coders List
> Subject: Re: [Flashcoders] Scrollbar Component
>
> Do an if statement checking to see if the textfields height is greater than
> the scrollbars height. If false, scrollbar.visible = false.
>
> Is that what you want to do?
> On Nov 10, 2010 8:51 AM, "Lehr, Theodore" 
> wrote:
> > The scrollbar component seems like it should be failry easy to work with
> -
> drag it over the dynamic text field and bam - if that textfield has too
> much
> text then it will scroll... I have it working that way in another movie
> that
> way (I think)...
> >
> > If I hard code text i the textfield - it works... but I am loading text
> via xml - and the scrollbar shows up - but is not active to scroll any
> thoughts?
> >
> > ___
> > 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] Scrollbar Component

2010-11-10 Thread Nathan Mynarcik
Do an if statement checking to see if the textfields height is greater than
the scrollbars height. If false, scrollbar.visible = false.

Is that what you want to do?
On Nov 10, 2010 8:51 AM, "Lehr, Theodore"  wrote:
> The scrollbar component seems like it should be failry easy to work with -
drag it over the dynamic text field and bam - if that textfield has too much
text then it will scroll... I have it working that way in another movie that
way (I think)...
>
> If I hard code text i the textfield - it works... but I am loading text
via xml - and the scrollbar shows up - but is not active to scroll any
thoughts?
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Removing movieClip from memory

2010-10-25 Thread Nathan Mynarcik
import flash.media.SoundMixer;

SoundMixer.stopAll();

Nathan Mynarcik
nat...@mynarcik.com
www.mynarcik.com

<http://www.mynarcik.com/feed/rss.xml>
<http://www.twitter.com/NMynarcik>
<http://www.facebook.com/pages/Nathan-Mynarcik-Interactive-Web-Developer/265263144230>
  <http://www.linkedin.com/in/nathanmynarcik>




On Mon, Oct 25, 2010 at 1:37 PM, m...@rcello  wrote:

> Hi Folks!
>
> I have a doubt of how to remove a movieClip from the stage using
> removeChild.
> I put some sample code in this message and the mc 'ball' has a sound in it.
> The process to attach a movie clip on Stage works fine! Also the process to
> remove but...
>
> Why does the sound still play without the object on Stage?
> What can I do to remove it really from the memory?
>
> var ball:MovieClip = new Ball();
> ball.x = ball.y = 100;
> addChild(ball);
> stage.addEventListener(MouseEvent.CLICK, onClick, false, 0, true);
> function onClick(evt:MouseEvent):void {
>stage.removeEventListener(MouseEvent.CLICK, onClick);
>this.removeChild(ball);
>ball=null
>trace(ball)
> }
>
> If somebody help me to fix it and continue my job, I'll be very thankful!
>
> --
> Marcelo
> -
> Email - Msn - GTalk
> marcelo.tec...@gmail.com
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Converting fla to mov

2010-10-23 Thread Nathan Mynarcik
You could record it using www.screenr.com. It will record your screen for a
max of 5 min and will allow you to download the vid as a mp4.
On Oct 23, 2010 12:33 PM, "natalia Vikhtinskaya" 
wrote:
> What is the best solution if I want to convert swf to mp4 for broadcast
video?
>
> 2010/10/23 Henrik Andersson :
>> The built in exporter is crap and doesn't deal with actionscript. You
might
>> get better luck with a 3rdparty solution.
>> ___
>> 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 to Powerpoint

2010-10-22 Thread Nathan Mynarcik
You could always go the oldschool route of taking screenshots and pasting on
the slide(s).






On Fri, Oct 22, 2010 at 10:40 AM, Lehr, Theodore
wrote:

> Anyone have a link to a tutorial or something that gives siome guidance on
> how to create a powerpoint presentation from Flash - like I want to click a
> button and then be given a prompt to open or save a pps - and the
> presentation would be made up of, say, an image (object) on each slide
>
> No - I have not googled yet 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


Re: [Flashcoders] CS5 where to put tween engines etc?

2010-09-30 Thread Nathan Mynarcik
is the class you are trying to import inside the Flash_Packages/org folder?

Nathan Mynarcik
nat...@mynarcik.com
254.749.2525
www.mynarcik.com


On Thu, Sep 30, 2010 at 2:39 PM, David Hunter wrote:

>
> thanks for all your prompt advice. i'm ok with keeping my own classes and
> packages local to the project. but i don't want to clog up my drive
> unnecessarily with the same tween engine over and over. i have tried putting
> a folder Flash_Packages in my Documents folder and linking to it in the
> Actionscript 3.0 preferences, like your video but code hinting isn't
> recognising "import org" what could be wrong?
>
> > Date: Thu, 30 Sep 2010 14:26:22 -0400
> > Subject: Re: [Flashcoders] CS5 where to put tween engines etc?
> > From: nat...@mynarcik.com
> > To: flashcoders@chattyfig.figleaf.com
> >
> > This should work in CS5 as well: http://screenr.com/EK4
> >
> > Nathan Mynarcik
> > nat...@mynarcik.com
> > 254.749.2525
> > www.mynarcik.com
> >
> >
> > On Thu, Sep 30, 2010 at 2:09 PM, David Hunter  >wrote:
> >
> > >
> > > Hi all, just upgraded from CS3 to CS5. Where do I put external classes
> and
> > > libraries like TweenLite? In CS3 they were in: Adobe Flash CS3 >
> > > Configuration > Actionscript 3.0 > Classes > ... but that path doesn't
> exist
> > > in CS5. Anyone upgraded and can help? Cheers.
> > >  ___
> > > 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] CS5 where to put tween engines etc?

2010-09-30 Thread Nathan Mynarcik
This should work in CS5 as well: http://screenr.com/EK4

Nathan Mynarcik
nat...@mynarcik.com
254.749.2525
www.mynarcik.com


On Thu, Sep 30, 2010 at 2:09 PM, David Hunter wrote:

>
> Hi all, just upgraded from CS3 to CS5. Where do I put external classes and
> libraries like TweenLite? In CS3 they were in: Adobe Flash CS3 >
> Configuration > Actionscript 3.0 > Classes > ... but that path doesn't exist
> in CS5. Anyone upgraded and can help? Cheers.
>  ___
> 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] FLV audio doesn't stop

2010-09-29 Thread Nathan Mynarcik
I have encountered this as well with an e-Learning Flash Course I did last
year.  I read somewhere that "unloadAndStop()" was suppose to work when
unloading the current swf/flv.  I think this is a Flash 10 only method.
 Perhaps this might fix your issue?




On Wed, Sep 29, 2010 at 10:02 PM, Merrill, Jason <
jason.merr...@bankofamerica.com> wrote:

> Weird issue, I seem to remember a bug similar to this in Flash player 9
> where audio does not get released from memory, but I thought I read it had
> been fixed in Flash player 10.  Yet, we are seeing this problem in flash
> player 10,1,xx
>
> I am playing a series of flv videos.  Each video is placed inside a class
> that extends sprite.  When the user clicks a button, there is code to remove
> the sprite that contains the video and any listeners associated with it,
> create a new sprite with a new movie.  I'm doing all the right things to
> wait for the video to load before playing, etc. This works great locally -
> video gets removed, new one plays.  However, when viewing my app online,
> sometimes (not always) when the user clicks the button, the new video plays
> as it should, but the audio from the previous video that was removed
> continues to play.  I can't seem to track down why this is happening or how
> to fix.
>
> Anyone encounter this before and have any good fixes or workaround?
>  Thanks.
>
>  Jason Merrill
>  Instructional Technology Architect
>  Bank of America  Global Learning
>
>
>
>
> ___
> 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: RE: [Flashcoders] TweenMax.allTo()

2010-09-09 Thread Nathan Mynarcik
Said from the man himself. Great suggestion!

On Sep 9, 2010 6:58 PM, "Jack Doyle"  wrote:

No need to use a Timer. Wouldn't it be as simple as this?:

var targets:Array = [mc1, mc2, mc3];
var positions:Array = [0, 100, 200];
var stagger:Number = 0.2;
for (var i:int = 0; i < targets.length; i++) {
   TweenMax.to(targets[i], 1, {y:positions[i], delay:i * stagger});
}

If you need to control the entire sequence as a whole (pause(), resume(),
reverse(), restart(), gotoAndPlay(), etc.), definitely insert() them into a
TimelineLite or TimelineMax. If you aren't familiar with TimelineLite/Max,
check out the brief video at http://www.greensock.com/timeline-basics/. But
again, a simple loop along with the delay special property should be all you
need for most situations.

Jack



-Original Message-
From: Merrill, Jason [mailto:jason.merr...@bankofamerica.com]
Sent: Th...

Subject: [Flashcoders] TweenMax.allTo()

So in Greensock's TweenMax, you can tween and stagger (dela...

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


Re: [Flashcoders] TweenMax.allTo()

2010-09-09 Thread Nathan Mynarcik
You could also do an onComplete call to a function that will add to a
counter variable that you can then access as nameOfArray[counter] for the Y
parameter.

Of course, I have not used the "allTo" function.  But this has worked for
the regular "to" and "from" methods.

Nathan Mynarcik
nat...@mynarcik.com
254.749.2525
www.mynarcik.com


On Thu, Sep 9, 2010 at 3:02 PM, Merrill, Jason <
jason.merr...@bankofamerica.com> wrote:

> Nevermind, looks like you can only do that with the DynamicProps plug in
> you have to buy with a Club Greensock membership.  I'll roll my own with
> the Timer class I guess unless someone knows of an easier way.
>
>
> Jason Merrill
>
> Instructional Technology Architect
> Bank of America   Global Learning
>
> Join the Bank of America Flash Platform Community  and visit our
> Instructional Technology Design Blog
> (Note: these resources are only available for Bank of America
> associates)
>
>
>
>
>
>
> -Original Message-
> From: flashcoders-boun...@chattyfig.figleaf.com
> [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Merrill,
> Jason
> Sent: Thursday, September 09, 2010 2:43 PM
> To: Flash Coders List
> Subject: [Flashcoders] TweenMax.allTo()
>
> So in Greensock's TweenMax, you can tween and stagger (delay) the tweens
> of multiple sprites at once, via giving a method like, "allTo" an array
> of objects (in this example, _blockViews):
>
> TweenMax.allTo(_blockViews, 1, { alpha:1, y:150 }, .2);
>
> However, this assumes you want all the tweens to tween to the same
> property value.  What if I wanted all the objects to end up at various Y
> locations instead of 150?  As it is in the code above, they all tween to
> y=150.  Is there a way to provide an array of y locations that each
> object moves to and have then staggered (as you can with the allTo()
> method)?
>
> I can of course accomplish this by writing some Timer event code to
> tween each object individually and accomplish what I want - ending up at
> varying Y locations, but I'd rather not have to write all that code -
> shouldn't there be a way to do this with TweenMax's sequencing
> capabilities? Would this be a case where you would use TimelineMax and
> append several tweens?  If so, how would you also stagger them?
>
>
>
> Jason Merrill
>
> Instructional Technology Architect
> Bank of America   Global Learning
>
> Join the Bank of America Flash Platform Community
> <http://sharepoint.bankofamerica.com/sites/tlc/flash/default.aspx>   and
> visit our Instructional Technology Design Blog
> <http://sharepoint.bankofamerica.com/sites/SDTeam/itdblog/default.aspx>
> (Note: these resources are only available for Bank of America
> associates)
>
>
>
>
>
>
> ___
> 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] TweenMax.allTo()

2010-09-09 Thread Nathan Mynarcik
What if you did it like this:

function getRandY():Number{

var randY:Number = Math.random()*stage.stageHeight;
return randY;

}

TweenMax.allTo(_blockViews, 1, { alpha:1, y:getRandY() }, .2);

Nathan Mynarcik
nat...@mynarcik.com
254.749.2525
www.mynarcik.com


On Thu, Sep 9, 2010 at 2:43 PM, Merrill, Jason <
jason.merr...@bankofamerica.com> wrote:

> So in Greensock's TweenMax, you can tween and stagger (delay) the tweens
> of multiple sprites at once, via giving a method like, "allTo" an array
> of objects (in this example, _blockViews):
>
> TweenMax.allTo(_blockViews, 1, { alpha:1, y:150 }, .2);
>
> However, this assumes you want all the tweens to tween to the same
> property value.  What if I wanted all the objects to end up at various Y
> locations instead of 150?  As it is in the code above, they all tween to
> y=150.  Is there a way to provide an array of y locations that each
> object moves to and have then staggered (as you can with the allTo()
> method)?
>
> I can of course accomplish this by writing some Timer event code to
> tween each object individually and accomplish what I want - ending up at
> varying Y locations, but I'd rather not have to write all that code -
> shouldn't there be a way to do this with TweenMax's sequencing
> capabilities? Would this be a case where you would use TimelineMax and
> append several tweens?  If so, how would you also stagger them?
>
>
>
> Jason Merrill
>
> Instructional Technology Architect
> Bank of America   Global Learning
>
> Join the Bank of America Flash Platform Community
> <http://sharepoint.bankofamerica.com/sites/tlc/flash/default.aspx>   and
> visit our Instructional Technology Design Blog
> <http://sharepoint.bankofamerica.com/sites/SDTeam/itdblog/default.aspx>
> (Note: these resources are only available for Bank of America
> associates)
>
>
>
>
>
>
> ___
> 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 Nathan Mynarcik
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


On Thu, Sep 9, 2010 at 11:37 AM, Kurt Dommermuth wrote:

> 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 <
> k...@kurtdommermuth.com
> > >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
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Apple changes their guidelines

2010-09-09 Thread Nathan Mynarcik
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


On Thu, Sep 9, 2010 at 11:10 AM, Merrill, Jason <
jason.merr...@bankofamerica.com> wrote:

> Flash CS5 still ships with the iOS export option right?  Sweet.
>
>
> Jason Merrill
>
> Instructional Technology Architect
> Bank of America   Global Learning
>
> Join the Bank of America Flash Platform Community  and visit our
> Instructional Technology Design Blog
> (Note: these resources are only available for Bank of America
> associates)
>
>
>
>
>
>
> -Original Message-
> From: flashcoders-boun...@chattyfig.figleaf.com
> [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of allandt
> bik-elliott (thefieldcomic.com)
> Sent: Thursday, September 09, 2010 11:09 AM
> To: Flash Coders List
> Subject: Re: [Flashcoders] Apple changes their guidelines
>
> thanks guys - it came up in a conversation in the office
>
> a
>
> On 9 September 2010 15:25, Zeh Fernando  wrote:
>
> > It supposedly compiles the AS code into native iOS binary code, with
> > an internal framework that duplicates Flash's capabilities. So there's
>
> > no middle SWF (AVM) or objective C code being generated.
> >
> > Zeh
> >
> > 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
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Bounce Backs

2010-09-09 Thread Nathan Mynarcik
I agree.  I think it has been brought up in the past.  Not exactly sure what
made of it last time it was discussed.

Nathan Mynarcik
nat...@mynarcik.com
254.749.2525
www.mynarcik.com


On Thu, Sep 9, 2010 at 11:20 AM, Bill S.  wrote:

>  Thanks Nathan:
>
> I can filter them too of course; but it may make sense to remove them
> once,
> rather than making all users (including new ones), go through the steps to
> filter bad addresses.
>
> And again, the eBay one looks odd.
>
> Fair?
>
> Thanks
> ~Bill
>
>
> - Original Message -
> *From:* Nathan Mynarcik 
> *To:* Bill S.  ; Flash Coders 
> List
> *Sent:* Thursday, September 09, 2010 11:12 AM
> *Subject:* Re: [Flashcoders] Bounce Backs
>
> I have them automatically filtered as Spam and deleted before they hit my
> inbox.
>
> To answer your question, yes, I used to get them every time I posted.
>
> Nathan Mynarcik
> nat...@mynarcik.com
> 254.749.2525
> www.mynarcik.com
>
>
> On Thu, Sep 9, 2010 at 10:38 AM, Bill S.  wrote:
>
>>
>> Does anyone else get these every time that they post to the list (as I
>> do)?
>>
>> If so, would it make any sense to remove them?
>>
>> The eBay one feels odd anyway.
>>
>> ~Bill
>>
>>
>> #1
>> Reporting-MTA: dns; hmc.hanyang.ac.kr
>> Final-Recipient: 
>> rfc822;woo...@hmc.hanyang.ac.kr
>> Diagnostic-Code: smtp; 501 error - Zettamail -  
>> User Unknown(10.0.0.14)
>> Action: failed
>> Status: 5.0.0
>>
>>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Bounce Backs

2010-09-09 Thread Nathan Mynarcik
I have them automatically filtered as Spam and deleted before they hit my
inbox.

To answer your question, yes, I used to get them every time I posted.

Nathan Mynarcik
nat...@mynarcik.com
254.749.2525
www.mynarcik.com


On Thu, Sep 9, 2010 at 10:38 AM, Bill S.  wrote:

>
> Does anyone else get these every time that they post to the list (as I do)?
>
> If so, would it make any sense to remove them?
>
> The eBay one feels odd anyway.
>
> ~Bill
>
>
> #1
> Reporting-MTA: dns; hmc.hanyang.ac.kr
> Final-Recipient: 
> rfc822;woo...@hmc.hanyang.ac.kr
> Diagnostic-Code: smtp; 501 error - Zettamail -  
> User Unknown(10.0.0.14)
> Action: failed
> Status: 5.0.0
>
>
> #2
> From: "securitydisclosure" 
> Date: Thu, 09 Sep 2010 07:33:34 -0700
> Message-ID: 
> X-Autogenerated: Reply
> MIME-Version: 1.0
> Content-Type: text/plain;charset="windows-1252"
> Subject: Re: [Flashcoders] Apple backing off. Why?
> In-Reply-To: 
> X-CFilter: Scanned
> X-SmarterMail-Spam: SPF_None, ORDB
> X-Antivirus: avast! (VPS 100909-0, 09/09/2010), Inbound message
> X-Antivirus-Status: Clean
>
> Thank you for contacting Security Disclosure at eBay.  If you have
> submitted an eBay - specific security vulnerability, a member of our team
> will respond to you as soon as possible.
>
> If you have submitted your issue to Security Disclosure in error and
> require assistance on a security-related customer service issue, please
> visit the HELP page at the link below to get help with your issue.
>
> http://pages.ebay.com/securitycenter/
>
> Thank you,
> Security Disclosure
>
> ___
> 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 Nathan Mynarcik
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


Re: [Flashcoders] startDrag stopDrag problem

2010-09-08 Thread Nathan Mynarcik
Have your mouseUp listener on the stage and not on the scrubber.  Or else,
you would have to release on the scrubber for your function to be called.

Nathan Mynarcik
nat...@mynarcik.com
254.749.2525
www.mynarcik.com


On Wed, Sep 8, 2010 at 9:46 AM, natalia Vikhtinskaya
wrote:

> I have loadbar with scrub point that I want to drag within loadbar
> It works fine with onPress and onRelease events in AS2
> I try to convert that in AS3 and use Mouse Down and Mouse Up events.
> It starts to drag well with Mouse Down but not always stops with Mouse
> Up. Sometimes that happened sometimes not. This event not always
> appears. How to get it works stable in AS3.
>
> var loadBar_w:Number=loader.loadBar.width;
>
> startScrubIt=function(e:MouseEvent):void{
>var loaderRect:Rectangle = new
> Rectangle(0,loader.scrub.y,loadBar_w,loader.scrub.y);
>loader.scrub.startDrag(false,loaderRect);
>loader.scrub.addEventListener( MouseEvent.MOUSE_MOVE, handleDrag )
>
> }
>
> stopScrubIt=function(e:MouseEvent):void{
>loader.scrub.stopDrag();
>loader.scrub.removeEventListener( MouseEvent.MOUSE_MOVE, handleDrag
> );
> }
>
>
> handleDrag= function ( event:MouseEvent ):void {
>event.updateAfterEvent();
>}
>
> loader.scrub.addEventListener(MouseEvent.MOUSE_DOWN, startScrubIt );
> loader.scrub.addEventListener(MouseEvent.MOUSE_UP,  stopScrubIt);
>
> Thank you in advance for any help.
> ___
> 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] Link text indexes in a TextField

2010-08-30 Thread Nathan Mynarcik
You will have to cull out what you want:

**Psuedo Code**

var stuff:String = "[a href="event:block1"]dolor sit[/a]";

stuff.substr(stuff.indexOf("[a href="event:block1"]"), stuff.indexOf("[/a]"));



Nathan Mynarcik
nat...@mynarcik.com
254.749.2525
www.mynarcik.com


On Mon, Aug 30, 2010 at 1:46 PM, Andrew Murphy  wrote:

> Hi. :)
>
> Does anyone know of a way to get the beginning and ending index of a link
> within a TextField?
>
> I want the indexes of the beginning and ending of the text that makes up
> the
> link.  For example if I pass the following HTML text into the TextField:
>
>
>[p]Lorem ipsum [a href="event:block1"]dolor sit[/a] amet.[/p]
>
>
> What I want is the beginning and ending indexes of the "dolor sit" text
> when
> the user clicks on it.  The TextEvent.LINK event passes out the value of
> the
> "href" within the link text (ie: "block1"), which isn't terribly useful in
> this case.
>
>
>
> ( ps:  I used square brackets in the example HTML text rather than angle
> brackets to try avoiding issues with the list's mailer, which doesn't like
> HTML code in emails. )
>
>
>  --
> Andrew Murphy
> Interactive Media Developer
> amur...@delvinia.com
>
> Delvinia
> 370 King Street West, 5th Floor, Box 4
> Toronto Canada M5V 1J9
> P (416) 364-1455 ext. 232
> F (416) 364-9830
> W www.delvinia.com
>
>
> ___
> 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] E4X question: counting number of subnodes

2010-08-19 Thread Nathan Mynarcik
Yeah you should add attributes to your game nodes to seperate them:

var games:XML =
 
   
 
 
 
   
   
 
 
   
   
 
 
   
 ;

then you can use E4X to find the actually amount of users in each game:

**Pseudo Code**
games.game(@id == "1").user.length();

Nathan Mynarcik
nat...@mynarcik.com
254.749.2525
www.mynarcik.com


On Thu, Aug 19, 2010 at 1:18 PM, Glen Pike wrote:

> Hi,
>
>   I am not sure you can count the sub-nodes without having some sort of
> differentiator between parent nodes.
> You might have to loop through the list of games to find how many users
> are in each one as your tests for 2 & 3 are returning the total number of
> "user" nodes in the tree.
>
>   You can test your e4x stuff quite nicely here:
>
>   http://www.linkwerk.com/pub/javascript/e4x/e4x-tester/
>
>   Glen
>
>
> Alexander Farber wrote:
>
>> Hello,
>>
>> my server delivers XML data over socket,
>> representing games, with up to 3 players in each.
>>
>> In my custom component I'd like to display
>> a summary: total number of games,
>> number of full games (3 players)
>> number of vacant games (joinable, because less than 3 players).
>>
>> I've prepared a reduced test case demonstrating my problem:
>>
>> var games:XML =
>>  
>>
>>  
>>  
>>  
>>
>>
>>  
>>  
>>
>>
>>  
>>  
>>
>>  ;
>>
>> trace("All games: " + games.game.length());
>> trace("Full games: " + games.game.user.(length() == 3).length());
>> trace("Vacant games: " + games.game.user.(length() < 3).length());
>>
>> It prints wrong results for the 2 last calculations:
>>
>> All games: 3
>> Full games: 0
>> Vacant games: 7
>>
>> And a warning:
>>
>> Warning: 1060: Migration issue: The method length is no longer
>> supported.  Use the length property of the argument instead..
>>
>> Please advise me
>> Alex
>> ___
>> 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: RE: [Flashcoders] image issue

2010-08-16 Thread Nathan Mynarcik
Is your image on exact pixels? Make sure the x and y are not on decimals but
whole numbers.

On Aug 16, 2010 8:49 AM, "Lehr, Theodore"  wrote:

smoothing is off I tried to fool around with the jpeg quality in the
publish settings - but that did not seem to impact it when I look at the
properties - the image looks fine in the preview window... it is when the
movie is published...


From: flashcoders-boun...@chattyfig.figleaf.com [
flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Henrik Andersson [
he...@henke37.cjb.net]
Sent: Monday, August 16, 2010 8:30 AM
To: Flash Coders List
Subject: Re: [Flashcoders] image issue


Lehr, Theodore wrote:
> I have an image that is getting blurred a bit - is there anyway to prevent
...
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] I have a drag and drop question.

2010-08-12 Thread Nathan Mynarcik
So, are you trying to get the name of the object that was dropped? or the
name of what the object that was dropped landed on?

Nathan Mynarcik
nat...@mynarcik.com
254.749.2525
www.mynarcik.com


On Thu, Aug 12, 2010 at 8:36 AM, Cor  wrote:

> I have a drag and drop question.
>
> In my Drag_Drop_Question class, I position several images (loaded with
> another class) dynamically on stage.
> These are my targets.
> And I do the same for a bunch of images, which are the objects to drag to
> their target.
> Now every time I drop my dragged image I should get the dropTarget.
> Trace(e.target.dropTarget); // null
> Trace(e.target.dropTarget.parent);  // Error #1009
>
> But they are null or Error #1009.
>
> I did some more tracing of the object and his name:
>trace(e.target.parent.parent.parent.parent.parent.parent,
> e.target.parent.parent.parent.parent.parent.parent.name);
>//[object Stage] null
>trace(e.target.parent.parent.parent.parent.parent,
> e.target.parent.parent.parent.parent.parent.name);
>//[object Main] root1
>trace(e.target.parent.parent.parent.parent,
> e.target.parent.parent.parent.parent.name);
>//[object MovieClip] instance15
>trace(e.target.parent.parent.parent,
> e.target.parent.parent.parent.name);
>//[object Sleepvraag] instance121
>trace(e.target.parent.parent, e.target.parent.parent.name);
>//[object Sprite] instance133
>trace(e.target.parent, e.target.parent.name);
>//[object Sprite] instance191
>trace(e.target, e.target.name);
>//[object Image] 7
>
> Any help is appreciated!
>
> Regards
> Cor
>
>
>
>
>
>
> 
>
> Flash_Tiger Mailing ListYahoo! Groups Links
>
> <*> To visit your group on the web, go to:
>http://groups.yahoo.com/group/Flash_tiger/
>
> <*> Your email settings:
>Individual Email | Traditional
>
> <*> To change settings online go to:
>http://groups.yahoo.com/group/Flash_tiger/join
>(Yahoo! ID required)
>
> <*> To change settings via email:
>flash_tiger-dig...@yahoogroups.com
>flash_tiger-fullfeatu...@yahoogroups.com
>
> <*> To unsubscribe from this group, send an email to:
>flash_tiger-unsubscr...@yahoogroups.com
>
> <*> Your use of Yahoo! Groups is subject to:
>http://docs.yahoo.com/info/terms/
>
> Geen virus gevonden in het binnenkomende-bericht.
> Gecontroleerd door AVG - www.avg.com
> Versie: 9.0.851 / Virusdatabase: 271.1.1/3061 - datum van uitgifte:
> 08/10/10
> 20:34:00
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] onComplete Problem

2010-08-07 Thread Nathan Mynarcik
You should still be able to execute an onComplete as long as you are
communicating between your scripts and the main.

On Aug 7, 2010 9:35 AM, "Steven Jacobs"  wrote:

Hi;
I am building a script that imports two other scripts. I load them just fine
and
I load a couple of images, one of which is a background image (and is
supposed
to be--you guessed it--in the background). The problem  is that the scripts
I
import take a while to load and the bgimage loads  before they do, despite
the
fact that that part of the script  supposedly executes last. Now, if I had
these
imported scripts all in  the main script (instead of importing them) I'd
simply
execute an  onComplete, but what do I do when I'm importing them?
TIA,
Steven



___
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] Querying XML

2010-08-05 Thread Nathan Mynarcik
I agree, and you can do a for loop to display your data.


On Thu, Aug 5, 2010 at 3:08 PM, Taka Kojima  wrote:

> E4X is a much better approach than looping through an XML object and adding
> items to an XMLList.
>
> An E4x command automatically returns an XMLList type object.
>
> On Thu, Aug 5, 2010 at 11:47 AM, Nathan Mynarcik  >wrote:
>
> > You would need to make a var that is an XMLList that pulls only the nodes
> > that have the value "a".  Then you can trace out your XMLList and it will
> > only be the ones you need.
> >
> > Nathan Mynarcik
> > nat...@mynarcik.com
> > 254.749.2525
> > www.mynarcik.com
> >
> >
> > On Thu, Aug 5, 2010 at 2:18 PM, Lehr, Theodore <
> ted_l...@federal.dell.com
> > >wrote:
> >
> > > Is there a way to only show certain xml based on a value - for instance
> -
> > > say I have:
> > >
> > > var aXML:XML =
> > > 
> > >
> > >
> > >
> > >
> > >
> > > 
> > >
> > >
> > > So if someone picks "a" from a drop down - I would then only display
> the
> > > ones that have the value of a in a datagrid...
> > >
> > > I am used to just doing something like:
> > >
> > > var myDP:DataProvider = new DataProvider(aXML);
> > >
> > > How can I remove xml members or keep them from being shown?
> > >
> > > ___
> > > 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] Querying XML

2010-08-05 Thread Nathan Mynarcik
You would need to make a var that is an XMLList that pulls only the nodes
that have the value "a".  Then you can trace out your XMLList and it will
only be the ones you need.

Nathan Mynarcik
nat...@mynarcik.com
254.749.2525
www.mynarcik.com


On Thu, Aug 5, 2010 at 2:18 PM, Lehr, Theodore wrote:

> Is there a way to only show certain xml based on a value - for instance -
> say I have:
>
> var aXML:XML =
> 
>
>
>
>
>
> 
>
>
> So if someone picks "a" from a drop down - I would then only display the
> ones that have the value of a in a datagrid...
>
> I am used to just doing something like:
>
> var myDP:DataProvider = new DataProvider(aXML);
>
> How can I remove xml members or keep them from being shown?
>
> ___
> 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: RE: [Flashcoders] drag issues

2010-08-05 Thread Nathan Mynarcik
Or you can do:

e.currentTarget.parent.startDrag();

On Aug 5, 2010 9:24 AM, "Cor"  wrote:

mc.mouseChildren = false;


-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...
Geen virus gevonden in het binnenkomende-bericht.
Gecontroleerd door AVG - www.avg.com
Versie: 9.0.851 / Virusdatabase: 271.1.1/3049 - datum van uitgifte: 08/04/10
17:07:00


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


Re: [Flashcoders] paper effect

2010-06-23 Thread Nathan Mynarcik
http://activeden.net/searches?term=Magazine&type=files




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

> Thanks where can I get this flipping book component
> Gustavo
> On Jun 22, 2010, at 6:53 PM, Karl DeSaulniers wrote:
>
>  You could dissect/use the Flipping Book component
>>
>> Karl
>>
>>
>> On Jun 22, 2010, at 5:42 PM, Gustavo Duenas wrote:
>>
>>  Hi, there is on the internet some tutorial about how can I make an effect
>>> like paper, something like you have your paper sheets moved by your hand,
>>> like the
>>> pages of a book, I was wondering if someone knows a tutorial for that?
>>>
>>> Gus
>>> ___
>>> Flashcoders mailing list
>>> Flashcoders@chattyfig.figleaf.com
>>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>>
>>
>> Karl DeSaulniers
>> Design Drumm
>> http://designdrumm.com
>>
>> ___
>> Flashcoders mailing list
>> Flashcoders@chattyfig.figleaf.com
>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
>>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] masking issues

2010-06-12 Thread Nathan Mynarcik
Whatever is added to the stage last by using "addChild" method, will be at the 
top. 

What is masking what? No where in your code do you have anything setup to be a 
mask. 


-Original Message-
From: "Paul Freedman" 
Date: Sat, 12 Jun 2010 18:55:14 
To: Flash Coders List
Subject: [Flashcoders] masking issues

I don't know if I can attach documents here, but I'm trying it, because my 
question involves a fla with a masked textfield on it and a MovieClip in its 
library. If attachments don't work, look here:  
http://www.freedmania.com/test/MaskIssue/ The scripts are listed below. 

There's two ActionScripts here, one launching the other, to simulate my 
eventual problem. The symbol in the library, myBox_mc, is linked to class 
MyBoxx, which places it on the stage. Traces show that, by the time it's there, 
it's parent is the BaseTimeLine. The mask, drawn in the authoring application, 
is positioned over a textfield and is precisely the textfield's dimensions. The 
rest of the stage is unmasked.

Click on the blue-green thingy (myBox_mc) and drag it around. You'll see that 
it's actually under the mask. 

I  need it on top. What do I need to do?

Any help will be deeply appreciated.

Thanks,
- Paul

These are the scripts. If you reply, please delete them.
AS --- MYOBJECK
package
{
import flash.display.MovieClip;
 import MyBoxx;
 
 public class MyObjeck extends MovieClip
 {
  public var myBoxx:myBox_mc
  
  public function MyObjeck(m:MovieClip)
  {
   myBoxx = new myBox_mc();
   m.addChild(myBoxx);
   
   myBoxx.x=150;
   myBoxx.y=150;
   trace("17 myBoxx.parent " +myBoxx.parent);
   for(var i=0;i<20;i++){
m.text_mc.textTxt.text += "Here's the text you ordered, Sir.";
   }
  }
 }
}

AS --- MYBOXX
package
{
 import flash.display.MovieClip;
 import flash.events.*;
 
 public class MyBoxx extends MovieClip
 {
  public function MyBoxx()
  {
   trace("09myBoxx");
   init();
  }
  
  private function dwnn(Event:MouseEvent){
   trace("DOWN this "+this+" parent "+this.parent);
   this.startDrag();
  }
  private function upp(Event:MouseEvent){
   trace("UP");
   this.stopDrag();
  }
  private function over(Event:MouseEvent){
   trace("over");
  }
  private function out(Event:MouseEvent){
   trace("OUT");
  }
 
  public function init(){
   this.addEventListener(MouseEvent.MOUSE_DOWN,dwnn);
   this.addEventListener(MouseEvent.MOUSE_UP,upp);
   this.addEventListener(MouseEvent.ROLL_OVER,over);
   this.addEventListener(MouseEvent.ROLL_OUT,out);  
  }
 }
}


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


Re: [Flashcoders] AS3 newbie question: how can I correct this to makean object appear on the stage?

2010-06-11 Thread Nathan Mynarcik
I would also suggest posting only to one mailing list first. This would help 
ghost threads from being created. Besides, I think most of us are subscribed to 
both and both lists have many helpful people on them to provide you solutions. 

Good luck. 
-Original Message-
From: "Paul Freedman" 
Date: Fri, 11 Jun 2010 19:21:55 
To: Flash Coders List
Subject: [Flashcoders] AS3 newbie question: how can I correct this to make
an object appear on the stage?

I don't understand why this doesn't work...

I have a MovieClip, "myClass.fla",  with one symbol in the library, "myBox_mc".

Frame 1 of "myClass.fla" has the following actions:

import flash.display.MovieClip;
var myBoxx:MovieClip = MovieClip("myBox_mc");
addChild(myBoxx);

The symbol is exported for ActionScript. Its class remains "myBox_mc". Its base 
class has been changed to "myBoxx".  The classPath has been properly configured 
and ends in the "classes" folder. "myBoxx.as" is in this folder.

The contents of "myBoxx.as" are:

package
{
import flash.display.MovieClip;
 
 public class myBoxx extends MovieClip
 {
  public function myBoxx(m:MovieClip)
  {
   trace("09myBoxx parent "+this.parent);
   var dmc:MovieClip = m.MovieClip("myBox_mc");
   m.addChild(dmc);
  }
 }
}

When I run this, I get:"Symbol "myBox_mc"error #1023No default 
construtor found in base class myBoxx.

I can't find any other example, or any lesson that tells me what's wrong. Any 
help would be greatly appreciated.

Thanks,
- Paul

___
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] AS3 newbie question: how can I correct this to makean object appear on the stage?

2010-06-11 Thread Nathan Mynarcik
First you are not importing your mybox class correctly. Second, the external 
class should start with a capital ("MyBoxx.as"). Third, your declaration of the 
instance is incorrect for how you have it setup. 

import myBoxxflash;
var myBoxx:MyBoxx = new MyBoxx();
addChild(myBoxx);

Your external class needs some work as well. I would read up on some tutorials 
on how to implement external Classes. 



-Original Message-
From: "Paul Freedman" 
Date: Fri, 11 Jun 2010 19:21:55 
To: Flash Coders List
Subject: [Flashcoders] AS3 newbie question: how can I correct this to make
an object appear on the stage?

I don't understand why this doesn't work...

I have a MovieClip, "myClass.fla",  with one symbol in the library, "myBox_mc".

Frame 1 of "myClass.fla" has the following actions:

import flash.display.MovieClip;
var myBoxx:MovieClip = MovieClip("myBox_mc");
addChild(myBoxx);

The symbol is exported for ActionScript. Its class remains "myBox_mc". Its base 
class has been changed to "myBoxx".  The classPath has been properly configured 
and ends in the "classes" folder. "myBoxx.as" is in this folder.

The contents of "myBoxx.as" are:

package
{
import flash.display.MovieClip;
 
 public class myBoxx extends MovieClip
 {
  public function myBoxx(m:MovieClip)
  {
   trace("09myBoxx parent "+this.parent);
   var dmc:MovieClip = m.MovieClip("myBox_mc");
   m.addChild(dmc);
  }
 }
}

When I run this, I get:"Symbol "myBox_mc"error #1023No default 
construtor found in base class myBoxx.

I can't find any other example, or any lesson that tells me what's wrong. Any 
help would be greatly appreciated.

Thanks,
- Paul

___
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] swf compressing

2010-06-10 Thread Nathan Mynarcik
Think there might be some JSFL files that will compress the all the images
in the FLA.  Just will have to open each FLA and then run it.

Nathan Mynarcik
nat...@mynarcik.com
254.749.2525
www.mynarcik.com


On Thu, Jun 10, 2010 at 3:48 PM, Latcho  wrote:

> Hi friends,
>
> I have a bunch of AS2 / flash 8 swf files that are on a cdrom.
> The swf's were never intended for web use, but now the client wants a web
> version.
> The swf's contain gazzilions of uncompressed images.
> Is there a hacky shortcut / way to compress the images within the swf's
> without reopening / altering the fla projects ?
> I know I can google, but I love to here or the tools you used succesfull.
>  I'm on windows.
> Cheers,
> Latcho
> ___
> 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] buttonMode and textfield

2010-06-01 Thread Nathan Mynarcik
Put an invisible box over the text and have the eventlistener added to that
instead of the TF.


On Tue, Jun 1, 2010 at 1:10 PM, Lehr, Theodore wrote:

> Is there anyway to make it so the whole area of a textfield will register
> if the buttonMode is set to true... as it now, the hand cursor only shows if
> I roll over the text - I would like it to act more like a link where you do
> not have to be exactly over the text...
> ___
> 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] ticker

2010-05-28 Thread Nathan Mynarcik
Have each item as its on sprite/mc and when it tweens off the stage,
reset its x/y to start over again.

On 5/28/10, Lehr, Theodore  wrote:
> That's what I love about this list - there is ALWAYS help available but it
> is often cryptic... ;-)
>
> 
> From: flashcoders-boun...@chattyfig.figleaf.com
> [flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Glen Pike
> [g...@engineeredarts.co.uk]
> Sent: Friday, May 28, 2010 10:57 AM
> To: Flash Coders List
> Subject: Re: [Flashcoders] ticker
>
> On 28/05/2010 15:45, Lehr, Theodore wrote:
>> I am trying to make a simple ticker... my thinking is to tween it (in as)
>> right to left... how would I make that tween repeat endlessly?
>> ___
>> Flashcoders mailing list
>> Flashcoders@chattyfig.figleaf.com
>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
>>
>>
> yoyo is your friend
> ___
> 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
>


-- 
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] Dynamic Text Boxes in Flash CS4

2010-05-26 Thread Nathan Mynarcik
You have to embed the font for that textfield so it will render the text 
correctly. 
--Original Message--
From: Donald Talcott
Sender: flashcoders-boun...@chattyfig.figleaf.com
To: Flash Coders List
ReplyTo: Flash Coders List
Subject: [Flashcoders] Dynamic Text Boxes in Flash CS4
Sent: May 26, 2010 5:07 PM

I have some static text boxes that I need to make dynamic.
Questions;
1. Do you have to render text as HTML in a Dynamic text box in order to use 
multiple font sizes and colors within each box?
2. When I render the text as HTML, format the type, get it looking good. Then I 
click outside the text box, the text weight and line spacing changes.
When I select the text box again with the text tool, the type appears correct 
as I originally set it.

Is this normal or is Flash messing with my mind.



Don Talcott
316 Greenwood Ave
Decatur, GA 30030
404 538-1642
dtalc...@mindspring.com



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


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


Re: [Flashcoders] Drop shadows and blurs how heavy on the processor?

2010-05-22 Thread Nathan Mynarcik
If your scaling, PNGs are going to look like kaka (this probably isn't 
something new to you). I would use the blurs and shadows and play with the 
quality settings. 

If its too processor intensive, perhaps the designer needs to rethink the 
design to be more processor "friendly". 

-Original Message-
From: Fahim Akhter 
Date: Sat, 22 May 2010 20:35:08 
To: Flash Coders List
Subject: Re: [Flashcoders] Drop shadows and blurs how heavy on the processor?

Well I would be using scaling, thats the only reason I'm using vectors for
now. so I need to satisfy my designer with his needs and not over process
things.

Fahim Akhter
Game Developer | White Rabbit Studios |
http://apps.facebook.com/feline-frenzy/


On Sat, May 22, 2010 at 8:31 PM, Nathan Mynarcik wrote:

> If you are not scaling the items, PNGs might work.  However, they might
> bloat your swf size.  Might be a trial and error thing that you would want
> to try and test.  Not sure how bad blurs and glows/shadows are on the
> processor.  I would probably still go the vector route.
>
>
> On Sat, May 22, 2010 at 9:23 AM, Fahim Akhter  >wrote:
>
> > Hi,
> >
> > I have say 10 items in a particular space, If I apply glows and drop
> > shadows
> > to all of them and all of these items are usually static.
> > Other characters do move around them too. So I'm just wondering would it
> be
> > wise to use vectors with actionscript blurs and glows. Or to have a PNG?
> > and
> > if I cannot have a PNG and have to work with vectors with
> > glows/blurs/shadows. Would they be too heavy on the processor?
> >
> > Fahim Akhter
> > Game Developer | White Rabbit Studios |
> > http://apps.facebook.com/feline-frenzy/
> > ___
> > 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] Drop shadows and blurs how heavy on the processor?

2010-05-22 Thread Nathan Mynarcik
If you are not scaling the items, PNGs might work.  However, they might
bloat your swf size.  Might be a trial and error thing that you would want
to try and test.  Not sure how bad blurs and glows/shadows are on the
processor.  I would probably still go the vector route.


On Sat, May 22, 2010 at 9:23 AM, Fahim Akhter wrote:

> Hi,
>
> I have say 10 items in a particular space, If I apply glows and drop
> shadows
> to all of them and all of these items are usually static.
> Other characters do move around them too. So I'm just wondering would it be
> wise to use vectors with actionscript blurs and glows. Or to have a PNG?
> and
> if I cannot have a PNG and have to work with vectors with
> glows/blurs/shadows. Would they be too heavy on the processor?
>
> Fahim Akhter
> Game Developer | White Rabbit Studios |
> http://apps.facebook.com/feline-frenzy/
> ___
> 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] Line break in dynamic text imported from xml

2010-05-19 Thread Nathan Mynarcik
I believe you can use "\n" in your feedback string and it makes a new line.




On Wed, May 19, 2010 at 10:56 AM, Paul Jinks  wrote:
> It's been a long time since I've done any coding. I think this is
> pretty straightforward but it has me beat. Can you help?
>
> I'm working on a quiz using AS1 (I think) that reads questions and
> answers from an xml file. (see below for the script).
>
> I'd like to introduce line breaks into the feedback, how do I do this?
> I've tried using \r but it just displays this as text.
>
> Ideally I'd like to display the text as html but so far my efforts to
> do this have broken the script - any pointers?
>
> Here's the action script for the quiz. I hope it makes sense:
>
> function QuizItem(question)
> {
>        this.question=question;
>        this.answers=new Array();
>        this.feedbacks=new Array();
>        this.numOfAnswers=0;
>        this.correctAnswer=0;
>        this.getQuestion=function()
>        {
>                return this.question;
>        }
>        this.addAnswer=function(answer, isCorrectAnswer, feedback)
>        {
>                this.answers[this.numOfAnswers]=answer;
>                this.feedbacks[this.numOfAnswers]=feedback;
>                if (isCorrectAnswer)
>                        this.correctAnswer=this.numOfAnswers;
>                this.numOfAnswers++;
>        }
>
>        this.getAnswer=function(answerNumberToGet)
>        {
>                return this.answers[answerNumberToGet];
>        }
>        this.getFeedback=function(answerNumberToGet)
>        {
>                return this.feedbacks[answerNumberToGet];
>        }
>
>        this.getCorrectAnswerNumber=function()
>        {
>                return this.correctAnswer;
>        }
>
>        this.checkAnswerNumber=function(userAnswerNumber)
>        {
>                if (userAnswerNumber==this.getCorrectAnswerNumber()) {
>                        numOfQuestionsAnsweredCorrectly++;
>                } else {
>                        numOfQuestionsAnsweredIncorrectly++;
>                }
>                feedback = _root["feedback"+parseInt((userAnswerNumber+1))]
>                gotoAndPlay("Feedback");
>        }
> }
>
> function onQuizData(success)
> {
>        var quizNode=this.firstChild;
>        var quizTitleNode=quizNode.firstChild;
>        title=quizTitleNode.firstChild.nodeValue;
>
>        var i=0;
>        //  follows 
>        var itemsNode=quizNode.childNodes[1];
>        while (itemsNode.childNodes[i])
>        {
>                var itemNode=itemsNode.childNodes[i];
>                //  consists of   and one or more 
>                //  always comes before s (node 0 of )
>                var questionNode=itemNode.childNodes[0];
>                quizItems[i]=new QuizItem(questionNode.firstChild.nodeValue);
>                var a=1;
>                //  follows 
>                var answerNode=itemNode.childNodes[a++];
>                while (answerNode)
>                {
>                        //trace(answerNode);
>                        var isCorrectAnswer=false;
>                        if (answerNode.attributes.correct=="y")
>                                isCorrectAnswer=true;
>                        //get answer
>                        tempAnswer = answerNode.firstChild.nodeValue;
>                        //go to next node
>                        answerNode=itemNode.childNodes[a++];
>                        //get feedback
>                        tempFeedback = answerNode.firstChild.nodeValue;
>                        //add answer and feedback to current answer/feedback 
> 'pair'
>                        quizItems[i].addAnswer(tempAnswer, isCorrectAnswer, 
> tempFeedback);
>                        // goto the next 
>                        answerNode=itemNode.childNodes[a++];
>                }
>                i++;
>        }
>        gotoAndStop("Start");
> }
>
> var quizItems=new Array();
> var myData=new XML();
> myData.ignoreWhite=true;
> myData.onLoad=onQuizData;
> myData.load("google_quiz.xml");
> stop();
>
> And this is what the xml file looks like:
>
>         
>        
>        
>        
>        
>        
>        
>        
> ]>
> 
>        My quiz
>        
>        
>          What colour are greenfly
>          Red
>          You chose answer [a]. This is incorrect. The correct
> answer is [d].
>          Blue
>          You chose answer [b]. This is incorrect. The correct
> answer is [d].
>          Cheese
>          Sorry, cheese is not a colour.
>          Green
>          Correct!
>        
> 
>
> Thanks for reading, any help would be very gratefully received.
>
> Paul
> ___
> 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] Test

2010-05-14 Thread Nathan Mynarcik
Yup
--Original Message--
From: Elia Morlin
Sender: flashcoders-boun...@chattyfig.figleaf.com
To: Flash Coders List
ReplyTo: Flash Coders List
Subject: [Flashcoders] Test
Sent: May 14, 2010 4:58 PM

Are my messages coming through?

Thanks
___
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] How to hault execution and raise a error flag

2010-04-29 Thread Nathan Mynarcik
You could try in your logic to use a case switch. Then "break" on error. 

--Original Message--
From: Fahim Akhter
Sender: flashcoders-boun...@chattyfig.figleaf.com
To: Flash Coders List
ReplyTo: Flash Coders List
Subject: [Flashcoders] How to hault execution and raise a error flag
Sent: Apr 29, 2010 7:13 AM

Hi,

I was wondering how can I put the execution of a application to a hault and
raise a error flag ( maybe quite everything) so it does not move anywhere
further. I have some logical errors which do not cause troubles in the
execution, but I still want to stop execution when they occur. For debugging
purposes.

Fahim Akhter
Game Developer | White Rabbit Studios |
http://apps.facebook.com/feline-frenzy/
___
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] arranging

2010-04-28 Thread Nathan Mynarcik
stage
-Original Message-
From: "Lehr, Theodore" 
Date: Wed, 28 Apr 2010 15:28:38 
To: Flash Coders List
Subject: RE: [Flashcoders] arranging

ok - but what would "container" be for stuff just placed on the stage in the 
IDE??


From: flashcoders-boun...@chattyfig.figleaf.com 
[flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Juan Pablo Califano 
[califa010.flashcod...@gmail.com]
Sent: Wednesday, April 28, 2010 2:17 PM
To: Flash Coders List
Subject: Re: [Flashcoders] arranging

The display list is managed as a stack. New items go on top when you add
them by default. So the first item you added will have index 0. If you
addChild() again, the new child will be at index 1.

If you want to get the topmost child, you can do:

container.getChildAt(container.numChildren - 1);

Cheers
Juan Pablo Califano
2010/4/28 Lehr, Theodore 

> ok - so I am trying this:
>
> var curChild=getChildByName(e.currentTarget.name<http://e.currenttarget.name/>
> );
> var curIndex:int=getChildIndex(curChild);
> trace(curIndex);
>
> and it seems as though it is counting from the back up... so if I have 12
> mcs, then the one no top will trace 12... I would think the one on top would
> be 1 I would love to just set it to 1 to make it come to the top and
> then reset it back to it's original number to put it back any
> thoughts
>
> 
> From: flashcoders-boun...@chattyfig.figleaf.com [
> flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Nathan Mynarcik [
> nat...@mynarcik.com]
> Sent: Wednesday, April 28, 2010 1:51 PM
>  To: Flash Coders List
> Subject: Re: [Flashcoders] arranging
>
> Will getChildIndex and setChildIndex not work either for static objects?
>
>
> -Original Message-
> From: "Lehr, Theodore" 
> Date: Wed, 28 Apr 2010 13:38:39
> To: Flash Coders List
> Subject: RE: [Flashcoders] arranging
>
> the issue is that these are mcs that are NOT put there in as but in the
> IDE I tried getChildIndex and it says that this is for display objects -
> not static objects... any way to change order with static objects?
>
> ____
> From: flashcoders-boun...@chattyfig.figleaf.com [
> flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Nathan Mynarcik [
> nat...@mynarcik.com]
> Sent: Wednesday, April 28, 2010 1:33 PM
> To: Flash Coders List
> Subject: Re: [Flashcoders] arranging
>
> addChild(mc) normally brings them to the top.
> --Original Message--
> From: Henrik Andersson
> Sender: flashcoders-boun...@chattyfig.figleaf.com
> To: Flash Coders List
> ReplyTo: Flash Coders List
> Subject: Re: [Flashcoders] arranging
> Sent: Apr 28, 2010 12:13 PM
>
> Lehr, Theodore wrote:
> > If I have mcs that are put on the same layer in the ide - how can I
> change their order (i.e. send to back, bring forward) in as3?
>
> They will still have different indexes on the display list. Just do the
> same old stuff as usual.
> ___
> 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
>
___
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] arranging

2010-04-28 Thread Nathan Mynarcik
Yup! Get the display list numChildren and subtract 1 from it. That's the number 
you want to set as the new index. 


-Original Message-
From: "Lehr, Theodore" 
Date: Wed, 28 Apr 2010 14:04:51 
To: nat...@mynarcik.com; Flash Coders 
List
Subject: RE: [Flashcoders] arranging

ok - so I am trying this:

var curChild=getChildByName(e.currentTarget.name);
var curIndex:int=getChildIndex(curChild);
trace(curIndex);

and it seems as though it is counting from the back up... so if I have 12 mcs, 
then the one no top will trace 12... I would think the one on top would be 
1 I would love to just set it to 1 to make it come to the top and then 
reset it back to it's original number to put it back any thoughts


From: flashcoders-boun...@chattyfig.figleaf.com 
[flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Nathan Mynarcik 
[nat...@mynarcik.com]
Sent: Wednesday, April 28, 2010 1:51 PM
To: Flash Coders List
Subject: Re: [Flashcoders] arranging

Will getChildIndex and setChildIndex not work either for static objects?


-Original Message-
From: "Lehr, Theodore" 
Date: Wed, 28 Apr 2010 13:38:39
To: Flash Coders List
Subject: RE: [Flashcoders] arranging

the issue is that these are mcs that are NOT put there in as but in the IDE 
I tried getChildIndex and it says that this is for display objects - not static 
objects... any way to change order with static objects?


From: flashcoders-boun...@chattyfig.figleaf.com 
[flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Nathan Mynarcik 
[nat...@mynarcik.com]
Sent: Wednesday, April 28, 2010 1:33 PM
To: Flash Coders List
Subject: Re: [Flashcoders] arranging

addChild(mc) normally brings them to the top.
--Original Message--
From: Henrik Andersson
Sender: flashcoders-boun...@chattyfig.figleaf.com
To: Flash Coders List
ReplyTo: Flash Coders List
Subject: Re: [Flashcoders] arranging
Sent: Apr 28, 2010 12:13 PM

Lehr, Theodore wrote:
> If I have mcs that are put on the same layer in the ide - how can I change 
> their order (i.e. send to back, bring forward) in as3?

They will still have different indexes on the display list. Just do the
same old stuff as usual.
___
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] arranging

2010-04-28 Thread Nathan Mynarcik


This worked with three circles on the stage in the timeline.  All have  
the same eventlistener to them.  Does error if the object is already  
at the top.


Have fun!

function getIndex(e:MouseEvent):void
{
var mc:MovieClip = MovieClip(getChildByName(e.currentTarget.name));
var index:int;
index = getChildIndex(mc);
setChildIndex(mc, index+1);

}

-Nathan


Quoting Nathan Mynarcik :


Will getChildIndex and setChildIndex not work either for static objects?


-Original Message-
From: "Lehr, Theodore" 
Date: Wed, 28 Apr 2010 13:38:39
To: Flash Coders List
Subject: RE: [Flashcoders] arranging

the issue is that these are mcs that are NOT put there in as but in   
the IDE I tried getChildIndex and it says that this is for   
display objects - not static objects... any way to change order with  
 static objects?



From: flashcoders-boun...@chattyfig.figleaf.com   
[flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Nathan   
Mynarcik [nat...@mynarcik.com]

Sent: Wednesday, April 28, 2010 1:33 PM
To: Flash Coders List
Subject: Re: [Flashcoders] arranging

addChild(mc) normally brings them to the top.
--Original Message--
From: Henrik Andersson
Sender: flashcoders-boun...@chattyfig.figleaf.com
To: Flash Coders List
ReplyTo: Flash Coders List
Subject: Re: [Flashcoders] arranging
Sent: Apr 28, 2010 12:13 PM

Lehr, Theodore wrote:
If I have mcs that are put on the same layer in the ide - how can I  
 change their order (i.e. send to back, bring forward) in as3?


They will still have different indexes on the display list. Just do the
same old stuff as usual.
___
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] arranging

2010-04-28 Thread Nathan Mynarcik
Will getChildIndex and setChildIndex not work either for static objects?


-Original Message-
From: "Lehr, Theodore" 
Date: Wed, 28 Apr 2010 13:38:39 
To: Flash Coders List
Subject: RE: [Flashcoders] arranging

the issue is that these are mcs that are NOT put there in as but in the IDE 
I tried getChildIndex and it says that this is for display objects - not static 
objects... any way to change order with static objects?


From: flashcoders-boun...@chattyfig.figleaf.com 
[flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Nathan Mynarcik 
[nat...@mynarcik.com]
Sent: Wednesday, April 28, 2010 1:33 PM
To: Flash Coders List
Subject: Re: [Flashcoders] arranging

addChild(mc) normally brings them to the top.
--Original Message--
From: Henrik Andersson
Sender: flashcoders-boun...@chattyfig.figleaf.com
To: Flash Coders List
ReplyTo: Flash Coders List
Subject: Re: [Flashcoders] arranging
Sent: Apr 28, 2010 12:13 PM

Lehr, Theodore wrote:
> If I have mcs that are put on the same layer in the ide - how can I change 
> their order (i.e. send to back, bring forward) in as3?

They will still have different indexes on the display list. Just do the
same old stuff as usual.
___
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] arranging

2010-04-28 Thread Nathan Mynarcik
addChild(mc) normally brings them to the top. 
--Original Message--
From: Henrik Andersson
Sender: flashcoders-boun...@chattyfig.figleaf.com
To: Flash Coders List
ReplyTo: Flash Coders List
Subject: Re: [Flashcoders] arranging
Sent: Apr 28, 2010 12:13 PM

Lehr, Theodore wrote:
> If I have mcs that are put on the same layer in the ide - how can I change 
> their order (i.e. send to back, bring forward) in as3?

They will still have different indexes on the display list. Just do the 
same old stuff as usual.
___
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] passing obj name

2010-04-28 Thread Nathan Mynarcik
Create a variable to store the item to shake:

var itemToShake:MovieClip;

flower.addEventListener(MouseEvent.ROLL_OVER,jiggle);

function jiggle(e:Event):void
{

 var timer:Timer=new Timer(2,100);
 timer.addEventListener(TimerEvent.TIMER,shakeBtn);
 timer.start();
itemToShake = e.currentTarget;
}

function shakeBtn(e:Event)
{
 itemToShake.main.rotation+=Math.random()*8-4;
 itemToShake.main.x+=Math.random()*8-4;
 itemToShake.main.y+=Math.random()*8-4;
}


-Original Message-
From: "Lehr, Theodore" 
Date: Wed, 28 Apr 2010 08:59:05 
To: Flash Coders List
Subject: RE: [Flashcoders] passing obj name

no - I think because the e at that point is for the timer


From: flashcoders-boun...@chattyfig.figleaf.com 
[flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Eric E. Dolecki 
[edole...@gmail.com]
Sent: Wednesday, April 28, 2010 8:49 AM
To: Flash Coders List
Subject: Re: [Flashcoders] passing obj name

function shakeBtn(e:Event):void {
 e.target.main.rotation+=Math.random()*8-4;

I think that should work


On Wed, Apr 28, 2010 at 8:36 AM, Lehr, Theodore
wrote:

> so I have:
> flower.addEventListener(MouseEvent.ROLL_OVER,jiggle);
>
> function jiggle(e:Event):void
> {
> var timer:Timer=new Timer(2,100);
> timer.addEventListener(TimerEvent.TIMER,shakeBtn);
> timer.start();
> }
>
> function shakeBtn(e:Event)
> {
> flower.main.rotation+=Math.random()*8-4;
> flower.main.x+=Math.random()*8-4;
> flower.main.y+=Math.random()*8-4;
> }
>
> How can I pass mc name ("flower") down to shakeBtn so that I can reuse the
> function
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



--
http://ericd.net
Interactive design and development
___
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] Changing angle for better arrangement in circle

2010-04-21 Thread Nathan Mynarcik
I think you might want to look into Papervision3D to get exactly what you
want.  If not, your math logic is going to have to be crazy to get the
results you are wanting. Your spacing stays the same because you are working
on a 2D scale.  If you use papervision, you might have better luck achieving
your goal.

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of natalia
Vikhtinskaya
Sent: Wednesday, April 21, 2010 11:16 PM
To: Flash Coders List
Subject: Re: [Flashcoders] Changing angle for better arrangement in circle

Red dots I put to show points where items are attached. As you see
space between points are equal. Some items are scaled and space
between them is not equal. That what I try to change. Space should be
equal between each item.

2010/4/21 Nathan Mynarcik :
>
> If you want the dots to be on top of all the items, the dots need to be in
> separate MCs of the items and need to be added to the stage after all the
> other item MCs have been added.
>
>
> Quoting natalia Vikhtinskaya :
>
>> Here is a result
>> http://www.mightybook.com/test/test.html
>> I want they don't overlap each other. Is that possible?
>>
>> 2010/4/22 Matt S. :
>>>
>>> If the objects you  were placing were centered rather than positioned
>>> at 0/0, you could scale them and they would automatically be properly
>>> distanced. There might be other reasons why you cant center them of
>>> course but that would be the quick fix...
>>>
>>> .m
>>>
>>> On Wed, Apr 21, 2010 at 4:16 PM, natalia Vikhtinskaya
>>>  wrote:
>>>>
>>>> Another question about better arrangement in circle.
>>>> If I place items in circle  and scale them like this
>>>> this._x = Math.cos(this.angle) * radiusX + centerX;
>>>>        this._y = Math.sin(this.angle) * radiusY + centerY;
>>>>        var s = (this._y ) /(centerY+radiusY);
>>>>        this._xscale = this._yscale = s*100;
>>>> Is it possible to have equal distance between items? I should change
>>>> angle depending on real scale that they have but I don’t understand
>>>> how to do that.
>>>> Thank you if anybody can explain this mathematics.
>>>>
>>>> ___
>>>> 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



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


Re: [Flashcoders] Changing angle for better arrangement in circle

2010-04-21 Thread Nathan Mynarcik


If you want the dots to be on top of all the items, the dots need to  
be in separate MCs of the items and need to be added to the stage  
after all the other item MCs have been added.



Quoting natalia Vikhtinskaya :


Here is a result
http://www.mightybook.com/test/test.html
I want they don't overlap each other. Is that possible?

2010/4/22 Matt S. :

If the objects you  were placing were centered rather than positioned
at 0/0, you could scale them and they would automatically be properly
distanced. There might be other reasons why you cant center them of
course but that would be the quick fix...

.m

On Wed, Apr 21, 2010 at 4:16 PM, natalia Vikhtinskaya
 wrote:

Another question about better arrangement in circle.
If I place items in circle  and scale them like this
this._x = Math.cos(this.angle) * radiusX + centerX;
       this._y = Math.sin(this.angle) * radiusY + centerY;
       var s = (this._y ) /(centerY+radiusY);
       this._xscale = this._yscale = s*100;
Is it possible to have equal distance between items? I should change
angle depending on real scale that they have but I don’t understand
how to do that.
Thank you if anybody can explain this mathematics.

___
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 & Google

2010-04-20 Thread Nathan Mynarcik
This is true. If for some reason google thinks you are trying to advance your 
rank by wrongful ways (to their discretion) you get flagged. 
Nathan Mynarcik
Interactive Web Developer
nat...@mynarcik.com
254.749.2525
www.mynarcik.com

-Original Message-
From: tom rhodes 
Date: Tue, 20 Apr 2010 14:42:21 
To: Flash Coders List
Subject: Re: [Flashcoders] Flash & Google

as long as what you serve to the bots and as no flash content isn't
different to what gets read by your flash i think it's cool...


On 20 April 2010 14:29, Juan Pablo Califano  wrote:

> Isn't that kind of thing considered "unfair" play and penalized by search
> engines if discovered?
> Cheers
> Juan Pablo Califano
> 2010/4/20 tom rhodes 
>
> > use some server side script to serve up your site, check to see in the
> > headers sent to the server if the request coems from a bot or from a
> > browser, if from a bot, serve up your xml, if from a browser server up
> your
> > site.
> >
> > have a google for  "swfaddress SEO"
> >
> >
> > On 20 April 2010 11:52, Paul Andrews  wrote:
> >
> > > I have a client whose website I developed (something like a year ago)
> in
> > > Flash and the site is totally driven by xml configuration  files. It
> > works
> > > well.
> > >
> > > My client has told me that google has indexed the site, but the google
> > > indexing contains an warning message -  basically the flash site app
> > saying
> > > it was unable to read an xml file.
> > >
> > > I have never encountered the message myself and the site works as
> > expected,
> > > so I guess it's something to do with the google spider or there was
> some
> > > sort of problem when the spider ran.
> > >
> > > Unfortunately the google search result currently makes the site look
> > > broken:
> > >
> > >  "Oops! I think something went wrong! Unable to load website XML from
> > > 'website_config.xml' - loading timed out."
> > >
> > > I'm no google expert, so what's the best remedy to get google to index
> > this
> > > site properly?
> > >
> > > I might be encouraged to write less flippant messages in the future.
> > >
> > > Paul
> > >
> > >
> > > ___
> > > 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] Flash and iThingammybob

2010-04-20 Thread Nathan Mynarcik
Come to think of it, I wonder if you could just make a website for support and 
download of your app. Sell it on the site via Paypal or a shopping cart. Can 
Apple prevent developers from doing this?
Nathan Mynarcik
Interactive Web Developer
nat...@mynarcik.com
254.749.2525
www.mynarcik.com

-Original Message-
From: "Nathan Mynarcik" 
Date: Tue, 20 Apr 2010 12:38:41 
To: Flash Coders List
Subject: Re: [Flashcoders] Flash and iThingammybob

I believe you just can't sell the app on the appstore. You can export and add 
it to any iPhone, its just against their SDK to sell it on iTunes. 


--Original Message--
From: Paul Andrews
Sender: flashcoders-boun...@chattyfig.figleaf.com
To: Flash Coders List
ReplyTo: Flash Coders List
Subject: [Flashcoders] Flash and iThingammybob
Sent: Apr 20, 2010 7:26 AM

Before anyone gets excited, I don't wish to re-ignite the Jobs/Apple 
hatemail (please pick another thread to manifest your anger) - just a 
question about the Apple development stranglehold.

Even if the output from Adobes Flash->Apple conversion doesn't result in 
an officially sanctioned app that can be sold via the appstore, is there 
still an "internal" route to deployment perhaps as a company internal 
app that isn't sold to Joe public. How exactly is the stranglehold 
enforced besides the appstore and official developer agreements?

I'm just curious about the potential use of the conversion for 
prototypes or niche uses.

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


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

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

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


Re: [Flashcoders] Flash and iThingammybob

2010-04-20 Thread Nathan Mynarcik
I believe you just can't sell the app on the appstore. You can export and add 
it to any iPhone, its just against their SDK to sell it on iTunes. 


--Original Message--
From: Paul Andrews
Sender: flashcoders-boun...@chattyfig.figleaf.com
To: Flash Coders List
ReplyTo: Flash Coders List
Subject: [Flashcoders] Flash and iThingammybob
Sent: Apr 20, 2010 7:26 AM

Before anyone gets excited, I don't wish to re-ignite the Jobs/Apple 
hatemail (please pick another thread to manifest your anger) - just a 
question about the Apple development stranglehold.

Even if the output from Adobes Flash->Apple conversion doesn't result in 
an officially sanctioned app that can be sold via the appstore, is there 
still an "internal" route to deployment perhaps as a company internal 
app that isn't sold to Joe public. How exactly is the stranglehold 
enforced besides the appstore and official developer agreements?

I'm just curious about the potential use of the conversion for 
prototypes or niche uses.

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


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

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


RE: [Flashcoders] NoCache XML

2010-04-05 Thread Nathan Mynarcik
The nocache in the SWFObject is so the swf isn't cached.  I also use the
same treatment for the XML that is loaded into the swf.  That along with the
META tags that call for no caching and that does the trick.  I guess for
safety purposes, I could add your script as well.  Might be overkill, but if
it prevents every browser from caching, so be it.

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

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl
DeSaulniers
Sent: Monday, April 05, 2010 8:14 PM
To: Flash Coders List
Subject: Re: [Flashcoders] NoCache XML

Hi Nathan,
Are you adding the no-cache to the html page or to the swfobject that  
loads?
I noticed on your site that you have the no-cache in the swfobject.
Maybe if the no-cache was associated with the html file that the  
swfobject was embedded/placed in, it would work?
I believe, but no proof atm, that the code I supplied will make sure  
nothing in the html will cache. Not the html page nor its contents.
But I can not validate that atm.
JAT

Karl


On Apr 5, 2010, at 6:29 PM, Karl DeSaulniers wrote:

It seems to be working for me, but I do not have an XML being read. I  
put it at the very top. Before any HTML and it makes the page reload  
every time. I tested with different text on the page every time I  
uploaded to the server and it showed. Maybe take the code I supplied  
and try it once? Make sure that php code gets read before anything  
else on the page.
Hth
Gl

Karl

Sent from losPhone

On Apr 5, 2010, at 5:20 PM, "Nathan Mynarcik"   
wrote:

> I know I used the meta tags to control cache and that still didn't  
> fix.
>
> I'm interested to see if this is any different. Please share your  
> findings.
>
> Thanks,
>
>
> Nathan Mynarcik
> Interactive Web Developer
> nat...@mynarcik.com
> 254.749.2525
> www.mynarcik.com
>
> -Original Message-
> From: Karl DeSaulniers 
> Date: Mon, 5 Apr 2010 17:09:09
> To: Flash Coders List
> Subject: Re: [Flashcoders] NoCache XML
>
> Hi there,
> Just thought I'd share some code I found.
> Seems to be a no-cache method that works.
> Nathan, I know you said you figured out your issue,
> but for anyone else looking for a no-cache code, here you go.
>
>  Header( "Cache-Control: no-cache");
> Header( "Cache-Control: must-revalidate");
> ?>
>
> I believe if this php is put before the
>  of your HTML, It will control the headers of the document and will
> not let the page cache.
> I am going to test myself, but has anyone used something like this?
> I want to find a simple solution to this no-cache thing, I am
> thinking I have found it.
> Please let me know if there is an easier way.
> Thanks,
>
> Karl
>
>
> On Mar 31, 2010, at 7:41 PM, Nathan Mynarcik wrote:
>
> Figured out this issue.  The NoCache method worked fine.  I was
> trying to
> use the information before it was set in it's variables.
>
> Thanks Steven and others for their replies!
>
> Nathan Mynarcik
> Interactive Web Developer
> nat...@mynarcik.com
> 254.749.2525
> www.mynarcik.com
>
> -Original Message-
> From: Steven Sacks [mailto:flash...@stevensacks.net]
> Sent: Friday, March 26, 2010 10:45 PM
> To: nat...@mynarcik.com
> Subject: Re: [Flashcoders] NoCache XML
>
> You should use Firebug in Firefox to see what's going on. That or
> Charles.
>
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Karl DeSaulniers
> Design Drumm
> http://designdrumm.com
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Karl DeSaulniers
Design Drumm
http://designdrumm.com

___
Flashcoders mailing 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] NoCache XML

2010-04-05 Thread Nathan Mynarcik
I know I used the meta tags to control cache and that still didn't fix. 

I'm interested to see if this is any different. Please share your findings. 

Thanks,


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

-Original Message-
From: Karl DeSaulniers 
Date: Mon, 5 Apr 2010 17:09:09 
To: Flash Coders List
Subject: Re: [Flashcoders] NoCache XML

Hi there,
Just thought I'd share some code I found.
Seems to be a no-cache method that works.
Nathan, I know you said you figured out your issue,
but for anyone else looking for a no-cache code, here you go.



I believe if this php is put before the
mailto:flash...@stevensacks.net]
Sent: Friday, March 26, 2010 10:45 PM
To: nat...@mynarcik.com
Subject: Re: [Flashcoders] NoCache XML

You should use Firebug in Firefox to see what's going on. That or  
Charles.


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

Karl DeSaulniers
Design Drumm
http://designdrumm.com

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

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


RE: [Flashcoders] NoCache XML

2010-03-31 Thread Nathan Mynarcik
Figured out this issue.  The NoCache method worked fine.  I was trying to
use the information before it was set in it's variables.

Thanks Steven and others for their replies!

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

-Original Message-
From: Steven Sacks [mailto:flash...@stevensacks.net] 
Sent: Friday, March 26, 2010 10:45 PM
To: nat...@mynarcik.com
Subject: Re: [Flashcoders] NoCache XML

You should use Firebug in Firefox to see what's going on. That or Charles.


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


Re: [Flashcoders] What good is a Controller?

2010-03-30 Thread Nathan Mynarcik
It actually is easier than you think. You just have to walk the plank and jump. 
I did, and never looked back. 


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

-Original Message-
From: Karl DeSaulniers 
Date: Tue, 30 Mar 2010 16:55:47 
To: Flash Coders List
Subject: Re: [Flashcoders] What good is a Controller?

Thanks for that Kerry.
I want to learn AS3, I really do, but it takes too much time away  
from making money for me that I find myself missing out. :(
I wish it was easier to make the transition, but then everyone would  
be a AS3 developer, right.

*Sigh*

Best,
Karl


On Mar 30, 2010, at 4:50 PM, Kerry Thompson wrote:

Karl DeSaulniers wrote:

> Or am I the last AS2 developer on the planet and just need to get  
> in line to
> the AS3 3rd period class?

I do recommend AS3, but you're far from the last doing AS2. I just
finished up a 4-month AS2 contract, and last I heard, they were still
looking for contractors who know AS2.

When you have an extensive app or Web site built in AS2, switching to
AS3 is really tough, especially when it's a popular site and expanding
rapidly. There are lots of legacy AS2 gigs out there.

I would still become an AS3 expert. That's where the real action is.
Plus, you can use cool tools like Flex/FlexBuilder/Flashbuilder, and
AS3 is just plain better than AS2.

Cordially,

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

Karl DeSaulniers
Design Drumm
http://designdrumm.com

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

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


Re: [Flashcoders] Error #2032 Stream Error

2010-03-29 Thread Nathan Mynarcik
I'm betting this is your issue:

"https://";

Just a guess.


--Original Message--
From: Lehr, Theodore
Sender: flashcoders-boun...@chattyfig.figleaf.com
To: Flash Coders List
ReplyTo: Flash Coders List
Subject: [Flashcoders] Error #2032 Stream Error
Sent: Mar 29, 2010 9:40 AM

I am working on a closed network... I am trying to load some xml via 
load(new URLRequest("https://..";));

but I am getting Error #2032 Stream Error... I can put the url in a browser and 
I see the xml but for sme reason the player can not load it - any thoughts?

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


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


Re: [Flashcoders] Process issue

2010-03-29 Thread Nathan Mynarcik
Why not call your next function inside the buildXML() function after it is all 
done?


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

-Original Message-
From: "Lehr, Theodore" 
Date: Mon, 29 Mar 2010 08:56:44 
To: Flash Coders List
Subject: RE: [Flashcoders] Process issue

The problem is that the function is taking too long to do that... like I have:

function buildXML(_xml:*):void
{
.
.
buildXML(ixml);
trace("");
}
trace("here");

and it traces to:

here
---
---
---
---
---
---
---
---

I need someway to fnish buildXML before calling another function..



From: flashcoders-boun...@chattyfig.figleaf.com 
[flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of p...@ipauland.com 
[p...@ipauland.com]
Sent: Monday, March 29, 2010 8:44 AM
To: Flash Coders List
Subject: Re: [Flashcoders] Process issue

Generally..


var myXML:XML = XML(something);

buildXML(myXML);
// now all XML is processed
callotherfunction();



function buildXML(xml:XML) {
..
if (something){
  buidlXML(someXML);
}





On 29 March 2010 at 14:13 "Lehr, Theodore"  wrote:

> I have a function that is building some xml through a recursive function...
> and then call another function once the xml is done
>
> how can I tell when it is done being built:
>
> I can not do:
>
> function buildXML() {
>
>
>  buidlXML();
>  callotherfunction();
> }
>
> because that would called to much hmm can not figure this out... the
> buildXML function is taking other XML and canging it to a structure I can
> use
>
> ___
> 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] Recursive and e:Event

2010-03-29 Thread Nathan Mynarcik
Try changing your function to below:


function (parseXML(e:Event = null) {
   ...
   parseXML(ixml);
}


--Original Message--
From: Lehr, Theodore
Sender: flashcoders-boun...@chattyfig.figleaf.com
To: Flash Coders List
ReplyTo: Flash Coders List
Subject: [Flashcoders] Recursive and e:Event
Sent: Mar 29, 2010 6:31 AM

I am having an issue trying to recursively go through some xml...

When the xml was local (i.e. var newXml:XML =  ..;) then a recursive 
function like:

function (parseXML(_xml:*) {
   ...
   parseXML(ixml);
}

worked fine

but when I try to pull it in from another file via:

xmlLoader.load..
xmlLoader.addEventListener. {
   parseXML(e);
}

function (parseXML(e:Event) {
   ...
   parseXML(ixml);
}

It works fine the first time through and then I get an error on the first 
recursive call because ixml is not an e:Event 

I need to find a way to get around this can I call the function without 
e:Event?
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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

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


RE: [Flashcoders] NoCache XML

2010-03-28 Thread Nathan Mynarcik
The XML file is only called once for the user's experience.  On the initial
visit from the user, the XML for the UI of the site is called and then the
XML for the content is called (RSS feed).

If I can't figure this out, I might just set a cookie via JavaScript and
have it clear the contents in -1 days so nothing gets cached from the site.

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

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl
DeSaulniers
Sent: Saturday, March 27, 2010 4:42 PM
To: Flash List
Subject: Re: [Flashcoders] NoCache XML

Just a thought, but maybe setting the variable that holds the XML you  
grab from the server to "null" right before it goes to grab the XML  
every time the page gets called.
That way it isn't holding on to the last XML grabbed?? It might be  
going to grab the xml while that variable already has a value and the  
browser is tripping it to clear the variable
before populating it again, but doesn't have that second call after  
its cleared till you refresh. Kind of a pseudo variable caching. Like  
I said, its just a thought. Not sure if that is even possible.
I am reaching though, I have had similar situations with my PHP files  
not getting variables, so I am interested to see what solution can be  
provided.
Best,

Karl


On Mar 26, 2010, at 8:46 PM, Nathan Mynarcik wrote:

I've tested it in all browsers.

IE, Safari, Opera, Chrome, FireFox

Anything else I don't really care about.  But first tests are in  
chrome and it is doing it in that. IE has been the worse but all work  
after refreshing one or two times.
--Original Message--
From: Steven Sacks
To: Nathan Mynarcik
To: Flash Coders List
Subject: Re: [Flashcoders] NoCache XML
Sent: Mar 26, 2010 8:36 PM

Safari doesn't honor nocache. Safari is a jerk. Are you using Safari?


On 3/26/2010 3:35 PM, Nathan Mynarcik wrote:
> That's similar to what I am doing. I know for a fact that the url  
> doesn't already have a "?" in it.
>
> I have no clue why on some visits, the colors and other xml data is  
> not pulled. Then on a refresh it pulls them.
>
> --Original Message--
> From: Steven Sacks
> To: Nathan Mynarcik
> To: Flash Coders List
> Subject: Re: [Flashcoders] NoCache XML
> Sent: Mar 26, 2010 5:27 PM
>
> It should always work.  Perhaps the url of the xml has a ? already  
> in it?
>
> public function nocache(url:String):String
> {
>   var d:Date = new Date();
>   var nc:String = "nocache=" + d.getTime();
>   if (url.indexOf("?")>  -1) return url + "&" + nc;
>   return url + "?" + nc;
> }
>
>
> On 3/26/2010 2:27 PM, Nathan Mynarcik wrote:
>> Hey everyone,
>>
>> I am loading in an external xml doc via
>>
>> loadXML("url of xml");
>>
>> To prevent browsers from caching the xml, I add at the end of the  
>> url string a Date object like:
>>
>> loadXML("url of xml"+"?nocache="+new Date().getTime());
>>
>> This sometimes works and other times doesn't. The xml is the  
>> backbone to the colors used in the UI of my site which goes black  
>> when the load doesn't work properly.
>>
>> I have tried to add an IOERROREvent function to catch the error  
>> and then supply the url to the load function without the Date  
>> object appended.
>>
>> Is there any checks or different directions I can take to prevent  
>> visitors from sometimes having to refresh until the xml gets  
>> loaded correctly?
>> Nathan Mynarcik
>> Interactive Web Developer
>> nat...@mynarcik.com
>> 254.749.2525
>> www.mynarcik.com
>> ___
>> Flashcoders mailing list
>> Flashcoders@chattyfig.figleaf.com
>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
>
>
> Nathan Mynarcik
> Interactive Web Developer
> nat...@mynarcik.com
> 254.749.2525
> www.mynarcik.com
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>


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

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

Karl DeSaulniers
Design Drumm
http://designdrumm.com

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


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


Re: [Flashcoders] NoCache XML

2010-03-26 Thread Nathan Mynarcik
I've tested it in all browsers. 

IE, Safari, Opera, Chrome, FireFox 

Anything else I don't really care about.  But first tests are in chrome and it 
is doing it in that. IE has been the worse but all work after refreshing one or 
two times. 
--Original Message--
From: Steven Sacks
To: Nathan Mynarcik
To: Flash Coders List
Subject: Re: [Flashcoders] NoCache XML
Sent: Mar 26, 2010 8:36 PM

Safari doesn't honor nocache. Safari is a jerk. Are you using Safari?


On 3/26/2010 3:35 PM, Nathan Mynarcik wrote:
> That's similar to what I am doing. I know for a fact that the url doesn't 
> already have a "?" in it.
>
> I have no clue why on some visits, the colors and other xml data is not 
> pulled. Then on a refresh it pulls them.
>
> --Original Message--
> From: Steven Sacks
> To: Nathan Mynarcik
> To: Flash Coders List
> Subject: Re: [Flashcoders] NoCache XML
> Sent: Mar 26, 2010 5:27 PM
>
> It should always work.  Perhaps the url of the xml has a ? already in it?
>
> public function nocache(url:String):String
> {
>   var d:Date = new Date();
>   var nc:String = "nocache=" + d.getTime();
>   if (url.indexOf("?")>  -1) return url + "&" + nc;
>   return url + "?" + nc;
> }
>
>
> On 3/26/2010 2:27 PM, Nathan Mynarcik wrote:
>> Hey everyone,
>>
>> I am loading in an external xml doc via
>>
>> loadXML("url of xml");
>>
>> To prevent browsers from caching the xml, I add at the end of the url string 
>> a Date object like:
>>
>> loadXML("url of xml"+"?nocache="+new Date().getTime());
>>
>> This sometimes works and other times doesn't. The xml is the backbone to the 
>> colors used in the UI of my site which goes black when the load doesn't work 
>> properly.
>>
>> I have tried to add an IOERROREvent function to catch the error and then 
>> supply the url to the load function without the Date object appended.
>>
>> Is there any checks or different directions I can take to prevent visitors 
>> from sometimes having to refresh until the xml gets loaded correctly?
>> Nathan Mynarcik
>> Interactive Web Developer
>> nat...@mynarcik.com
>> 254.749.2525
>> www.mynarcik.com
>> ___
>> Flashcoders mailing list
>> Flashcoders@chattyfig.figleaf.com
>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
>
>
> Nathan Mynarcik
> Interactive Web Developer
> nat...@mynarcik.com
> 254.749.2525
> www.mynarcik.com
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>


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

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


Re: [Flashcoders] NoCache XML

2010-03-26 Thread Nathan Mynarcik
That's similar to what I am doing. I know for a fact that the url doesn't 
already have a "?" in it.

I have no clue why on some visits, the colors and other xml data is not pulled. 
Then on a refresh it pulls them. 
 
--Original Message--
From: Steven Sacks
To: Nathan Mynarcik
To: Flash Coders List
Subject: Re: [Flashcoders] NoCache XML
Sent: Mar 26, 2010 5:27 PM

It should always work.  Perhaps the url of the xml has a ? already in it?

public function nocache(url:String):String
{
var d:Date = new Date();
var nc:String = "nocache=" + d.getTime();
if (url.indexOf("?") > -1) return url + "&" + nc;
    return url + "?" + nc;
}


On 3/26/2010 2:27 PM, Nathan Mynarcik wrote:
> Hey everyone,
>
> I am loading in an external xml doc via
>
> loadXML("url of xml");
>
> To prevent browsers from caching the xml, I add at the end of the url string 
> a Date object like:
>
> loadXML("url of xml"+"?nocache="+new Date().getTime());
>
> This sometimes works and other times doesn't. The xml is the backbone to the 
> colors used in the UI of my site which goes black when the load doesn't work 
> properly.
>
> I have tried to add an IOERROREvent function to catch the error and then 
> supply the url to the load function without the Date object appended.
>
> Is there any checks or different directions I can take to prevent visitors 
> from sometimes having to refresh until the xml gets loaded correctly?
> Nathan Mynarcik
> Interactive Web Developer
> nat...@mynarcik.com
> 254.749.2525
> www.mynarcik.com
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>


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

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


[Flashcoders] NoCache XML

2010-03-26 Thread Nathan Mynarcik
Hey everyone,

I am loading in an external xml doc via

loadXML("url of xml");

To prevent browsers from caching the xml, I add at the end of the url string a 
Date object like:

loadXML("url of xml"+"?nocache="+new Date().getTime());

This sometimes works and other times doesn't. The xml is the backbone to the 
colors used in the UI of my site which goes black when the load doesn't work 
properly. 

I have tried to add an IOERROREvent function to catch the error and then supply 
the url to the load function without the Date object appended. 

Is there any checks or different directions I can take to prevent visitors from 
sometimes having to refresh until the xml gets loaded correctly?
Nathan Mynarcik
Interactive Web Developer
nat...@mynarcik.com
254.749.2525
www.mynarcik.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Events can be tedious, general thoughts on best practice?

2010-03-26 Thread Nathan Mynarcik
www.lynda.com/home/DisplayCourse.aspx?lpk2=759

Chapter 4


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

-Original Message-
From: "Cor" 
Date: Fri, 26 Mar 2010 17:10:34 
To: 'Flash Coders List'
Subject: RE: [Flashcoders] Events can be tedious,
general thoughts on best practice?

Thanks Jason,

I understand the theory, but have a problem creating a MVC myself.
I don't want to use other frameworks, I want to learn to OOP in Flash and
how to create an MVC from scratch.
I am really looking for some simple, but completely working examples.

Regards
Cor


-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Merrill,
Jason
Sent: vrijdag 26 maart 2010 17:04
To: Flash Coders List
Subject: RE: [Flashcoders] Events can be tedious, general thoughts on best
practice?

In basic MVC, the controller listens to both the model and view for events.
Since Flash doesn't have data binding like Flex has, the model might
dispatch an event when a value changes, and the controller would then tell
the view how to change and might send a value to it.  Also, the view might
dispatch an event that the controller would be listening for, and the
controller might then tell another view or the model (or both) to change.
So the controller controls the view and the model, but the controller does
not get controlled.  

In more advanced patterns and frameworks, you have things like commands
(like in Cairngorm), façades, proxies etc. to also facilitate these
communications.  


Jason Merrill 

Bank of  America  Global Learning 
Learning & Performance Solutions

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






-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Cor
Sent: Friday, March 26, 2010 11:41 AM
To: 'Flash Coders List'
Subject: RE: [Flashcoders] Events can be tedious,general thoughts on best
practice?

Thanks Jason,
I am still investigating/trying to learn the MVC pattern and I noticed the
same handling as far as the model aspect.
So if you can elaborate on that too, it is highly appreciated.

Kind regards,

Cor

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Merrill,
Jason
Sent: vrijdag 26 maart 2010 16:10
To: Flash Coders List
Subject: RE: [Flashcoders] Events can be tedious, general thoughts on best
practice?

I missed the beginning of this thread somehow, but FWIW, FlashDevelop
has an Add > New Event menu option in the project pane when you right
click on a package folder which makes creating custom events a snap.
All you really have to do is enter the static event constants you want
the event to have and you're done. When you select this option, it
auto-generates a file with this in it:

package events 
{
import flash.events.Event;

/**
 * ...
 * @author Jason Merrill
 */
public class NewEvent extends Event 
{

public function NewEvent(type:String,
bubbles:Boolean=false, cancelable:Boolean=false) 
{ 
super(type, bubbles, cancelable);

} 

public override function clone():Event 
{ 
return new NewEvent(type, bubbles, cancelable);
} 

public override function toString():String 
{ 
return formatToString("NewEvent", "type",
"bubbles", "cancelable", "eventPhase"); 
}

}

}


Jason Merrill 

Bank of  America  Global Learning 
Learning & Performance Solutions

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




___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Geen virus gevonden in het binnenkomende-bericht.
Gecontroleerd door AVG - www.avg.com 
Versie: 9.0.791 / Virusdatabase: 271.1.1/2770 - datum van uitgifte: 03/25/10
21:50:00

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

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Geen virus gevonden in het binnenkomende-bericht.
Gecon

Re: [Flashcoders] faster work flows?

2010-03-15 Thread Nathan Mynarcik
I think it depends on the design. Its good to be pixel perfect and pay very 
close attention to detail if your design calls for that. If your layout is more 
fluid I think that this would be a little less tedious than a design that calls 
for the "pixel perfect" look and feel. 

Regardless, the tedious work is sometimes what we as developers get paid for. 
If your rate justifies your time spent on such tasks, then hopefully the 
feeling of needing a better way is less intense. 

Again, personally, it boils down to the design of the layout. Sometimes the 
best way is the tedious way. 


--Original Message--
From: Anthony Pace
Sender: flashcoders-boun...@chattyfig.figleaf.com
To: Flash Coders List
ReplyTo: Flash Coders List
Subject: [Flashcoders] faster work flows?
Sent: Mar 15, 2010 11:19 AM

I currently use a few methods based on who I am working with or if I am 
on my own
0.pure timeline based animation with some simple scripting
1.Positioning by code of imported assets, after taking all x,y data from 
illustrator or flash (one frame or no frames because I am using 
flashdevelop or the flex IDE)
(I wanted to work with catalyst, but it is proving not to be all that 
useful right now; thus, I am toying with the idea of making my own basic 
tool to do something similar for simple code gen purposes.  I have heard 
a lot of hardcore pros talk about how they did this, so I am hoping it 
will work out for me.)
2.frames on the timeline using the flash IDE to position assets; yet, 
this makes doing transitions between frames more difficult.

Is there a faster way?  Right now everything seems so tedious.  Time I 
should be coding is being spent working with the design to figure out 
x,y, so everything is pixel perfect.

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


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

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


Re: [Flashcoders] Fwd: Dynamically superimposing image onto video

2010-03-12 Thread Nathan Mynarcik
Why not just overlay a mc that contains your image on top of the video?


--Original Message--
From: kennethkawam...@gmail.com
Sender: flashcoders-boun...@chattyfig.figleaf.com
To: Flash Coders List
ReplyTo: Flash Coders List
Subject: [Flashcoders] Fwd: Dynamically superimposing image onto video
Sent: Mar 12, 2010 3:47 AM

Anyone???

>>

Just contemplating the strategy for dynamically superimposing an image
onto a video. A good recent example is: http://en.tackfilm.se/

Any ideas to achieve this? (Just the final video rendering bit, you
can leave the file upload etc. ;)

TIA,

Kenneth
--
Kenneth Kawamoto
http://www.materiaprima.co.uk/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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


Re: [Flashcoders] OOP Books (OT)

2010-03-10 Thread Nathan Mynarcik
I second this recommendation from personal experience. Great learning 
experience and can help you with more than just Flash. 

They just recently started doing month by month subscriptions. 


--Original Message--
From: Benny
Sender: flashcoders-boun...@chattyfig.figleaf.com
To: Flash Coders List
ReplyTo: Flash Coders List
Subject: RE: [Flashcoders] OOP Books (OT)
Sent: Mar 10, 2010 1:06 PM

Hi Susan I cannot recommend any OOP book but I can recommend Lynda.com. 
Lynda.com has some great video courses, like
http://www.lynda.com/home/DisplayCourse.aspx?lpk2=759
Which amongst other covers OOP fundamentals and common design patterns.


- Benny

-Oorspronkelijk bericht-
Van: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] Namens Susan Day
Verzonden: woensdag 10 maart 2010 19:29
Aan: Flash Coders List
Onderwerp: Re: [Flashcoders] OOP Books (OT)

On Wed, Mar 10, 2010 at 12:23 PM, Mattheis, Erik (MIN - WSW) <
ematth...@webershandwick.com> wrote:

> I got AS 3 w/Design Patterns right when I delved into AS3 and I found the
> examples too long and complicated to follow. I would not recommend it as
an
> introduction to OOP.
>

Noted. And your thoughts, if any, on The Object-Oriented Thought Process?
Susan
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

__ Informatie van ESET NOD32 Antivirus, versie van database
viruskenmerken 4932 (20100310) __

Het bericht is gecontroleerd door  ESET NOD32 Antivirus.

http://www.eset.com



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


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

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


Re: [Flashcoders] Passing Call To Child

2010-03-10 Thread Nathan Mynarcik
If you are putting the sprite in an MC and then doing mc.name = "myName" it 
should then return the name of the mc. Sprite however does not have the name 
property. 


--Original Message--
From: Susan Day
Sender: flashcoders-boun...@chattyfig.figleaf.com
To: Flash Coders List
ReplyTo: Flash Coders List
Subject: Re: [Flashcoders] Passing Call To Child
Sent: Mar 10, 2010 12:20 PM

On Wed, Mar 10, 2010 at 1:21 PM, kennethkawam...@gmail.com <
kennethkawam...@gmail.com> wrote:

> If you trace e.currentTarget what do you get?
>

[object Sprite]
1

The "1" is from this line, which follows:

trace(e.currentTarget.numChildren);

So lo and behold, apparently currentTarget does indeed have a child (I'm
vindicated!).

So I changed the line which used getChildByName to getChildAt and entered
the value "0" and now all works well. But why didn't getChildByName work?
How can I find the name of the child?
TIA,
Susan
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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

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


Re: [Flashcoders] Apparently Doesn't Check Cache

2010-03-10 Thread Nathan Mynarcik
I actually have experienced the reverse of this issue. Flash caches the dynamic 
content so hard that I have reverted to using no_cache meta tags in my HTML. 
Not to OT the topic, but are meta tags the best way to prevent this? I have 
even though of adding a variable at the end of my dynamic urls with a date 
element so flash would constantly think its a new XML doc to load everytime. 


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

-Original Message-
From: mark.jonk...@comcast.net
Date: Wed, 10 Mar 2010 13:46:08 
To: Flash Coders List
Subject: Re: [Flashcoders] Apparently Doesn't Check Cache

Every request for a file will go back to the server at some level. For example, 
despite the fact that have a file "preloaded' into cache when another request 
is made for the file it will look at the cache then send a request to the 
server to see if the file has changed or whether the file in cache is valid to 
use. If the server returns "use file from cache" then it will use the cached 
file otherwise it will load the "revised" version from the server. 

First questions would then be what is the header returned as part of the 
original file request. Is it no-cache or does it set a very short expiry? Are 
the url's exactly identical or is there any kind of query string associated 
with the url of one request but not the other? This might be walking on thin 
ice here, but can you see the file in the browser's cache? Back in the day, 
when I was doing Director development, there was a period of time that elapsed 
from when "Shockwave" loaded the file and the time that it went into the 
browser's cache. The file was always available within the Shockwave environment 
but it was immediately visible in the browser's cache. Don't know if a similar 
situation arises with Flash where the content is loaded but hasn't yet been 
written into the browser's cache. 

I'd honestly start out by using something like Internet Explorer where you can 
easily browse the cached files -> blow away the cache and then load your swf 
preloader app. See if the files are in cache. If they are cool, note the URL 
associated with them. Then I'd go back and clear the cache again and re-run the 
app with the new window code in place. I'd run it through to completion and see 
if there are two copies of said image in cache one from the swf preloader and 
the other from the new window. If so it would imply that they must be seeing 
slightly different urls. If not then I'd be looking for no cache headers. 
Concurrent to this I'd be using something like Fiddler (IE), Charles or Tamper 
Data or similar app that will allow you to see the requests and the responses 
and be able to examine the headers and check for no-cache or very short expiry 
on the headers. 

Theoretically what you are doing should work, I can't see how placing the image 
on stage would make any difference. Everything is always a possibility but 
using a test strategy that stepwise verifies what is getting written into cache 
and what the request are for the files is a good first step in eliminating many 
issues. 

Sincerely 
Mark R. Jonkman 
___
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] calender component

2010-03-06 Thread Nathan Mynarcik
It's not free but...

http://www.flabell.com/flash/Events-Tour-Calendar-271

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Bassam M
Sent: Saturday, March 06, 2010 1:00 AM
To: Flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] calender component

Hi guys
anyone know where can I get free calender event component

I really need it

Thanks
Bassam
___
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] addChildAt

2010-03-05 Thread Nathan Mynarcik
Does your parent sprite have 6 displayobjects in it? If the 6th position is not 
available, you can't add it to that "layer". 

If it works when adding to the stage, you must have atleast 6 displayobjects on 
the stage. 


--Original Message--
From: Lehr, Theodore
Sender: flashcoders-boun...@chattyfig.figleaf.com
To: Flash Coders List
ReplyTo: Flash Coders List
Subject: [Flashcoders] addChildAt
Sent: Mar 5, 2010 7:54 AM

Why can I (seemingly) not do:

parentSprite.addChildAt(childSprite,6);

seems like I can only do:

parentSprite.addChild(childSprite)

or

addChildAt(childSprite,6);
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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


Re: [Flashcoders] Re: Pop up window locally

2010-03-03 Thread Nathan Mynarcik
When you test locally, are you testing your swf embedded in an HTML file? Or 
are you testing it from when Flash shows you the published swf?


--Original Message--
From: natalia Vikhtinskaya
Sender: flashcoders-boun...@chattyfig.figleaf.com
To: Flash Coders List
ReplyTo: Flash Coders List
Subject: [Flashcoders] Re: Pop up window locally
Sent: Mar 3, 2010 11:58 AM

But if locally I test script like
getURL 
("javascript:NewWindow=window.open('http://www.somename.com/key16.html','newWin','width=400,height=300,left=0,top=0,toolbar=No,location=No,scrollbars=No,status=No,resizable=No,fullscreen=No');void(0);");
this script  works in IE and opens pop up window


2010/3/3 natalia Vikhtinskaya :
> Hi
> I cannot find solution for this small problem
> Simple code
> getURL 
> ("javascript:NewWindow=window.open('key16.html','newWin','width=400,height=300,left=0,top=0,toolbar=No,location=No,scrollbars=No,status=No,resizable=No,fullscreen=No');void(0);");
>
>
> That opens pop up window when I test it  from the server and does not
> open pop up window when I test it locally on computer.
> Thanks for any help.
>

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


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

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


Re: [Flashcoders] Draw Outline Slowly

2010-03-03 Thread Nathan Mynarcik
Draw it as the starting position and then use its scale properties to animate 
that it is drawing. 

For example, if you draw a thin rectangle that is 1px in height, then animate 
its scaleY prop to a larger number, it looks like its drawing the rectangle as 
slow as your tween is. 


--Original Message--
From: Victor Subervi
Sender: flashcoders-boun...@chattyfig.figleaf.com
To: Flash Coders List
ReplyTo: Flash Coders List
Subject: [Flashcoders] Draw Outline Slowly
Sent: Mar 3, 2010 8:43 AM

Hi;
How do I draw a shape on stage slowly, over time?
TIA,
V
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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


Re: [Flashcoders] web video

2010-03-02 Thread Nathan Mynarcik
Or, you could trigger a timer when it starts and when it hits 45 seconds call 
your function. 

Are your users pressing play or does it start automatically?


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

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


Regards,


Gus

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


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


  1   2   >