Re: [Flashcoders] converting/printing swf to eps

2006-04-10 Thread Gabriel
I am actually writing the eps in windows with the adobe's driver, and it 
works fine...I would like to do the same in linux, any idea?, do you 
know if ghostscript could be use as a printer to do the output to an eps?...


GaB


Ron Wheeler wrote:

Ghostscript.
Adobe's postscript printer
You can write the eps manually (define some useful macros and the 
actual generation becomes easy)

Probably XSLT would do the job as well.

It really depends on what you want to do with the eps files and 
whether it is important to use eps at every step.


If you have some control over the client side it gets easier.
Otherwise you need to send data to the server and let the server 
create a new eps.


Where do the eps files get used?

ROn

Gabriel wrote:
I've already said what I need to do, pick a premade draw, and allow 
the user to change the blanks to color, like in a paint app for kids, 
and then export this to an eps, that simple is the idea.


The queries must be received by a server ( a custom app?), or I'm 
missing something...

You said, a lot of tools to create outputs, to eps? can you name one?


thanks
GaB





Ron Wheeler wrote:

Who is receiving the queries?
This sounds like a server side issue.
There are lots of tools to create output on a server.
Why are people changing the colors. Does this get done for each 
print or is the color changed once and requested from a server.


It might save a lot of time if you actually described what you want 
to do in enough detail so we can get to the right solution in the 
next 4 or 5 weeks.


Ron


Gabriel wrote:

hi Ron,
I already have it done this way. A postscript printer in the 
server, and it works like a charm. But the problem is how to 
receive a lot of queries for printing with an automated app...any 
idea?


thanks
GaB



Ron Wheeler wrote:
Can you not just use a postscript printer under windows to create 
the file?
If you download the Adobe generic PostScript driver, set the 
output to file and to be eps rather than PostScript and you should 
be able to print your Flash to eps.


Ron

Gabriel wrote:

Ok, I'll try to put it simple.

I have researched about the eps, I opened it, changed it, and I 
see where are the paremeters I need with a few problems(like 
identify each shape to apply different color), but if you want, 
forget the eps input.


The point is:
1 - I Have a swf with a drawing inside and 2,3,4 colors divided 
in movieclips by color.
2 - I need to open this swf with my app, let the user change the 
color of each mc (at this point, everything is fine)

3 - give the user an eps with the result.

end of workflow.

simple uh? :P

GaB.





Ron Wheeler wrote:

I am having trouble figuring out the flow.

What does the Flash application actually do? If the drawings 
already exist on the server and have to end up on the server,...
What does Flash do with the EPS file? Why EPS at all? How do the 
EPS files get created.

What do you want to do with the resulting files?

Have you edited an eps file with a text editor to see how they 
are constructed? They can include vectors and raster images.
Depending on the program used to create the EPS, it can be full 
of crap and unused macros which make them hard to pick apart if 
that is what you want to do.
You can certainly create eps files by tracking the user inputs 
and writing the PostScript to a file. It is a bit like SVG 
without the XML. You can create your own macros to make the 
process easier - which is where all of the crap comes from in an 
EPS file created by MS-Word (to pick on one vendor unfairly). 
Make a Hello World document and save it. It will be a lot 
longer than 11 characters but you will find Hello World in 
there somewhere.
In the early days of DOS, I wrote a little short PostScript file 
that created fractal images if you sent it to a Postscript 
Printer and let it run all night. Looking back I must not have 
had a life then, I guess - the kids were small and we were to 
tired to go out.



Ron

Gabriel wrote:
Ok, sounds good, but I don't see clearly how to convert my 
already drawn eps/whatever into commands so can rewrite a svg 
an then save it.


I can make instructions for writing the svg, but I have the 
drawings pre made.


GaB



Ron Wheeler wrote:
You can send an XML file of drawing instructions to the server 
and use XSLT to do anything that you want.

a) You can convert it to SVG or EPS.
b) You can convert it to your own vector format
c) You can hold onto it as an XML and redraw it in your Flash 
program later

d) You can convert it to a raster image
e) You can do all of the above and more.

SVG is the most flexible format since it is both an XML file 
that can be transformed using XSLT and a recognized vector 
drawing format that can be edited using drawing programs. It 
is also relatively easy to construct by tracking the user 
activity on the Flash side(move, draw, draw, draw,move, draw...)


Check the Batik site and open an SVG file in a text editor to 
see what is inside.



[Flashcoders] XPath, apostrophe, XPath's escape chars?

2006-04-10 Thread Ramon Miguel M. Tayag
Hey everyone,

I need to search an XML via a string that may contain apostrophes.

ex.:

var sDesc:String = XPath.selectNodes(_xml, //[EMAIL PROTECTED]' +
sReleasedLabel + ']/@writeup)[0];

Is there a way to escape the apostrophe?  The problem is that the
sReleasedLabel, which contains Chinese New Year '06, is thought to
end at ... Year  because of the apostrophe.

I've tried / and \ as escape chars but they don't work.

Got any suggestions?

Thanks!
--
Ramon Miguel M. Tayag
Managing Director
Quirkworks
___
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] XPath, apostrophe, XPath's escape chars?

2006-04-10 Thread Steve Webster

Ramon,


I need to search an XML via a string that may contain apostrophes.

ex.:

var sDesc:String = XPath.selectNodes(_xml, //[EMAIL PROTECTED]' +
sReleasedLabel + ']/@writeup)[0];

Is there a way to escape the apostrophe?  The problem is that the
sReleasedLabel, which contains Chinese New Year '06, is thought to
end at ... Year  because of the apostrophe.

I've tried / and \ as escape chars but they don't work.


You should be able to use double quotes surrounding the expression  
you are looking for...


XPath.selectNodes(_xml, //[EMAIL PROTECTED] + sReleasedLabel + \]/ 
@writeup)[0];


This is something that wouldn't work in an xpath statement in an XML  
file, but you should be able to get away with it in ActionScript  
depending on whether the xpath library you are using supports this  
notation.


Other than that there is no solution to your problem. Better to  
encode your attribute values so that they contain apos; instead of  
apostrophe characters.


Cheers,

Steve

--
Steve Webster
Head of Development

Featurecreep Ltd.
http://www.featurecreep.com
14 Orchard Street, Bristol, BS1 5EH
0117 905 5047


___
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] XPath, apostrophe, XPath's escape chars?

2006-04-10 Thread Ramon Miguel M. Tayag
Steve,

Thanks, I'll try using quotes.  I do used apos; all the time, but it
becomes an apostrophe somewhere there when Flash loads the XML doc.

Thanks!

On 4/10/06, Steve Webster [EMAIL PROTECTED] wrote:
 Ramon,

  I need to search an XML via a string that may contain apostrophes.
 
  ex.:
 
  var sDesc:String = XPath.selectNodes(_xml, //[EMAIL PROTECTED]' +
  sReleasedLabel + ']/@writeup)[0];
 
  Is there a way to escape the apostrophe?  The problem is that the
  sReleasedLabel, which contains Chinese New Year '06, is thought to
  end at ... Year  because of the apostrophe.
 
  I've tried / and \ as escape chars but they don't work.

 You should be able to use double quotes surrounding the expression
 you are looking for...

 XPath.selectNodes(_xml, //[EMAIL PROTECTED] + sReleasedLabel + \]/
 @writeup)[0];

 This is something that wouldn't work in an xpath statement in an XML
 file, but you should be able to get away with it in ActionScript
 depending on whether the xpath library you are using supports this
 notation.

 Other than that there is no solution to your problem. Better to
 encode your attribute values so that they contain apos; instead of
 apostrophe characters.

 Cheers,

 Steve

 --
 Steve Webster
 Head of Development

 Featurecreep Ltd.
 http://www.featurecreep.com
 14 Orchard Street, Bristol, BS1 5EH
 0117 905 5047


 ___
 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



--
Ramon Miguel M. Tayag
Managing Director
Quirkworks
___
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] RE: MGEG to FLV...

