[Flashcoders] Print Rows DataGrid

2007-09-06 Thread Vivek Gaikwad
Hi,

 

I have a DataGrid on the stage having almost 70 rows. A vertical scrollbar
appears since these many rows can't fit in one shot. 

When I print this movie, the rows which were visible from the DataGrid only
get printed. What if I want to print the entire DataGrid(all 70 rows)?

 

 

peace, veiky

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

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


[Flashcoders] Word Wrap Radio Button

2007-08-17 Thread Vivek Gaikwad
Hi,

 

I am creating a small online test. I am using radio button component for
the questions. The length of some of the questions is more than my stage
size. Can I make word wrap for the radio button? 

 

I am using Flash 8.

 

 

peace, veiky

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

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


[Flashcoders] Drop Area Text Field

2007-08-09 Thread Vivek Gaikwad
Hi,

I am trying to create a drag  drop activity, wherein there will be 4
options provided which we need to drag n drop on to the _ in the
question.

eg:

Q1. The addition of 4 and 5 is __.

a. 10
b. 3
c. 9
d. 7

All the options will be different movieclips. The question is a dynamic text
field. My problem is how will I get the dropArea? which is _.

 

Stuck with this.

 

peace, veiky

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

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


RE: [Flashcoders] Text Input Component

2007-07-17 Thread vivek
Can you give some hint of what actually you have done? Some code? That will
help.

Peace, veiky

-Original Message-
From: payal [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 17, 2007 4:31 PM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Text Input Component

Hi All

I am trying to attach a movieclip containg  textInput component to the
stage. Its attaching successfully But I am not able to set its Text.

Regards
Payal

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

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


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

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


RE: [Flashcoders] Text Input Component

2007-07-17 Thread vivek


-Original Message-
From: payal [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 17, 2007 5:04 PM
To: flashcoders@chattyfig.figleaf.com
Subject: RE: [Flashcoders] Text Input Component

I am using the following code



for (var i = 0; i  20; i++)
{
this.con_mc.data_mc.attachMovie (kid_mc, kid_mc+i, i);

this.con_mc.data_mc[kid_mc + i]._x = 0;
if (i == 0)
{
this.con_mc.data_mc[kid_mc + i]._y = 0;
}
else
{
var prev = i-1;
this.con_mc.data_mc[kid_mc + i]._y =
this.con_mc.data_mc[kid_mc + prev]._y + this.con_mc.data_mc[kid_mc +
prev]._height + 4

}


this.con_mc.data_mc[kid_mc + i].ifBD1.text = Test 

// what is this .ifBD1? try tracing any of the property of the text field,
so that you will come to know whether the reference is working or not.
trace(con_mc.data_mc[kid_mc + i].ifBD1._x); // if this line gives you the
x co ordinate then it's ok and we can find out the next problem. I don't
think it will give the value of _x. I am concerned for ifBD1.

trace(this.con_mc.data_mc[kid_mc + i].ifBD1.text)
//trace(this.con_mc.data_mc[kid_mc + i].ifBD1.text)
//trace(this.con_mc.data_mc[kid_mc + i])
}

Regards
Payal
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paul Andrews
Sent: Tuesday, July 17, 2007 04:47 PM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Text Input Component

- Original Message - 
From: payal [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Tuesday, July 17, 2007 12:00 PM
Subject: [Flashcoders] Text Input Component


 Hi All

 I am trying to attach a movieclip containg  textInput component to the
 stage. Its attaching successfully But I am not able to set its Text.

If you don't show what you are doing to set the text, we can't tell what's 
wrong..

Are you trying to assign to the textinput object itself  rather than the 
text property?

 Regards
 Payal

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

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

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

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

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

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


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

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


RE: [Flashcoders] Flash 8 Accessibility Panel Bug?

2007-07-03 Thread vivek
Hi,

If I am not wrong flash is taking  as a special character. To use  as a
normal character use \ before . This will remove the special meaning of 
and will be used as a normal character.

Eg: Set the .name property to:  This is a \dummy\ test movie

I have tested it with Jaws 7.0 and Jaws 8.0




Thanks  Regards
Vivek Gaikwad
Flash Accessibility Developer
www.n-syst.com




-Original Message-
From: Jer Brand [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 04, 2007 1:12 AM
To: flashcoders@chattyfig.figleaf.com; Jer
Subject: [Flashcoders] Flash 8 Accessibility Panel Bug?

Not sure if this is new, or if I'm just doing something stupid so I'm asking
the experts:

If you include a Name or Description property in the Accessibility Panel
that includes quotes ( ), the _accProps Object for that MovieClip is not
created.

Has anyone else seen this? Am I just late to the party on it?

I ran into this when creating a class that would create key listeners for
any MovieClip that had an onRelease method and had it's _accProps.shortcut
set to a keyboard shortcut (parsing the ctrl+, shift+, etc). I've been
beating my head against the wall all day, and finally figured out the only
difference between the MovieClips that were working as planned and those
that failed were that the name or description had quotes.

My Mistake or Flash's mistake?  Anyone know if it's been reported (not that
I expect a fix, it's Flash 8, Does CS3 do this?)


I built a little test case to confirm, and if anyone's interested in
pointing out my mistake or just checking my work, feel free.


Steps to re-create:

1: Create a movie with one MovieClip on Stage (contents are unimportant)
named test_mc
2: Open the Accessibility panel and set the properties for this movie as
follows:
  a)  Make Object Accessible   checked
  b)  Make child objects accessible  *unchecked*
  c)  Set the name value to be: This is a dummy test Movie
  d)  Set the description value to be: Description goes here
  e)  Set the shortcut field to be:   A
  f)   Set the Tab index field to be  1
