[Flashcoders] F4V progressive download?

2011-04-01 Thread J.C. Berry
Hello all,
I have googled this for the last few hours and have not found a full answer.
I have a progressive download player and it works fine with FLV's, but when
I encode my video to F4V's I cannot seem to get any video loading into the
page. I published to FP10 from CS5 (and video from CS5 Media Encoder). Any
help would be greatly appreciated!

-- 
J.C. Berry, M.A.
UI Developer
619.306.1712(m)
jcharlesbe...@gmail.com
portfolio: http://Client:maz...@www.mindarc.com


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

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


[Flashcoders] Flash-to-HTML 5 conversion tool released

2011-03-08 Thread J.C. Berry
http://www.pcworld.com/businesscenter/article/221578/adobe_launches_flashtohtml5_conversion_tool.html
For Webkit currently.

-- 
J.C. Berry, M.A.
UI Developer
619.306.1712(m)
jcharlesbe...@gmail.com
portfolio: http://Client:maz...@www.mindarc.com


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

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


[Flashcoders] Re: Video player fullscreening/quality

2011-02-18 Thread J.C. Berry
I am willing to pay a few hundred for successful rewriting of this.

On Thu, Feb 17, 2011 at 10:05 AM, J.C. Berry wrote:

> Correction - below in bold
>
> On Thu, Feb 17, 2011 at 9:57 AM, J.C. Berry wrote:
>
>> Hello all,
>> I am willing to pay for successful help with this. I am working on a Video
>> player for our Brightcove videos and am having a problem. If I specify the
>> height and width of the video then the initial presentation is fine, but the
>> fullscreen resolution is bad, as is the presentation of the player upon
>> returning to non-fullscreen view. However, if I do not specify the height
>> and width then the player first appears with dimensions around 1.5x1.5
>> inches or so, but then on fullscreening the resolution looks fine, *but
>> the presentation of the player upon returning to non-fullscreen view still
>> shows the 1.5x1.5 player*. You can see an under construction version
>> here:
>>
>>
>> http://www.mindarc.com/staging/simple_flash.html<http://www.mindarc.com/staging/simple_flash2.html>
>>
>> Some fullscreening code that I have been attempting to use here.
>>
>> private function onStageResize(event:Event):void
>> {
>> if (stage.displayState == StageDisplayState.FULL_SCREEN)
>> {
>> originalParent = player.parent;
>> originalIndex = originalParent.getChildIndex(player);
>> originalX = player.x;
>> originalY = player.y;
>> stage.addChild(player);
>> //stage.scaleMode = StageScaleMode.NO_SCALE;
>> //stage.align = StageAlign.TOP_LEFT;
>> //stage.fullScreenSourceRect = new
>> Rectangle(20,110,1280,800);
>> player.x = 0;
>> player.y = 0;
>> //player.width = 588;
>> //player.height = 410;
>> isFullScreen = true;
>> } else if (isFullScreen){//back to reg view
>> //stage.scaleMode = StageScaleMode.NO_SCALE;
>> //stage.align = StageAlign.TOP_LEFT;
>> originalParent.addChildAt(player, originalIndex);
>> //player.width = 478;
>> //player.height = 269;
>> player.x = originalX;
>> player.y = originalY;
>> isFullScreen = false;
>> //stage.fullScreenSourceRect = new
>> Rectangle(0,110,588,410);
>> //stage.fullScreenSourceRect = new
>> Rectangle(0,97,478,269);
>> }
>> }
>>
>> Thanks much in advance.
>>
>> --
>> J.C. Berry, M.A.
>> UI Developer
>> <619.306.1712>619.306.1712(m)
>> jcharlesbe...@gmail.com
>> portfolio: http://Client:maz...@www.mindarc.com
>>
>> 
>>
>> This E-mail is covered by the Electronic Communications Privacy Act, 18
>> U.S.C. ?? 2510-2521 and is legally privileged. This information is
>> confidential information and is intended only for the use of the individual
>> or entity named above. If the reader of this message is not the intended
>> recipient, you are hereby notified that any dissemination, distribution or
>> copying of this communication is strictly prohibited.
>>
>> 
>>
>
>
>
> --
> J.C. Berry, M.A.
> UI Developer
> 619.306.1712(m)
> jcharlesbe...@gmail.com
> portfolio: http://Client:maz...@www.mindarc.com
>
> 
>
> This E-mail is covered by the Electronic Communications Privacy Act, 18
> U.S.C. ?? 2510-2521 and is legally privileged. This information is
> confidential information and is intended only for the use of the individual
> or entity named above. If the reader of this message is not the intended
> recipient, you are hereby notified that any dissemination, distribution or
> copying of this communication is strictly prohibited.
>
> 
>



-- 
J.C. Berry, M.A.
UI Developer
619.306.1712(m)
jcharlesbe...@gmail.com
portfolio: http://Client:maz...@www.mindarc.com
---

[Flashcoders] Re: Video player fullscreening/quality

2011-02-17 Thread J.C. Berry
Correction - below in bold

On Thu, Feb 17, 2011 at 9:57 AM, J.C. Berry  wrote:

> Hello all,
> I am willing to pay for successful help with this. I am working on a Video
> player for our Brightcove videos and am having a problem. If I specify the
> height and width of the video then the initial presentation is fine, but the
> fullscreen resolution is bad, as is the presentation of the player upon
> returning to non-fullscreen view. However, if I do not specify the height
> and width then the player first appears with dimensions around 1.5x1.5
> inches or so, but then on fullscreening the resolution looks fine, *but
> the presentation of the player upon returning to non-fullscreen view still
> shows the 1.5x1.5 player*. You can see an under construction version here:
>
> http://www.mindarc.com/staging/simple_flash.html<http://www.mindarc.com/staging/simple_flash2.html>
>
> Some fullscreening code that I have been attempting to use here.
>
> private function onStageResize(event:Event):void
> {
> if (stage.displayState == StageDisplayState.FULL_SCREEN)
> {
> originalParent = player.parent;
> originalIndex = originalParent.getChildIndex(player);
> originalX = player.x;
> originalY = player.y;
> stage.addChild(player);
> //stage.scaleMode = StageScaleMode.NO_SCALE;
> //stage.align = StageAlign.TOP_LEFT;
> //stage.fullScreenSourceRect = new
> Rectangle(20,110,1280,800);
> player.x = 0;
> player.y = 0;
> //player.width = 588;
> //player.height = 410;
> isFullScreen = true;
> } else if (isFullScreen){//back to reg view
> //stage.scaleMode = StageScaleMode.NO_SCALE;
> //stage.align = StageAlign.TOP_LEFT;
> originalParent.addChildAt(player, originalIndex);
> //player.width = 478;
> //player.height = 269;
> player.x = originalX;
> player.y = originalY;
> isFullScreen = false;
> //stage.fullScreenSourceRect = new
> Rectangle(0,110,588,410);
>         //stage.fullScreenSourceRect = new Rectangle(0,97,478,269);
> }
> }
>
> Thanks much in advance.
>
> --
> J.C. Berry, M.A.
> UI Developer
> 619.306.1712(m)
> jcharlesbe...@gmail.com
> portfolio: http://Client:maz...@www.mindarc.com
>
> 
>
> This E-mail is covered by the Electronic Communications Privacy Act, 18
> U.S.C. ?? 2510-2521 and is legally privileged. This information is
> confidential information and is intended only for the use of the individual
> or entity named above. If the reader of this message is not the intended
> recipient, you are hereby notified that any dissemination, distribution or
> copying of this communication is strictly prohibited.
>
> 
>