2006-04-10 Thread kariminal
I am looking for a solution that works server side... Would FFMPEG work?... 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John Olson
Sent: 09 April 2006 17:15
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] RE: MGEG to FLV...

Or you could use FFMPEG.

FLV Encoding with FFmpeg
Here is a post on using FFMPEG to convert MPG to FLV.

http://www.db75.com/new_blog/?p=98


- John

-Original Message-
Date: Sun, 9 Apr 2006 12:02:19 +0100
From: kariminal [EMAIL PROTECTED]
Subject: [Flashcoders] MGEG to FLV...
To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain;   charset=us-ascii

Hello !

I am just wondering if anyone knows a good solution to get a server to
convert MPEG's to FLV's ?.. 

For the moment I am thinking of a dedicated server, with a copy of Sorenson
squeeze using watch folders. But there has got to be some other way of
achieving this.. No?...



Kind regards


Karim



___
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


--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.3.5/301 - Release Date: 04/04/2006


___
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] jpg in flash 7 and 8

2006-04-10 Thread Martin Weiser

Hello,

i got problem with jpg image in flash, when publishing to 7 it looks better 
(if scale is lower then 100) then when published to 8,


does anyone have the same experience?

Martin]

___
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] jpg in flash 7 and 8

2006-04-10 Thread Zeh Fernando
i got problem with jpg image in flash, when publishing to 7 it looks 
better (if scale is lower then 100) then when published to 8,

does anyone have the same experience?


It's because, when publishing to Flash 8, the flash player properly respects 
the smoothing property of each image, instead of either applying it to them 
all or to none at all (depending on the _quality).


To turn it on for some specific image, go to the library, open up the image 
properties, and check the Allow smoothing option.



- Zeh 


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

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


Re: [Flashcoders] jpg in flash 7 and 8

2006-04-10 Thread Arul Prasad
Check out this:
http://www.kaourantin.net/2005/12/dynamically-loading-bitmaps-with.html

Now thats a info straight from the source, for Tinic is the one who
implemented this feature :)

~Arul Prasad.

On 4/10/06, Martin Weiser [EMAIL PROTECTED] wrote:

 thanks, and what with dynamically loaded jpgs?

 MW


 - Original Message -
 From: Zeh Fernando [EMAIL PROTECTED]
 To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
 Sent: Monday, April 10, 2006 2:27 PM
 Subject: Re: [Flashcoders] jpg in flash 7 and 8


  i got problem with jpg image in flash, when publishing to 7 it looks
  better (if scale is lower then 100) then when published to 8,
  does anyone have the same experience?
 
  It's because, when publishing to Flash 8, the flash player properly
  respects the smoothing property of each image, instead of either
 applying
  it to them all or to none at all (depending on the _quality).
 
  To turn it on for some specific image, go to the library, open up the
  image properties, and check the Allow smoothing option.
 
 
  - Zeh
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com

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

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

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

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


[Flashcoders] dumb xml question

2006-04-10 Thread chris
Hi,

 

How can i get the innertext of an xml node of type 1 (without doing toString 
and stripping the xml tags) in flash mx (not 2004)?

nodeValue doesn’t work on type 1 apparently… returns null…

 

TIA,

Chris.

___
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] dumb xml question

2006-04-10 Thread Adrian Lynch
children[0]?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
[EMAIL PROTECTED]
Sent: 10 April 2006 14:31
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] dumb xml question


Hi,

 

How can i get the innertext of an xml node of type 1 (without doing toString 
and stripping the xml tags) in flash mx (not 2004)?

nodeValue doesn’t work on type 1 apparently… returns null…

 

TIA,

Chris.

___
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] dumb xml question

2006-04-10 Thread Lee McColl-Sylvester
Hi,

I had this problem, but I got around it by embedded the content of the
xml feed to a new node.  This way, even if I only had one node, I
actually had two.

It's sloppy, but it works.

Lee



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: 10 April 2006 14:31
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] dumb xml question

Hi,

 

How can i get the innertext of an xml node of type 1 (without doing
toString and stripping the xml tags) in flash mx (not 2004)?

nodeValue doesn't work on type 1 apparently... returns null...

 

TIA,

Chris.

___
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] dumb xml question

2006-04-10 Thread coroner
trace, trace and trace again untill you find the right node/childNode... at
least that's what i did until i got along with xml...
___
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] dumb xml question

2006-04-10 Thread Lee McColl-Sylvester
I guess you could always do

for (var i in myNode)
{
trace(i +  =\t\t + myNode[i]);
}

That might uncover the little blighter.

Lee




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of coroner
Sent: 10 April 2006 14:57
To: Flashcoders mailing list
Subject: Re: [Flashcoders] dumb xml question

trace, trace and trace again untill you find the right node/childNode...
at
least that's what i did until i got along with xml...
___
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] dumb xml question

2006-04-10 Thread Steve Webster

Chris,

How can i get the innertext of an xml node of type 1 (without doing  
toString and stripping the xml tags) in flash mx (not 2004)?


nodeValue doesn’t work on type 1 apparently… returns null…


Loop through all the child nodes of your node and concatenate the  
value of the text nodes...


var nodeValue:String = ;

for (var i:Number = 0; i  node.childNodes.length; i++) {
  var child:XMLNode = XMLNode(node.childNodes[i]);
  if (child.nodeType == 3) {
nodeValue += child.nodeValue;
  }
}

trace(nodeValue);


If your question is how to get the equivalent of innerHTML then  
change...


  if (child.nodeType == 3) {
nodeValue += child.nodeValue;
  }

...to...

  nodeValue += child.toString();

Hope this helps!

Steve

--
Steve Webster
Head of Development

Featurecreep Ltd.
http://www.featurecreep.com
14 Orchard Street, Bristol, BS1 5EH
0117 905 5047


___
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] dumb xml question

2006-04-10 Thread Lee McColl-Sylvester
Don't you hate it when people don't fully read the question?  ;)

Lee



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Steve
Webster
Sent: 10 April 2006 15:05
To: Flashcoders mailing list
Subject: Re: [Flashcoders] dumb xml question

Chris,

 How can i get the innertext of an xml node of type 1 (without doing  
 toString and stripping the xml tags) in flash mx (not 2004)?

 nodeValue doesn't work on type 1 apparently... returns null...

Loop through all the child nodes of your node and concatenate the  
value of the text nodes...

var nodeValue:String = ;

for (var i:Number = 0; i  node.childNodes.length; i++) {
   var child:XMLNode = XMLNode(node.childNodes[i]);
   if (child.nodeType == 3) {
 nodeValue += child.nodeValue;
   }
}

trace(nodeValue);


If your question is how to get the equivalent of innerHTML then  
change...

   if (child.nodeType == 3) {
 nodeValue += child.nodeValue;
   }

...to...

   nodeValue += child.toString();

Hope this helps!

Steve

-- 
Steve Webster
Head of Development

Featurecreep Ltd.
http://www.featurecreep.com
14 Orchard Street, Bristol, BS1 5EH
0117 905 5047


___
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] Components and load order

2006-04-10 Thread Julian 'Julik' Tarkhanov

Hello Flashcoders!

I recently joinde the list and hoped to find the answer to some  
questions that bother me, hope they aren't to boring or stupid :-)]