3) Place the following code on frame 1

this.onLoad = function()
{
this.onEnterFrame = init ;
}
function init()
{
this.onEnterFrame = null ;
delete this.onEnterFrame ;
trace(test_mc._accProps.name)
trace(test_mc._accProps.description)
trace(test_mc._accProps.silent)
trace(test_mc._accProps.forceSimple)
trace(test_mc._accProps.shortcut) ;
}


The output of this is:

undefined
undefined
undefined
undefined
undefined

Remove the quotes and the output is:

This is a dummy test Movie
Description goes here
undefined
true
A
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


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

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


[Flashcoders] Passing Text From Flash To ASP

2007-06-27 Thread vivek
Hi,

 

I was doing some RD on sending data from flash to Access database. Got one
example on the net, i tried modifying it and it worked. Now the problem is I
can't pass the text field values of flash to asp.

 

If I do it statically it works.

 

set objrecord=objconn.execute(insert into mydbdata(firstName,lastName)
values('john','Miranda')) //ASP code

 

What should be done to replace 'john' and 'Miranda' with actual values from
flash text fields?

 

 

 

Thanks  Regards,

Vivek Gaikwad

Flash Accessibility Developer

 

 

 

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

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


RE: [Flashcoders] Passing Text From Flash To ASP

2007-06-27 Thread vivek
Hi,


'This is the ASP code.

%
Set objconn=server.createobject(adodb.connection)
objconn.open provider=microsoft.jet.oledb.4.0; data source= 
server.mappath(names.mdb)
set objrecord=server.createobject(adodb.recordset)

set objrecord=objconn.execute(insert into mydbdata(firstName)
values('record'))
%

//This is the Flash code

on (release)
 {
loadVariablesNum(data.asp?Record= add a, 0);
}


Thanks...

