[Flashcoders] CS3: unexpected type

2007-08-23 Thread Geografiek
Hi list, The following puzzles me: //code in frame 1 1 var xmlData:xml; 2 trace(typeof(xmlData)); //'object' not xml?? //mijnXml.getHetXmlObject() is a method of a custom class that is supposed to return an xml-object //code that loads the xml is

Re: [Flashcoders] CS3: unexpected type

2007-08-23 Thread Cedric Muller
and if you do: var xmlData:XML; ?? Cedric var xmlData: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

RE: [Flashcoders] save swf

2007-08-23 Thread Karina Steffens
Bassam, You could use an approach similar to the one Alan first suggested, and record all the user's choices into a properties object, save it with a server side script, and then use a generic movie clip that re-loads all these properties and recreates the original design in that way. This gives

Re: [Flashcoders] CS3: unexpected type

2007-08-23 Thread Geografiek
Sorry, typo The fla says 'var xmlData:XML'. Any other suggestions? Thanks, Willem Op 23-aug-2007, om 10:16 heeft Cedric Muller het volgende geschreven: and if you do: var xmlData:XML; ?? Cedric var xmlData:xml; =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+= Geografiek is a Dutch, Utrecht-based

Re: [Flashcoders] CS3: unexpected type

2007-08-23 Thread Cedric Muller
look, maybe, here ... // just declaring the dataType won't be enough var xmlData:XML; trace(xmlData instanceof XML); // - outputs: false // declaring the dataType and assigning an instance of XML var xmlData:XML = new XML(); trace(xmlData instanceof XML); // - outputs:

Re: [Flashcoders] CS3: unexpected type

2007-08-23 Thread Hans Wichman
Hi, the differences in type checking between i am a string and new String (i am a string) and xml and other objects is fairly annoying. ie: trace (typeof(string)); //traces string trace (typeof(new String(string))); //traces object Same goes for other objects such as xml etc its all fairly

[Flashcoders] Take movieclips from one mc and attach to another

2007-08-23 Thread Alexander Farber
Hello! I've found a nice code (pasted at the bottom of this mail) to display a rotating set of movieclips. One problem with it is though that it assumes a hardcoded set of 7 movieclips in the library, called 0, 1, ... 6 and attaches them to the stage by calling attachMovie(i, mc+i, i); I'd like

Re: [Flashcoders] Take movieclips from one mc and attach to another

2007-08-23 Thread Mark Hawley
You can't re-parent MovieClips in AS2. You could make your class control arbitrary MovieClips as if they were reparented with a lot of math and localToGlobal() calls, though. Probably not a great idea, though. On 8/23/07, Alexander Farber [EMAIL PROTECTED] wrote: Hello! I've found a nice code

Re: [Flashcoders] Take movieclips from one mc and attach to another

2007-08-23 Thread Alexander Farber
Thanks, but can't I this.duplicateMovieClip() the MovieClips passed to my class as arguments to its method and then removeMovieClip the original? Or createEmptyMovieClip() and the loadMovie() into it? Regards Alex On 8/23/07, Mark Hawley [EMAIL PROTECTED] wrote: You can't re-parent MovieClips

RE: [Flashcoders] Scroll to maximum vPosition?

2007-08-23 Thread Mendelsohn, Michael
Thanks Nicolas. It works fine. I just think it's funny that maxVPosition isn't listed under the ScrollPane component's help documentation (at least in 8). - MM ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the

Re: [Flashcoders] Take movieclips from one mc and attach to another