I wanted to ask - how do you handle components in relation to load  
orde? I recently developed a combobox that doesn't work with one load  
order, but does work with the other, I sisuepc this is happening  
because the clips within it are not available when the movie is  
loaded in a certain order. What should I do? Establish the linking to  
the clips within an onEnterFrame handler instead of the constructor?


For now I initialize my components like this (I do not inherit the  
UIComponent):


class MyCombo extends Widget {
	function initWidget() { // is a constructor delegate, gets called  
only once

// code to init the movie clips forming the parts of a combo
}
}

Can someone point me to a good read on how to handle different load  
orders when building components? (ideally I would like my component  
to work with both top-down and bottom-up).


Articles on component lifecycle on the Macromedia site are a little,  
ehm, incomplete.



--
Julian 'Julik' Tarkhanov
me at julik.nl



___
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] Object path to string

2006-04-10 Thread Nikolaj Selvik
Hi all,

I need to convert an Object path, for example 

data.item[3].description.short

To a string:

data.item[3].description.short


Something like the targetpath() MovieClip method, but for a basic
Object.
I reckon you'd need to loop through the object backwards but was hoping
to find a function written for this purpose already. No luck yet though.
Anyone?

BR,

Nick

___
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] Object path to string

2006-04-10 Thread Morten Barklund

Nikolaj Selvik wrote:

Hi all,

I need to convert an Object path, for example 


data.item[3].description.short

To a string:

data.item[3].description.short


Well, if you copied the object to another variable, what should the 
toString-method then result in?


var foo = data.item[3].description.short;
toString(foo); // what should this be?
var foo2 = data.item[3].description;
toString(foo2.short); // and this?

There is no such way, as an object or variable has no knowledge of which 
references exist to it. MovieClips are hierarchically defined, with no 
cycles, explicit knowledge of parent and children - normal objects are 
not, and thus you cannot do this.


You would have to manually build this in some way. For instance you 
could create a method, with took data and data.item[3].description as 
arguments, and returned the string item[3].description, as this is 
where this object is found. But otherwise no.


This is a quite commen question and misconception of ActionScript and 
the object hierarchy.


:)

--
Morten Barklund
___
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] Object path to string

2006-04-10 Thread Steve Webster

Nick,


I need to convert an Object path, for example

data.item[3].description.short

To a string:

data.item[3].description.short

Something like the targetpath() MovieClip method, but for a basic
Object.
I reckon you'd need to loop through the object backwards but was  
hoping
to find a function written for this purpose already. No luck yet  
though.

Anyone?


You might find something here: http://proto.layer51.com/default.aspx.

If you want to code this yourself, you'd need to start at 'data' and  
loop recursively through all its properties until you find a  
reference to the object you're looking for.


Having said that, of course objects exist only as references, so  
there might be more than one 'path' to your object.


Cheers,

Steve

--
Steve Webster
Head of Development

Featurecreep Ltd.
http://www.featurecreep.com
14 Orchard Street, Bristol, BS1 5EH
0117 905 5047


___
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] Linked font from class

2006-04-10 Thread Mendelsohn, Michael
Hi list...

I have a movie and an external class.  The movie has a font in it with a
linkage name theTimes.  The class constructor creates a new text
field, and sets a style with this embedded font.  The text is formatted
all of the attributes except the font, and I'm wondering if it's because
the font is in the library of the movie not being seen somehow.  Any
ideas?  Below is the code.

Thanks,
- Michael M.  


_root.createEmptyMovieClip(leftOrRight, 1);
var theStyle:TextFormat = new TextFormat();
theStyle.font = theUnivers;
_root.leftOrRight.createTextField(theLabel, 2, 5, 2,
10, 18);
_root.leftOrRight.thelabel.embedFonts = true;
_root.leftOrRight.theLabel.text = Left button;
_root.leftOrRight.theLabel.autoSize = left;
_root.leftOrRight.theLabel.setTextFormat(theStyle);

___
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] Active X and Microsoft IE ...

2006-04-10 Thread Paul Neave
I wholeheartedly recommend using Flash Object for embedding Flash into
HTML. Yes, it means those with JavaScript disabled will get the
'alternative version', but in all honesty, in these days of AJAX and
standards-compliance, people who disable JavaScript are in the tiny
minority.

The benefits (customisability, compatibility, upgradability etc.) of
using Flash Object greatly outweigh the disadvantages. I'd love to see
Adobe recommend the use of Flash Object over the current standard of
an ugly combined object and embed tags.

On another note, it's actually considered good practice to have
JavaScript create any 'active content', that way the code falls down
gracefully and those with non-capable browsers get an alternative
view.

Just my opinion!
Paul.


On 10/04/06, GregoryN [EMAIL PROTECTED] wrote:

 Last year I worked with a client's employee, who had both
 javascript and cookies turned off.
 At first, I couldn't understand why he's doing so. My thoughts were
 exactly as Steven's .
 But some day he's dropped few words and I've got it:  he's porn
 surfer! And he was using office computer for it :-).

 So, here's the example motivation to turn JS off.

 As to the point, I guess we still can use NOSCRIPT tag, can't we?
 Yes, it will require activation in IE7, but seems it's the only way.



 --
 Best regards,
  GregoryN
 
 http://GOusable.com
 Flash components development.
 Usability services.

 On 4/9/06, Steven Sacks [EMAIL PROTECTED] wrote:
  You also have to consider what users are turning off Javascript.
 
  First, Javascript is turned on by default.  Second, you have to be somewhat
  savvy to know what Javascript is, much less turn it off, and also know what
  purpose turning it off serves.  Third, you need to have a reason to turn it
  off.  These things combined means that people who turn off Javascript are
  more than likely well aware of the consequences of this action, it's not
  just Flash that's effected.  It's pretty much any plug-in and any DHTML
  site.  Almost every site on the web uses Javascript now in some form or
  another.  I wonder just how many people turn off Javascript and are they
  really worth going after?  They obviously want a very limited and controlled
  web experience.
 
  It's like trying to advertise on cable television channels to people who
  only have antenna reception.  You're just not going to reach that very small
  audience, so get over 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@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] Active X and Microsoft IE ...

2006-04-10 Thread John Grden
HA, lol, man never occured to me, but yeah, I guess that'd be a scenario

I would think the noscript tag would be the option - doesn't seem that
there's any other option really.

On 4/10/06, GregoryN [EMAIL PROTECTED] wrote:


 Last year I worked with a client's employee, who had both
 javascript and cookies turned off.
 At first, I couldn't understand why he's doing so. My thoughts were
 exactly as Steven's .
 But some day he's dropped few words and I've got it:  he's porn
 surfer! And he was using office computer for it :-).

 So, here's the example motivation to turn JS off.

 As to the point, I guess we still can use NOSCRIPT tag, can't we?
 Yes, it will require activation in IE7, but seems it's the only way.



 --
 Best regards,
 GregoryN
 
 http://GOusable.com
 Flash components development.
 Usability services.

 On 4/9/06, Steven Sacks [EMAIL PROTECTED] wrote:
  You also have to consider what users are turning off Javascript.
 
  First, Javascript is turned on by default.  Second, you have to be
 somewhat
  savvy to know what Javascript is, much less turn it off, and also know
 what
  purpose turning it off serves.  Third, you need to have a reason to turn
 it
  off.  These things combined means that people who turn off Javascript
 are
  more than likely well aware of the consequences of this action, it's not
  just Flash that's effected.  It's pretty much any plug-in and any DHTML
  site.  Almost every site on the web uses Javascript now in some form or
  another.  I wonder just how many people turn off Javascript and are they
  really worth going after?  They obviously want a very limited and
 controlled
  web experience.
 
  It's like trying to advertise on cable television channels to people who
  only have antenna reception.  You're just not going to reach that very
 small
  audience, so get over 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