-Original Message-
From: Johannes Nel [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 27, 2007 8:01 PM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Passing Text From Flash To ASP

if its a post a request.form or if its a get a request.querystring

On 6/27/07, vivek [EMAIL PROTECTED] wrote:

 Hi,



 I was doing some RD on sending data from flash to Access database. Got
 one
 example on the net, i tried modifying it and it worked. Now the problem is
 I
 can't pass the text field values of flash to asp.



 If I do it statically it works.



 set objrecord=objconn.execute(insert into mydbdata(firstName,lastName)
 values('john','Miranda')) //ASP code



 What should be done to replace 'john' and 'Miranda' with actual values
 from
 flash text fields?







 Thanks  Regards,

 Vivek Gaikwad

 Flash Accessibility Developer







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

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




-- 
j:pn
http://www.lennel.org
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


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

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


[Flashcoders] Flash Games With Joysticks

2007-06-12 Thread vivek
Hi,

 

I was doing a search on how can we play the flash games on TV but didn't got
great information.

For instance, a simple pacman game which is created in flash, how can we
play it with joystick and display on TV?

 

What all things we need to consider making it workable with joysticks and
TV?

 

 

Regards,

Vivek Gaikwad

 

 

 

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

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


RE: [Flashcoders] Swf not loading at run time

2007-06-11 Thread vivek
Can u give part of the script which is loading swf files?

-Original Message-
From: John Trentini [mailto:[EMAIL PROTECTED] 
Sent: Monday, June 11, 2007 3:08 PM
To: Flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Swf not loading at run time

Hi guys,

I am going insane, please give me a hint,

I have a swf embedded in a html doc (the intro). this when completed 
loads another swf (the main interface). I have an empty mc into which I 
load another swf (showcase) which dynamically displays a variety of 
image presentation.

When testing the Movie from the authoring environment, everything works 
like a charm but when I publish and view the html in the browser the 
showcase.swf does not seem to be loading; I have the same issue  also 
when I open the swf file from the player

The html and all swf files reside in the same folder at the same level.  
I have double checked and tried everything I know and I am getting quite 
desperate now as I don't know what else to do.

Is there any simple reason/issue with the implementation? What else can 
I try to resolve this?

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

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


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

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


RE: [Flashcoders] Swf not loading at run time

2007-06-11 Thread vivek
 

 

-Original Message-
From: John Trentini [mailto:[EMAIL PROTECTED] 
Sent: Monday, June 11, 2007 4:10 PM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Swf not loading at run time

 

Cedric, sorry I think I have sent my ealier reply to your personal email 

address, my apologies

here is the code I use:

 

dropBtn.onPress = function() {

   //make the showContainer_mc visible

   showContainer_mc._visible = true;

   dropBtn_txt.text = myName; // what is the use of this step? Below you
are using myName what is the value of myName?

   //trace(thisName);

   if (myName == sea bounty  thisName == brand development) {

   showContainer_mc.loadMovie(SeaBounty.swf); // this call 

works, sgtrtangely enough

   } else {

   showContainer_mc.loadMovie(showcase.swf); // this one is 

the one that does not work

   }

   loaded = true;

   removeDropMenu();

   };

The DropBtn are created dynamically and i make the fucntion call from 

the constructor.

 

Cheers

JohnT

___

Flashcoders@chattyfig.figleaf.com

To change your subscription options or search the archive:

http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 

Brought to you by Fig Leaf Software

Premier Authorized Adobe Consulting and Training

http://www.figleaf.com

http://training.figleaf.com

 

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

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


RE: [Flashcoders] Search in textfield AS2

2007-06-11 Thread vivek
var a=6.23456;
b=substring(a,1,5)

if (b == 6.234) {
trace(ok);
}
else{
trace(not ok)
}

Hope this will help you. :)


-Original Message-
From: Laurent CUCHET [mailto:[EMAIL PROTECTED] 
Sent: Monday, June 11, 2007 4:35 PM
To: Flashcoders mailing list
Subject: [Flashcoders]  Search in textfield AS2

Hi

How can I do to find 5 caracter
in the 5 beginning caracter of var ?

Exemple :
var llat = ³6.23456²

how can I trace ³ok² if there is ³6.234² in llat var ?

if (?? == 6.234) {
trace(³ok²);
}



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

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


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

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


[Flashcoders] Loaded swf file is not calling function residing main file if played from sub-domain or other domain.

2007-05-31 Thread Vivek Lakhanpal

I have a very unique problem, i am not sure if it's something related to
security sandbox issue or something else.

I have a flash player ( http://www.authorstream.com) in which i play slides
dynamically. I pick up a xml file and then prepare an array of the slides to
be loaded in the player.
I have System.security.allowDomain(*); line written on first frame of all
slides (swf files being loaded into player).

Scenario1 :

Each slide (a swf file) on reaching it's end call a AS function (inside
player) from it's last frame which picks up the next array value and make a
loading call for next slide.

Problem: If i remove the www from the full url i.e. make it e.g.
http://authorstream.com/presentation.aspxhttp://authorstream.com/presentation.aspx?pun=fundude-804-animated-gif-images-animation-sking-ice-bike-house-new-age-learning-entertainment-powerpointvw=enmMostViewedpg=1and
then check a slideshow which runs automatically and it's slide changes
automatically at the end. It doesn't load next slide (if called
automatically from inside the loaded slide.swf). But if i click next or
previous button it load the slide at that position.
Now if i play the same slideshow with www attached in the url i.e.
http://www.authorstream.com/presentation.aspxhttp://www.authorstream.com/presentation.aspx?pun=fundude-804-animated-gif-images-animation-sking-ice-bike-house-new-age-learning-entertainment-powerpointvw=enmMostViewedpg=1http://www.authorstream.comthen
it plays properly.
i.e. next slide loads on a call to load next slide from inside the loaded
slide (swf file).

Scenario2:
In this case my player and xml file are on Domain 1 and swf files to be
loaded as slides in the player are on Domain 2. I call crossdomain.xml file
from Domain 2 on which all slides reside.

Problem: similar to the problem mentioned above if i play the slide show
from Domain 1 i.e. http://69.41.184.19/presentation.aspx
http://69.41.184.19/presentation.aspx?pun=dinesh-571-gifs-new-age-learning-entertainment-powerpointvw=enmLatestUploadspg=22
Slide loaded inside the player doesn't initiate the function call written in
the player and keep on looping in itself.

The problem which i see is that loaded slide is not able to call the
function written in player if played from subdomain  or any other domain.
Although i have called crossdomain.xml and calling it in the player.
Moreover i have writting System.Security.allowDomain(*) i don't see it is
playing any role here. Don't know why.

Can anyone provide me any insight into the issue? i will highly thankful.

--
Thanks  Regards,
Vivek Lakhanpal.
Phone: +91-987-608-2125 (India)
Skype ID: lakhanpalv
Website: http://viveklakhanpal.spaces.live.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] Transitions on dynamically loaded swf slow down if you resize that loaded swf file and then play the transition.

2007-05-22 Thread Vivek Lakhanpal

Hi Durairaj,

Thanks for looking into the problem. Let me try to rephrase it once again.

I have a flash player in which user can play slideshow (e.g.
http://www.authorstream.com) now in this player as you can see the dimension
of the player is around 400x300 approx. But the slides being loaded are
720x540 for some unavoidable reason.

Few days back a requirement came that we have to put up transitions in this
player as you see in the PowerPoint show. So i have imported transition
classes in the player and tried to implement the transitions into the loaded
clip (slides converted to swf from ppt).  Now as you can see the player is
of shorter dimensions then that of slides being provided to the player. So i
have to resize the slide after loading them into a clip. Here starts the
problem.

On a button click (next of play button or at end of slide) I load next slide
into the player. I have a function which load slide into the player.
This function first show the dynamically loaded clip into player on top of
already loaded clip and then hide the previous clip by setting it's
visibility to 0. Here i was implementing the Transition on the clip by
picking up the dynamic parameters being provided to me by the xml. So while
playing the transition it will play at certain speed till it reaches a half
way mark and then stops for a fraction of second and then again start till
finish. If i implement the same code in a player of normal size i.e. where i
don't have to resize the loaded swf file it plays smoothly.

BTW i have to remove the transition from the current player on the website
as it wasn't playing properly.

Let me know if you understood the problem. I will try to send you the code
next time



--
Thanks  Regards,
Vivek Lakhanpal.
Phone: +91-987-608-2125 (India)
Skype ID: lakhanpalv
Website: http://viveklakhanpal.spaces.live.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


[Flashcoders] Transitions on dynamically loaded swf slow down if you resize that loaded swf file and then play the transition.

2007-05-21 Thread Vivek Lakhanpal

Hi Everyone,

I have a very unique problem. If i play transitions on dynamically loaded
swf files in my container swf file. They all play nicely until i resize
them. When i resize the dynamically loaded swf files as per the size of the
container file the transition slow down to almost 0speed midway for few
millisecond and then play.

2nd problem is that the container file i am referring here is a player which
plays a slide show in it. For a better client experience i am loading all
swf files into dynamically created child container clips, after loading each
swf file i stop it and set their visibility to 0. Now the problem is that
When i play the slide on it's turn and make it visible almost none of the
transition plays. I have to make it play the other way. I play the slide
when it's turn comes, set it's visibility to 1 and then set an interval of
almost 500ms after which i play a transition on that slide/clip and it
player nicely. I am not sure why is that.

Any suggestion or help in this regard will be highly appreciated.

--
Thanks  Regards,
Vivek Lakhanpal.
Phone: +91-987-608-2125 (India)
Skype ID: lakhanpalv
Website: http://viveklakhanpal.spaces.live.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


[Flashcoders] Can we know the domain name from where swf file is currently playing?

2007-04-24 Thread Vivek Lakhanpal

Hi Everyone,

Is there anyway we can check where from the current swf file is being
played? Something similar to location.href of javascript?

I don't want to use flashvars or javascript. Pure swf/AS.

--
Thanks  Regards,
Vivek Lakhanpal
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


[Flashcoders] Re: Can we know the domain name from where swf file is currently playing?

2007-04-24 Thread Vivek Lakhanpal

sorry i repeated this question. I found answer to this question on
flashnewbie posted yesterday.

On 4/24/07, Vivek Lakhanpal [EMAIL PROTECTED] wrote:


Hi Everyone,

Is there anyway we can check where from the current swf file is being
played? Something similar to location.href of javascript?

I don't want to use flashvars or javascript. Pure swf/AS.

--
Thanks  Regards,
Vivek Lakhanpal





--
Thanks  Regards,
Vivek Lakhanpal
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] Does Domain name play any role in within slide movement?

2007-04-12 Thread Vivek Lakhanpal

Hi Everyone,

As soon as i thought that my flash player slides playing problem is solved
and it's working fine with placing allSecureDomain(*) in called file, with
introduction of new feature it's again not playing properly.

This time we have introduced Transitions in the Flash player so that user
don't see blank screen between slide change.

The problem is it's working fine when played with full domain name. But it
plays erratically when played with sub-domain name.

For e.g. if you play this presentation

http://authorstream.com/Presentation.aspx?pun=Infatuated-283-illusion-maya-fake-unreal-presentaion-powerpoint

It sometimes plays fine. but sometimes blank screen start coming in between
slide transitions.

Where as if you play the same presentation with full domain name. i.e.

http://www.authorstream.com/Presentation.aspx?pun=Infatuated-283-illusion-maya-fake-unreal-presentaion-powerpoint

It's playing fine.

Any idea why it's behaving this way?

FYI for transition i am using 2 movie clips and changing their depth and
unloading the clip from the bottom clip as soon as the movie is loaded into
top clip.


--
Thanks  Regards,
Vivek Lakhanpal
___
[EMAIL PROTECTED]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] Does Domain name play any role in within slide movement?

2007-04-10 Thread Vivek Lakhanpal

Thanks Rákos Attila it was actually a problem of allow secure domain.

Anyway it's working fine now.

--
Thanks  Regards,
Vivek Lakhanpal
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


[Flashcoders] Does Domain name play any role in within slide movement?

2007-04-09 Thread Vivek Lakhanpal

Hi All,

I have designed a flash player for our website i.e.
http://www.authorstream.com

When i am playing it with full url i.e. http://www.authorstream.com it's
playing perfectly fine.
But when i am playing it as http://authorstream.com it's not playing within
slide movements i.e. gotoAndPlay are not working. Even though xml parsing
and slide loading in player is working fine. Which i thought could be the
case that's why i loaded policy file in the player from
http://www.authorstream.com. But problem is still there. I also needed
policy file so that it can be played from any third party website/blogs.

What can be the possible reason? Any help will be appriciated as you can see
the player is already online and i am not finding any clue for such a
behaviour. The requirement is it shall work fine from both www and without
www url.


--
Thanks  Regards,
Vivek Lakhanpal
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


[Flashcoders] Tab Problem

2007-02-07 Thread Vivek Gaikwad
Hi all,

 

I was trying to figure out this:

 

I have 3 input boxes(component) and 2 buttons created by me on stage.

I have set the tabIndex for all the 5 controls using the accessibility
panel.

 

When I publish this, tab seems to stuck between the input boxes, it doesn't
come on the buttons.

 

Any solution?

 

 

 

Thanks  Regards

Vivek Gaikwad - Flash Accessibility Developer

 

 

 

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

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


[Flashcoders] RE:[ Flashcoders] Tab Problem

2007-02-07 Thread Vivek Gaikwad
Even if I set the tabIndex through scripting, it doesn't solve the issue.
Tab doesn't come on the buttons.


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

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


[Flashcoders] Open a local .html file on click of a button

2006-11-17 Thread Vivek Gaikwad
Hi all,

 

I have a folder in which there are 3 files.

 

1.   one.fla

2.   one.swf

3.   try.html (this is just a simple html file on my local disk)

 

There is a button inside one.fla file, on click of which I want to open the
try.html page.

I tried using getURL method. But it didn't work for me.

How to go about it?

 

 

 

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

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


[Flashcoders] Set Focus with JAWS running

2006-08-07 Thread vivek
Hi,

 

Is there any way in flash where we can get the focus to the desired location
on click of a button?

 

For Example:  Suppose, we have 3 text fields and 3 buttons on a stage. When
we run the application with JAWS running, on click of button_1, the focus
should go to text1_txt and jaws should start reading the text from that
text field. Same applies to rest of the buttons and text fields.

 

Can we do this using action script or java script is required?

 

 

Regards,
Vivek Gaikwad - Accessibility Developer

Net Systems Informatics (I) Pvt. Ltd.
Tel: 022-26860485/6 Extension: 24

 

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

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


[Flashcoders] Movie clip accessibility

2006-06-07 Thread vivek
HI,

 

I am facing a problem with accessibility of my application.

 

I have a movie clip on stage. It's accessibility name is movie Clip 1 and
it has a simple code on press event of it.

This works fine.

 

But when I load an image on it:

 

mc1.loadMovie(cat.jpg);

 

Screen reader reads it as unlabeled button.

 

Can anyone tell me why it's taking it as unlabled?(I am using jaws 7.0)

 

Thanks...

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

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


[Flashcoders] attachVideo is functioning erratically!!!

2006-06-02 Thread Vivek lakhanpal

Hi everyone,

I have a very strange problem with playing video/audio through
NetConnection.

Here is the code:
==
loadAudioFile();

function loadAudioFile(){
   trace(inside)
   var connection_nc:NetConnection = new NetConnection();
   connection_nc.connect(null);
   var stream_ns:NetStream = new NetStream(connection_nc);
   tVid.attachVideo(stream_ns); // tVid is the video object name
   stream_ns.play(audio/audio.flv);
   stream_ns.setBufferTime(15);
   stream_ns.onStatus = function(infoObject:Object) {
   trace(NetStream.onStatus called: (+getTimer()+ ms));
   for (var prop in infoObject) {
   trace(\t+prop+:\t+infoObject[prop]);
   }
   trace();
   };
}
=

This is a simple copy paste from the Flash help file. I am trying to play
audio or video flash video file in the Flash IDE.
Problem: I have to publish-republish(by clicking Ctrl+Enter more then two
times in sequence) twice sometimes thrice to get audio/video events fired
and start playing.
System Config: Windows 2003 + Flash 8.0  Windows 2000 Server + Flash 8.0.

Can someone tells me what can be the reason? It was working prefectly fine
in other application for me a day ago at same system

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

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


Re: [Flashcoders] unescape function problem

2006-05-24 Thread Vivek lakhanpal

Actually if i try to pass to pass ' as %27 it pass it as it is and i have to
unescape it to get ' value. But if i pass %25 it shows me % that's what is a
bit confusing. Infect for rest all values i.e. all special characters i have
to use unescape function to get url.encoded values back to normal string.

Thanks
Vivek

On 5/24/06, Jim Robson [EMAIL PROTECTED] wrote:


%25 is the URL code for the % sign. So Flash is correct; when you pass %25
in a URL-encoded string, you are in fact passing simply %.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Vivek
lakhanpal
Sent: Wednesday, May 24, 2006 6:18 AM
To: Flashcoders mailing list
Subject: [Flashcoders] unescape function problem

Hi,

I am trying to pass url Encoded values to Flash through querystring.
Everything is working fine when i unescape the passed value.
But when i pass % sign for which url encoded value is %25. When i get
value
in Flash it's showing me % only, not %25. Can there be any reason for it?
because for rest all values it's passing correct value.

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

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

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

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


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

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


Re: [Flashcoders] unescape function problem

2006-05-24 Thread Vivek lakhanpal

actually i also never had to use it because i never encoded the querystring.
But this time i got a real scenario in which user was trying to pass ab
where  is the seperator for name-value pair in querystring so i had to
shift to url encode method.
Which in turn led me to ' problem. :(

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

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


Re: [Flashcoders] unescape function problem

2006-05-24 Thread Vivek lakhanpal

Yea you are very right :). Although i have sort out that problem for time
being saying that no one is going to sue % in his name. It was actually a
full name or company name so sometimes user can say ABC  XYZ or sometime
they can write ABC's company etc.