-- 
J.C. Berry, M.A.
UI Developer
619.306.1712(m)
jcharlesbe...@gmail.com
portfolio: http://Client:maz...@www.mindarc.com


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

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


[Flashcoders] Video player fullscreening/quality

2011-02-17 Thread J.C. Berry
Hello all,
I am willing to pay for successful help with this. I am working on a Video
player for our Brightcove videos and am having a problem. If I specify the
height and width of the video then the initial presentation is fine, but the
fullscreen resolution is bad, as is the presentation of the player upon
returning to non-fullscreen view. However, if I do not specify the height
and width then the player first appears with dimensions around 1.5x1.5
inches or so, but then on fullscreening the resolution looks fine, as does
the presentation of the player upon returning to non-fullscreen view. You
can see an under construction version here:

http://www.mindarc.com/staging/simple_flash.html<http://www.mindarc.com/staging/simple_flash2.html>

Some fullscreening code that I have been attempting to use here.

private function onStageResize(event:Event):void
{
if (stage.displayState == StageDisplayState.FULL_SCREEN)
{
originalParent = player.parent;
originalIndex = originalParent.getChildIndex(player);
originalX = player.x;
originalY = player.y;
stage.addChild(player);
//stage.scaleMode = StageScaleMode.NO_SCALE;
//stage.align = StageAlign.TOP_LEFT;
//stage.fullScreenSourceRect = new
Rectangle(20,110,1280,800);
player.x = 0;
player.y = 0;
//player.width = 588;
//player.height = 410;
isFullScreen = true;
} else if (isFullScreen){//back to reg view
//stage.scaleMode = StageScaleMode.NO_SCALE;
//stage.align = StageAlign.TOP_LEFT;
originalParent.addChildAt(player, originalIndex);
//player.width = 478;
//player.height = 269;
player.x = originalX;
player.y = originalY;
isFullScreen = false;
//stage.fullScreenSourceRect = new Rectangle(0,110,588,410);
//stage.fullScreenSourceRect = new Rectangle(0,97,478,269);
}
}

Thanks much in advance.

-- 
J.C. Berry, M.A.
UI Developer
619.306.1712(m)
jcharlesbe...@gmail.com
portfolio: http://Client:maz...@www.mindarc.com


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

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


Re: [Flashcoders] Help with addChild

2010-07-16 Thread J.C. Berry
OK thanks!

On Fri, Jul 16, 2010 at 3:24 PM, Karl DeSaulniers wrote:

> Hi JC,
> I was speaking of my code I had a while ago and it was also in AS2,
> but I had something like..
>
> var newArray:Array = new Array();
>
> and had to switch it to..
>
> var newArray = new Array();
>
> for it to work at all.
> May have been something in my code somewhere else
> that didn't like that strong typing of the array.
> Not completely sure why that worked, was just glad it worked finally after
> staring at it for many hrs. :)
> I did not test your code though, sry. Merely a suggestion to try.
>
> Karl
>
>
> On Jul 16, 2010, at 5:15 PM, J.C. Berry wrote:
>
>  Hey thanks, Karl, but did you say you tested that and it worked?
>>
>> On Fri, Jul 16, 2010 at 2:59 PM, Karl DeSaulniers > >wrote:
>>
>>  Hi JC,
>>> I think this should be
>>>
>>> var myPopoutObj = new myPopout(e.target,this.btnNum,
>>>
>>> Per his example. Not positive if it matters, but I have had experience
>>> with strong typing voiding out an array and when I took off the :Array it
>>> worked.
>>> Not sure why. Just a thought.
>>>
>>>
>>> Karl
>>>
>>>
>>>
>>> On Jul 16, 2010, at 4:49 PM, J.C. Berry wrote:
>>>
>>>  Didn't I try that with
>>>
>>>> var myPopoutObj:myPopout = new myPopout(e.target,this.btnNum,
>>>> this.cityList);
>>>> addChild(myPopoutObj);//Does not work either
>>>>
>>>> ? Help to be appreciated!
>>>>
>>>>
>>>>
>>>> On Fri, Jul 16, 2010 at 2:13 PM, Mattheis, Erik (MIN-WSW) <
>>>> ematth...@webershandwick.com> wrote:
>>>>
>>>>  If you're creating myPopout from within the document class or any other
>>>>
>>>>> class that has been added to the stage, you would say
>>>>>
>>>>> _myPopout = new myPopout();
>>>>> addChild(_myPopout);
>>>>>
>>>>> _ _ _
>>>>> Erik Mattheis
>>>>> Senior Web Developer
>>>>> Minneapolis
>>>>> T  952 346 6610
>>>>> C 612 377 2272
>>>>>
>>>>> Weber Shandwick
>>>>> Advocacy starts here.
>>>>>
>>>>> PRWeek Global Agency Report Card 2009 - Gold Medal Winner
>>>>> The Holmes Report Global Agency of the Year
>>>>> PR News Agency of the Year
>>>>>
>>>>>
>>>>> -Original Message-
>>>>> From: flashcoders-boun...@chattyfig.figleaf.com [mailto:
>>>>> flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of J.C. Berry
>>>>> Sent: Friday, July 16, 2010 3:14 PM
>>>>> To: Flash Coders List
>>>>> Subject: Re: [Flashcoders] Help with addChild
>>>>>
>>>>> public function initPopout(stageBtn,btnNum,
>>>>> cityList){
>>>>>  if(btnNum < 25){
>>>>>  trace(this);
>>>>>  var popInstance:Tba = new Tba();
>>>>>  popInstance.x = 10;
>>>>>  popInstance.y = 10;
>>>>>  popInstance.name = 'cityPopout'+btnNum+'_mc';
>>>>>  popInstance.alpha = 1;
>>>>>  addChild(popInstance);//no error or result
>>>>>
>>>>> Yes, the last line in my "other class" (addChild(popInstance);)  adds
>>>>> the
>>>>> Tba instance, but it only works if I use one of the buttons on stage.
>>>>> How
>>>>> do
>>>>> I add a class (myPopout) to the stage?
>>>>>
>>>>>
>>>>> On Fri, Jul 16, 2010 at 1:03 PM, Mattheis, Erik (MIN-WSW) <
>>>>> ematth...@webershandwick.com> wrote:
>>>>>
>>>>>  I'd guess your "other class" is not in the display list. Do you say
>>>>>
>>>>>> addChild(OtherClass) anywhere?
>>>>>>
>>>>>> _ _ _
>>>>>> Erik Mattheis
>>>>>> Senior Web Developer
>>>>>> Minneapolis
>>>>>> T  952 346 6610
>>>>>> C 612 377 2272
>>>>>>
>>>>>> Weber Shandwick
>>>>>> Advocacy starts here.
>>>>>>
>>>>>> PRWeek Global Agency Report Card

Re: [Flashcoders] Help with addChild

2010-07-16 Thread J.C. Berry
Hey thanks, Karl, but did you say you tested that and it worked?

On Fri, Jul 16, 2010 at 2:59 PM, Karl DeSaulniers wrote:

> Hi JC,
> I think this should be
>
> var myPopoutObj = new myPopout(e.target,this.btnNum,
>
> Per his example. Not positive if it matters, but I have had experience
> with strong typing voiding out an array and when I took off the :Array it
> worked.
> Not sure why. Just a thought.
>
>
> Karl
>
>
>
> On Jul 16, 2010, at 4:49 PM, J.C. Berry wrote:
>
>  Didn't I try that with
>> var myPopoutObj:myPopout = new myPopout(e.target,this.btnNum,
>> this.cityList);
>> addChild(myPopoutObj);//Does not work either
>>
>> ? Help to be appreciated!
>>
>>
>>
>> On Fri, Jul 16, 2010 at 2:13 PM, Mattheis, Erik (MIN-WSW) <
>> ematth...@webershandwick.com> wrote:
>>
>>  If you're creating myPopout from within the document class or any other
>>> class that has been added to the stage, you would say
>>>
>>> _myPopout = new myPopout();
>>> addChild(_myPopout);
>>>
>>> _ _ _
>>> Erik Mattheis
>>> Senior Web Developer
>>> Minneapolis
>>> T  952 346 6610
>>> C 612 377 2272
>>>
>>> Weber Shandwick
>>> Advocacy starts here.
>>>
>>> PRWeek Global Agency Report Card 2009 - Gold Medal Winner
>>> The Holmes Report Global Agency of the Year
>>> PR News Agency of the Year
>>>
>>>
>>> -Original Message-
>>> From: flashcoders-boun...@chattyfig.figleaf.com [mailto:
>>> flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of J.C. Berry
>>> Sent: Friday, July 16, 2010 3:14 PM
>>> To: Flash Coders List
>>> Subject: Re: [Flashcoders] Help with addChild
>>>
>>> public function initPopout(stageBtn,btnNum,
>>> cityList){
>>>   if(btnNum < 25){
>>>   trace(this);
>>>   var popInstance:Tba = new Tba();
>>>   popInstance.x = 10;
>>>   popInstance.y = 10;
>>>   popInstance.name = 'cityPopout'+btnNum+'_mc';
>>>   popInstance.alpha = 1;
>>>   addChild(popInstance);//no error or result
>>>
>>> Yes, the last line in my "other class" (addChild(popInstance);)  adds the
>>> Tba instance, but it only works if I use one of the buttons on stage. How
>>> do
>>> I add a class (myPopout) to the stage?
>>>
>>>
>>> On Fri, Jul 16, 2010 at 1:03 PM, Mattheis, Erik (MIN-WSW) <
>>> ematth...@webershandwick.com> wrote:
>>>
>>>  I'd guess your "other class" is not in the display list. Do you say
>>>> addChild(OtherClass) anywhere?
>>>>
>>>> _ _ _
>>>> Erik Mattheis
>>>> Senior Web Developer
>>>> Minneapolis
>>>> T  952 346 6610
>>>> C 612 377 2272
>>>>
>>>> Weber Shandwick
>>>> Advocacy starts here.
>>>>
>>>> PRWeek Global Agency Report Card 2009 - Gold Medal Winner
>>>> The Holmes Report Global Agency of the Year
>>>> PR News Agency of the Year
>>>>
>>>>
>>>> -Original Message-
>>>> From: flashcoders-boun...@chattyfig.figleaf.com [mailto:
>>>> flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of J.C. Berry
>>>> Sent: Friday, July 16, 2010 2:40 PM
>>>> To: Flash Coders List
>>>> Subject: Re: [Flashcoders] Help with addChild
>>>>
>>>>  From separate class:
>>>>>
>>>> var myPopout:myPopout = new
>>>> myPopout(e.target,this.btnNum,this.cityList);
>>>> //Calls below
>>>>
>>>>  From other class:
>>>>>
>>>>
>>>> public function myPopout(stageBtn,btnNum,cityList){//constructor
>>>>   this.btnNum = btnNum;
>>>>   this.cityList = cityList;
>>>>   this.stageBtn = stageBtn;
>>>>   initPopout(stageBtn,btnNum,cityList);
>>>>   }
>>>>
>>>> public function initPopout(stageBtn,btnNum,cityList){
>>>>   if(btnNum < 25){
>>>>   trace(this);
>>>>   var popInstance:Tba = new Tba();
>>>>   popInstance.x = 10;
>>>>   popInstance.y = 10;
>>>>   popInstance.name = 'cityPopout'

Re: [Flashcoders] Help with addChild

2010-07-16 Thread J.C. Berry
Didn't I try that with
var myPopoutObj:myPopout = new myPopout(e.target,this.btnNum,
this.cityList);
addChild(myPopoutObj);//Does not work either

? Help to be appreciated!



On Fri, Jul 16, 2010 at 2:13 PM, Mattheis, Erik (MIN-WSW) <
ematth...@webershandwick.com> wrote:

> If you're creating myPopout from within the document class or any other
> class that has been added to the stage, you would say
>
> _myPopout = new myPopout();
> addChild(_myPopout);
>
> _ _ _
> Erik Mattheis
> Senior Web Developer
> Minneapolis
> T  952 346 6610
> C 612 377 2272
>
> Weber Shandwick
> Advocacy starts here.
>
> PRWeek Global Agency Report Card 2009 - Gold Medal Winner
> The Holmes Report Global Agency of the Year
> PR News Agency of the Year
>
>
> -Original Message-
> From: flashcoders-boun...@chattyfig.figleaf.com [mailto:
> flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of J.C. Berry
> Sent: Friday, July 16, 2010 3:14 PM
> To: Flash Coders List
> Subject: Re: [Flashcoders] Help with addChild
>
> public function initPopout(stageBtn,btnNum,
> cityList){
>if(btnNum < 25){
>trace(this);
>var popInstance:Tba = new Tba();
>popInstance.x = 10;
>popInstance.y = 10;
>popInstance.name = 'cityPopout'+btnNum+'_mc';
>popInstance.alpha = 1;
>addChild(popInstance);//no error or result
>
> Yes, the last line in my "other class" (addChild(popInstance);)  adds the
> Tba instance, but it only works if I use one of the buttons on stage. How
> do
> I add a class (myPopout) to the stage?
>
>
> On Fri, Jul 16, 2010 at 1:03 PM, Mattheis, Erik (MIN-WSW) <
> ematth...@webershandwick.com> wrote:
>
> > I'd guess your "other class" is not in the display list. Do you say
> > addChild(OtherClass) anywhere?
> >
> > _ _ _
> > Erik Mattheis
> > Senior Web Developer
> > Minneapolis
> > T  952 346 6610
> > C 612 377 2272
> >
> > Weber Shandwick
> > Advocacy starts here.
> >
> > PRWeek Global Agency Report Card 2009 - Gold Medal Winner
> > The Holmes Report Global Agency of the Year
> > PR News Agency of the Year
> >
> >
> > -Original Message-
> > From: flashcoders-boun...@chattyfig.figleaf.com [mailto:
> > flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of J.C. Berry
> > Sent: Friday, July 16, 2010 2:40 PM
> > To: Flash Coders List
> > Subject: Re: [Flashcoders] Help with addChild
> >
> > >From separate class:
> > var myPopout:myPopout = new myPopout(e.target,this.btnNum,this.cityList);
> > //Calls below
> >
> > >From other class:
> >
> > public function myPopout(stageBtn,btnNum,cityList){//constructor
> >this.btnNum = btnNum;
> >this.cityList = cityList;
> >this.stageBtn = stageBtn;
> >initPopout(stageBtn,btnNum,cityList);
> >}
> >
> > public function initPopout(stageBtn,btnNum,cityList){
> >if(btnNum < 25){
> >trace(this);
> >var popInstance:Tba = new Tba();
> >popInstance.x = 10;
> >popInstance.y = 10;
> >popInstance.name = 'cityPopout'+btnNum+'_mc';
> >popInstance.alpha = 1;
> >addChild(popInstance);//no error or result
> >
> > So here it only works if I use stageBtn.addChild(popInstance)
> >
> >
> >
> >
> >
> > On Fri, Jul 16, 2010 at 12:33 PM, Mattheis, Erik (MIN-WSW) <
> > ematth...@webershandwick.com> wrote:
> >
> > > Yes, more code please.
> > >
> > > _ _ _
> > > Erik Mattheis
> > > Senior Web Developer
> > > Minneapolis
> > > T  952 346 6610
> > > C 612 377 2272
> > >
> > > Weber Shandwick
> > > Advocacy starts here.
> > >
> > > PRWeek Global Agency Report Card 2009 - Gold Medal Winner
> > > The Holmes Report Global Agency of the Year
> > > PR News Agency of the Year
> > >
> > >
> > > -Original Message-
> > > From: flashcoders-boun...@chattyfig.figleaf.com [mailto:
> > > flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of J.C. Berry
> > > Sent: Friday, July 16, 2010 2:08 PM
> > > To: Flash Coders List
> > > Subject: Re: [Flashcoders] Help with addChild
> > >
> > > You are right. But do you know what it c

Re: [Flashcoders] Help with addChild

2010-07-16 Thread J.C. Berry
public function initPopout(stageBtn,btnNum,
cityList){
if(btnNum < 25){
trace(this);
var popInstance:Tba = new Tba();
popInstance.x = 10;
popInstance.y = 10;
popInstance.name = 'cityPopout'+btnNum+'_mc';
popInstance.alpha = 1;
addChild(popInstance);//no error or result

Yes, the last line in my "other class" (addChild(popInstance);)  adds the
Tba instance, but it only works if I use one of the buttons on stage. How do
I add a class (myPopout) to the stage?


On Fri, Jul 16, 2010 at 1:03 PM, Mattheis, Erik (MIN-WSW) <
ematth...@webershandwick.com> wrote:

> I'd guess your "other class" is not in the display list. Do you say
> addChild(OtherClass) anywhere?
>
> _ _ _
> Erik Mattheis
> Senior Web Developer
> Minneapolis
> T  952 346 6610
> C 612 377 2272
>
> Weber Shandwick
> Advocacy starts here.
>
> PRWeek Global Agency Report Card 2009 - Gold Medal Winner
> The Holmes Report Global Agency of the Year
> PR News Agency of the Year
>
>
> -Original Message-
> From: flashcoders-boun...@chattyfig.figleaf.com [mailto:
> flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of J.C. Berry
> Sent: Friday, July 16, 2010 2:40 PM
> To: Flash Coders List
> Subject: Re: [Flashcoders] Help with addChild
>
> >From separate class:
> var myPopout:myPopout = new myPopout(e.target,this.btnNum,this.cityList);
> //Calls below
>
> >From other class:
>
> public function myPopout(stageBtn,btnNum,cityList){//constructor
>this.btnNum = btnNum;
>this.cityList = cityList;
>this.stageBtn = stageBtn;
>initPopout(stageBtn,btnNum,cityList);
>}
>
> public function initPopout(stageBtn,btnNum,cityList){
>if(btnNum < 25){
>trace(this);
>var popInstance:Tba = new Tba();
>popInstance.x = 10;
>popInstance.y = 10;
>popInstance.name = 'cityPopout'+btnNum+'_mc';
>popInstance.alpha = 1;
>addChild(popInstance);//no error or result
>
> So here it only works if I use stageBtn.addChild(popInstance)
>
>
>
>
>
> On Fri, Jul 16, 2010 at 12:33 PM, Mattheis, Erik (MIN-WSW) <
> ematth...@webershandwick.com> wrote:
>
> > Yes, more code please.
> >
> > _ _ _
> > Erik Mattheis
> > Senior Web Developer
> > Minneapolis
> > T  952 346 6610
> > C 612 377 2272
> >
> > Weber Shandwick
> > Advocacy starts here.
> >
> > PRWeek Global Agency Report Card 2009 - Gold Medal Winner
> > The Holmes Report Global Agency of the Year
> > PR News Agency of the Year
> >
> >
> > -Original Message-
> > From: flashcoders-boun...@chattyfig.figleaf.com [mailto:
> > flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of J.C. Berry
> > Sent: Friday, July 16, 2010 2:08 PM
> > To: Flash Coders List
> > Subject: Re: [Flashcoders] Help with addChild
> >
> > You are right. But do you know what it could be, Henrik? Do you need to
> see
> > some more code?
> >
> > On Fri, Jul 16, 2010 at 1:34 AM, Henrik Andersson  > >wrote:
> >
> > > Deepanjan Das wrote:
> > >
> > >> Hi,
> > >> I think the stage has not yet been initiated, hence the addChild is
> not
> > >> working.
> > >> Try to get hold of the stage first and then so an addChild.
> > >>
> > >
> > > While that is indeed a common problem, it is not the current problem.
> He
> > is
> > > adding to the main timeline, not the stage.
> > >
> > > ___
> > > Flashcoders mailing list
> > > Flashcoders@chattyfig.figleaf.com
> > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> > >
> >
> >
> >
> > --
> > J.C. Berry, M.A.
> > UI Developer
> > 619.306.1712(m)
> > jcharlesbe...@gmail.com
> > portfolio: http://Client:maz...@www.mindarc.com
> >
> >
> 
> >
> > This E-mail is covered by the Electronic Communications Privacy Act, 18
> > U.S.C. ?? 2510-2521 and is legally privileged. This information is
> > confidential information and is intended only for the use of the
> individual
> > or entity named above. If the reader of this message is not the i

Re: [Flashcoders] Help with addChild

2010-07-16 Thread J.C. Berry
MYMAP DOC CLASS->
package{
import fl.controls.TextArea;
import fl.containers.ScrollPane;
import fl.controls.Button;
import flash.display.*;
import flash.events.Event;
import flash.events.MouseEvent;
import flash.net.URLRequest;
import flash.net.URLLoader;
import fl.managers.StyleManager;

public class myMap extends MovieClip{
public var cityList:XMLList;

public function myMap(){
/*for each(var num:String in args){...args
trace(num);
}*/
var myXMLLoaderReq:URLRequest = new URLRequest('cities.xml');
var myXMLLoader:URLLoader = new URLLoader(myXMLLoaderReq);
//XML.ignoreWhitespace = false;
myXMLLoader.addEventListener(Event.COMPLETE, xmlLoaded);
}
public function xmlLoaded(e:Event){
var myBtnArr:Array = [];
var myXML:XML = new XML(e.target.data);
cityList = new XMLList(myXML.city);
var numOfCities:Number = cityList.length();
for(var i=0;i
package{
import flash.display.*;
import flash.events.Event;
import flash.events.MouseEvent;
import flash.text.TextField;
import flash.text.TextFormat;
import fl.controls.Button;

public class myButtonInstantor extends MovieClip{
public var btnNum:Number;
public var btnName:String;
public var cityList:XMLList;
public function myButtonInstantor(){
}
public function getButtonInstance(obj,btnNum,cityList):MovieClip{
this.btnNum = btnNum;
this.cityList = cityList;
obj.gotoAndStop(1);

obj.addEventListener(MouseEvent.MOUSE_OVER,myBtnRollOverHandler);
obj.addEventListener(MouseEvent.MOUSE_OUT,myBtnRollOutHandler);
return this;
}
private function myBtnRollOutHandler(e:Event):void{
e.target.gotoAndStop(1);
}
public function myBtnRollOverHandler(e:Event):void{
e.target.gotoAndStop(2);
for (var k:int = 0; k < this.numChildren; k++){
if(this.getChildAt(k).name.indexOf('Popout')>-1 ||
this.getChildAt(k).name.indexOf('myTextBox')>-1){
this.removeChildAt(k);
}
}
var myPopoutObj:myPopout = new
myPopout(e.target,this.btnNum,this.cityList);
addChild(myPopoutObj);//Does not work either


MYBUTTONINSTANTOR CALLS->
package{
import fl.controls.TextArea;
import fl.controls.Button;
import fl.containers.ScrollPane;
import flash.display.*;
import flash.events.Event;
import flash.events.MouseEvent;
import flash.net.URLRequest;
import flash.net.URLLoader;
import fl.managers.StyleManager;

public class myPopout extends MovieClip{
public var cityList:XMLList;
public var btnNum:Number;
public var stageBtn;


//public var popInstance:Tba = new Tba();
public var popInstance2:Tba2 = new Tba2();

public function myPopout(stageBtn,btnNum,cityList){
this.btnNum = btnNum;
this.cityList = cityList;
this.stageBtn = stageBtn;
initPopout(stageBtn,btnNum,cityList);
}
public function initPopout(stageBtn,btnNum,cityList){
if(btnNum < 25){
trace(this);
var popInstance:Tba = new Tba();
popInstance.x = 10;
popInstance.y = 10;
popInstance.name = 'cityPopout'+btnNum+'_mc';
popInstance.alpha = 1;
addChild(popInstance); //broken here
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Help with addChild

2010-07-16 Thread J.C. Berry
>From separate class:
var myPopout:myPopout = new myPopout(e.target,this.btnNum,this.cityList);
//Calls below

>From other class:

public function myPopout(stageBtn,btnNum,cityList){//constructor
this.btnNum = btnNum;
this.cityList = cityList;
this.stageBtn = stageBtn;
initPopout(stageBtn,btnNum,cityList);
}

public function initPopout(stageBtn,btnNum,cityList){
if(btnNum < 25){
trace(this);
var popInstance:Tba = new Tba();
popInstance.x = 10;
popInstance.y = 10;
popInstance.name = 'cityPopout'+btnNum+'_mc';
popInstance.alpha = 1;
addChild(popInstance);//no error or result

So here it only works if I use stageBtn.addChild(popInstance)





On Fri, Jul 16, 2010 at 12:33 PM, Mattheis, Erik (MIN-WSW) <
ematth...@webershandwick.com> wrote:

> Yes, more code please.
>
> _ _ _
> Erik Mattheis
> Senior Web Developer
> Minneapolis
> T  952 346 6610
> C 612 377 2272
>
> Weber Shandwick
> Advocacy starts here.
>
> PRWeek Global Agency Report Card 2009 - Gold Medal Winner
> The Holmes Report Global Agency of the Year
> PR News Agency of the Year
>
>
> -Original Message-
> From: flashcoders-boun...@chattyfig.figleaf.com [mailto:
> flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of J.C. Berry
> Sent: Friday, July 16, 2010 2:08 PM
> To: Flash Coders List
> Subject: Re: [Flashcoders] Help with addChild
>
> You are right. But do you know what it could be, Henrik? Do you need to see
> some more code?
>
> On Fri, Jul 16, 2010 at 1:34 AM, Henrik Andersson  >wrote:
>
> > Deepanjan Das wrote:
> >
> >> Hi,
> >> I think the stage has not yet been initiated, hence the addChild is not
> >> working.
> >> Try to get hold of the stage first and then so an addChild.
> >>
> >
> > While that is indeed a common problem, it is not the current problem. He
> is
> > adding to the main timeline, not the stage.
> >
> > ___
> > Flashcoders mailing list
> > Flashcoders@chattyfig.figleaf.com
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
>
>
>
> --
> J.C. Berry, M.A.
> UI Developer
> 619.306.1712(m)
> jcharlesbe...@gmail.com
> portfolio: http://Client:maz...@www.mindarc.com
>
> 
>
> This E-mail is covered by the Electronic Communications Privacy Act, 18
> U.S.C. ?? 2510-2521 and is legally privileged. This information is
> confidential information and is intended only for the use of the individual
> or entity named above. If the reader of this message is not the intended
> recipient, you are hereby notified that any dissemination, distribution or
> copying of this communication is strictly prohibited.
>
> 
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
J.C. Berry, M.A.
UI Developer
619.306.1712(m)
jcharlesbe...@gmail.com
portfolio: http://Client:maz...@www.mindarc.com


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

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


Re: [Flashcoders] Help with addChild

2010-07-16 Thread J.C. Berry
You are right. But do you know what it could be, Henrik? Do you need to see
some more code?

On Fri, Jul 16, 2010 at 1:34 AM, Henrik Andersson wrote:

> Deepanjan Das wrote:
>
>> Hi,
>> I think the stage has not yet been initiated, hence the addChild is not
>> working.
>> Try to get hold of the stage first and then so an addChild.
>>
>
> While that is indeed a common problem, it is not the current problem. He is
> adding to the main timeline, not the stage.
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
J.C. Berry, M.A.
UI Developer
619.306.1712(m)
jcharlesbe...@gmail.com
portfolio: http://Client:maz...@www.mindarc.com


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

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


[Flashcoders] Help with addChild

2010-07-15 Thread J.C. Berry
Dear Group,
I wondered if I could bother you a minute with a simple question. I have a
document class that extends MovieClip, but my problem arises when I  use
addChild to add some popups (movieclips) to the stage. They are only visible
when I attach my popups to an on-stage button:
mystagebtn.addChild(mypopup) but I get nothing when attaching using
addChild() or this.addChild or this.parent.addChild   What reasons can there
be for my clips not being visible?  As I said, my document class does extend
MovieClip and I have searched for a few days now and reading on the doc
class has not given me an answer. I wouldn't even mind a reference to a
tutorial that could help me. Thanks.
-JC

On Wed, Jul 7, 2010 at 6:55 AM, allandt bik-elliott (thefieldcomic.com) <
alla...@gmail.com> wrote:

> does this line work?
>
>
> DynaBtn.addEventListener(MouseEvent.MOUSE_OVER,DynaBtnRollOverHandler(CityNum));
>
> i wouldn't have thought it would (by using the brackets you are calling
> that
> function straight away)
>
> it should be
>
>DynaBtn.addEventListener(MouseEvent.MOUSE_OVER,DynaBtnRollOverHandler);
> }
>
> private function DynaBtnRollOverHandler(e:Event):void
> {
>// handle event
> }
>
> and cityNum should be a property on DynaBtn so that you can use
> (e.target as DynaBtn).cityNum
> to recall the correct number
>
> best
> a
>
> On 7 July 2010 14:40, Kerry Thompson  wrote:
>
> > J.C. Berry wrote:
> >
> > > I wondered if I could bother you to review the code below and make
> > comments
> > > and suggestions.
> >
> > It's not bad at all, especially for your first class. I didn't go
> > through all your code, but one thing jumped out at me. These lines
> > might give you problems:
> >
> > for(var i=0;i >  CityNum = i;
> >  var DynaBtn = root['city'+CityNum+'_mc'];
> >  DynaBtn.gotoAndStop(1);
> >
> >
>  
> DynaBtn.addEventListener(MouseEvent.MOUSE_OVER,DynaBtnRollOverHandler(CityNum));
> >  DynaBtn.addEventListener(MouseEvent.MOUSE_OUT,DynaBtnRollOutHandler);
> >
> > First, you are going to have only one DynaBtn variable--the last one
> > declared in the for loop. Each time you create an instance, it
> > overwrites the last one. Fortunately for you, it works, but it won't
> > always.
> >
> > The second issue is adding an event listener from outside the object.
> > DynaBtn.addEventListener() will add the listener to the button, but
> > you won't be able to remove the listener from outside the button.
> >
> > Instead, you should have a DynaBtn class, and add the listener in the
> > constructor. Then you can remove the event listeners when you clean
> > up.
> >
> > This applies, of course, to all the buttons you created.
> >
> > Nice job overall, though.
> >
> > Cordially,
> >
> > Kerry Thompson
> > ___
> > Flashcoders mailing list
> > Flashcoders@chattyfig.figleaf.com
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
J.C. Berry, M.A.
UI Developer
619.306.1712(m)
jcharlesbe...@gmail.com
portfolio: http://Client:maz...@www.mindarc.com


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

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


Re: [Flashcoders] Help with first class

2010-07-07 Thread J.C. Berry
Thanks so much Kerry for taking the time. I really appreciate it.

On Wed, Jul 7, 2010 at 1:04 PM, Kerry Thompson wrote:

> J.C. Berry wrote:
>
> > Thanks, Kerry and allandt. I will take your recommendations, allandt.
> Kerry,
> > when you said that I would end up with only the last DynaBtn, that is
> true.
> > But I wanted to ask about the solution I found using that DynaBtn handler
> > with the parameter. It returns the function and so it works. My question
> is,
> > is the better solution to create a separate class? More interesting for
> me
> > is, can it work without creating a separate class? Any elucidation would
> be
> > appreciated.
>
> In your case, you never refer to the DynaBtn except to add the
> listeners, so your code works.
>
> There are two issues, though. If there are no references to an object,
> that object is available for garbage collection. I think the fact that
> you have the listeners attached gives each instance an implicit
> reference--not entirely sure how it works under the hood, but that's
> the only way I can explain why your buttons remain active without a
> reference.
>
> The other is a trap that you haven't run into, but will. When you add
> the event listener, the event listener now belongs to the object. When
> you want to remove that listener, you won't be able to do so from your
> class (with a call like DynaBtn.removeEventListener(...).
>
> You're setting yourself up for a couple of problems. One is a memory
> leak--you can never get rid of the DynaBtn objects, and their
> listeners will keep listening forever. That ties up resources.
>
> Also, your listeners are fairly benign--they're just listening for
> mouse events. But what if you had a listener that listened for a timer
> event? It would periodically execute--perhaps several times a
> second--and you would have no way of stopping it except killing the
> timer.
>
> The answer is pretty clear. Export the movie clips as a DynaBtnClass,
> and create a DynaBtnClass class which adds and removes handlers from
> itself. When you instantiate the buttons, put the references into an
> array--DynaBtn would become an array in your DynaMap class.
>
> Another thing I noticed--you have some variables that you haven't
> declared the type for. For example, tbaInstance and DynaBtn. I would
> strongly recommend that you put your compiler into strict mode and
> declare a type for all variables.
>
> It's a little extra work up front, and you'll have some choice words
> when the compiler complains about untyped variables. But, believe me,
> you would much rather the compiler catch your errors. The other option
> is to spend hours trying to track down a mystery bug, and finally
> finding that you set your variable to "42" (a string) instead of 42 (a
> Number).
>
> Cordially,
>
> Kerry Thompson
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
J.C. Berry, M.A.
UI Developer
619.306.1712(m)
jcharlesbe...@gmail.com
portfolio: http://Client:maz...@www.mindarc.com


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

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


Re: [Flashcoders] Help with first class

2010-07-07 Thread J.C. Berry
Thanks, Kerry and allandt. I will take your recommendations, allandt. Kerry,
when you said that I would end up with only the last DynaBtn, that is true.
But I wanted to ask about the solution I found using that DynaBtn handler
with the parameter. It returns the function and so it works. My question is,
is the better solution to create a separate class? More interesting for me
is, can it work without creating a separate class? Any elucidation would be
appreciated. Thanks again!

On Wed, Jul 7, 2010 at 6:55 AM, allandt bik-elliott (thefieldcomic.com) <
alla...@gmail.com> wrote:

> does this line work?
>
>
> DynaBtn.addEventListener(MouseEvent.MOUSE_OVER,DynaBtnRollOverHandler(CityNum));
>
> i wouldn't have thought it would (by using the brackets you are calling
> that
> function straight away)
>
> it should be
>
>DynaBtn.addEventListener(MouseEvent.MOUSE_OVER,DynaBtnRollOverHandler);
> }
>
> private function DynaBtnRollOverHandler(e:Event):void
> {
>// handle event
> }
>
> and cityNum should be a property on DynaBtn so that you can use
> (e.target as DynaBtn).cityNum
> to recall the correct number
>
> best
> a
>
> On 7 July 2010 14:40, Kerry Thompson  wrote:
>
> > J.C. Berry wrote:
> >
> > > I wondered if I could bother you to review the code below and make
> > comments
> > > and suggestions.
> >
> > It's not bad at all, especially for your first class. I didn't go
> > through all your code, but one thing jumped out at me. These lines
> > might give you problems:
> >
> > for(var i=0;i >  CityNum = i;
> >  var DynaBtn = root['city'+CityNum+'_mc'];
> >  DynaBtn.gotoAndStop(1);
> >
> >
>  
> DynaBtn.addEventListener(MouseEvent.MOUSE_OVER,DynaBtnRollOverHandler(CityNum));
> >  DynaBtn.addEventListener(MouseEvent.MOUSE_OUT,DynaBtnRollOutHandler);
> >
> > First, you are going to have only one DynaBtn variable--the last one
> > declared in the for loop. Each time you create an instance, it
> > overwrites the last one. Fortunately for you, it works, but it won't
> > always.
> >
> > The second issue is adding an event listener from outside the object.
> > DynaBtn.addEventListener() will add the listener to the button, but
> > you won't be able to remove the listener from outside the button.
> >
> > Instead, you should have a DynaBtn class, and add the listener in the
> > constructor. Then you can remove the event listeners when you clean
> > up.
> >
> > This applies, of course, to all the buttons you created.
> >
> > Nice job overall, though.
> >
> > Cordially,
> >
> > Kerry Thompson
> > ___
> > Flashcoders mailing list
> > Flashcoders@chattyfig.figleaf.com
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Help with first class

2010-07-06 Thread J.C. Berry
private function ClickPopoutListener(e:Event){
if(PhotoArray.length > 0 && PhotoArray[0].toString()!=''){
removeChild(tbaInstance);//delete popout
myWin.setSize(425, 435);
myWin.move(0,0);
addChild(myWin);
CurrPhoto = 0;
if(PhotoArray[CurrPhoto].indexOf('*') > -1){
DayPicURLReq = new URLRequest('images/' +
PhotoArray[CurrPhoto].substring(0,PhotoArray[CurrPhoto].length-1));

myWinLoader.contentLoaderInfo.addEventListener(Event.COMPLETE,GalleryLoaded);
myWinLoader.load(DayPicURLReq);
myWin.addChild(myWinLoader);
}else{
DayPicURLReq = new URLRequest('images/' +
PhotoArray[CurrPhoto].substring(0,PhotoArray[CurrPhoto].length));

myWinLoader.contentLoaderInfo.addEventListener(Event.COMPLETE,GalleryLoaded);
myWinLoader.load(DayPicURLReq);
myWin.addChild(myWinLoader);
}
}
}
private function GalleryLoaded(e:Event){
if(CurrPhoto -1){
e.target.content.y = 0;
e.target.content.x = 68;
myCloseBtn.setSize(45,22);
myCloseBtn.label = 'close';
myCloseBtn.move(310,0);
addChild(myCloseBtn);

myCloseBtn.addEventListener(MouseEvent.MOUSE_UP,CloseGalleryWin);
myNextBtn.label = 'next';
myNextBtn.setSize(50,22);
myNextBtn.move(260,0);
addChild(myNextBtn);

myNextBtn.addEventListener(MouseEvent.MOUSE_UP,NextPicListener);//next in
gallery
}else{
e.target.content.y = 60;
e.target.content.x = 0;
myCloseBtn.setSize(45,22);
myCloseBtn.label = 'close';
myCloseBtn.move(376,60);
addChild(myCloseBtn);

myCloseBtn.addEventListener(MouseEvent.MOUSE_UP,CloseGalleryWin);
myNextBtn.label = 'next';
myNextBtn.setSize(50,22);
myNextBtn.move(325,60);
addChild(myNextBtn);

myNextBtn.addEventListener(MouseEvent.MOUSE_UP,NextPicListener);//next in
gallery
}
}else{
if(PhotoArray[CurrPhoto].indexOf('*') > -1){
e.target.content.y = 0;
e.target.content.x = 68;
myCloseBtn.setSize(45,22);
myCloseBtn.label = 'close';
myCloseBtn.move(310,0);
addChild(myCloseBtn);

myCloseBtn.addEventListener(MouseEvent.MOUSE_UP,CloseGalleryWin);
//removeChild(myNextBtn);
}else{
e.target.content.y = 60;
e.target.content.x = 0;
myCloseBtn.setSize(45,22);
myCloseBtn.label = 'close';
myCloseBtn.move(376,60);
addChild(myCloseBtn);

myCloseBtn.addEventListener(MouseEvent.MOUSE_UP,CloseGalleryWin);
//removeChild(myNextBtn);
}
}
}
private function CloseGalleryWin(e:Event){
removeChild(myWin);
removeChild(myCloseBtn);
removeChild(myNextBtn);
}
private function NextPicListener(e:Object):void{
removeChild(myCloseBtn);
removeChild(myNextBtn);
CurrPhoto++;
if(CurrPhoto<=PhotoArray.length-1){
if(PhotoArray[CurrPhoto].indexOf('*') > -1){
DayPicURLReq = new URLRequest('images/' +
PhotoArray[CurrPhoto].substring(0,PhotoArray[CurrPhoto].length-1));

myWinLoader.contentLoaderInfo.addEventListener(Event.COMPLETE,GalleryLoaded);
        myWinLoader.load(DayPicURLReq);
}else{
DayPicURLReq = new URLRequest('images/' +
PhotoArray[CurrPhoto].substring(0,PhotoArray[CurrPhoto].length));

myWinLoader.contentLoaderInfo.addEventListener(Event.COMPLETE,GalleryLoaded);
myWinLoader.load(DayPicURLReq);
}
}
}
}
}

-- 
J.C. Berry, M.A.
UI Developer
619.306.1712(m)
jcharlesbe...@gmail.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Quick Question

2010-06-13 Thread J.C. Berry
"Javascript Official" ,
The one I use

On Sun, Jun 13, 2010 at 4:06 PM, Karl DeSaulniers wrote:

> Hello List,
> I may have asked this before, but can not find any emails about it.
> Does anyone know of a general-javascript email list like this flash list?
> Hoping someone here can point me in the right direction.
> Sorry this is not a question about Flash.
>
> Karl DeSaulniers
> Design Drumm
> http://designdrumm.com
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
J.C. Berry, M.A.
UI Developer
619.306.1712(m)
jcharlesbe...@gmail.com
portfolio: http://Client:maz...@www.mindarc.com


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

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


Re: [Flashcoders] Rede social une usuários do mundo acadêmico

2010-05-31 Thread J.C. Berry
Just spam about a news site that allows user content.

2010/5/31 Karl DeSaulniers 

> Oh boy... here we go again.
> Anyone got a spanglish dictionary I could use?
> Sounds like something big. They used the word grande.
> How do you type an upside-down question mark???
>
>
> On May 31, 2010, at 9:20 PM, Follow Science wrote:
>
>  Com o Follow Science, você:
>>
>>
>>Fica sabendo dos próximos eventos
>> nacionais e internacionais;
>>Compartilha arquivos e idéias com
>> pessoas de diversas áreas;
>>Acessa um grande acervo de notícias
>> e artigos;
>>Pode ganhar dinheiro publicando
>> conteúdo e convidando amigos;
>>E muito mais!
>>
>>
>>Cadastre-se no Follow Science!»
>>
>>
>>
>>
>>
>>Talvez você conheça essas pessoas
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>Leandro Ferreira
>>
>>
>>
>>
>>
>>
>>
>>Petalla Timo
>>
>>
>>
>>
>>
>>
>>
>>michèle sato
>>
>>
>>
>>
>>
>>
>>
>>José Carlos Martins
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>©2010 Follow Science - Todos os direitos reservados.
>>Sobre Nós | Política de Privacidade | Termos de Uso
>>
>>Você recebeu esta mensagem pelo email
>> flashcod...@chattyfig.figleaf.com. Caso não queira mais receber nossos
>> comunicados clique aqui
>>
>> ___
>> 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
>



-- 
J.C. Berry, M.A.
UI Developer
619.306.1712(m)
jcharlesbe...@gmail.com
portfolio: http://www.mindarc.com


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

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


Re: [Flashcoders] Rede social une usuários do mundo acadêmico

2010-05-31 Thread J.C. Berry
Portuguese

2010/5/31 Karl DeSaulniers 

> Oh boy... here we go again.
> Anyone got a spanglish dictionary I could use?
> Sounds like something big. They used the word grande.
> How do you type an upside-down question mark???
>
>
> On May 31, 2010, at 9:20 PM, Follow Science wrote:
>
>  Com o Follow Science, você:
>>
>>
>>Fica sabendo dos próximos eventos
>> nacionais e internacionais;
>>Compartilha arquivos e idéias com
>> pessoas de diversas áreas;
>>Acessa um grande acervo de notícias
>> e artigos;
>>Pode ganhar dinheiro publicando
>> conteúdo e convidando amigos;
>>E muito mais!
>>
>>
>>Cadastre-se no Follow Science!»
>>
>>
>>
>>
>>
>>Talvez você conheça essas pessoas
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>Leandro Ferreira
>>
>>
>>
>>
>>
>>
>>
>>Petalla Timo
>>
>>
>>
>>
>>
>>
>>
>>michèle sato
>>
>>
>>
>>
>>
>>
>>
>>José Carlos Martins
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>©2010 Follow Science - Todos os direitos reservados.
>>Sobre Nós | Política de Privacidade | Termos de Uso
>>
>>Você recebeu esta mensagem pelo email
>> flashcod...@chattyfig.figleaf.com. Caso não queira mais receber nossos
>> comunicados clique aqui
>>
>> ___
>> 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
>



-- 
J.C. Berry, M.A.
UI Developer
619.306.1712(m)
jcharlesbe...@gmail.com
portfolio: http://www.mindarc.com


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

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


[Flashcoders] Re: Transition Out direction

2008-07-31 Thread J.C. Berry
Am I just dense on this? Please help!

On Wed, Jul 30, 2008 at 3:00 PM, J.C. Berry <[EMAIL PROTECTED]> wrote:

> Hello all,
> This is a short question. I have searched for it for a few days now, but
> have not even seen a hint of an answer. (I think perhaps the answer lies in
> understanding the Transition Manager better?) What I need is to direct which
> way a Transition Out goes. There is a Transition In accompanying property,
> "startPoint:", that can determine from where the object transitions in, but
> this ability is not available apparently if you want to direct toward which
> way a Transition Out would go. Can anyone give me a clue? TIA
>
> --
> Jonathan Berry, M.A.
> IT Consultant
> 619.306.1712(m)
> [EMAIL PROTECTED]
> "I think the real reason the Extropy Institute closed is because Ayn Rand
> rose from her cryo-sleep" -digibrill
> 
> ( @ o )
> / | | | | \ Chumby.com
>
> ---
>
> This E-mail is covered by the Electronic Communications Privacy Act, 18
> U.S.C. ?? 2510-2521 and is legally privileged.
> This information is confidential information and is intended only for
> the use of the individual or entity named above. If the reader of this
> message is not the intended recipient, you are hereby notified that any
> dissemination, distribution or copying of this communication is strictly
> prohibited.
>
> ---
>



-- 
Jonathan Berry, M.A.
IT Consultant
619.306.1712(m)
[EMAIL PROTECTED]
"I think the real reason the Extropy Institute closed is because Ayn Rand
rose from her cryo-sleep" -digibrill

( @ o )
/ | | | | \ Chumby.com



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

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


[Flashcoders] Transition Out direction

2008-07-30 Thread J.C. Berry
Hello all,
This is a short question. I have searched for it for a few days now, but
have not even seen a hint of an answer. (I think perhaps the answer lies in
understanding the Transition Manager better?) What I need is to direct which
way a Transition Out goes. There is a Transition In accompanying property,
"startPoint:", that can determine from where the object transitions in, but
this ability is not available apparently if you want to direct toward which
way a Transition Out would go. Can anyone give me a clue? TIA

-- 
Jonathan Berry, M.A.
IT Consultant
619.306.1712(m)
[EMAIL PROTECTED]
"I think the real reason the Extropy Institute closed is because Ayn Rand
rose from her cryo-sleep" -digibrill

( @ o )
/ | | | | \ Chumby.com

---

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

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


Re: [Flashcoders] Moving groups of objects

2008-07-22 Thread J.C. Berry
Thanks Gabino for the quick answer. However, I do not know what I have done
incorrectly. As per my second email, I have an empty mc on the root and I
have created a text field in there, also load in mcs in there, and
attachMovie some buttons. But when I move the mc in root only the images
which are loaded in move when I move it?

On Tue, Jul 22, 2008 at 9:12 PM, Gabino Travassos <
[EMAIL PROTECTED]> wrote:

> Hi Jonathan,
>
> How about creating a root movieclip and then making your objects as
> children of that clip, so something (pseudocode) like:
> create movieclip f1 // root button
> create movieclip f1.button1 // button clip
> create text field f1.button1.text1 // text
> create movieclip f1.button1.rect1 // rectangle
>
> and then you can move f1._x+=10 or f1._visible=0
>
> Gabino
>
> - Original Message - From: "J.C. Berry" <[EMAIL PROTECTED]>
> To: "Flashcoders mailing list" 
> Sent: Tuesday, July 22, 2008 8:51 PM
> Subject: [Flashcoders] Moving groups of objects
>
>
>  Hi all, I hope this is not too basic, but are there any tutorials and/or
>> hints on how to move multiple objects as a group with AS (preferably AS2)?
>> Whenever you could throw me a line I would appreciate it! Thanks so much.
>>
>> --
>> Jonathan Berry, M.A.
>> IT Consultant
>> 619.306.1712(m)
>> [EMAIL PROTECTED]
>> "I think the real reason the Extropy Institute closed is because Ayn Rand
>> rose from her cryo-sleep" -digibrill
>> 
>> ( @ o )
>> / | | | | \ Chumby.com
>>
>> ---
>>
>> This E-mail is covered by the Electronic Communications Privacy Act, 18
>> U.S.C. ?? 2510-2521 and is legally privileged.
>> This information is confidential information and is intended only for
>> the use of the individual or entity named above. If the reader of this
>> message is not the intended recipient, you are hereby notified that any
>> dissemination, distribution or copying of this communication is strictly
>> prohibited.
>>
>> ---
>> ___
>> Flashcoders mailing list
>> Flashcoders@chattyfig.figleaf.com
>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
>>
>>
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
Jonathan Berry, M.A.
IT Consultant
619.306.1712(m)
[EMAIL PROTECTED]
"I think the real reason the Extropy Institute closed is because Ayn Rand
rose from her cryo-sleep" -digibrill

( @ o )
/ | | | | \ Chumby.com

---

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

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


[Flashcoders] Re: Moving groups of objects

2008-07-22 Thread J.C. Berry
Oh, as to specifically what I am trying to move: I have an empty movieclip
on the stage I am using to load in different images, also dynamically attach
button symbols, and dynamically create a textfield. I would like to move all
these things one item. Thanks so much!


-- 
Jonathan Berry, M.A.
IT Consultant
619.306.1712(m)
[EMAIL PROTECTED]
"I think the real reason the Extropy Institute closed is because Ayn Rand
rose from her cryo-sleep" -digibrill

( @ o )
/ | | | | \ Chumby.com

---

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

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


[Flashcoders] Moving groups of objects

2008-07-22 Thread J.C. Berry
Hi all, I hope this is not too basic, but are there any tutorials and/or
hints on how to move multiple objects as a group with AS (preferably AS2)?
Whenever you could throw me a line I would appreciate it! Thanks so much.

-- 
Jonathan Berry, M.A.
IT Consultant
619.306.1712(m)
[EMAIL PROTECTED]
"I think the real reason the Extropy Institute closed is because Ayn Rand
rose from her cryo-sleep" -digibrill

( @ o )
/ | | | | \ Chumby.com

---

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

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


[Flashcoders] Re: loadSound() crashes dev. env.

2007-12-24 Thread J.C. Berry
Just FYI, I am running Flash 8 on a Win 2K PC.

On Dec 24, 2007 9:06 AM, J.C. Berry <[EMAIL PROTECTED]> wrote:

> var myradio = new Sound();
> myradio.loadSound('http://www.live365.com/play/sosdradio',true<http://www.live365.com/play/sosdradio%27,true>
> );
>
> Hello all,
> I am getting started on an audio streaming movie, but just the loadSound()
> method is crashing the Flash 8 development environment. Is it the stream or
> do I have a problem with the Flash 8 dev. env.? Perhaps you could test this
> for me yourselves? Thanks for the help in advance.
>
> --
> Jonathan Berry, M.A.
> IT Consultant
> 619.306.1712(m)
> [EMAIL PROTECTED]
> www.mindarc.com
>
> ---
>
> This E-mail is covered by the Electronic Communications Privacy Act, 18
> U.S.C. ?? 2510-2521 and is legally privileged.
> This information is confidential information and is intended only for
> the use of the individual or entity named above. If the reader of this
> message is not the intended recipient, you are hereby notified that any
> dissemination, distribution or copying of this communication is strictly
> prohibited.
>
> ---




-- 
Jonathan Berry, M.A.
IT Consultant
619.306.1712(m)
[EMAIL PROTECTED]
www.mindarc.com

---

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

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


[Flashcoders] loadSound() crashes dev. env.

2007-12-24 Thread J.C. Berry
var myradio = new Sound();
myradio.loadSound('http://www.live365.com/play/sosdradio',true);

Hello all,
I am getting started on an audio streaming movie, but just the loadSound()
method is crashing the Flash 8 development environment. Is it the stream or
do I have a problem with the Flash 8 dev. env.? Perhaps you could test this
for me yourselves? Thanks for the help in advance.

-- 
Jonathan Berry, M.A.
IT Consultant
619.306.1712(m)
[EMAIL PROTECTED]
www.mindarc.com

---

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

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