--
John Grden - Blitz
___
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] Linked font from class

2006-04-10 Thread Iv
Hello Michael,

http://www.sharedfonts.com/eng/faq.html#include


-- 
Ivan Dembicki

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

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

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


Re: [Flashcoders] Active X and Microsoft IE ...

2006-04-10 Thread John Grden
I wouldn't disagree with you at all on that Paul.  I might disagree about
the numbers in minority especially given the porn variable, but I don't
think it raises the number into the majority by any means.

But that doesn't diminish what you've said here, FlashObject has been very
easy to integrate and use.

On 4/10/06, Paul Neave [EMAIL PROTECTED] wrote:

 I wholeheartedly recommend using Flash Object for embedding Flash into
 HTML. Yes, it means those with JavaScript disabled will get the
 'alternative version', but in all honesty, in these days of AJAX and
 standards-compliance, people who disable JavaScript are in the tiny
 minority.

 The benefits (customisability, compatibility, upgradability etc.) of
 using Flash Object greatly outweigh the disadvantages. I'd love to see
 Adobe recommend the use of Flash Object over the current standard of
 an ugly combined object and embed tags.

 On another note, it's actually considered good practice to have
 JavaScript create any 'active content', that way the code falls down
 gracefully and those with non-capable browsers get an alternative
 view.

 Just my opinion!
 Paul.


 On 10/04/06, GregoryN [EMAIL PROTECTED] wrote:
 
  Last year I worked with a client's employee, who had both
  javascript and cookies turned off.
  At first, I couldn't understand why he's doing so. My thoughts were
  exactly as Steven's .
  But some day he's dropped few words and I've got it:  he's porn
  surfer! And he was using office computer for it :-).
 
  So, here's the example motivation to turn JS off.
 
  As to the point, I guess we still can use NOSCRIPT tag, can't we?
  Yes, it will require activation in IE7, but seems it's the only way.
 
 
 
  --
  Best regards,
   GregoryN
  
  http://GOusable.com
  Flash components development.
  Usability services.
 
  On 4/9/06, Steven Sacks [EMAIL PROTECTED] wrote:
   You also have to consider what users are turning off Javascript.
  
   First, Javascript is turned on by default.  Second, you have to be
 somewhat
   savvy to know what Javascript is, much less turn it off, and also know
 what
   purpose turning it off serves.  Third, you need to have a reason to
 turn it
   off.  These things combined means that people who turn off Javascript
 are
   more than likely well aware of the consequences of this action, it's
 not
   just Flash that's effected.  It's pretty much any plug-in and any
 DHTML
   site.  Almost every site on the web uses Javascript now in some form
 or
   another.  I wonder just how many people turn off Javascript and are
 they
   really worth going after?  They obviously want a very limited and
 controlled
   web experience.
  
   It's like trying to advertise on cable television channels to people
 who
   only have antenna reception.  You're just not going to reach that very
 small
   audience, so get over 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@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




--
John Grden - Blitz
___
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] Active X and Microsoft IE ...

2006-04-10 Thread Ettwein, Josh
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John
Grden
Sent: Monday, April 10, 2006 8:52 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Active X and Microsoft IE ...

I wouldn't disagree with you at all on that Paul.  I might disagree
about the numbers in minority especially given the porn variable, but
I don't think it raises the number into the majority by any means.

But that doesn't diminish what you've said here, FlashObject has been
very easy to integrate and use.

On 4/10/06, Paul Neave [EMAIL PROTECTED] wrote:

 I wholeheartedly recommend using Flash Object for embedding Flash into

 HTML. Yes, it means those with JavaScript disabled will get the 
 'alternative version', but in all honesty, in these days of AJAX and 
 standards-compliance, people who disable JavaScript are in the tiny 
 minority.

 The benefits (customisability, compatibility, upgradability etc.) of 
 using Flash Object greatly outweigh the disadvantages. I'd love to see

 Adobe recommend the use of Flash Object over the current standard of 
 an ugly combined object and embed tags.

 On another note, it's actually considered good practice to have 
 JavaScript create any 'active content', that way the code falls down 
 gracefully and those with non-capable browsers get an alternative 
 view.

 Just my opinion!
 Paul.


 On 10/04/06, GregoryN [EMAIL PROTECTED] wrote:
 
  Last year I worked with a client's employee, who had both javascript

  and cookies turned off.
  At first, I couldn't understand why he's doing so. My thoughts were 
  exactly as Steven's .
  But some day he's dropped few words and I've got it:  he's porn 
  surfer! And he was using office computer for it :-).
 
  So, here's the example motivation to turn JS off.
 
  As to the point, I guess we still can use NOSCRIPT tag, can't we?
  Yes, it will require activation in IE7, but seems it's the only way.
 
 
 
  --
  Best regards,
   GregoryN
  
  http://GOusable.com
  Flash components development.
  Usability services.
 
  On 4/9/06, Steven Sacks [EMAIL PROTECTED] wrote:
   You also have to consider what users are turning off Javascript.
  
   First, Javascript is turned on by default.  Second, you have to be
 somewhat
   savvy to know what Javascript is, much less turn it off, and also 
   know
 what
   purpose turning it off serves.  Third, you need to have a reason 
   to
 turn it
   off.  These things combined means that people who turn off 
   Javascript
 are
   more than likely well aware of the consequences of this action, 
   it's
 not
   just Flash that's effected.  It's pretty much any plug-in and any
 DHTML
   site.  Almost every site on the web uses Javascript now in some 
   form
 or
   another.  I wonder just how many people turn off Javascript and 
   are
 they
   really worth going after?  They obviously want a very limited and
 controlled
   web experience.
  
   It's like trying to advertise on cable television channels to 
   people
 who
   only have antenna reception.  You're just not going to reach that 
   very
 small
   audience, so get over 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@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




--
John Grden - Blitz
___
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] AS2 slideshow question

2006-04-10 Thread Ettwein, Josh
So before I start with the question, I'll throw out there that yes, I am
rebuilding a wheel here that has probably been done 100 times over, but
client wants this built and is paying for it, so there it is...

Now to the question. I have created a series of AS2 classes to handle
the functionality of a basic slideshow (fwd,back,pause/play,rewind), and
it's for a designer (non-technical flash person) who is making each
individual slide as a separate swf, with an audio file (mp3) that goes
with each slide. The client desires the capability to monkey with the
slides and audio files without recompiling the main swf or the AS2
classes, so I have written it such that it pulls slide and audio data
from an XML file managed by the client and based on that file, just uses
a movieClipLoader and loads the sound files together on the load method.
Issues are that there has to be a preloader on each slide to handle the
dead air, which I don't like, not to mention depending on connection
speed, it's just downright flakey.

My thought is just to have the designer create all the slides as mc's
rather than swf's and put the slide mc's and sounds directly in the
library and preload the whole shebang once at the front end. Obviously,
this will remove the ability to edit slides and audio files without
recompile, but for user-experience sake, I'd lean toward that method -
using attachMovie and attachSound rather than movieClipLoader and
loadSound.

Any thoughts?

Josh

Josh Ettwein | Intuit | Web Developer | direct 858.525.8026
___
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] Versions problem

2006-04-10 Thread Juan Anzaldo
I have to make an interactive   for a company X.
company X have a lot of filters where the content 
must pass for publish (You know burocracy).
So for publish my interactive:
Me-- MyContact -- ContactofCompanyX --
WebMastersofCompanyX.