I was wondering if this is a problem in reality or am i missing something at
coding end.

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

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


Re: [Flashcoders] Alpha Masking Weirdness

2006-05-22 Thread Vivek lakhanpal

Try embedding font for the textfield.

Thanks,
Vivek

On 5/23/06, Rifled Cloaca [EMAIL PROTECTED] wrote:


All,

I'm masking a MovieClip with an alpha mask using cacheAsBitmap.  The
MovieClip has a dynamic text field inside it that I populate at a later
time.  When I play the movie, the area where the textfield is remains
empty.  If I drag the corner of the player to resize the movie, the text
magically appears.  Anyone run into this sort of weird behavior?
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


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

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


Re: [Flashcoders] Flash Media Server tutorial not working

2006-05-18 Thread Vivek lakhanpal

I wondered how your FMS is working on WinXP whereas they have clearly
mentioned in their requirement specs that it will working on Windows 2000
Server or Windows 2003 server.

Infect one of my colegue got problem when he tried installing FMS on WinXP.
He had to shift to Server adition of windows.

Only Adobe guys can tell the differnce.

Anyway the point is it's working and you were able to run the sample.

Thanks
Vivek


On 5/18/06, Aasim Momin [EMAIL PROTECTED] wrote:


Vivek,

The tutorial did work for me eventually. The problem seemed to be in the
main.asc file provided with the example.
I had it replaced by the default one provided with Flash 8 in the sample
and tutorials folder. This solved the problem.