2007-08-23 Thread Dave Mennenoh
I don't think having the class extend MovieClip is the right way to do this. I'd just create a class and pass it an array of linkage names in which to attach. Try this: class Ellipse { function Ellipse(attachTo:MovieClip, linkageArray:Array) { var N:Number = linkageArray.length; var A:Number

[Flashcoders] Big size Image and Thumbnail

2007-08-23 Thread julian atienza
Hello. I'm developing a sort application in Flash 8 / AS2 for manage big size images and scale/navigate thru them. I always have to load a big image into a MovieClip, and i have to make a similar-tool to photoshop navigation panel, so i have now to duplicate current scaled image in a small

Re: [Flashcoders] Big size Image and Thumbnail

2007-08-23 Thread Dave Mennenoh
To avoid loading twice times the image (first in 100% and second in thumbnail navigation image) ... how could i copy content of first movieclip to second one with fixed size? You can't really, but since the image is cached once it's downloaded the first time, loading it again into the

Re: [Flashcoders] Big size Image and Thumbnail

2007-08-23 Thread Alan MacDougall
julian atienza wrote: To avoid loading twice times the image (first in 100% and second in thumbnail navigation image) ... how could i copy content of first movieclip to second one with fixed size I did something similar to this while trying to implement my own Bitmap-based magnifying glass

Re: [Flashcoders] Big size Image and Thumbnail

2007-08-23 Thread Alan MacDougall
Dave Mennenoh wrote: To avoid loading twice times the image (first in 100% and second in thumbnail navigation image) ... how could i copy content of first movieclip to second one with fixed size? You can't really, but since the image is cached once it's downloaded the first time, loading it

[Flashcoders] difference between coding in classes and in root directly

2007-08-23 Thread Tom Huynen
Hi, My goal is to play an FLV and use the setInterval method without problems at the same time. This works fine when my code is placed on the timeline. When the EXACT same code is placed in an external class however the FLV gets interrupped soon as the setInterval is invoked. Also an

[Flashcoders] Re: difference between coding in classes and in root directly

2007-08-23 Thread Tom Huynen
Apologies, underneath the exact code I'm using. class Test { static var root_p:MovieClip = _root; function Test() { display(); setInterMezzo() } function display() { var videoHolder_p:MovieClip = _root.attachMovie(videoHolder, videoHolder_mc,

Re: [Flashcoders] CS3: unexpected type

2007-08-23 Thread Geografiek
Hi Cedric, Thanks. var xmlData:XML = new XML(); did the trick. About typeof doesn't and will never return XML as a result. Look up the table in the help panel for 'typeof': I've got a different help :-) which promises that typeof returns: Array object Boolean boolean Function

Re: [Flashcoders] Big size Image and Thumbnail

2007-08-23 Thread Marcelo de Moraes Serpa
If you are using Flash 8+ you could use the Bitmapdata datatype to copy it to a new movieclip and scale it to thumbnail size I think. On 8/23/07, Alan MacDougall [EMAIL PROTECTED] wrote: julian atienza wrote: To avoid loading twice times the image (first in 100% and second in thumbnail

Re: [Flashcoders] Big size Image and Thumbnail

2007-08-23 Thread Marcelo de Moraes Serpa
I think he wants to load the big image and then load it again but resize it. If that's what you want, just load image with loadMovie or MovieClipLoader and once it has been cached, load it again (the same url) to a redimensioned MovieClip. On 8/23/07, Alan MacDougall [EMAIL PROTECTED] wrote:

Re: [Flashcoders] difference between coding in classes and in root directly

2007-08-23 Thread Marcelo de Moraes Serpa
You didn't mention where you are initializing this class in the FLA. Are you just creating an instance of it in the first keyframe ? On 8/23/07, Tom Huynen [EMAIL PROTECTED] wrote: Hi, My goal is to play an FLV and use the setInterval method without problems at the same time. This works

Re: [Flashcoders] Re: difference between coding in classes and in root directly

2007-08-23 Thread Marcelo de Moraes Serpa
This is the same code you sent in your first message. You can't have a class in a keyframe's code if you're using AS2, so, what I would like to know is where in your FLA you are creating this class' instance. You might be creating it in the first keyframe, like this: Keyframe1: var teste = new

[Flashcoders] [OT]Server-side knowledge to complement Flash Front end

2007-08-23 Thread moveup
Hi I've reached a point in my career where I think its important to broaden my skill-set beyond just Fash/AS3. Unfortutantely there are only so many hours in the day. Is anyone else facing the same dilemma ? Should I pursue .Net knowledge or ??? If .Net, what books online resources and/or

Re: [Flashcoders] CS3: unexpected type

2007-08-23 Thread Cedric Muller
I've got a different help :-) which promises that typeof returns: Array object Boolean boolean Functionfunction int number Number number Object object String string uintnumber XML xml XMLList xml oops, you're right, my mistake. checked

Re: [Flashcoders] Real Player 11 messing up Flash application UI

2007-08-23 Thread Andy Herrman
Just ran into another issue, and this one is actively breaking things, not just causing UI annoyances. RP11 seems to be doing something to prevent LocalConnections from being cleaned up. Our application uses a couple SWFs for the UI, using LocalConnections to communicate between them. One of

RE: [Flashcoders] [OT]Server-side knowledge to complement Flash F ront end

2007-08-23 Thread Dave Watts
Should I pursue .Net knowledge or ??? You should pursue whatever you think would be most useful for you. .NET, Java, PHP, ColdFusion - they're basically all the same. They all let you do the same sorts of things; the differences are largely matters of syntax and popularity. ColdFusion is

Re: [Flashcoders] Real Player 11 messing up Flash application UI

2007-08-23 Thread Andy Herrman
I created a new page on the osflash wiki for documenting RP11 issues. If anyone finds any new ones please add them there. Hopefully having a central place to document the problems we find will increase the chances of Real doing something about them. http://osflash.org/flashcoders/realplayer_bugs

Re: [Flashcoders] Re: difference between coding in classes and in root directly

2007-08-23 Thread Tom Huynen
Hi Marcelo, var test:Test = new Test(); on the first keyframe indeed. When I'm executing the code from the timeline I leave out the class definition and so. the make things a bit more clear: --- situation one (first keyframe): //setup netstream var connection_nc:NetConnection = new

Re: [Flashcoders] Big size Image and Thumbnail

2007-08-23 Thread julian atienza
I fear it is not my solution. Image is 72Mb. The application i was making is a standalone one (not a web solution)... When i try to load the second one , the time is the double :/ 2007/8/23, Marcelo de Moraes Serpa [EMAIL PROTECTED]: I think he wants to load the big image and then load it again

Re: [Flashcoders] [OT]Server-side knowledge to complement Flash F ront end

2007-08-23 Thread Ron Wheeler
I would suggest WebServices as a technology that will be applicable to lots of applications. Axis from Apache has a lot of tools, documentation and links to other documentation. Ron Dave Watts wrote: Should I pursue .Net knowledge or ??? You should pursue whatever you think would be

Re: [Flashcoders] Big size Image and Thumbnail

2007-08-23 Thread Alan MacDougall
julian atienza wrote: Image is 72Mb. This is your first problem. I can't think of a single reason you would have to load a 72 MB image into Flash. Could you tell us a little more about your application? ___ Flashcoders@chattyfig.figleaf.com To

[Flashcoders] *** Security Sandbox Violation ***

2007-08-23 Thread Mendelsohn, Michael
Hi list... I keep getting this error while debugging. I'm not clear what's causing it. Any thoughts? - MM *** Security Sandbox Violation *** SecurityDomain 'file:///D|/customized%20proposal/ingredients/customProposalFlashAssets/ customProposalTool.swf' tried to access Player UI context

Re: [Flashcoders] Big size Image and Thumbnail

2007-08-23 Thread julian atienza
One High-Resolution Graphic explorer. Before 3 seconds, flash load correctly that big size, and i'm trying this inside my class: { (my class has the typical movieclip loader with addListener(this); ) . public function onLoadInit(mcTarget:MovieClip):Void { //Big

Re: [Flashcoders] Scroll to maximum vPosition?

2007-08-23 Thread Muzak
maxVPosition is a property of the ScrollView class, which isn't documented. mx.core.ScrollView regards, Muzak - Original Message - From: Mendelsohn, Michael [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Thursday, August 23, 2007 2:25 PM Subject: RE: [Flashcoders]

Re: [Flashcoders] long dash

2007-08-23 Thread Rob Romanek
I reference this page: http://www.w3.org/TR/html4/sgml/entities.html try c=a #8212; b hth, Rob On Thu, 23 Aug 2007 14:07:38 -0400, natalia Vikhtinskaya [EMAIL PROTECTED] wrote: Hi I thought it simple but that does not work.I am trying to show long dash c=a mdash; b txt.html=true;

Re: [Flashcoders] long dash

2007-08-23 Thread natalia Vikhtinskaya
Maybe anybody know how to show 1/3, 1/7.. with horizontal line. I thought that maybe I can use long dash and three text areas.. But it will not work if I should to show 1/3 of 9 but with horizontal line. I seems no solution? 2007/8/23, Alan MacDougall [EMAIL PROTECTED]: natalia Vikhtinskaya

RE: [Flashcoders] long dash

2007-08-23 Thread Hairy Dog Digital
Here's my quick list of unicode characters for htmlText... string symbol -- --- \u2122 trademark (TM) symbol \u00A9 copyright (C) symbol \u2018 single opening (left) quote \u2019 single closing (right) quote \u201C double opening (left) quote \u201D

Re: [Flashcoders] Big size Image and Thumbnail

2007-08-23 Thread Alan MacDougall
julian atienza wrote: but i'm not sure if it's going ok... at least now i haven't to make another load but... i think the thumbnail is scaling the portion of big image i see in screen, not the whole image... That might be a limitation of Flash. I'm not sure what happens when MovieClips

RE: [Flashcoders] long dash

2007-08-23 Thread Hershell Bryant
Will your design allow you to just create a movieclip with a solid fill instead of a line? You could give it some small constant dimension in Y to suit your idea of line thickness, and then you have full control over its length in X. -Original Message- From: [EMAIL PROTECTED]

Re: [Flashcoders] long dash

2007-08-23 Thread natalia Vikhtinskaya
But how that help to show: 1/3 of 9 with horizontal line? 2007/8/23, Hershell Bryant [EMAIL PROTECTED]: Will your design allow you to just create a movieclip with a solid fill instead of a line? You could give it some small constant dimension in Y to suit your idea of line thickness, and

Re: [Flashcoders] long dash

2007-08-23 Thread robert
how about just buying a math font and embedding it? http://www.adobe.com/type/browser/P/P_1423.html On Aug 23, 2007, at 1:07 PM, natalia Vikhtinskaya wrote: But how that help to show: 1/3 of 9 with horizontal line? 2007/8/23, Hershell Bryant [EMAIL PROTECTED]: Will your design allow you

RE: [Flashcoders] long dash

2007-08-23 Thread Andres Ardila
Hi Natalia First check that the font that you are using for the textfield actually have the mdash character, use the character map in windows (the mdash is html entity #8212; or symbol - or Unicode \u2014 ) If the character is there, then use c=a #8212; b; txt.html=true; txt.htmlText=c; or

Re: [Flashcoders] long dash

2007-08-23 Thread natalia Vikhtinskaya
I did not know that there is such fonts. Maybe there is free fonts like this also? 2007/8/24, robert [EMAIL PROTECTED]: how about just buying a math font and embedding it? http://www.adobe.com/type/browser/P/P_1423.html On Aug 23, 2007, at 1:07 PM, natalia Vikhtinskaya wrote: But how

RE: [Flashcoders] [OT]Server-side knowledge to complement Flash F ront end

2007-08-23 Thread Dave Watts
I would suggest WebServices as a technology that will be applicable to lots of applications. Axis from Apache has a lot of tools, documentation and links to other documentation. You will need to choose a platform from which to run web services, and your choices are basically the same as

RE: [Flashcoders] long dash

2007-08-23 Thread Stepanenko, Nikolai A.
you could possibly use Draw method if I am gettin this correctly Nikolai A. Stepanenko Design Development SAIC, BP, Houston Office: 713.835.3828 Cell: 832.368.0601 From: [EMAIL PROTECTED] on behalf of natalia Vikhtinskaya Sent: Thu

[Flashcoders] Problem with xml.sendAndLoad, IE, https, and ASP

2007-08-23 Thread matt stuehler
All, I'm working on a project in which a SWF uses xml.sendAndLoad to send a short XML document to an ASP page. The ASP page receives the XML, parses it, pulls out a few pieces of data, runs a query against a database, and returns a longer XML document. Everything works perfectly when I run the

Re: [Flashcoders] long dash

2007-08-23 Thread natalia Vikhtinskaya
I found such font here http://www.sofontes.com.br/en/SansFractionsVertical-Plain/download/21710 Maybe it will be usuful for anybody. Thanks a lot for your help. 2007/8/24, Stepanenko, Nikolai A. [EMAIL PROTECTED]: you could possibly use Draw method if I am gettin this correctly Nikolai A.

Re: [Flashcoders] long dash

2007-08-23 Thread Muzak
http://www.unicode.org/charts/PDF/U2000.pdf page 3, under Dashes regards, Muzak - Original Message - From: Andres Ardila [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Thursday, August 23, 2007 10:44 PM Subject: RE: [Flashcoders] long dash Hi Natalia First check that

Re: [Flashcoders] Should Flash CS3 Pro result in larger SWF and EXE files than Flash 8?

2007-08-23 Thread matt stuehler
All, I just wanted to thank everyone for these responses. Cheers, Matt On 8/22/07, Martin Jonasson [EMAIL PROTECTED] wrote: Yes, I've also noticed this. The CS3 projector is a bit bigger. But it's really not all that odd since it has both the AS3 and AS2 virtual machines inside. /martin

Re: [Flashcoders] long dash

2007-08-23 Thread Santhosh Babu D
In Html use tag sup/sup sub/sub Regards. D. Santhosh Babu - Original Message - From: Hairy Dog Digital To: flashcoders@chattyfig.figleaf.com Sent: Friday, August 24, 2007 12:16 AM Subject: RE: [Flashcoders] long dash Here's my quick list of unicode characters for

RE: [Flashcoders] long dash

2007-08-23 Thread Hairy Dog Digital
Those tags are not properly supported in Flash text fields. (At least they weren't as of Flash 8, haven't put CS3 through its paces yet.) -Original Message- From: Santhosh Babu D [mailto:[EMAIL PROTECTED] Sent: Thursday, August 23, 2007 7:46 PM To: flashcoders@chattyfig.figleaf.com

[Flashcoders] Recording Webcam - not enough keyframes

2007-08-23 Thread JulianG
Hello: I need to generate keyframes inside an FLV. I'm doing a small web app that records the webcam onto a Red5 server. I need the resulting FLV files on the server to have at least 2 keyframes per second. I'm using *setMode*, *setQuality* and *setKeyFrameInterval* to attempt to control the

Re: [Flashcoders] [OT]Server-side knowledge to complement Flash F ront end

2007-08-23 Thread Hans Wichman
Hi, another option is making sure you have a pool of people who you can count to do work like that for you:). Not that being able to develop the server side is a bad thing, but like you said there are only so much hours in a day. greetz JC On 8/23/07, Dave Watts [EMAIL PROTECTED] wrote: I