Obviusly I want to use some of the new features of
Macromedia Flash 8, 
but the WebMastersofCompanyX dont wan't upgrade to the
next player argumentaning
that some people cant see the Interactives.

I propouse to add some script in javaScript for detect
the version player but 
the WebMastersofCompanyX dont let me insert any code
outSide the movies.  

How do I explain to myContact all the advantages of
the use of flash 8 instead flash mx 2004?, or 
maybe will be better still using MX2004, MyContact has
to explain to ContactofCompanyX for 
convince him and use flash 8.

I dont know if is a problem with the content manager
of the company X, what must I do?


Ing. Juan Anzaldo
Tel Cel. 614 427-6523
Blog : http://janzaldo.blogspot.com

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.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] Accessing shared object content written by a windowSWF

2006-04-10 Thread Manuel Saint-Victor
Is it possible to have a swf that is authored and being tested in the Flash
IDE load a sharedObject created by a windowSWF?  I'm trying to get to the
path and read the content using Seyy's LSO reader but am having trouble
retrieving it with another swf that is being tested within Flash.

Mani
___
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] Linked font from class

2006-04-10 Thread Mendelsohn, Michael
Thanks for the interesting link Ivan.  I think in my case, it was a
scope problem, because I had the setTextFormat called from within a with
block that I discovered wasn't reading the TextFormat.  Issue solved.

- MM

___
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] Active X and Microsoft IE ...

2006-04-10 Thread John Dowdell

Stephen Ford wrote:

What happens if a user doesn't have javascript enabled in their browser for the 
recommended Macromedia solution (see link: 
http://www.macromedia.com/devnet/activecontent/articles/devletter.html) to this 
whole Active X debacle ?


This is answered at the Adobe Active Content Center:
What about users who have JavaScript turned off?
http://www.macromedia.com/devnet/activecontent/articles/devletter.html#nojavascript

(NOSCRIPT was originally for browsers which did not have any JavaScript 
interpreter, rather than for a browser whose owner disabled JavaScript, 
but what I've been seeing anecdotally the last few versions is that most 
browsers have switched over to reading NOSCRIPT when JS is turned off. 
It would be great if there were openwiki documentation of browser 
differences, however.)



Related question: Do you see reasons why so much of this conversation 
about ActiveX changes in the Microsoft browser has avoided the source 
material on the Adobe site? Reporters are frequently getting the facts 
wrong (ads won't play etc), and on the lists there's sort of a 
goldrush to be handrolling other solutions. Any ideas I should consider 
here? Thanks.



jd




--
John Dowdell . Adobe Developer Support . San Francisco CA USA
Weblog: http://weblogs.macromedia.com/jd
Aggregator: http://weblogs.macromedia.com/mxna
Technotes: http://www.macromedia.com/support/
Spam killed my private email -- public record is best, 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


RE: [Flashcoders] Linked font from class

2006-04-10 Thread Brody Welch
Hello Michael,

While I have never used an embedded font for a
dynamically generated text field before I have had
luck with dynamic text fields themselves created
during authortime.  Your code seems OK from what I
see. The steps I take.

1. Create the shared font symbol. New.flaw/in
LibraryNew Fontright-clicklinkageExport for
ActionScriptRuntime Sharing etc.  indentifier = name
 linkage = URL  Save  Export  Close.

2. Create file that will use above font  next  file
 open as shared library (open the shared font .fla) 
drag the fonts from shared.fla into working .fla 
w/in Library right - click  linkage  import for
runtime sharing identifier = same as above  linkage
= same URL.

Test it and it should work. I have a tech-note from
Macromedia I will try and find as well. As mentioned
this works for me but I have yet to try it with
RunTime generated text fields. Please see my next post
on this same subject and see if you may be able to
point me in the right direction.

broD


___
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] Linked font from class

2006-04-10 Thread Brody Welch
Hello Michael and Ivan,

I posted a thread similar to this yesterday with no
reponse so Ivan I was hoping you may be able to
clarify a few things and Michael this could prevent
major headaches in the future. 

I have about 150 .swf's' all sharing the same Font
Symbol. Everything works great when the files are in
the same folder as the HTML file, and mainLoader.swf
file. However I need the HTML file to be two
directories up. When I do this and make the
appropriate coding changes everything still works but
the Font gets loaded in now every time a new .swf
loads. This defeats the whole purpose, slows down load
times, increases bandwidth and memory usage. 

Ivan I read through your component's documentation and
it appears to address some of these issues but are you
familiar with another work around. I am assuming you
are as this would be the motive behind building the
component in the first place. I have to publish by
next Monday and do not want to go through  and change
all 150 files if it can be prevented. Your component
may be a solid answer for the next project but can you
give me and Michael advice on how to avoid / remedy
this reloading issue.

Any thoughts would be appreciated.

broD
___
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] Active X and Microsoft IE ...

2006-04-10 Thread John Grden
Preamble: This is not gospel, this is not majority, this isn't anything by
my opinion :)

In the past, I've had mixed experiences with MM/Adobe's site for help.  Most
of the time, I honestly have to check for the last revision date to make
sure I'm not reading something that's 2 years old.  There have been times
that I've found the answer there, but the vast majority of answer come from
blogs these days.

What's cool about the blog entries is I can get to the author right away
with a comment or email and I usually have the benefit of other comments
which might not only clarify the blog's post, but actually offer another
reference.  That and I now have 5+ other people I can email about the post
and get help from them.

So, my initial reaction to why don't I go to adobe first? is that it seems
kinda narrow and not nearly as complete.  Often the searches just didn't
bring back what I was looking for.  And just to say it out loud - yes, I
continually try the adobe site JUST incase the answer is there.  I do,
however, go to live docs frequently just to see if other people have posted
comments on the subject I'm after.  After I've looked everywhere else, I go
to FlashCoders ;)

The theme here is the benefit of other people's reactions/comments to an
article are invaluable.

The funny thing that happens sometimes is that i get better search results
using google.com that include pages on marcomedia.com/livedocs rather than
the google search on the MM site.  I couldn't answer why, but maybe it's
just because I get my answer out there - who knows.  Maybe its the indexing
- no clue.

/ my2Cents

On 4/10/06, John Dowdell [EMAIL PROTECTED] wrote:

 Stephen Ford wrote:
  What happens if a user doesn't have javascript enabled in their browser
 for the recommended Macromedia solution (see link:
 http://www.macromedia.com/devnet/activecontent/articles/devletter.html) to
 this whole Active X debacle ?

 This is answered at the Adobe Active Content Center:
 What about users who have JavaScript turned off?

 http://www.macromedia.com/devnet/activecontent/articles/devletter.html#nojavascript

 (NOSCRIPT was originally for browsers which did not have any JavaScript
 interpreter, rather than for a browser whose owner disabled JavaScript,
 but what I've been seeing anecdotally the last few versions is that most
 browsers have switched over to reading NOSCRIPT when JS is turned off.
 It would be great if there were openwiki documentation of browser
 differences, however.)


 Related question: Do you see reasons why so much of this conversation
 about ActiveX changes in the Microsoft browser has avoided the source
 material on the Adobe site? Reporters are frequently getting the facts
 wrong (ads won't play etc), and on the lists there's sort of a
 goldrush to be handrolling other solutions. Any ideas I should consider
 here? Thanks.


 jd




 --
 John Dowdell . Adobe Developer Support . San Francisco CA USA
 Weblog: http://weblogs.macromedia.com/jd
 Aggregator: http://weblogs.macromedia.com/mxna
 Technotes: http://www.macromedia.com/support/
 Spam killed my private email -- public record is best, 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




--
John Grden - Blitz
___
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] External swf / attachMovie

2006-04-10 Thread Ben Smeets
Hi all,

I know this question is coming along every now and then, but the
solution still couldn't be found by myself. Quick introduction:

I want to be able to have A.swf, with a lot of simple mc's to be loaded
into B.swf. In A.swf I would set all kinds of linkageIDs to my shapes,
which I would like to use in B.swf with attachMovie. This simple task
seems to be a major issue :) Only thing I could find about it was a
bunch of can't be done google hits and a might-be workaround in the
archives at
http://chattyfig.figleaf.com/mailman/htdig/flashcoders/2003-December/098
173.html.