I am still using WinXP so it seems the problem wasn't OS related.

Thanks!

Regards,
Aasim Momin

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Vivek
lakhanpal
Sent: Thursday, May 18, 2006 10:06 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Flash Media Server tutorial not working

Hi Aasim,

As you mentioned you have Windows XP.It has been mentioned in the
Technical
requirement of FMS that it will work only on Windows 2000 Server or
Windows
2003 Server of Windows platform.

I doubt if your FMS is working at all.

You can try Flash Comm server 1.5 instead of FMS it will install on Win
XP
and your example will work from Flash Comm.

For Flash Comm
http://www.adobe.com/products/flashcom/productinfo/systemreqs/

For Flash Media Server
http://www.adobe.com/products/flashmediaserver/productinfo/systemreqs/

Right now it's working from remote location because FMS is working over
there.

Thanks,
Vivek.

On 6/15/06, Asai [EMAIL PROTECTED] wrote:

 I don't know, brother, this is one of those strange FMS/XML
 things.  I'd suggest asking this question on the
 [EMAIL PROTECTED] list.  That's where some great Flash
 experts are.  Those guys would probably be able to answer your
 question better than me. You can search the archives on the flashcomm
 mailing list for the following thread: Dynamic Playlist with XML
 generated thumbnails.  Some guys got back to me on it and it helped
 a bit.  But I'm not sure that's what you're looking for.

 At 10:38 AM 5/15/2006, you wrote:
 Asai,
 All these files have been placed in their respective folders.
 the flv files have been placed under the
 \applications\videosource\streams\_definst_ folder
 as instructed by the tutorial.
 
 Regards,
 Aasim Momin
 
 
 
 From: [EMAIL PROTECTED] on behalf of Asai
 Sent: Mon 5/15/2006 10:30 PM
 To: Flashcoders mailing list
 Subject: RE: [Flashcoders] Flash Media Server tutorial not working
 
 
 
 I think I remember this problem.  Do you have all your files set up
 in the proper paths?  Like do you have the trike_final video in the
 videosource folder under the applications folder?
 Sometimes path errors can be a really common problem.  Are they all
