[Flashcoders] functions for other classes within a class

2007-05-25 Thread Giles Roadnight
Hi All I have this code within a class: class com.tequila.canon.PosterArtist.Controller { private var portfolio:MovieClip; public function Controller() { trace("Controller constructor: " + this.portfolio); this.portfolio.addEventListener("onClick",this); this.po

Re: [Flashcoders] functions for other classes within a class

2007-05-25 Thread Giles Roadnight
ce("onInit: " + this); this.flipCorner("bottom_right"); } } I still get this error: **Error** C:\Documents and Settings\giles roadnight\workspace\Poster Artist\com\tequila\canon\PosterArtist\Controller.as: Line 22: There is no method with the name 'flipCorner'.

Re: [Flashcoders] functions for other classes within a class

2007-05-25 Thread Giles Roadnight
6 mobile: 919-609-0408 fax: 919-882-1121 - Original Message ----- From: "Giles Roadnight" <[EMAIL PROTECTED]> To: Sent: Friday, May 25, 2007 11:13 AM Subject: [Flashcoders] functions for other classes within a class > Hi All > > I have this code within a class:

[Flashcoders] MVC question

2007-06-01 Thread Giles Roadnight
Hi All I am building my first MVC (Model View Controller) and have a question about how I should set it up. I have a load of classes: BookView, ControlView (both views), Controller and PAModel. Controller holds all the other classes and sets them all up. Both views have a function - setModel:

[Flashcoders] setNewTextFormat

2007-06-12 Thread Giles Roadnight
Hi All I have a loop that creates pages, creates textfields then adds text. Some of this text has font tags and some doesn't. I want to use a default textFormat so that an embedded font is used when no http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software

Re: [Flashcoders] setNewTextFormat

2007-06-12 Thread Giles Roadnight
he font for each textField from? so you could do it on that way var default_font="arial" var html_font="" if(text_html_font==undefined){ html_font=default_font } currentPage.my_txt.htmlText ="" this.Model.pages[i].text+""; greets olee 2007/6/12, Giles Roadni

Re: [Flashcoders] setNewTextFormat

2007-06-12 Thread Giles Roadnight
Yes, it does seem to be broken. I think I'll just add font tags around text if there are none present. Thansk for the help. On 6/12/07, Danny Kodicek <[EMAIL PROTECTED]> wrote: > Hi All > > I have a loop that creates pages, creates textfields then > adds text. Some of this text has font tags

Re: [Flashcoders] setNewTextFormat

2007-06-12 Thread Giles Roadnight
That's exactly what I have done: if(this.Model.pages[i].text.indexOf("'; } but the setNEwTextFormat funtion is not working the way it should do. That would be a more elegant solution that the above. On 6/12/07, o renken <[EMAIL PROTECTED]> wrote: no danny. setNewTextForm

[Flashcoders] Flash https / IE wierdness

2007-06-19 Thread Giles Roadnight
Hi All I have a swf that loads an rss feed then loads images and displays them. This works fine on our local dev server, the live server and on the staging server on Firefox. However on the staging server the images do not appear and none of the text in the rss appear either. The only differenc

Re: [Flashcoders] Flash https / IE wierdness

2007-06-20 Thread Giles Roadnight
//header("Pragma: no-cache"); seem to make it all work in both IE and Firefox. here's a googled cached version of the page explaining this: http://72.14.253.104/search?q=cache:qw2g8oXGQLwJ:www.gmrweb.net/2005/08/18/flash-remoting-https-internet-explorer/+flash-remoting-https-inter