I was wondering if someobody in the meantime has found a better solution
for this problem? Like just being able to load an external swf, and call
attachMovie in your main swf to linked library items in that loaded swf.
Without restrictions... Anybody? :)

Cheers,

Ben
___
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] Linked font from class

2006-04-10 Thread Brody Welch
Here is the link to Macromedia's TechNote regarding
Shared Font Libraries. They spell it out a little more
eloquently than I did.

http://www.macromedia.com/go/tn_14786

P.S. It was taken from the www.sharedfonts.com links
page

broD

P.P.S. No I have no affiliation with sharedfonts.com
in fact I hadn't even heard of it till today when I
recieved the latest list. Ivan will you give me some
advice now?


___
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] Active X and Microsoft IE ...

2006-04-10 Thread andrew . lucking
|-+-
| |   John Dowdell  |
| |   [EMAIL PROTECTED]  |
| |   Sent by:  |
| |   [EMAIL PROTECTED]|
| |   figleaf.com   |
| | |
| | |
| |   2006-04-10 02:32 PM   |
| |   Please respond to Flashcoders |
| |   mailing list  |
| | |
|-+-
  
---|
  | 
  |
  |   To:   Flashcoders mailing list 
flashcoders@chattyfig.figleaf.com  |
  |   cc:   
  |
  |   Subject:  Re: [Flashcoders] Active X and Microsoft IE ... 
  |
  
---|








 Related question: Do you see reasons why so much of this conversation
 about ActiveX changes in the Microsoft browser has avoided the source
 material on the Adobe site? Reporters are frequently getting the facts
 wrong (ads won't play etc), and on the lists there's sort of a
 goldrush to be handrolling other solutions. Any ideas I should consider
 here? Thanks.

Good question. My perception is that this time around Adobe was slower to
get *solutions* available. For whatever reasons it was only late last week
that I was able to point folks to some workaround samples from Adobe. With
the browser update already circulating as an optional download and rumours
of it being included in this week's security patch from MS maybe folks
started without Adobe's guidance?

But that's just this lurkers perspective ;-)

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


RE: [Flashcoders] External swf / attachMovie

2006-04-10 Thread Ben Smeets
To add more to the confusion, these kind of 'hacks' still seem to work,
but all require some sort of compile time tricks to make it work. I'm
looking for genuine loadClip() goodies.

http://www.flashkit.com/tutorials/Tips_And_Techniques/How_to_u-FreshLau-
1000/more2.php

 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ben
Smeets
Sent: maandag 10 april 2006 22:08
To: Flashcoders mailing list
Subject: [Flashcoders] External swf / attachMovie

Hi all,

I know this question is coming along every now and then, but the
solution still couldn't be found by myself. Quick introduction:

I want to be able to have A.swf, with a lot of simple mc's to be loaded
into B.swf. In A.swf I would set all kinds of linkageIDs to my shapes,
which I would like to use in B.swf with attachMovie. This simple task
seems to be a major issue :) Only thing I could find about it was a
bunch of can't be done google hits and a might-be workaround in the
archives at
http://chattyfig.figleaf.com/mailman/htdig/flashcoders/2003-December/098
173.html.

I was wondering if someobody in the meantime has found a better solution
for this problem? Like just being able to load an external swf, and call
attachMovie in your main swf to linked library items in that loaded swf.
Without restrictions... Anybody? :)

Cheers,

Ben
___
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] combobox big problem

2006-04-10 Thread Alfonso Florio

this is really strange:

i create a serie of mcs with into them two combobox, populate and 
select index, all ok.


when i delete them (i try to delete the mc container and the 
components) and re-create them (to delete some items and re-create 
the list), or just change the dataprovider a strange thing happens:


the combo don't show the selection: if i click i see the right 
selection in the list, but when i select another item the closed 
combo results with no text!!!


it's a visualization problem, the combo gives the right index, but 
when it's closed don't show the text of the selected item


i'm getting crazy, please help

Alfonso

___
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] combobox big problem

2006-04-10 Thread Aaron Smith

Do you have it under a mask? if so I think you need to embed the fonts.



On Apr 10, 2006, at 2:32 PM, Alfonso Florio wrote:


this is really strange:

i create a serie of mcs with into them two combobox, populate and  
select index, all ok.


when i delete them (i try to delete the mc container and the  
components) and re-create them (to delete some items and re-create  
the list), or just change the dataprovider a strange thing happens:


the combo don't show the selection: if i click i see the right  
selection in the list, but when i select another item the closed  
combo results with no text!!!


it's a visualization problem, the combo gives the right index, but  
when it's closed don't show the text of the selected item


i'm getting crazy, please help

Alfonso

___
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] combobox big problem

2006-04-10 Thread Steven Sacks
Try setting the font to _sans and see if that helps. 

cmb.setStyle(fontFamily, _sans);


 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf 
 Of Aaron Smith
 Sent: Monday, April 10, 2006 2:54 PM
 To: Flashcoders mailing list
 Subject: Re: [Flashcoders] combobox big problem
 
 Do you have it under a mask? if so I think you need to embed 
 the fonts.
 
 
 
 On Apr 10, 2006, at 2:32 PM, Alfonso Florio wrote:
 
  this is really strange:
 
  i create a serie of mcs with into them two combobox, populate and 
  select index, all ok.
 
  when i delete them (i try to delete the mc container and the
  components) and re-create them (to delete some items and 
 re-create the 
  list), or just change the dataprovider a strange thing happens:
 
  the combo don't show the selection: if i click i see the right 
  selection in the list, but when i select another item the closed
  combo results with no text!!!
 
  it's a visualization problem, the combo gives the right index, but 
  when it's closed don't show the text of the selected item
 
  i'm getting crazy, please help
 
  Alfonso
 
  ___
  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
 


___
This e-mail is intended only for the named person or entity to which
it is addressed and contains valuable business information that is 
privileged, confidential and/or otherwise protected from disclosure. 
Dissemination, distribution or copying of this e-mail or the 
information herein by anyone other than the intended recipient, or 
an employee or agent responsible for delivering the message to the 
intended recipient, is strictly prohibited. All contents are the 
copyright property of Agency.com Ltd., its affiliates or a client of 
such agencies. If you are not the intended recipient, you are 
nevertheless bound to respect the worldwide legal rights of 
Agency.com, its affiliates and its clients. We require that 
unintended recipients delete the e-mail and destroy all electronic 
copies in their system, retaining no copies in any media. If you
have received this e-mail in error, please immediately notify us via 
e-mail to [EMAIL PROTECTED] We appreciate your cooperation.

We make no warranties as to the accuracy or completeness of this 
e-mail and accept no liability for its content or use. Any opinions 
expressed in this e-mail are those of the author and do not 
necessarily reflect the opinions of Agency.com or any of its 
affiliates.

___
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] combobox big problem