in
 place?
 
 At 09:44 AM 5/15/2006, you wrote:
  Asai,
  
  I have not edited any of the source files. The only edit has been
in
 the
  xml file. I have put a snippet below for ur reference.
  
   listitem name=The Trike
url=rtmp://localhost/videosource
   stream name=trike_final start=0 len=-1/
   /listitem
  
  You can download the source files from the link I put in my
previous
  mail.
  
  Regards,
  Aasim Momin
  
  
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf Of
Asai
  Sent: Monday, May 15, 2006 10:06 PM
  To: Flashcoders mailing list
  Subject: Re: [Flashcoders] Flash Media Server tutorial not working
  
  Aasim,
  
  Hi, I also did a little work with this XML file tutorial.  I had a
  lot of problems with it, in fact I received a response from one of
  the Adobe engineers who said that basically, the code in that XML
  tutorial was full of problems and should have been checked more
  thoroughly before being put on line.  Now, I don't want to
discourage
  you from trying it out. You'll need to post a little more of your
  code in order to really diagnose the problem.
  
  At 09:28 AM 5/15/2006, you wrote:
   Hi,
   
   I have downloaded the sample on the macromedia site for Flash
Media
   Server using XML file
   http://www.macromedia.com/devnet/flash/articles/video_player.html
  