2006-04-10 Thread Steven Sacks
 when i delete them (i try to delete the mc container and the
 components) and re-create them (to delete some items and 
 re-create the list), or just change the dataprovider a 
 strange thing happens:

Why don't you just delete items from the dataprovider?  The components
are made to respond instantly to changes in the data.  Meaning, you
don't need to re-create them to show changes, they fire events
automatically when you change the data.  That's the whole point of
having a dataprovider.


___
This e-mail is intended only for the named person or entity to which
it is addressed and contains valuable business information that is 
privileged, confidential and/or otherwise protected from disclosure. 
Dissemination, distribution or copying of this e-mail or the 
information herein by anyone other than the intended recipient, or 
an employee or agent responsible for delivering the message to the 
intended recipient, is strictly prohibited. All contents are the 
copyright property of Agency.com Ltd., its affiliates or a client of 
such agencies. If you are not the intended recipient, you are 
nevertheless bound to respect the worldwide legal rights of 
Agency.com, its affiliates and its clients. We require that 
unintended recipients delete the e-mail and destroy all electronic 
copies in their system, retaining no copies in any media. If you
have received this e-mail in error, please immediately notify us via 
e-mail to [EMAIL PROTECTED] We appreciate your cooperation.

We make no warranties as to the accuracy or completeness of this 
e-mail and accept no liability for its content or use. Any opinions 
expressed in this e-mail are those of the author and do not 
necessarily reflect the opinions of Agency.com or any of its 
affiliates.

___
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] Active X and Microsoft IE ...

2006-04-10 Thread Bill Lane
jdowdell wrote:

It would be great if there were openwiki documentation of browser 
differences, however.
 
This doesn't cover the variations in noscript response.  But is the
most comprehensive browser comparison I've seen to date.

http://en.wikipedia.org/wiki/Comparison_of_web_browsers
 
Bill Lane

___
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] Active X and Microsoft IE ...

2006-04-10 Thread Bill Lane
I actually think that the problem was that Adobe was too quick to
respond.  They've had a solution up since the first round of worry hit
this forum.  But I think it was so long ago that most forgot about it. 
Then when it hit the press again they didn't remind people firmly
enough.  They treated like the old news it was.  Rather than the new
news that most still think it is.
 
Bill Lane
 

 Related question: Do you see reasons why so much of this
conversation
 about ActiveX changes in the Microsoft browser has avoided the
source
 material on the Adobe site?

Andrew Lucking wrote:
Good question. My perception is that this time around Adobe was slower
to
get *solutions* available. For whatever reasons it was only late last
week
that I was able to point folks to some workaround samples from Adobe.
With
the browser update already circulating as an optional download and
rumours
of it being included in this week's security patch from MS maybe folks
started without Adobe's guidance?

___
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] Effects in Flash

2006-04-10 Thread Weyert de Boer
Hija!

I am working on a Flash website which should support to change the
background based on a specific section. Now I want to make the website
using events/AS2, and such. Somehow I am staring blind on something,
hopefully anyone here can advice. I can tell it's a stupid question,
though.

Anyway my question is how can I construct some sort of way that make it
possible to switch background easily? I have implementation now which call
displayBackground() which makes the movieclips require such as as the
empty movieclip for the background image, and the background animation.
The problem I currently have is that this works fine when loading the
website, but when I want to change it later on it fails totally. Because
it wired up in construction-animation of the website. Meaning:
background - navigation - content. Each time I switch background this
happens again i.e. the navigation animation, and such. I don't want
that...

Anyone got some advice on it? I just don't know it at the moment. Greatly
apperciated.

(I said it was a dumb question, right?)


-- 
Yours,

Weyert de Boer
innerfuse*

http://www.innerfuse.biz/
___
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] Active X and Microsoft IE ...

2006-04-10 Thread Mick G
I don't know if this falls in line with the whole law suit or not, but it
just seems so obvious to me that MS should implement a checkbox next to the
dialog when you're allow ActiveX content that says [x] Always allow this
Active X type or [x] Always allow flash content (the same way you get
that checkbox when you first ever use IE and it tells you about submitting
information across the internet).

Would make life much easier for everyone if this were an option.



On 4/11/06, Bill Lane [EMAIL PROTECTED] wrote:

 I actually think that the problem was that Adobe was too quick to
 respond.  They've had a solution up since the first round of worry hit
 this forum.  But I think it was so long ago that most forgot about it.
 Then when it hit the press again they didn't remind people firmly
 enough.  They treated like the old news it was.  Rather than the new
 news that most still think it is.

 Bill Lane


  Related question: Do you see reasons why so much of this
 conversation
  about ActiveX changes in the Microsoft browser has avoided the
 source
  material on the Adobe site?

 Andrew Lucking wrote:
 Good question. My perception is that this time around Adobe was slower
 to
 get *solutions* available. For whatever reasons it was only late last
 week
 that I was able to point folks to some workaround samples from Adobe.
 With
 the browser update already circulating as an optional download and
 rumours
 of it being included in this week's security patch from MS maybe folks
 started without Adobe's guidance?

 ___
 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] Effects in Flash

2006-04-10 Thread Bjorn Schultheiss

If I understand correctly I think you need an extra mc at the bottom
Prev  background - navigation - content
New   timeline - navigation (depth 2) - content
  timeline - background (depth 1)

Function changeBG( bgMC ) {
// unload previous bg
// load new one
}


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Weyert de
Boer
Sent: Tuesday, 11 April 2006 10:15 AM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders]  Effects in Flash

Hija!

I am working on a Flash website which should support to change the
background based on a specific section. Now I want to make the website
using events/AS2, and such. Somehow I am staring blind on something,
hopefully anyone here can advice. I can tell it's a stupid question,
though.

Anyway my question is how can I construct some sort of way that make it
possible to switch background easily? I have implementation now which call
displayBackground() which makes the movieclips require such as as the
empty movieclip for the background image, and the background animation.
The problem I currently have is that this works fine when loading the
website, but when I want to change it later on it fails totally. Because
it wired up in construction-animation of the website. Meaning:
background - navigation - content. Each time I switch background this
happens again i.e. the navigation animation, and such. I don't want
that...

Anyone got some advice on it? I just don't know it at the moment. Greatly
apperciated.

(I said it was a dumb question, right?)


-- 
Yours,

Weyert de Boer
innerfuse*

http://www.innerfuse.biz/
___
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] Effects in Flash

2006-04-10 Thread Weyert de Boer
Hi


 If I understand correctly I think you need an extra mc at the bottom
 Prev  background - navigation - content
 New   timeline - navigation (depth 2) - content
   timeline - background (depth 1)

Yes, It might be a good idea to explain to current code base a bit. It's
mainly based on simple version of the MVC. I happen to have a
SiteController, and SiteView class which handle all the stuff of the Flash
website. For example, I have a displayBackground()-method in the
siteController which triggers a similar method in the siteView-method. I
hooked up some addEventListeners to the SiteView instance. It listens to
the events: navigationStartEvent, navigationCompleteEvent,
backgroundStartEvent, backgroundFadeInitEvent, backgroundCompleteEvent.

The events get triggered from the approriate associated movieclips which
get created at run-time in the SiteView class. Now when I load the website
I construct the SiteModel class, which will load the xml file with the
news and other stuff I need. Now when this XML file has been succesfully
triggered it will dispatch a event called dataAvailableEvent. This then
triggers the method createBackground:

private function createBackground() {
trace( createBackground() );
background = createBackgroundContainer();
background._x = 0;
background._y = 0;
siteView.displayBackground( background );
}

Now as you might expect the SiteView will do the rest of the job, i.e.
attaching the movieclip for animation, and make the empty movieclip for
the image. After this animation has been done this also will raise a event
called backgroundCompleteEvent, this again will trigger the
createNavigatio-method etc. You get the drill. Once this all is done, the
applicationInitiatedEvent will be dispatched this method will then try to
find out which page is needed based on the URL. If is not known it will
the trigger the default button, via: btn_home.onRelease(). This will
then load the content, which currently cause a infinite loop ;-)

 Function changeBG( bgMC ) {
   // unload previous bg
   // load new one
 }


Yes, but then I would need to make some sort of flag to ignore posting the
backgroundComplete-event in the Sitecontroller-instance. Probably it's a
easy way to solve this problem, though. Maybe I should just sned some
parameters a long with the creaeBackground-methid i.e. AppStart.

Maybe I should just sleep over it! Any suggestions are apperciated, maybe
my current design sucks.

Yours,

Weyert de Boer
innerfuse*

http://www.innerfuse.biz/
___
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] Effects in Flash

2006-04-10 Thread Bjorn Schultheiss
There seems nothing wrong with the process you describe.
What seems to be the current problem though?
Is it that the navigation keeps rebuilding infinitely, or is it when the bg
changed the nav crashes as I understood before?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Weyert de
Boer
Sent: Tuesday, 11 April 2006 10:58 AM
To: Flashcoders mailing list
Subject: RE: [Flashcoders]  Effects in Flash

Hi


 If I understand correctly I think you need an extra mc at the bottom
 Prev  background - navigation - content
 New   timeline - navigation (depth 2) - content
   timeline - background (depth 1)

Yes, It might be a good idea to explain to current code base a bit. It's
mainly based on simple version of the MVC. I happen to have a
SiteController, and SiteView class which handle all the stuff of the Flash
website. For example, I have a displayBackground()-method in the
siteController which triggers a similar method in the siteView-method. I
hooked up some addEventListeners to the SiteView instance. It listens to
the events: navigationStartEvent, navigationCompleteEvent,
backgroundStartEvent, backgroundFadeInitEvent, backgroundCompleteEvent.

The events get triggered from the approriate associated movieclips which
get created at run-time in the SiteView class. Now when I load the website
I construct the SiteModel class, which will load the xml file with the
news and other stuff I need. Now when this XML file has been succesfully
triggered it will dispatch a event called dataAvailableEvent. This then
triggers the method createBackground:

private function createBackground() {
trace( createBackground() );
background = createBackgroundContainer();
background._x = 0;
background._y = 0;
siteView.displayBackground( background );
}

Now as you might expect the SiteView will do the rest of the job, i.e.
attaching the movieclip for animation, and make the empty movieclip for
the image. After this animation has been done this also will raise a event
called backgroundCompleteEvent, this again will trigger the
createNavigatio-method etc. You get the drill. Once this all is done, the
applicationInitiatedEvent will be dispatched this method will then try to
find out which page is needed based on the URL. If is not known it will
the trigger the default button, via: btn_home.onRelease(). This will
then load the content, which currently cause a infinite loop ;-)

 Function changeBG( bgMC ) {
   // unload previous bg
   // load new one
 }


Yes, but then I would need to make some sort of flag to ignore posting the
backgroundComplete-event in the Sitecontroller-instance. Probably it's a
easy way to solve this problem, though. Maybe I should just sned some
parameters a long with the creaeBackground-methid i.e. AppStart.

Maybe I should just sleep over it! Any suggestions are apperciated, maybe
my current design sucks.

Yours,

Weyert de Boer
innerfuse*

http://www.innerfuse.biz/
___
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] dumb xml question

2006-04-10 Thread Michael Bedar

The Text content is always 1 level father than you'd think, so do

mynode.firstChild.nodeValue

mike


On Apr 10, 2006, at 9:30 AM, [EMAIL PROTECTED] wrote:


Hi,



How can i get the innertext of an xml node of type 1 (without doing  
toString and stripping the xml tags) in flash mx (not 2004)?


nodeValue doesn’t work on type 1 apparently… returns null…



TIA,

Chris.

___
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 file to recognize SESSION or REQUEST variables?

2006-04-10 Thread Sunnrunner
A client asked me this question. Does anyone know what it means or can
someone explain and give me an answer. 

Thanks. T

How can we get the link in the URL of the flash file to recognize SESSION or
REQUEST variables? You know like GET or POST? I need to do something like.

url =
https://secure.store.com/HousewivesUnleashed.306/buy.cfm?p=1000141m=306dc
wid=$_REQUEST['aid']udfo2=$_REQUEST['sid'];

as opposed to what we currently have.

url = https://secure.
store.com/HousewivesUnleashed.306/buy.cfm?p=1000141m=306;

Thoughts?

___
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 file to recognize SESSION or REQUEST variables?

2006-04-10 Thread Grant Cox
To get data into your swf, you will want to use the FlashVars embed 
tag.  This can be done very easily with FlashObject ( 
http://blog.deconcept.com/flashobject/ ), in fact it appears that 
FlashObject will automatically pass your request parameters (the 
attributes on the end of the URL) into your flash movie.


Now, I don't quite follow what your client means in their first URL, 
where they have some PHP code.  If that is meant to be PHP, then that's 
fine, and FlashObject will ensure that your SWF has variables p, m, 
dcwid and udfo2 available on the root timeline.  If he's just saying you 
need extra URL parameters passed to the server, well, that's nothing to 
do with flash.


Regards,
Grant Cox


Sunnrunner wrote:


A client asked me this question. Does anyone know what it means or can
someone explain and give me an answer. 


Thanks. T

How can we get the link in the URL of the flash file to recognize SESSION or
REQUEST variables? You know like GET or POST? I need to do something like.

url =
https://secure.store.com/HousewivesUnleashed.306/buy.cfm?p=1000141m=306dc
wid=$_REQUEST['aid']udfo2=$_REQUEST['sid'];

as opposed to what we currently have.

url = https://secure.
store.com/HousewivesUnleashed.306/buy.cfm?p=1000141m=306;

Thoughts?

___
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 file to recognize SESSION or REQUESTvariables?

2006-04-10 Thread Sunnrunner
Thank you.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Grant Cox
Sent: Monday, April 10, 2006 11:00 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] flash file to recognize SESSION or
REQUESTvariables?

To get data into your swf, you will want to use the FlashVars embed 
tag.  This can be done very easily with FlashObject ( 
http://blog.deconcept.com/flashobject/ ), in fact it appears that 
FlashObject will automatically pass your request parameters (the 
attributes on the end of the URL) into your flash movie.

Now, I don't quite follow what your client means in their first URL, 
where they have some PHP code.  If that is meant to be PHP, then that's 
fine, and FlashObject will ensure that your SWF has variables p, m, 
dcwid and udfo2 available on the root timeline.  If he's just saying you 
need extra URL parameters passed to the server, well, that's nothing to 
do with flash.

Regards,
Grant Cox


Sunnrunner wrote:

A client asked me this question. Does anyone know what it means or can
someone explain and give me an answer. 

Thanks. T

How can we get the link in the URL of the flash file to recognize SESSION
or
REQUEST variables? You know like GET or POST? I need to do something like.

url =
https://secure.store.com/HousewivesUnleashed.306/buy.cfm?p=1000141m=306d
c
wid=$_REQUEST['aid']udfo2=$_REQUEST['sid'];

as opposed to what we currently have.

url = https://secure.
store.com/HousewivesUnleashed.306/buy.cfm?p=1000141m=306;

Thoughts?

___
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