http://www.macromedia.com/devnet/flash/articles/video_player.html
   
   The application works fine, but when the xml file is edited to
suit a
   local machine. i.e. when I change the xml entry from
rtmp://www.
   To rtmp://localhost/... The application fails to load the movies
   although the thumbnails can be viewed in the list box.
   
   I can see this message in the log window of the FMS Console
   
   Sending this message: Hello! You are connected as: false
   Error : command msg sent before client connection has been
accepted.
   
   I am using Windows XP SP2, Flash 8 Professional, Flash Player 8.
   
   Please suggest what changes

Re: [Flashcoders] Shared object not saving off cd-rom?

2006-05-17 Thread Vivek lakhanpal

Jim,

You have to ask that particular user if he has set knowingly or unknowingly
storage space to 0 for  flash cookies i.e. shared object?
As you might be knowing that Local Storage size can be altered through the
settings tab by right click on the Flash app and opening settings window.

Just a wild guess. This can be the issue.

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

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


Re: [Flashcoders] Flash Media Server tutorial not working

2006-05-17 Thread Vivek lakhanpal

Hi Aasim,

As you mentioned you have Windows XP.It has been mentioned in the Technical
requirement of FMS that it will work only on Windows 2000 Server or Windows
2003 Server of Windows platform.

I doubt if your FMS is working at all.

You can try Flash Comm server 1.5 instead of FMS it will install on Win XP
and your example will work from Flash Comm.

For Flash Comm
http://www.adobe.com/products/flashcom/productinfo/systemreqs/

For Flash Media Server
http://www.adobe.com/products/flashmediaserver/productinfo/systemreqs/

Right now it's working from remote location because FMS is working over
there.

Thanks,
Vivek.

On 6/15/06, Asai [EMAIL PROTECTED] wrote:


I don't know, brother, this is one of those strange FMS/XML
things.  I'd suggest asking this question on the
[EMAIL PROTECTED] list.  That's where some great Flash
experts are.  Those guys would probably be able to answer your
question better than me. You can search the archives on the flashcomm
mailing list for the following thread: Dynamic Playlist with XML
generated thumbnails.  Some guys got back to me on it and it helped
a bit.  But I'm not sure that's what you're looking for.

At 10:38 AM 5/15/2006, you wrote:
Asai,
All these files have been placed in their respective folders.
the flv files have been placed under the
\applications\videosource\streams\_definst_ folder
as instructed by the tutorial.

Regards,
Aasim Momin



From: [EMAIL PROTECTED] on behalf of Asai
Sent: Mon 5/15/2006 10:30 PM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Flash Media Server tutorial not working



I think I remember this problem.  Do you have all your files set up
in the proper paths?  Like do you have the trike_final video in the
videosource folder under the applications folder?
Sometimes path errors can be a really common problem.  Are they all in
place?

At 09:44 AM 5/15/2006, you wrote:
 Asai,
 
 I have not edited any of the source files. The only edit has been in
the
 xml file. I have put a snippet below for ur reference.
 
  listitem name=The Trike url=rtmp://localhost/videosource
  stream name=trike_final start=0 len=-1/
  /listitem
 
 You can download the source files from the link I put in my previous
 mail.
 
 Regards,
 Aasim Momin
 
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Asai
 Sent: Monday, May 15, 2006 10:06 PM
 To: Flashcoders mailing list
 Subject: Re: [Flashcoders] Flash Media Server tutorial not working
 
 Aasim,
 
 Hi, I also did a little work with this XML file tutorial.  I had a
 lot of problems with it, in fact I received a response from one of
 the Adobe engineers who said that basically, the code in that XML
 tutorial was full of problems and should have been checked more
 thoroughly before being put on line.  Now, I don't want to discourage
 you from trying it out. You'll need to post a little more of your
 code in order to really diagnose the problem.
 
 At 09:28 AM 5/15/2006, you wrote:
  Hi,
  
  I have downloaded the sample on the macromedia site for Flash Media
  Server using XML file
  http://www.macromedia.com/devnet/flash/articles/video_player.html
  http://www.macromedia.com/devnet/flash/articles/video_player.html
  
  The application works fine, but when the xml file is edited to suit a
  local machine. i.e. when I change the xml entry from rtmp://www.
  To rtmp://localhost/... The application fails to load the movies
  although the thumbnails can be viewed in the list box.
  
  I can see this message in the log window of the FMS Console
  
  Sending this message: Hello! You are connected as: false
  Error : command msg sent before client connection has been accepted.
  
  I am using Windows XP SP2, Flash 8 Professional, Flash Player 8.
  
  Please suggest what changes can be made to enable this.
  
  Regards,
  Aasim
  
  
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
  
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 
 ---asai
 
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com

---asai

Re: [Flashcoders] [Q] What's the relationship with the setFocus and the ComboBox component???

2006-05-12 Thread Vivek lakhanpal

Hi,

This doens't occur only if you put up a V2 component on stage. But you try
to do with any of the component. Put any component on stage and then remove
that from stage. you input text field won't leave the focus even after you
click outside. i.e. It will fire kill focus and then again set focus.

But if you create any small movie cilp and remove that from stage and then
try this it textfield will not except the focus again. i.e. if you click
outside the textfield it won't fire set focus again.

Moreover it's not occuring in case you put V1 i.e. MX component on stage and
then remove from stage.


The reason why it occurs in case of V2 components only is a bit strange to
me as well.

It can be due the classes/scripting written for V2 components?
Might be someone who has done some deeper coding with V2 components can
comment on it.

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

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


Re: [Flashcoders] x, y coordinates when using Mouse Listener object arenot giving correct output

2006-05-11 Thread Vivek lakhanpal

Hi Jim,

I have tried this problem at 2-3 other places and at last it has been
confirmed as some sort of bug in Flash. we have got a way out of the
problem. You can follow the following thread:

http://www.actionscript.org/forums/showthread.php3?p=484976posted=1#post484976

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

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


Re: [Flashcoders] x, y coordinates when using Mouse Listener object arenot giving correct output

2006-05-03 Thread Vivek lakhanpal

Hi Jim,

Thanks for looking into the problem. It certainly seems a bug to me. For all
other who might have not been able to replicate this bug on their machine
here are the steps you can try and then check.
==
1. Left click on stage it will show x,y in trace window.
2. Without moving mouse do right click at same place.
3. Now move mouse to some other place (make sure your right click menu is
showing up on stage) in the file and do left click there and and the result
i got was the last x,y coordinates.which i got after doing action 1.
==
The environment i used is authoring environment Flash8.
I am not getting this problem when i test in Firefox with player 8 or
8.5but it's there if i check in IE with flash player
8.0  8.5.


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

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


[Flashcoders] x, y coordinates when using Mouse Listener object are not giving correct output

2006-05-02 Thread Vivek lakhanpal

Hi All,

I would like to get mouse coordinates i.e. xmouse  ymouse when user's click
in my flash file and I am using mouse listener for this.

The problem i encountered is as follow

I did left click on stage and got some x, y coordinates then without moving
my mouse i did right click at same place.
Now i moved my mouse to some other place in the file and did left click
there and and i got last x,y coordinates.
Which is wrong output.

Here is the code i am using in my flash file.
//
// Create a mouse listener object
var mouseListener:Object = new Object();

mouseListener.onMouseDown = function() {
   trace(mouseDown  + _level0._xmouse);
   trace(mouseDown  + _level0._ymouse);
updateAfterEvent();
};
mouseListener.onMouseUp = function() {
   trace(mouseUp  + _level0._xmouse);
   trace(mouseUp  + _level0._ymouse);
   updateAfterEvent();
};

Mouse.addListener(mouseListener);

//

Please suggest me some solution to this problem.


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

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


[Flashcoders] x, y coordinates when using Mouse Listener object are not giving correct output

2006-05-02 Thread Vivek lakhanpal

Hi All,

I would like to get mouse coordinates i.e. xmouse  ymouse when user's click
in my flash file and I am using mouse listener for this.

The problem i encountered is as follow

I did left click on stage and got some x, y coordinates then without moving
my mouse i did right click at same place.
Now i moved my mouse to some other place in the file and did left click
there and and i got last x,y coordinates.
Which is wrong output.

Here is the code i am using in my flash file.
//
// Create a mouse listener object
var mouseListener:Object = new Object();

mouseListener.onMouseDown = function() {
   trace(mouseDown  + _level0._xmouse);
   trace(mouseDown  + _level0._ymouse);
updateAfterEvent();
};
mouseListener.onMouseUp = function() {
   trace(mouseUp  + _level0._xmouse);
   trace(mouseUp  + _level0._ymouse);
   updateAfterEvent();
};

Mouse.addListener(mouseListener);

//

Please suggest me some solution to this problem.


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

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


Re: [Flashcoders] Video capture

2006-04-30 Thread Vivek lakhanpal

try

my_video.attachVideo(null);
my_video.clear();

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

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