[Flashcoders] Re: Blur effect via action scripting
you don't even need a tween package for this (altho they sure are useful things). read about BitmapData, BlurFilter, and "Repeating actions using loops" in the Flash Help. gg > > > OOoops!!! I am sorry. It is not "blue" but "blur". > > I have three good quality image in my application. Initially I want all > > three look blur but when user roll over to it then it will gradually > > become > > clear image & when roll out it would be again blur. > > There are a lot of different tweening packages out there that do the > thing with one command only (or very close to it). There's MC Tween, > Fuse Kit, Tweener, and probably others who do support 'native' filter > blur filtering. > > That's the kind of solution you should be looking for. No need for > overcomplicate a problem that's so simple. > > > 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] Exporting alpha channel video from flash
sorry if i posted this before, i asked this question a couple of days ago but never saw it come back in the digest, and it doesn't show up in the archives search. although it did seem someone else recently asked nearly the same question and nobody really knew. so let's try again. i have some animated icons in flash that need to make it into either after effects or avid. in Export Movie i can select QuickTime Video and in the Format box select "32-bit Color (alpha channel)". however, when Importing Footage into After Effects, no matter how i Interpret Footage the swf comes in opaque. so far exporting a .png sequence works, but that is clunky. yes, i know about wmode, that doesn't seem to have anything to do with this. does anybody know the trick? thanks, glenn grant ___ 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] setting a timer in flash 8
hi gustavo, your first problem is that you have a gotoAndPlay loop. that means that every time you go back to frame 1 you are re-creating your now variable, so it is never going to have a chance to get bigger. secondly, the timer does need to be updated & checked inside your onEnterFrame (i used a setInterval), so that it can be compared with your later variable. try this: stop(); var startTime:Number = getTimer()/1000; var later:Number = 20; var timeCheck:Number = setInterval(checkTime, 100); function checkTime(){ var currentTime:Number = getTimer()/1000; var elapsedTime:Number = currentTime - startTime; if(elapsedTime >= later){ trace("llegamos"); clearInterval(timeCheck); } } Message: 22 Date: Fri, 23 Mar 2007 19:57:54 -0400 From: Gustavo Duenas <[EMAIL PROTECTED]> Subject: [Flashcoders] setting a timer in flash 8 To: Flashcoders@chattyfig.figleaf.com Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Hi, I'm trying to set a timer to trigger a event after 20 seconds or less, but so far i have this code, but with no results someone help me? . I don't know how could I got into but some help might be needed this is the code: is inside the first frame of a movie clip and the 4 frame has: gotoAndPlay(1); var now = getTimer(); var seconds:Number = now/1000; var later:Number = seconds+20; this.onEnterFrame= function (){ if(seconds == later){ trace("llegamos"); } } trace(seconds); Regards ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] RE: checking .flv encoding settings
read about onMetaData in the help. good luck, glenn grant -- Message: 17 Date: Wed, 14 Mar 2007 23:49:09 +0100 From: "undersound" <[EMAIL PROTECTED]> Subject: [Flashcoders] checking .flv encoding settings To: Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="US-ASCII" Hello everybody, Does anybody know how you can detect the encoding settings that were used when the .flv was created? I need to re-encode a movie with the same settings that were used then. Thanx in advance Undersound ___ 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] Controlling flv
what i do for this is have my flv player inside a movie clip. make a new BitmapData. you can put in a cuePoint on the frame of the flv you want. when the movie gets to the cuePoint, pause it. have the BitmapData draw the movieclip. then fade the BitmapData to black. this also works well for on the fly transitions between 2 flvs, using 2 BitmapDatas and x-fading them. good luck, glenn grant > > On 3/12/07, Adrian MacTaggart <[EMAIL PROTECTED]> wrote: > > > > Hi, > > > > I'm working with Flash 8 and I've imported an flv to the stage and set > > it as a progressive download, using a preset skin to control the video. > > This has created a Flash Video component on the stage. > > > > This works fine but the clip ends abruptly before returning to the > > start. > > I'd like to pause on the last frame of the video before fading to black > > over a few seconds. It can then return to the start. > > > > As the video is not on the timeline, is this possible? Can the video be > > controlled with script to do this? > > > > Thanks, > > > > Adrian ___ 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] LoadVars.send vs. LoadVars.sendAndLoad
I use .sendAndLoad to load a shopping cart so it will not pop a new browser window each time the user adds an item. this works fine locally, but online the items are not being added to the cart. if i use .send instead of .sendAndLoad everything works fine except for the aforementioned launching of browser every time. i read in flash's documentation that .sendAndLoad has a different security protocol than .send, so i have tried System.security.allowDomain("thedomain.com"); in the first line, which doesn't seem to be making a difference. any suggestions? ___ 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 paypal shopping cart security
i am trying to use the paypal cart with flash 8. my code looks like this: System.security.allowDomain("paypal.com"); var myLoadVars:LoadVars = new LoadVars(); var cartVars:LoadVars = new LoadVars(); function loadCart(){ myLoadVars.bn = "PP-ShopCartBF"; myLoadVars.lc = "US"; myLoadVars.currency_code = "USD"; myLoadVars.no_note = "1"; myLoadVars.no_shipping = "2"; myLoadVars.amount = amount; myLoadVars.item_name = item_name; myLoadVars.business = "[EMAIL PROTECTED]"; myLoadVars.cmd = "_cart"; myLoadVars.add = "1"; //myLoadVars.send("https://www.paypal.com/cgi-bin/webscr";, "_blank", "POST"); myLoadVars.sendAndLoad("https://www.paypal.com/cgi-bin/webscr";, cartVars, "POST"); } function viewCart(){ cartVars.display = "1"; cartVars.business = "[EMAIL PROTECTED]"; cartVars.cmd = "_cart"; cartVars.send("https://www.paypal.com/cgi-bin/webscr";, "_blank", "POST"); } I use .sendAndLoad to load the cart so it will not pop a new browser window each time the user adds an item. this works fine locally, but online the items are not being added to the cart. if i use .send instead of .sendAndLoad everything works fine except for the aforementioned launching of browser every time. i read in flash's documentation that .sendAndLoad has a different security protocol than .send, hence the System.security.allowDomain("paypal.com"); in the first line, which doesn't seem to be making a difference. any suggestions? thank you, ___ 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] Net Debugger not working
I had something similar at the beginning of the year, when first using Flash 8. http://chattyfig.figleaf.com/pipermail/flashcoders/2006-January/158090.html http://chattyfig.figleaf.com/pipermail/flashcoders/2006-January/158265.html Perhaps it's a similar issue? Regards, Grant Cox Elena Blanco wrote: No, and I never had to do it to use the netdebugger in the past. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steven Sacks | BLITZ Sent: Wednesday, August 16, 2006 3:27 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] Net Debugger not working Did you put the remoting components on the stage? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] diff between var == value VS var eq value
eq has been deprecated in favour of == for many years now. While they should be equivalent, you should not use eq unless you are targeting Flash Player 4/5. Is the code where == didn't work for Flash lite? dnk wrote: Is there a difference? I have had some code that will not work using the "==" and then does using the "eq". Any issues? Just curious what the difference is. d ___ 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] Array Empowerment
I wouldn't agree that either if(this.length == 0) or iterating over object keys is sloppy practice, for standard application development. When creating a class library that needs to be bulletproof, as they are doing with these Array extensions, you should be more careful. Specifically, checking if(!this.length) is good if length may be undefined, but what about if some crazy person sets length to a string? Iterating over object/array keys is fine, throwing an error because you find an unexpected key is not (particularly in core library code, not application code). I too would like to commend you guys for sharing this code - it will certainly be quite useful in future projects. Regards, Grant Cox js wrote: As a relative newcomer to Actionscript, I have found the entirety of this thread very useful. I want to thank all of you for sharing this code, as well as providing a considerable amount of insight to those of us lurking in the shadows. I was fairly surprised to see that if(this.length == 0) is considered sloppy opposed to (!this.length); conjointly, I had no idea that iterating through an array in the way you described was bad practice either. I'm sure I've done it quite a few times myself, unaware of the consequences. It would be very beneficial for those of us who are not up to such (relatively) meticulous levels of coding practice if there was some sort of resource which enumerated a list of best coding practices when optimizing for speed--something along the lines of the similarly titled article in the flash documentation but aimed at the "middle-class" coder. I don't think I would be the only individual to appreciate such a resource; if anyone knows of something similar, do share! Joseph Steven Sacks | BLITZ wrote: DataProvider is not secretly decorating things, BUT something somewhere in the V2 stuff is iterating over the array object itself, and is silently blowing up when it finds these extra functions. I've had a similar problem when some third party code was adding a function to object.prototype, and the WebService object took a dump (it iterates over a hash object and sees something weird and throws an error). This is an example of poor coding by MM's component writers. You shouldn't be iterating through enumerable arrays using for (var a in this) because you're going to pick up all the methods of the Array object, as well. It's just sloppy coding due to how loose Flash is with its typing. I always try to write as careful code as possible to avoid the oh so enticing opportunities flash provides for sloppy coding. Things like if (!this.length) versus if (this.length == 0)... However, using ASSetPropFlags is the best solution to hide functions so they don't appear when you iterate through an Array object. ___ 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] Tree component icons
Is it possible to mark a tree node as "Special" so I can apply different icons ? I have a tree that has the hierarchy Groups |__Roles |_ Permissions An I want each "level" to have a different icon. Can this be done, and do I have to do a custom tree renderer ? Grant ___ 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] AS2 and Singleton woes ...
I had that with my last post too, I got a bounce around 5-10 minutes later. However, I received my message through the mailing list before the bounce arrived, so I assumed it had worked. Stephen Ford wrote: Sorry if you've read the same message from me three times. I keep getting a reply from flashcoders@chattyfig.figleaf.com saying my email has been bounced, but checking the archives shows that all three messages got through. Can anyone read this (or my last 3, very similar posts) post? Thanks, Stephen. ___ 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] Disable a menu with MM V2 Menu component.
I'm adding authorization to my application and I've manged to disable menu items within a menu by setting the enabled property to false. In some case the entire menu needs to be disabled, but it appears to be ignoring my enabled=false or setEnabled(false). e,.g. myAccountMenu = menuBar.addMenu("MyAccount", myAccountXML); myAccountMenu.setEnabled(false); The menu is still active, looks active and works, even though I'd expect it to be grey and inactive. anyone have a clue or should I start hacking the MM v2 menu code ? Grant. ___ 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] Panning and Sliding, using Tweens possible?
I must admit I haven't looked at the Macromedia Tween classes, but surely this is very simple, just tween the _x and _y attribute of your clip. If not, look at any of the number of tween classes and managers out there (I recommend Fuse http://www.mosessupposes.com/Fuse or Zigo's Tween Manager http://laco.wz.cz/tween/ ), as they all have this functionality. Regards, Grant Cox Weyert de Boer wrote: I am curious if it's possible to use the Tween or TweenExtended class to make pan/slide animation. I mean something like you move a picture from the left bottom corner to the right top corner within the dimensions of the container movieclip. Yours, Weyert de Boer ___ 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] Movie clip loader onLoadError not called in firefox
I've been doing some googling and found a lot of people complaining about the onLoadError method of your listener object passed to the MovieClipLoader does not get called when the movie cannot be loaded when run inside firefox. Before I go writing a timeout class to catch this, is there a simple work around? I need to support firefox users. thanks, Grant ___ 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] Fwd: Loading Text files into swfs then loading swfs into other swfs...
Perhaps it's the Flash security settings then. I personally find flash security to be a grey area, but things to check would be: - That you have a crossdomain.xml file on your server, allowing flash files to load data from that domain - That your local flash security settings (from http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html#117502 ) have "Always Allow" ticked, and you add "c:\" to your "trusted locations". Hope that helps. Regards, Grant Cox Craig Stanford wrote: Yeah all the files are in the same folder. Its strange cos it works fine when published inside Flash, but when I try and run it stand alone, or in a browser i get nothing. On 6/2/06, Grant Cox <[EMAIL PROTECTED]> wrote: Are all files in the same folder? When it reports that the file cannot be found, it should give a path in the trace statement - make sure this is where the file actually is. The load call will be from the location of the holder movie, not the ticker.swf. Regards, Grant Cox Craig Stanford wrote: > still need some help with this please. I am depserate! > > Cheers > Craig. > > > Hi everyone, > > I have 2 swfs, and I want to load them both into one holder movie. Im > loading them in as follows: > > tickerHolder.loadMovie("ticker.swf"); > clockHolder.loadMovie("clock.swf"); > > The ticker.swf uses a text file. The file works fine by itself, but as > soon > as I load it into the holder movie, it tells me that the text file > couldnt > be loaded. > > Any help would be greatly appreciated. > > Cheers, > Craig. > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > > ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Fwd: Loading Text files into swfs then loading swfs into other swfs...
Are all files in the same folder? When it reports that the file cannot be found, it should give a path in the trace statement - make sure this is where the file actually is. The load call will be from the location of the holder movie, not the ticker.swf. Regards, Grant Cox Craig Stanford wrote: still need some help with this please. I am depserate! Cheers Craig. Hi everyone, I have 2 swfs, and I want to load them both into one holder movie. Im loading them in as follows: tickerHolder.loadMovie("ticker.swf"); clockHolder.loadMovie("clock.swf"); The ticker.swf uses a text file. The file works fine by itself, but as soon as I load it into the holder movie, it tells me that the text file couldnt be loaded. Any help would be greatly appreciated. Cheers, Craig. ___ 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] Where to politely and appropriately discuss pricing issues
Yeah, I totally agree with Claus about pricing. There are just too many bad clients out there, where at the end of the day the associated stress and pain of completing a project with them means you end up with a net loss. Offering cheap prices (below market rate), or any kind of incentive to get their business (how many times have you heard "Do us a good price on this one, and there will be heaps more work later!"), is just like holding up a red flag to the bad-client-bull. Generally our process is to have an initial meeting with the prospective client to find out exactly what the project will entail, what the deadlines are, and how prepared they actually are. If possible (ie you are confident in your quoting skills) we usually give a rough cost estimate (ie roughly how many thousand $), otherwise do this a day or so later. If any of the first attributes (project scope, deadlines, preparation) are looking flakey, then this cost estimate will be substantially higher than what it should actually cost to develop. Remember, what looks bad at the first meeting will be at least 10x worse by the end of the project. If they baulk at this cost estimate, good - you've just saved yourself a world of pain :) And wasting a few hours on a meeting and a cost estimate to find your client is an unorganised cheap-skate is better than finding that after signing any kind of contract. Of course, this can only work if the client actually wants YOU to work on their project - you aren't just another name in the yellow pages. All I can say about that is that it's 80% marketing (not advertising), and 20% portfolio. I also agree with Claus about making yourself indispensible. While doing so may stop them from going elsewhere (or make it difficult), it also makes it very difficult for you to move on if you so decide. I have found a number of clients who initially looked like they would be keepers, but after a few months it turns out to be a lot of overhead to do the same old boring, low paid work. Do you really want to lock yourself into this, and not be able to recommend another freelancer? Regards, Grant Cox Claus Wahlers wrote: That's interesting.. i usually do the exact opposite (of course, this is me, and probably doesn't apply to everyone and everything). I usually offer new clients my regular rate and offer discounts when i feel that my relationship to the client is good and of a potentially long term nature. Most of the time, the client continues to pay me my regular rate for follow up projects though. Also, apart from trying to do a good job and making the client happy of course, i never ever do anything to make myself indispensible. To the contrary actually. For a long term, good client relationship imho it's absolutely necessary to give the client assurance that if for whatever reason i might not be available to continue working on a project (e.g. i get ill), he can continue without much hassle with another similarly skilled developer. cheers, Claus. ___ 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] Re: Timeline coding
For your first question - you will not be able to access clip_mc unless the playhead is on a frame where that movieclip exists. You should be able to access the mc and all child mcs immediately after going to the correct frame, however you will not be able to execute any script defined inside the movieclip until a frame has passed. With your second question, the scoping is not necessarily what you would expect. The scoping of the function is wherever you define it, for example having blah = 1; clip_mc.btn1_btn = 2; clip_mc.btn1_btn.onRelease = function(){ trace( this ); trace( blah ); } will trace _level0.clip_mc.btn1_btn 1 when you click. Of course, you don't have to worry about the scope of _root.variableName, as you are providing the absolute path to the variable. Regards, Grant Cox. Jonathan Berry wrote: I just had a thought on this. Perhaps I just need _root.variableName inside the getURL since we are using a variable returned from FlashVars. Are anonymous functions such as clip_mc.btn1_btn.onRelease = function(){} subject to scoping issues? On 4/17/06, Jonathan Berry <[EMAIL PROTECTED]> wrote: Hello all, I know this is really basic, but I wanted to know something about timeline code. Everything I have read about placing your code says you should place it in a central location, so I set my code in the timeline first frame, actions layer - as recommended. However, I am finding that sometimes buttons do not react unless the onRelease event handler is in the same frame as where the movie stops. Is this correct? Do actions have to be in same frame as where the movie stops and you want the interactivity? Though I wanted to get the answer to this general question, what I have specifically is a movieclip with buttons inside of it. I have tried putting the code for these buttons in the first frame of the main timeline or in the last frame of the main timeline, where this movieclip is instantiated. But neither method works. I use something like this: clip_mc.btn1_btn.onRelease = function(){getURL(etcetcetc.);}; Where should one place this code? Are actions present in the first frame of the main timeline applicable to all subsequent frames, unless overwritten? In case you wish to know, the buttons and movieclips do have instance names. Thanks in advance. -- Jonathan Berry, M.A. IT Consultant 619.306.1712(m) [EMAIL PROTECTED] www.mindarc.com --- This E-mail is covered by the Electronic Communications Privacy Act, 18 U.S.C. ?? 2510-2521 and is legally privileged. This information is confidential information and is intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. --- -- Jonathan Berry, M.A. IT Consultant 619.306.1712(m) [EMAIL PROTECTED] www.mindarc.com --- This E-mail is covered by the Electronic Communications Privacy Act, 18 U.S.C. ?? 2510-2521 and is legally privileged. This information is confidential information and is intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. --- ___ Flashcoders@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 REQUEST variables?
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=1000141&m=306&dc wid=$_REQUEST['aid']&udfo2=$_REQUEST['sid']"; as opposed to what we currently have. url = "https://secure. store.com/HousewivesUnleashed.306/buy.cfm?p=1000141&m=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] allowing slow animation
Oops, looks like I forgot to ensure the font outlines were included in my dynamic text field :) I tested as both a plain textfield, and inside a MC. I don't have time to investigate further, but I believe it will snap to pixels in Flash 7 when: - You use a dynamic textfield without embedding fonts - You set the font to appear aliased - You are using a pixel font (unless flash fudges the anti-aliasing...) But as you mentioned, it would be great to have a .fla of the exact circumstances to test ourselves. Regards, Grant Cox elibol wrote: I tested it Grant, however, my dynamic textfield doesn't appear to snap to pixels at all, even if I use device fonts. Is your textfield contained in a Graphic or MovieClip? M. On 4/6/06, Grant Cox <[EMAIL PROTECTED]> wrote: I just gave this a go, and I see exactly the same behaviour on F7 and F8. If the text is a dynamic textfield then it snaps to pixels, if it's static it moves smoothly. But this is the same in F7 and F8. I animated the textfield to move 10 pixels in 100 frames, with just a linear motion tween. Regards, Grant Cox PR Durand wrote: Snap to pixel ??? Thanks for your answer but I thought it was just for the flash IDE, to place the object... however I can't see any difference in the animation with or without the pixel snaping enabled. Till there, the only difference from the same .fla is the player version. f7 : smooth, f8 : broken PiR Mike Mountain a écrit : I think you have snap to pixels enabled: View/snapping/snap to pixels M -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of PR Durand Sent: 04 April 2006 14:30 To: Flashcoders mailing list Subject: Re: [Flashcoders] allowing slow animation thanks too for your answer, Zeh, but we've talked about this case with Ian Thomas, so I've made tests with all different aliasig parameters, and also with a drawn shape instead of text. the problem remains the same I've made a html page holding 2 swf, one in flash 7 and the other in flash 8 in each swf, the content was the same: 3 100 pixel animations on _x in 10 frames, one with a flash ide motion tween, one with a onEnterFrame and the last one with the Tween class. all 3 methods are still smoothed in the flash 7 animation, not in the 8 version... PiR ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ 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] allowing slow animation
I just gave this a go, and I see exactly the same behaviour on F7 and F8. If the text is a dynamic textfield then it snaps to pixels, if it's static it moves smoothly. But this is the same in F7 and F8. I animated the textfield to move 10 pixels in 100 frames, with just a linear motion tween. Regards, Grant Cox PR Durand wrote: Snap to pixel ??? Thanks for your answer but I thought it was just for the flash IDE, to place the object... however I can't see any difference in the animation with or without the pixel snaping enabled. Till there, the only difference from the same .fla is the player version. f7 : smooth, f8 : broken PiR Mike Mountain a écrit : I think you have snap to pixels enabled: View/snapping/snap to pixels M -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of PR Durand Sent: 04 April 2006 14:30 To: Flashcoders mailing list Subject: Re: [Flashcoders] allowing slow animation thanks too for your answer, Zeh, but we've talked about this case with Ian Thomas, so I've made tests with all different aliasig parameters, and also with a drawn shape instead of text. the problem remains the same I've made a html page holding 2 swf, one in flash 7 and the other in flash 8 in each swf, the content was the same: 3 100 pixel animations on _x in 10 frames, one with a flash ide motion tween, one with a onEnterFrame and the last one with the Tween class. all 3 methods are still smoothed in the flash 7 animation, not in the 8 version... PiR ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Flash and
Except that only works in Flash 8, as the OP mentioned. Unfortunately there is no way to do this in Flash 7, except for iframe hacks or similar. I saw a link a year or so ago where someone placed a transparent HTML iframe over the top of the flash SWF, so the HTML form looked as though it was part of the flash. It was fairly hacky, and I don't think it was cross-browser compatible. Regards, Grant Cox Manuel Saint-Victor wrote: Do you mean like a filebrowser window? import flash.net.FileReference; var myFileReference:FileReference=new FileReference(); myFileReference.browse(); On 3/31/06, Felipe Fernandez <[EMAIL PROTECTED]> wrote: Hi, is it possible show in a flash (Flash 2004 MX) a input type file form in order to catch user file selection? Basically, I need to show an html form inside a flash movie. Is there any flash component to show that? I know Flash 8 has upload files capabilities but Flash Mx 2004 is requiered in my project. Thanks and regards ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] If not Zinc, then what?
Well, I was probably being too harsh with "major bugs", as I can't remember exactly what they were now (it was about 6 months ago I used it). I believe we had the same issue with building - having to reload SW first, but often when reloading it would fail because the process was still running in the background. Also, we had some issues with system dialog boxes, that they displayed multiple times. Anyway, I was somewhat naive as to what to expect of Projector applications, and as SW was quite new to Open Source, had a very small developer and user base, we thought it best to go to a third party. Regards, Grant Cox Darren Cook wrote: Support I can live without but I wondered what the major bugs were that you found? I've started using it on a project and was pleased with it. But my current usage is relatively simple. ___ 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] lil' help with amfphp... works locally, not uploaded...
Make sure you have a crossdomain.xml file in the root of your server, otherwise the security model in Flash will refuse connections to that server. The simplest version (allow all connections from any flash files) would be: http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd";> Regards, Grant Cox Count Schemula wrote: http://www.flash-creations.com/notes/servercomm_remoting_amfphp.php I have the above file working well on a local test server. Flash 8, amfphp, mySQL. Then I try to make this file work on my hosted sever: http://www.thelargeglass.com/highscores2/index.html The file works when I do a Test Movie and play it locally. According to NetConnectionDebugger I'm connecting to my remote/online host and it's getting the data from tha db. I can even add and delete records. When I upload this file, it does not work. On my computer, it says "Waiting for localhost" down in the bottom web browser status window. ??? It should not be looking for any localhost? So, in conclusion, files works EVERYWHERE, except where I need to work. Any ideas? === I think I'm gonna like amfphp remoting a lot... I never got remoting to work with CFMX. ___ 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] If not Zinc, then what?
We just did our first application with a projector app like this. Thankfully the target was only for Windows 2000 and XP, but it needed to support nice transparency with non-rectangular windows. First I gave Screenweaver OS a go, but it has some major bugs, and almost no development (well, not on the version 3, apparently they are working hard on the beta version 4). After a couple of days we decided that we needed an application that could provide support. We looked at them all, and decided on Zinc, as it seemed to have the most active forums and developers (ie they respond to bug reports quickly), it was cross platform (thinking about future projects), and had a lot of features. Unfortunately we found that CPU usage was extreme - with an application approximately 800x600 it would use 65% of a 3.0GHz cpu just sitting there, and 100% cpu when there was any animation inside the window. This is due to the transparency - it was much better with a regular rectangular window. As our client found this unacceptable we moved to mProjector (at their recommendation). We found mProjector to make the smallest file size, and have the best CPU usage. Unfortunately their support is much slower - the forums are much less busy and the devs will take some days to respond to emails. They were in the process of releasing their new version at this time, so this may explain it (they are a much smaller operation than Zinc). Unfortunately we found there was a bug that would cause the application to crash sporadically (when loading external movies/data), and some two months after reporting this as a bug it was still on their "todo" list. Also transparency was fine in the Flash 7 build, but in Flash 8 was very patchy (I believe this has been fixed since). So, we had to move to Northcode SWF Studio. This was our last option, as we couldn't find any other Projector applications that had synchronous commands (and switching to asynchronous would be far too much work this late in the project). Northcode has fairly quiet forums, but their devs replied to every post at least once a day, and responded to emails within a day (with the timezone difference from Aus to Canada I thought that was pretty good). The downside is that their transparency support was fairly poor - the only reliable method for non-rectangular windows was to have 1bit transparency. They did provide me with a pre-release version with better transparency (which I believe has been released now), however this did have pretty much the same CPU issue as Zinc. So, overall: - Northcode (which we ended up going with) had the best support and least bugs. But did make the largest filesize. - Zinc has the most features, and the CPU issue appeared to just be Flash 8 - all three had ver poor CPU usage when using nice transparency in Flash 8. Medium filesize - mProjector had the smallest filesize, and with Flash 7 had the best CPU performance. The app/libraries had the least features (ie no cross platform, no screensavers, no support for standard rectangular windows). And at the end of it all, I have vowed to avoid working on any Projector applications like this again. They all seem like patchy solutions, and I guess that's why Macromedia never added more than basic fscommands to the standard Flash projectors. Regards, Grant Cox Chris Velevitch wrote: On 3/29/06, Gene Jannece <[EMAIL PROTECTED]> wrote: I've been reading pros and cons of using Zinc, I started to wonder what are the pros and cons of other projectors? Flash Magazine did a comparison of projectors. http://www.flashmagazine.com/1095 http://www.flashmagazine.com/1097 It's a little old now, but is a good starting point. Chris -- Chris Velevitch Manager - Sydney Flash Platform Developers Group www.flashdev.org.au ___ 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] Simple date comparison bug?
Well, it depends how the comparisons work. When you check equivalence "==" it is checking whether the two Date instances are the same object, which of course they aren't. When you check greater than or less than, it can only check their value, and that is the same. So it comes down to how the Date class handles comparisons. I'm honestly not sure how you overwrite these in Actionscript (I guess there must be something in Object that you can overwrite). But checking equivalence with complex variables will always be checking if they are actually references to the same object, not if the two objects have the same attributes. Oh, and Ryan, is your fourth line meant to be trace( d1 = d2 ); or trace( d1 == d2 ); ? Regards, Grant Cox Ryan Matsikas wrote: var d1:Date = new Date( 1970, 0 ); var d2:Date = new Date( 1970, 0 ); trace( d1.toString() == d2.toString() ); // true trace( d1 = d2 ); // Thu Jan 1 00:00:00 GMT-0700 1970 On 3/23/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Don't know why I haven't come across this before, but can anyone confirm this for me (and maybe give an explanation)? var d1:Date = new Date( 1970, 0 ); var d2:Date = new Date( 1970, 0 ); trace( d1 == d2 ); // false trace( d1 <= d2 ); // true trace( d1 >= d2 ); // TRUE?! Umm… If something is both >= *and* <= the only possibly is that it is equal. So… WTF? dave myron principal, technical director contentfree ⊡ 206.855.5580 phone | 206.774.2767 fax ⊠ [EMAIL PROTECTED] ⊟ 337 1st ave ne. suite 100, issaquah, wa 98027 ___ 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.3.0/290 - Release Date: 3/23/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
Re: [Flashcoders] DataGrid Component Performance
What do you mean by "expand rows"? But I think the answer is no - all grid rows need to be the same height (this height is adjustable, but applies to all rows). The datagrid component can handle many thousand rows, but becomes very unresponsive with a number of columns. In an application which does display a lot of data we limit the grids to a maximum of 15 columns, and this can display 20,000 rows ok. However, whenever the grid needs to do a full redraw (ie sorting a column, resizing a column) it can pause for a couple of seconds. Also, intensive CellRenderers should be avoided, as should any kind of manual row highlighting (ie alternate row colours). Regards, Grant Cox varfoo wrote: Anyone have a feel for how this component performs. Can you expand rows? Can it handle thousands of rows? ___ 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] Encrypting data
This is true. However, if someone is prepared to submit fake post requests to hack your high scores, are they not going to decompile your SWF to see how you encrypt the high scores? My recommendation is to submit the level reached and the score, and have the server validate these (ie that the score achieved was possible for the level reached). Also, make the client inform the server every time a new level is reached, and validate that these are not occuring too fast (ie at least 20 seconds apart). And encrypt any important data sent to/from the server, but use some stupid algorithm you made up, do it inline (don't use a encrypt/decrypt function), and then obfuscate your actionscript. Oh, and if any of these server side checks fail, just ignore any high scores from that IP address. Or, just admit that faking high scores is nigh impossible when the client is so easily modified, and don't worry about it :) Regards, Grant Cox Dave Mennenoh wrote: MD5 isn't going to help encrypting a high score is it? It's a one way hash... Dave - Adobe Community Expert www.blurredistinction.com www.macromedia.com/support/forums/team_macromedia/ ___ 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] UnRegistering a class/symbol binding
Hi guys, I have a project that is raising some challenges due to the data having to be embedded into the swf rather than read externally. I need to show a dumb example to describe the problem, I would much rather solve it some other way but I'm bound by some client requirements at this time. Imagine I have a symbol names ApplicationFormSymbol and its bound to a ApplicationForm class using Object.registerClass("ApplicationFormSymbol', ApplicationForm); Whenever an ApplicationFormSymbol is dropped or attached with code onto the stage it will be instanitated as an ApplicationForm class. So the applicationForm has a method to set a text field public function onLoad() { myTextField.text = "Hello"; } I publish this swf as page1.swf Now lets suppose I do the same thing again, but this time the method is public function onLoad() { myTextField.text = "GoodBye"; } I publish this swf as page2.swf So both swfs are almost the same other than they both have a copy of the Application form class, but 1 has the "hello" and the other has the "goodbye" Now here is the fun part. I now write a "loader" movie that does this this.attachMovie("ID_BLANK", "page1", 13); this.createEmptyClip("ID_BLANK", page2, 14); loadMovie("page1.swf", this.page1); loadMovie("page2.swf", this.page2); What happens now? Well both movie display "Hello" in their text fields as he flash VM has loaded the first copy of the ApplicationForm class from the page1.swf file and the 2nd swf when loaded does not get its internal ApplicatonForm class it get the one that is already registered to the ApplicationForm symbol. I tried removeclip, unloadclip, throwclipoutofthewindow. And once the class is bound a symbol, any other symbol will always get the original class. Is there some sneaky back door around this, such as wiping out the class reference like _global.ApplicationForm = null or _global._package.ApplicationForm = null ??? This would be hell if someone wrote a portfolio swf viewer, where your porfolio loads your swf files demo's you have created if any of those swf use the same symbol/class names as any other. I've found the classloader does not do this when a class is not bound to a symbol, if its not bound to a symbol it will let you replace a class in a loaded swf. Grant. ___ 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] How does remoting access class members ?
I'm trying to remember how remoting accesses class members when translating and object for serialization over AMF I know it can access the private variables of a class, but will it use get/set methods if they are present, for example : class com.somecompany.domain { private var eventId:Number; private var title:String; public function get EventId():Number { return eventId; } public function set EventId(eventId:Number):Void { this.eventId = eventId; } public function get Title():String { return this.title; } public function set Title(title:String):Void { this.title = title; } } Will the remoting library in flash use the get / set methods here if I've defined Title and EventId on the remote object or will it bypass those methods and attempt to use the private variables eventId and title ? Cheers Grant ___ 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] Z sorting multiple overlapping movie clips
I thought you could only swap depths with movieclips, get night higest depths just returns what depth would be the next highest, it doesn't actually create the depth. Gran -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ramon Miguel M. Tayag Sent: Thursday, March 02, 2006 12:26 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] Z sorting multiple overlapping movie clips why not mc.swapDepths(getNextHighestDepth() ) ? Do you have that many movieclips? On 3/2/06, Karthik <[EMAIL PROTECTED]> wrote: > > On 02/03/06, Grant Davies <[EMAIL PROTECTED]> wrote: > > Problem with that is if the item you click on is under other items > > and it swaps depths with the top item, the top item then appears > > under things it wasn't. I did it this way first and it looked very weird. > > Not really - I'm swapping with (the depth of the topmost item + 1). > > -K > ___ > 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 ___ 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] Z sorting multiple overlapping movie clips
Ok so you are doing it with the item just below the top, how does that put your selected item on the top ? Grant -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ramon Miguel M. Tayag Sent: Thursday, March 02, 2006 12:26 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] Z sorting multiple overlapping movie clips why not mc.swapDepths(getNextHighestDepth() ) ? Do you have that many movieclips? On 3/2/06, Karthik <[EMAIL PROTECTED]> wrote: > > On 02/03/06, Grant Davies <[EMAIL PROTECTED]> wrote: > > Problem with that is if the item you click on is under other items > > and it swaps depths with the top item, the top item then appears > > under things it wasn't. I did it this way first and it looked very weird. > > Not really - I'm swapping with (the depth of the topmost item + 1). > > -K > ___ > 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 ___ 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] Z sorting multiple overlapping movie clips
Problem with that is if the item you click on is under other items and it swaps depths with the top item, the top item then appears under things it wasn't. I did it this way first and it looked very weird. I ended up just writing a depth sorter, each of the objects that are added to the screen dispatch a registration event and the depth sorter adds them to a list and stores a sorted depths list, when an item wants to be on top I figure out where it is in the Z order and then swap it with the item above it and then the next, and next and next until I get to the top, that way the Z order is preserved just like in a windowing system. Cheers, Grant -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Karthik Sent: Wednesday, March 01, 2006 4:27 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] Z sorting multiple overlapping movie clips On 01/03/06, Byron Canfield <[EMAIL PROTECTED]> wrote: > You can make it a lot easier by doing some of the prep work for that > architecture in the for loop that you use to first create and assign > depths to those movieclips. It might be a lot simpler to just do something like: // Untested. // Assuming clips are given depths based on ID var highest_depth:Number = clips_array.length; // click handler function click_handler(e:Object):Void { if (e.target.getDepth() != (highest_depth)) { e.target.swapDepths(++highest_depth); } } --- This should be fine for IIRC 2 billion+ clicks, with some caveats for depths greater than 1M.. My 10p, -K ___ 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] Z sorting multiple overlapping movie clips
Does anyone have a an algorithm for Z sorting multiple overlapping clips... I have an array of clips and when one is clicked I want it to come to the top, but I want the other overlapping items to also shift appropriately... So Item [1] at depth 10 Item [2] at depth 9 Item [3] at depth 8 Item [4] at depth 7 If you click item [4], it would go to depth 10, and the other would shift down 1 Item [4] depth 10 Item [1] depth 9 Item [2] depth 8 Item [3] depth 7 But if any of those items are overlaping other items, they also need to be Z sorted. I'd rather not re-invent the wheel. Thanks Grant ___ 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: Installing Custom Ant Tasks in Eclipse
I messed around with a few preprocessors a week or so ago, and just had so many problems (due to ignorance - I'm a noob when it comes to java/ant etc). However, finally I got FMPP to work ( http://fmpp.sourceforge.net/ ), and while the preprocessing directives aren't the prettiest (they look like html tags), once I got it working I was beyond caring about that :) This is the appropriate part from my build.xml: classpath="${dependencies_dir}/fmpp/lib/fmpp.jar" /> modes="ignore(server/**/*, lib/**/*, dependencies/**/*), execute(**/*.as), copy(**/*.swf), ignore(**/*)" quiet="false" > antProperties(svn_version) debug: true Actually, so that "modes" line makes sense, my folder structure is: /build /deploy /src /com /dependencies /lib /server And I only want it to preprocess .as files from the /src and /src/com (not dependencies, lib or server), copy any .swf files (in case MTASC needs them as base files) and ignores the rest. Regards, Grant Cox John Mark Hawley wrote: UPDATE: After a lot of flailing and forcing Ant to specifically include the jars for Prebob, I actually got it to run. However, all it does it copy things from one directory to another, and no amount of manual flogging and guesswork can get it to actually preprocess anything. Has anyone tried Prebop and gotten it working, or does anyone have an IDE-friendly preprocessing solution themselves? -- Mark Hawley said: There doesn't seem to be a simple tutorial for actually getting custom Ant tasks installed and running. Even as2Ant leaves you out to dry when it comes to actually getting it to work the first time. Any help? Has anyone else on the list experimented with the Prebob preprocessing Ant task, or custom Ant tasks in general in Eclipse? I can't seem to get mine to work...I have a feeling it's because I don't have the java SDK installed, and no one else is running into this because mot of the Flash devs fooling around with Ant and Eclipse in the first place are also developing Java occasionally. (UPDATE: well, installing the SDK, and making sure Ant could see tools.jar did squat.) In Eclipse->Preferences->Ant I can see the preprocessor task is defined. Vanilla Ant builds are working 100%, but ant tasks installed as Eclipse plugins don't work when built, they just croak and give a massive, unhelpful Ant error. --snip from build.xml--- except="${skip}"> --> --end snip--- --partial output--- preprocess: [echo] Allegedly running cpp or equivalent BUILD FAILED C:\PATH_HIDDEN_TO_PROTECT_THE_INNOCENT\buildPreprocess.xml:24: Could not create task or type of type: preprocess. Ant could not find the task or a class this task relies upon. (GIANT ERROR MESSAGE SNIPPED) Any suggestions? -- John Mark Hawley The Nilbog Group 773.968.4980 (cell) ___ 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] how to make single cell in the grid non editable?
The only way I've done it is by making the entire datagrid non-editable, and listening for a double click on a single cell. When this happens, if that cell can edited that column is set to editable, and the appropriate cell is selected. On a mouse deselect (onBlur?) the column is set back to non-editable. Generally I've found that double clicking to edit a field works quite well, as I never liked that just selecting a row would start to edit the actual cell clicked. Oleg Filipchuk wrote: I hope it would be better. It's nothing else left. :( So does anyone know any smart solution about making individual cell non/editable? ___ 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] OT: Design patterns
Wouldn't it be great to have a project like that - that actually stays on track and doesn't have last minute changes :) It is never necessary to use design patterns, but they can make your project more structured. More structured usually means easier to understand, and easier to modify (as it is more obvious what else will be affected by any change). I would suggest spending time on less critical projects to explore using some design patterns, to see how you feel about them, and if you find they are useful then keep using them. When I first started using design patterns (when FAMES kicked off) I thought it was important to use "pure" patterns, and got quite stressed trying to understand wtf all the patterns actually are and why I should be using them. Now that I have made a few projects (~6) in this fashion I am much more laid back - I use the patterns that I understand, bastardise others to something I like, and ignore the rest. We're not making works of art here - as long as the project is done to time and budget and isn't a complete dog's breakfast then it's fine :) Regards, Grant Cox Anggie Bratadinata wrote: If I don't plan to extend my app. nor there is late requirements to meet then using DP is not necessary? Thanks Troy, -- Anggie Bratadinata Web|Graphic|Flash Jl. Raya Langsep 21 Malang - East Java I N D O N E S I A http://design.ibshastautama.com Troy Rollins wrote: On Feb 22, 2006, at 11:11 PM, Anggie Bratadinata wrote: What is the advantage(s) and disadvantage(s) of design patterns? I've been studying MVC and Singleton patterns but so far I'm not sure how those can make my software better. They don't necessarily make your software any better. They can probably make your software easier to extend and or maintain. -- Troy RPSystems, Ltd. http://www.rpsystems.net ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] getting the actual width of a scaled child clip
Except you would have to iterate through every _parent level until you hit the _root anyway, in case any ancestor clip is scaled... I've done that before for visibility ( parent was _visible=false, grandchild was _visible=true but of course not seen). Lanny McNie wrote: Also, you could just multiply the width/height by the scale.. var w = subClip._width * subClip._parent._xscale / 100; var h = subClip._height * subClip._parent._yscale / 100; Sorry for the psuedo code. On 2/22/06, Rich Rodecker <[EMAIL PROTECTED]> wrote: ah, nice one. On 2/22/06, Grant Cox <[EMAIL PROTECTED]> wrote: If you use localToGlobal you can find the dimensions in root coordinates. /// var topleft = {x: inner._x, y: inner._y}; var bottomright = {x: inner._x + inner._width, y: inner._y + inner._height}; inner._parent.localToGlobal(topleft); inner._parent.localToGlobal(bottomright); trace("inner from: " + topleft.x + "," + topleft.y + " to: " + bottomright.x + "," + bottomright.y ); /// Rich Rodecker wrote: wierd that i've never hit this before, but I'm running into an issue with getting the width of a clip's children after the parent clip has been scaled down. So, I say parent clip name "holder_mc". I create 4 movieclips inside holder_mc and load movie into them. Each of the loaded clips are 600 x600. If i scale holder_mc down 50%, each of the loaded clips still reports their size as 600x600. Somebody's HAD to have dealt with this one already...any suggestions? ___ 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 -- - Lanny McNie ___ 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] getting the actual width of a scaled child clip
If you use localToGlobal you can find the dimensions in root coordinates. /// var topleft = {x: inner._x, y: inner._y}; var bottomright = {x: inner._x + inner._width, y: inner._y + inner._height}; inner._parent.localToGlobal(topleft); inner._parent.localToGlobal(bottomright); trace("inner from: " + topleft.x + "," + topleft.y + " to: " + bottomright.x + "," + bottomright.y ); /// Rich Rodecker wrote: wierd that i've never hit this before, but I'm running into an issue with getting the width of a clip's children after the parent clip has been scaled down. So, I say parent clip name "holder_mc". I create 4 movieclips inside holder_mc and load movie into them. Each of the loaded clips are 600 x600. If i scale holder_mc down 50%, each of the loaded clips still reports their size as 600x600. Somebody's HAD to have dealt with this one already...any suggestions? ___ 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] redraw/update DataGrid to reflect change of data?
If all you want is for the datagrid to refresh from the data already in it's dataProvider (ie, each grid row updates to what you want when you rollover), then try: var current_vpos = myGrid.vPosition; myGrid.dataProvider = myGrid.dataProvider; myGrid.vPosition = current_vpos; Regards, Grant Cox Chuck Hoffman wrote: I'd like to get a DataGrid (or better yet, one of its columns) to redraw itself, so as to reflect a change made to item(s) in its dataProvider. Specifically, I have a field called 'select', and for its column in the DataGrid I use a CellRenderer containing a CheckBox, which responds to clicks to the CheckBox by setting the select field of the given item appropriately. However, I'd also like to add a "select all" checkbox. I have no problem responding to clicks on the CheckBox with a quick looping-through of the dataProvider setting the select fields on each item to true or false, as the case may be. But I can't seem to get the DataGrid to redraw right away to reflect the change. The CheckBoxes will redraw correctly only when I mouse over the rows. I should note that a co-worker of mine got this functionality working using code on the timeline, whereas I'm trying to do it within a class to which the MovieClip containing the DataGrid is linked and having considerably less luck with it. I've tried calling invalidate(), redraw(), draw(), and refresh(), on the DataGrid, and a few combinations of two or more of these, all to no avail (do any of those functions actually *do* anything??) Many thanks --ch-- ___ 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] Issue with two instances on a timeline
I agree, this is perhaps the most irritating thing about animating inside the Flash timeline. Unfortunately I believe it is just a limitation of Flash, and the only way to get around it is to avoid keyframes on objects you need to use code with. So, either avoid all keyframes and do animation with code, or just avoid keyframes on the specific objects you want to modify with code. In your example for changing text or colour, the object you are changing (textfield or movieclip) needs to be inside another movieclip. Now you can apply code to the inner movieclip and timeline effects to the outer movieclip (or vice versa), and it should work ok. But unfortunately it is still a pain. But then, that's animating in Flash for you :) Regards, Grant Cox Meinte van't Kruis wrote: Hi folks, I've had this problem for a long time and it keeps on coming back once in a while, and allthough I've allways found ways to work around it, I never got to a real solution, so perhaps some of you know the answer. The problem is, simply put: make a textfield, called tfield place it inside a movieclip called mc now we'll animate mc, one keyframe on frame 1, one keyframe on frame 10, put a motion tween in there. now the problem is, i have two keyframes, thus two instances of, basically, the same thing (same instance name) this, somehow, always brings up alot of problems, giving unexpected results. when i, say, change the color of the movieclip, or the text of the field inside the movieclip, it usually doesn't work at all it seems like flash only likes to change the color or text on the first frame and not during the animation, or on the last frame Does anyone know a good solution to this problem, because i feel there must be an easy solution to this (besides tweening with actionscript alone) thanks, Meinte ___ 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] Strange actionscript vs tweening problem Flash8
I'm not sure what is happening in your case, but previously I have found similar issues (with code / timeline based effects conflicting) when: - The symbol (movieclip/button) does not have the same instance name across all keyframes (ie doesn't have an instance name on a keyframe). - When the code changes any attribute of a tweened symbol. If you have code that changes a clip's position, the tween becomes invalid until the next keyframe (which then overwrites whatever code change you made). I assume this applies to all other clip attributes (not just position), as a key is on a whole layer... Regards, Grant Cox T. van Zantvoort wrote: I just simply use for (i=1; i<10; i++) { this["b"+i].onRelease = function() { play(); }; } This is for button 1 through 9 and then on the timeline there's a tween with all the buttons that go to an other location themselfs. But when I click on a button, that button stays on it's place until the tween is done and then finally flips to the position it supposed to tween to. Met vriendelijke groeten, Tayfun van Zantvoort WebSculptor --- MonTay WebArchitects T: 040-2300898 F: 040-2954071 I: www.montay.nl --- Check ook eens andere onderdelen van ons uit. --- www.vsnet.nl (je eigen webshop) www.mlife.nl (aug '05, digi-lifestyle) === -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Karthik Verzonden: donderdag 16 februari 2006 9:24 Aan: Flashcoders mailing list Onderwerp: Re: [Flashcoders] Strange actionscript vs tweening problem Flash8 At this point it goes strangely, the tween is actually happening but the button clicked stays on the same place until the tween stops and then flips to the location it supposed to tween to. How are you tweening this? You might want to show us some code. -K ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] flv video encoding for flash 7
I used the flash 8 video encoding tool and set it for flash 7 high quality (700k) and the video is very pixelated, I've uploaded it here for review : http://bluetubecom.web123.discountasp.net/clients/soapbox/videotest.html the original quicktime is here : http://bluetubecom.web123.discountasp.net/clients/soapbox/img/PortVideo/SBS_open_for_flash-test.mov the flv version is really pixelated, not acceptable at all. Someone suggested using sorenson squeeze instead of the flash video encoder as it may produce better results but I'm pretty green on flash video. The settings I used for that where : Sorenson spark codec, frame rate same as source (29.xx), keyframe placement automatic, quality, custom, 1000 kilobits per sec, no video resize, audio mp3, 128kbs stereo. Thanks Grant. - Original Message - From: Fabio Sonnati [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: 2/15/06 2:54 AM Subject: Re: [Flashcoders] flv video encoding for flash 7 > I think its sorenson > let we know what you used to encode your video and related settings. > > Fabio Sonnati > http://flashvideo.progettosinergia.com > > > - Original Message - > From: > To: > Sent: Wednesday, February 15, 2006 7:07 AM > Subject: [Flashcoders] flv video encoding for flash 7 > > > >I have a quicktime that I need to encode to an flv and have had very poor > >results (pixelation/noise) using flash 7 sorenson. I found this site : > > > > http://www.creativedigitalgroup.com > > > > the quaility of video on there looks very good, is it my source material > > that is too hard to encode and produce a good quality flv ? Or is that > > site really using the on2 Vp6 codec ? Is there a way to tell in an flv is > > on2 or sorenson without some special tools ? > > > > Grant. > > ___ > > 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] flv video encoding for flash 7
I have a quicktime that I need to encode to an flv and have had very poor results (pixelation/noise) using flash 7 sorenson. I found this site : http://www.creativedigitalgroup.com the quaility of video on there looks very good, is it my source material that is too hard to encode and produce a good quality flv ? Or is that site really using the on2 Vp6 codec ? Is there a way to tell in an flv is on2 or sorenson without some special tools ? Grant. ___ 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] vardump an object in ActionScript?
Yeah, a for...in loop is what you want in Actionscript too. However, to save you a few minutes, below is the function I use. static function printr( object, depth ){ if ( depth == undefined ) depth = 3; var depth_spacing:String = ""; var string_rep:String = ""; for ( var attrib in object ){ var attrib_value:String = ""; if ( depth > 0 && ( typeof( object[attrib] ) == "object" || typeof( object[attrib] ) == "movieclip") ){ attrib_value = printr( object[attrib], depth-1 ); if ( attrib_value == "" ){ attrib_value = "[]"; if (object[attrib] instanceof Array){ attrib_value = "[empty Array]"; } } } else { attrib_value = "" + object[attrib]; } string_rep += "\n" + depth_spacing.substr(depth*2) + "[ " + attrib + " ]:" + typeof(object[attrib]) + " = " + attrib_value; } return string_rep; } Josh McDonald wrote: Hi, I'm wondering if there's any way to just dump out all there is to know about an object in ActionScript similar to PHP's vardump()? It's easily done with for(foo in bar) in JS, but that doesn't seem to work. Any pointers much appreciated :) Cheers, -Josh ___ 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] embeded CSS issue
Thanks Gregory, The code in the email was a quick example, I really do allocate objects before I use them :) It appears you are right that the only reliable way is with parse css function as the built in stuff in 8 really doesn't seem to work at all. Thanks Grant - Original Message - From: GregoryN [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: 2/10/06 7:50 AM Subject: Re: [Flashcoders] embeded CSS issue > Grant, > > While I can't open you sample (I'm still with FMX2004), there's some > obvious mistakes in the code: > 1) You need to sreate new TextField.StyleSheet object before using it. > 2) Too many zeros in color ( boldlite.color = "#ff00";) > 3) If "testText" is textfield, it doesn't have ".font" property - you > have to define font face in CSS or use TextFormat instead. > 4) Strange, but your P with class doesn't work (while it should). I'd > use tag instead. > > BTW, I prefer to write CSS as string and then use .parseCSS . This > approach have some advantages. For example, you can define several > alternative fonts (font-familiy: Futura Medium, _sans) . > > Corrected code: > === > // ADDED > var testSheet:TextField.StyleSheet = new TextField.StyleSheet(); > > var boldlite:Object = new Object(); > boldlite.color = "#ff"; > boldlite.fontWeight = "bold"; > boldlite.fontFamily = "Futura Medium"; > > testSheet.setStyle("boldlite", boldlite); > > testText.styleSheet = testSheet; > testText.embedFonts=true; > // make sure you embedded font somewhere > testText.wordWrap=true; > testText.htmlText="using class*this should be bold and red*"; > === > > Corrected files: > http://gousable.com/flash/temp/embedcss_fixed.zip > > > -- > Best regards, > GregoryN > > http://GOusable.com > Flash components development. > Usability services. > > > - Grant wrote: > > I'm using an embedded CSS file where I define the styles through code > > > > var boldlite:Object = new Object(); > > boldlite.color = "#ff00"; > > boldlite.fontWeight = "bold"; > > > > testSheet.setStyle("boldlite", boldlite); > > > > and then I assign it to an html text field. > > > > testText.styleSheet = testSheet; > > testText.embedFonts=true; > > testText.wordWrap=true; > > testText.font = "Futura Medium"; > > testText.htmlText="using class*this should be bold and red* "; > > > > > > No matter what I do I can't get it to render any color or weight changes. > > > > I have uploaded the fla if anyone has a chance to look, its just a TEST > > right now. > > > > http://www.bluetube.com/temp/embedcss.zip > > > > Grant. > > > > > > -- > > > ___ > 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] embeded CSS issue
I'm using an embedded CSS file where I define the styles through code var boldlite:Object = new Object(); boldlite.color = "#ff00"; boldlite.fontWeight = "bold"; testSheet.setStyle("boldlite", boldlite); and then I assign it to an html text field. testText.styleSheet = testSheet; testText.embedFonts=true; testText.wordWrap=true; testText.font = "Futura Medium"; testText.htmlText="using class*this should be bold and red* "; No matter what I do I can't get it to render any color or weight changes. I have uploaded the fla if anyone has a chance to look, its just a TEST right now. http://www.bluetube.com/temp/embedcss.zip Grant. ___ 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] Version issues
I haven't personally used it yet, but that's what Flash Plugin Switcher is meant to do. http://www.kewbee.de/FlashPluginSwitcher/ Ryan Sabir wrote: Heya, I have a client whos having a problem viewing a Flash widget I built for them. She's saying all she sees is a white square, rather than a scrolling news widget. I got her to check her Flash version number on this page: http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_15507 And its reporting: WIN 6,0,79,0 Yeah she needs to upgrade, but I want it to work for people who might be running this version of Flash. I downloaded version 6 of Flash from this page: http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_14266 And installed the 'fp_6.0.79_activex.exe' file from the 'r79' directory. This is after uninstalling Flash using Macromedia's uninstaller. Now when I go to the Flash version checking page, its reporting this version: WIN 7,0,19,0 Why is it telling me I have version 7 of Flash installed, when I just installed version 6? How would I get my install version to match my clients? Thanks! -- Ryan Sabir Technical Director, Newgency ___ 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] Actionscript preprocessor
I am currently using Eclipse, MTASC and ANT for my development (on Windows), and this is working well. However, while I currently have "release" and "debug" ANT targets, these really only change a couple of MTASC compile options (ie tracing). I have decided that a better solution is needed, to allow a "release" build to exclude NetDebug, to automatically change some config options, and also to integrate build numbers. So, preprocessing. After some searching, I found cpp ( http://gcc.gnu.org/onlinedocs/cpp/ ), filepp ( http://www.cabaret.demon.co.uk/filepp/ ), and jappo ( http://jappo.opensourcefinland.org/ ). However. cpp - linux application, the only Windows version I can see is via cygwin. And installing this on every development machine, for a single utility seems overkill. Plus, cpp seems to have the least features, and the filepp docs suggest it may leave strange comments in output files. filepp - Perl module, which should be fine (all development machines have ActivePerl installed). Except the download contains source files, and a bash script to create the application. So, again I'm kind of stuck being on Windows. jappo - Java .jar, with ANT integration. Sounds perfect. Except that after I work out how to reference the jar correctly in EclipseAnt and it runs, it gives errors about missing classes (ie "org/apache/xpath/XPathAPI" ). I downloaded the XPath addon for Eclipse, but this didn't help. I can't run any of the jappo samples either, as I don't have the Java SDK (currently downloading). Has anyone successfully used a preprocessor for Actionscript on Windows, and do you have any suggestions? Regards, Grant Cox ___ 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] Giving back oyFlashDoc.jsfl - host needed.
Just to clarify, oyFlashDoc.jsfl is used to pull Actionscript from a FLA. As for uploading it, why not put it on the Macromedia Flash Exchange? I personally haven't done this, but I'm pretty sure they host the files. Regards, Grant Cox Josh McDonald wrote: Howdy, I've made a few changes to this to make it more useful for my sitation (need to generate a whole gang of the xml files). And since it's GPL and somewhat useful, I'd like to send a copy back out there. However there's no way I can get it on the web from here, so if anyone wants to host it, please mail me off-list and I'll email it to you. Or, since the changes are fairly trivial (although useful), if nobody cares that's cool too :) -Josh ___ 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] pagepeel
I've previously used Macc/Iparigrafika's page turner, and found it to be very good. http://www.iparigrafika.hu/pageflip/ Latcho wrote: anybody got a link to a resource of a (doublepaged) page-peel effect? like browsing a book, but nonfake. preferably working with bitmapdata. my Math skills aren't just sufficient :( thanks ! ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@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] Extract actionscript from .FLA?
Indeed, the OyFlashDoc extension seems to do just what you want http://www.softwaresecretweapons.com/jspwiki/Wiki.jsp?page=HowToTrackChangesInFlashMoviesUsingJSFL Derek Vadneau wrote: You could use some JSFL to loop through the entire FLA for any actionscript. It could pull it all out and either display it (trace window) or write it to a file (or files). Derek Vadneau -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Josh McDonald Sent: Tuesday, February 07, 2006 11:50 PM To: flashcoders@chattyfig.figleaf.com Subject: SPAM-LOW: Re: [Flashcoders] Extract actionscript from .FLA? I agree, but there's no way I'd get the go-ahead for refactoring of that size. Lousy bean-counters :( I'm just lucky for the amount of code that's already in .as files. Thanks for the link btw :) ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] plz suggest.....urgent
Well, not really - it's part of a larger application, and I have certain business obligations not to just give it all away. However, if you are stuck with something specific then I don't mind helping out (although it is almost 7pm here - I will be heading home soon). Basically what we did was had a controller to manage the list of Fields (our data type for a grid column). The popup window had a datagrid that displayed all of the Field objects from the controller, displaying only the "title" and "visible" attributes. We had a Checkbox CellRenderer used for the "visible" column, so ticking / unticking would change this attribute. Once the popup window is hidden, then the main datagrid columns are recreated, by looping through all the Field objects from the controller, and creating a DataGridColumn for each Field whose "visible" is set to true. Macromedia have some sample CellRenderers, one of which is for a checkbox. You can download this from http://www.macromedia.com/support/documentation/en/flash/fl8/samples.html Regards, Grant Cox [EMAIL PROTECTED] wrote: Hi Grant, Can u plz send me ur code for the same...the way u implemented... The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s)and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender or [EMAIL PROTECTED] ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Disabling FLVPlayback component skin controls
Well, I got it working to my satisfaction. Definitely hacky, but at least it works. In case anyone else is looking for this, the code used is below (the FLVPlayback component instance name is "videoScreen"). BEGIN CODE private function enableVideoControls( set_enabled:Boolean ) { trace("enableVideoControls, to: " + set_enabled ); // ensure that we have modified the controls to understand being disabled backupControlFunctions(); for (var i : Number = 0; i < videoScreen["_uiMgr"].controls.length; i++) { videoScreen["_uiMgr"].controls[i].disabled = !set_enabled; } } private function backupControlFunctions() { for (var i : Number = 0; i < videoScreen["_uiMgr"].controls.length; i++) { var videoControl = videoScreen["_uiMgr"].controls[i]; if ( typeof(videoControl) == "movieclip" && videoControl._name != "volumeBar_mc" && videoControl._name != "volumeBarHandle_mc" && videoControl._name != "volumeMute_mc" && videoControl._name != "on_mc" && videoControl._name != "off_mc"){ trace("backupControlFunctions for videoControl " + videoControl); if ( videoControl.oldOnPress == undefined && videoControl.onPress != undefined ){ videoControl.oldOnPress = videoControl.onPress; videoControl.onPress = function(){ trace("onPress on " + this + " disabled: " + this.disabled ); if (this.disabled != true){ this.oldOnPress.apply(this, arguments); } } } if ( videoControl.oldOnRelease == undefined && videoControl.onRelease != undefined ){ videoControl.oldOnRelease = videoControl.onRelease; videoControl.onRelease = function(){ trace("onRelease on " + this + " disabled: " + this.disabled ); if (this.disabled != true){ this.oldOnRelease.apply(this, arguments); } } } if ( videoControl.oldOnReleaseOutside == undefined && videoControl.onReleaseOutside != undefined ){ videoControl.oldOnReleaseOutside = videoControl.onReleaseOutside; videoControl.onReleaseOutside = function(){ trace("onReleaseOutside on " + this + " disabled: " + this.disabled ); if (this.disabled != true){ this.oldOnReleaseOutside.apply(this, arguments); } } } } } } END CODE Grant Cox wrote: I would like to be able to toggle whether the controls for a Flash 8 FLVPlayback component are enabled. I don't want to hide them all (like the skinAutoHide attribute does), rather keep them visible but non-interactive. Preferably I would like to control this per item, as I would like to leave the audio controls interactive. I have found there is an attribute FLVPlaybackInstance._uiMgr._controlsEnabled which enables and disables all of the button controls (although unfortunately not the seek bar). I am currently experimenting with enabling and disabling all of the mouse events for the movieclips in FLVPlaybackInstance._uiMgr.controls , but it isn't looking hopeful. Regards, Grant Cox ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Disabling FLVPlayback component skin controls
I would like to be able to toggle whether the controls for a Flash 8 FLVPlayback component are enabled. I don't want to hide them all (like the skinAutoHide attribute does), rather keep them visible but non-interactive. Preferably I would like to control this per item, as I would like to leave the audio controls interactive. I have found there is an attribute FLVPlaybackInstance._uiMgr._controlsEnabled which enables and disables all of the button controls (although unfortunately not the seek bar). I am currently experimenting with enabling and disabling all of the mouse events for the movieclips in FLVPlaybackInstance._uiMgr.controls , but it isn't looking hopeful. Regards, Grant Cox ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] plz suggest.....urgent
Well, there are two methods. To do what you are trying below, you will want one movieclip in the library with instance name "checkbox_scrollpane_content", and this movieclip will then have code to attachMovie as many checkboxes as needed. This way your scrollpane always has the same contentPath, but this content knows to update as needed. However, I have done a similar thing before (controls to show/hide grid columns), and the way I did it was the popup window displayed a single Datagrid component with two columns, one column containing the titles, the other containing a checkbox CellRenderer. I find it much easier to deal with content in a Datagrid than in a ScrollPane (where the content abstraction can be a pain). Regards, Grant Cox [EMAIL PROTECTED] wrote: ok,scrollpane_instance.contentPath="linkage id of a checkbox".This adds a single checkbox.is it? How to add 2 checkboxes? The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s)and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender or [EMAIL PROTECTED] ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] plz suggest.....urgent
Then yes, contentPath is what you want. The contentPath can be either a Linkage Id, or a url of an external SWF. [EMAIL PROTECTED] wrote: I want a ScrollPane, with the content being movieclip containing 2 checkboxes and labels next to them. The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s)and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender or [EMAIL PROTECTED] ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] plz suggest.....urgent
Please explain what you mean by "checkboxes in a scrollbar". Do you mean a list component (scrollable), where each row contains a checkbox? If so, you want to use a CellRenderer. Or do you mean just two checkboxes, in a bounding area that can have scrollbars? If so, you probably want a ScrollPane, with the content being a movieclip containing the checkboxes. Regards, Grant Cox [EMAIL PROTECTED] wrote: how can i add 2 checkboxes in a scrollbar..is it using contentpath?? The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s)and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender or [EMAIL PROTECTED] ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] How do you code your Flash applications?
Just to throw my 2c in, I personally only use getNextHighestDepth(), and as yet haven't had any problems with it. The majority of our screens are already placed in the Flash timeline, I use attachMovie almost only to populate scrollpanes, and loadMovie only into graphic components. To keep our code separated from the design, we will use placeholders / components in the Flash file to define where external elements are loaded. This lets the designers fiddle with what they like, without having to bother me :) Regards, Grant Cox Nathan Derksen wrote: Nonsense, this is a great debate IMHO, and I would love to hear more from others as well. This is something that everyone has to deal with, and I genuinely thought that others would make more use of getNextHighestDepth() and was surprised that you and others avoid it. What are the situations that you have come across where only manual depth management would work? Do you have other ways of managing depth? Nathan http://www.nathanderksen.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Accessing Dynamically Created MC's
This is just because "group_mc.node_mc" is not a property of "this", only the "group_mc" bit is. What you would need to do is this["group_mc"]["node_mc"] , however you want to store those in your array. Or, you can use eval, as testValue = eval(targetArray[0]).id; should do what you want, and it is not deprecated in AS2. Regards, Grant Cox Dave Geurts wrote: Okay, So I swear I have done this 1oo times before but for the life of me I cannot get this to work. So lets say I have a MC called group_mc that contains a MC called node_mc and node_mc contains a variable named id. When I do: trace("test:"+this.group_mc.node_mc.id); I get the value I expect but when I do the following I get nothing _global.targetArray = new Array(); _global.targetArray[0] = "group_mc.node_mc"; testValue = this[targetArray[0]].id; trace("test:"+testValue); I get nothing?? I am compiling with flash 7 AS 2.0 THANKS in advanced Dave Geurts ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] select columns-datagrid
How is your edit button embedded in the column, are you using a Cell Renderer? When I have done something similar using a CellRenderer I made the CellRenderer dispatch an event (actually from the Datagrid), which contained the cell's row and column. This way in my class containing the Datagrid, I could just listen for my event just like any other (like "cellEdit", "headerRelease" etc). Below is the appropriate line from my CellRenderer. I believe the template for this CellRenderer was just from the Macromedia multiline textfield sample. listOwner.dispatchEvent({type:"myCustomEvent", itemIndex: getCellIndex().itemIndex, columnIndex: getCellIndex().columnIndex, newValue: somethingGoesHere}); Regards, Grant Cox [EMAIL PROTECTED] wrote: hi, I have a datagrid that I'm using to display records. One of the columns has an "edit" button. When the user clicks edit, the window pops up. What I'd like to do is when a user clicks edit, one of the columns is set to "selected". I mean to ask that how can i select the whole column for display,so that rest of the columns i can make invisible. Does anyone know if this is possible and how to do this. Greatly appreciate any help... The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s)and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender or [EMAIL PROTECTED] ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] mx.utils.ClassFinder.findClass problem
If the classes are present in the main movie that is "injected" with the classes compiled by flash, any symbols in loaded movies that have a symbol name that matches a class that uses object.register gets the behavior attached when its loaded, I actually found this by accident and its worked out very well. I don't use shared libraries, I have an lib folder that all my project can access, even in a team of several flash developers we have found having the code available in a src folder works better for us than a swf. Grant. - Original Message - From: Cedric Muller [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: 2/3/06 3:26 AM Subject: Re: [Flashcoders] mx.utils.ClassFinder.findClass problem > grant, how do you make your classes as shared libraries (for example > making fx.swf provide the rest of the app with all the available > classes for transitions, tweens, ...) ? > I always wondered how mtasc would handle such (I don't have time to > dig that part...) > > cedric > > > > Yes, that's true, but then someone without MTASC cannot compile (it > > will not work), so if my customer will want sources and want to > > compile it, it will be problem :) > > > > On 3 Feb 2006 06:40:47 -, [EMAIL PROTECTED] > > wrote: > >> I do something similar in my arp extensions to force "command" > >> classes defined in an xml document to be loaded at runtime. I use > >> the -pack feature of mtasc that forces classes from a package into > >> your swf. > >> > >> so if you wanted force all the classes in com.bluetube.command > >> into your swf you would pass > >> -pack com\bluetube\command to mtasc. > >> > >> I hate having to put a dummy constructor or fluff in the code to > >> make it work, I prefer the mtasc approach. > >> > >> Grant. > >> > >> - Original Message - > >> From: Cdric_Muller [EMAIL PROTECTED] > >> To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com > >> Sent: 2/2/06 7:18 AM > >> Subject: Re: [Flashcoders] mx.utils.ClassFinder.findClass problem > >> > >>> but please, remember that this is a Flash Hack with a lot of whack > >>> and crack :) > >>> you're welcome! > >>> cedric > >>> > >>>> This works Cedric, thank you very much :) > >>>> All of you > >>>> > >>>> On 2/2/06, Cédric Muller wrote: > >>>>> in your .as file (main class, or classesManger,...) you can simply > >>>>> put references to the classes you will/should use ... > >>>>> > >>>>> I did it once the following way: > >>>>> > >>>>> /** > >>>>> * setPackagesToImport > >>>>> * fake method, never gets called. just here for 'import' + > >>>>> reference > >>>>> purposes > >>>>> * > >>>>> */ > >>>>> > >>>>> private function setPackagesToImport ():Void { > >>>>> sk.sowhat.linuxPlayer. ScreenEffects; > >>>>> sk.sowhat.linuxPlayer.ScreenVideo; > >>>>> sk.sowhat.linuxPlayer.Screen; > >>>>> sk.sowhat.linuxPlayer.HelperFunctions; > >>>>> // and so on ... > >>>>> } > >>>>> > >>>>> with such, you assure yourself that Flash will include the > >>>>> classes . not very official, nor clean, but really worked > >>>>> for me > >>>>> (as I had to reference the classes paths through xml) > >>>>> cedric > >>>>> > >>>>>> Yes it works > >>>>>> var dummyVar:Function=sk.sowhat.linuxPlayer.play4dogs.Test; (with > >>>>>> no import) > >>>>>> > >>>>>> this is not problem > >>>>>> > >>>>>> but i create instance dynamicly, i got string in XML > >>>>>> "sk.sowhat.linuxPlayer.play4dogs.Test" > >>>>>> and i need create instance, but application doesnt know which > >>>>>> classes > >>>>>> will be instantiated, so i cannot create instance of all possible > >>>>>> class in initialize phase of application > >>>>>> > >>>>>> > >&
Re: [Flashcoders] mx.utils.ClassFinder.findClass problem
If my customer requires source code I give them mtasc, ant and a document on how to run it. Grant. - Original Message - From: franto [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: 2/3/06 2:57 AM Subject: Re: [Flashcoders] mx.utils.ClassFinder.findClass problem > Yes, that's true, but then someone without MTASC cannot compile (it > will not work), so if my customer will want sources and want to > compile it, it will be problem :) > > On 3 Feb 2006 06:40:47 -, [EMAIL PROTECTED] wrote: > > I do something similar in my arp extensions to force "command" classes > > defined in an xml document to be loaded at runtime. I use the -pack > > feature of mtasc that forces classes from a package into your swf. > > > > so if you wanted force all the classes in com.bluetube.command into your > > swf you would pass > > -pack com\bluetube\command to mtasc. > > > > I hate having to put a dummy constructor or fluff in the code to make it > > work, I prefer the mtasc approach. > > > > Grant. > > > > - Original Message - > > From: Cdric_Muller [EMAIL PROTECTED] > > To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com > > Sent: 2/2/06 7:18 AM > > Subject: Re: [Flashcoders] mx.utils.ClassFinder.findClass problem > > > > > but please, remember that this is a Flash Hack with a lot of whack > > > and crack :) > > > you're welcome! > > > cedric > > > > > > > This works Cedric, thank you very much :) > > > > All of you > > > > > > > > On 2/2/06, Cédric Muller wrote: > > > >> in your .as file (main class, or classesManger,...) you can simply > > > >> put references to the classes you will/should use ... > > > >> > > > >> I did it once the following way: > > > >> > > > >> /** > > > >> * setPackagesToImport > > > >> * fake method, never gets called. just here for 'import' + > > > >> reference > > > >> purposes > > > >> * > > > >> */ > > > >> > > > >> private function setPackagesToImport ():Void { > > > >> sk.sowhat.linuxPlayer. ScreenEffects; > > > >> sk.sowhat.linuxPlayer.ScreenVideo; > > > >> sk.sowhat.linuxPlayer.Screen; > > > >> sk.sowhat.linuxPlayer.HelperFunctions; > > > >> // and so on ... > > > >> } > > > >> > > > >> with such, you assure yourself that Flash will include the > > > >> classes . not very official, nor clean, but really worked for me > > > >> (as I had to reference the classes paths through xml) > > > >> cedric > > > >> > > > >>> Yes it works > > > >>> var dummyVar:Function=sk.sowhat.linuxPlayer.play4dogs.Test; (with > > > >>> no import) > > > >>> > > > >>> this is not problem > > > >>> > > > >>> but i create instance dynamicly, i got string in XML > > > >>> "sk.sowhat.linuxPlayer.play4dogs.Test" > > > >>> and i need create instance, but application doesnt know which > > > >>> classes > > > >>> will be instantiated, so i cannot create instance of all possible > > > >>> class in initialize phase of application > > > >>> > > > >>> > > > >>> > > > >>> On 2/2/06, franto wrote: > > > >>>> but Ian, why it find other classes, i dont instantiate any of > > > >>>> class, > > > >>>> that code you can see in email is everything, and it has found 15 > > > >>>> classes, but 3 doesnt find > > > >>>> > > > >>>> Classes found: 15 > > > >>>> Classes not found: 3 > > > >>>> > > > >>>> Why? > > > >>>> > > > >>>> On 2/2/06, Ian Thomas wrote: > > > >>>>> Hi Franto, > > > >>>>> > > > >>>>> As far as I understand it, 'import' isn't enough to get a class > > > >>>>> compiled > > > >>>>> into your .swf. > > > >>>>> > > > >>>>> The line: > > > >&
Re: [Flashcoders] mx.utils.ClassFinder.findClass problem
I do something similar in my arp extensions to force "command" classes defined in an xml document to be loaded at runtime. I use the -pack feature of mtasc that forces classes from a package into your swf. so if you wanted force all the classes in com.bluetube.command into your swf you would pass -pack com\bluetube\command to mtasc. I hate having to put a dummy constructor or fluff in the code to make it work, I prefer the mtasc approach. Grant. - Original Message - From: Cdric_Muller [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: 2/2/06 7:18 AM Subject: Re: [Flashcoders] mx.utils.ClassFinder.findClass problem > but please, remember that this is a Flash Hack with a lot of whack > and crack :) > you're welcome! > cedric > > > This works Cedric, thank you very much :) > > All of you > > > > On 2/2/06, Cédric Muller wrote: > >> in your .as file (main class, or classesManger,...) you can simply > >> put references to the classes you will/should use ... > >> > >> I did it once the following way: > >> > >> /** > >> * setPackagesToImport > >> * fake method, never gets called. just here for 'import' + > >> reference > >> purposes > >> * > >> */ > >> > >> private function setPackagesToImport ():Void { > >> sk.sowhat.linuxPlayer. ScreenEffects; > >> sk.sowhat.linuxPlayer.ScreenVideo; > >> sk.sowhat.linuxPlayer.Screen; > >> sk.sowhat.linuxPlayer.HelperFunctions; > >> // and so on ... > >> } > >> > >> with such, you assure yourself that Flash will include the > >> classes . not very official, nor clean, but really worked for me > >> (as I had to reference the classes paths through xml) > >> cedric > >> > >>> Yes it works > >>> var dummyVar:Function=sk.sowhat.linuxPlayer.play4dogs.Test; (with > >>> no import) > >>> > >>> this is not problem > >>> > >>> but i create instance dynamicly, i got string in XML > >>> "sk.sowhat.linuxPlayer.play4dogs.Test" > >>> and i need create instance, but application doesnt know which > >>> classes > >>> will be instantiated, so i cannot create instance of all possible > >>> class in initialize phase of application > >>> > >>> > >>> > >>> On 2/2/06, franto wrote: > >>>> but Ian, why it find other classes, i dont instantiate any of > >>>> class, > >>>> that code you can see in email is everything, and it has found 15 > >>>> classes, but 3 doesnt find > >>>> > >>>> Classes found: 15 > >>>> Classes not found: 3 > >>>> > >>>> Why? > >>>> > >>>> On 2/2/06, Ian Thomas wrote: > >>>>> Hi Franto, > >>>>> > >>>>> As far as I understand it, 'import' isn't enough to get a class > >>>>> compiled > >>>>> into your .swf. > >>>>> > >>>>> The line: > >>>>> import sk.sowhat.linuxPlayer.play4dogs.Test; > >>>>> just tells the compiler that any mention of the word Test in your > >>>>> code will > >>>>> refer to that class. > >>>>> > >>>>> If the class isn't compiled into the SWF, ClassFinder won't find > >>>>> it. You > >>>>> actually need to access or instantiate the class somewhere in > >>>>> the code to > >>>>> make Flash include it. From memory I think just referring to the > >>>>> class > >>>>> constructor is enough e.g. > >>>>> > >>>>> import sk.sowhat.linuxPlayer.play4dogs.Test; > >>>>> > >>>>> var dummyVar:Function=sk.sowhat.linuxPlayer.play4dogs.Test; // > >>>>> somewhere > >>>>> later in the code > >>>>> > >>>>> I also have a vague memory that you might be able to force MTASC > >>>>> to include > >>>>> classes, but not being a user of MTASC (yet!) I'm not certain on > >>>>> that one. > >>>>> > >>>>> HTH, > >>>>> Ian > >>>>> > >&
Re: [Flashcoders] How do you code your Flash applications?
I build assets in flash and give them symbol names that match my class names. for example loginForm = com.bluetube.view.LginForm I code in eclipse and bind classes to symbols using Object.registerClass, I compile with mtasc and use ANT to build. I always have an ApplicationForm class that kicks off the whole show (natural entry point) and its the swf that gets the code injected into it via MTASC. I load external swfs with symbols that have names that match their classes but they have no code IN the swf. I use the ARP framework on pretty much everything. (I code, I have a designer who does the animation) I use Fuse for code based tweens. I use alcon for logging via a custom logger and the -trace feature of mtasc I use xray to debug I'm busy as hell since i learned all this stuff (normall a JAVA J2EE coder) :) (thanks flash and the open source community!) Cheers, Grant. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] How do you code your Flash applications?
Are you actually deploying Flex 2 applications? Doesn't it still require the alpha/beta Flash 8.5 player? Bjorn Schultheiss wrote: The enlightened Lemming would also like to add some comments. /* * Begin * * Flex 2 kicks ass. Any app dev I will work with flex. * Any GUI component / animation works I'll use Flash * * Thank you * * The end */ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Grant Cox Sent: Friday, 3 February 2006 1:44 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] How do you code your Flash applications? Don't feel bad Anggie, I think it is an interesting topic that is worthy of discussion. The problem is that "best practices" are quite subjective, and as such some people feel the need to be offended at alternative suggestions :) Of course, the method I use (Eclipse/MTASC) really is The Best Practice, as in my infinite wisdom and experience have found that every other method is simply inferior, and only suitable for ignorant lemmings. You're all lemmings, you hear me!! ;) Regards, Grant Cox Anggie Bratadinata wrote: On 2/3/06, Mark Winterhalder <[EMAIL PROTECTED]> wrote: "(to open) a can of worms", idiom: to ask for general stylistic advice on a professional mailing list, often resulting in contradicting advises that turn into flame wars, ending with somebody crying and repeated demands for the thread to be discontinued. Ugh, I didn't mean to start another flame war. I just wanna learn from you, folks I'm sorry if my question was considered "a can of worms". If there's any Indonesian Flash mailing list that is as good as this one, I'd turn to them instead, keeping the worms in Indonesia. -- Anggie Bratadinata Graphic|Web|Flash Jl. Raya Langsep 21 Malang - East Java I N D O N E S I A www.ibshastautama.com www.nextrand.co.id ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] How do you code your Flash applications?
Don't feel bad Anggie, I think it is an interesting topic that is worthy of discussion. The problem is that "best practices" are quite subjective, and as such some people feel the need to be offended at alternative suggestions :) Of course, the method I use (Eclipse/MTASC) really is The Best Practice, as in my infinite wisdom and experience have found that every other method is simply inferior, and only suitable for ignorant lemmings. You're all lemmings, you hear me!! ;) Regards, Grant Cox Anggie Bratadinata wrote: On 2/3/06, Mark Winterhalder <[EMAIL PROTECTED]> wrote: "(to open) a can of worms", idiom: to ask for general stylistic advice on a professional mailing list, often resulting in contradicting advises that turn into flame wars, ending with somebody crying and repeated demands for the thread to be discontinued. Ugh, I didn't mean to start another flame war. I just wanna learn from you, folks I'm sorry if my question was considered "a can of worms". If there's any Indonesian Flash mailing list that is as good as this one, I'd turn to them instead, keeping the worms in Indonesia. -- Anggie Bratadinata Graphic|Web|Flash Jl. Raya Langsep 21 Malang - East Java I N D O N E S I A www.ibshastautama.com www.nextrand.co.id ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] How do you code your Flash applications?
I personally use Eclipse / MTASC, so all code is class based. In my Flash file all symbols that need functionality have a linkage id, and almost all of my symbols are only a single frame (unless shape tweening is needed). To make the Flash compile faster, none of these symbols are linked to Classes in the Library, this is all done in the external code using Object.registerClass. I find it a lot cleaner to have all of my code in a nice external structure, in a decent IDE. My code is all right where I need it, I can control all animation simply (using an animation / tweening library like Fuse), and I can let the designers do almost whatever they like to the Flash file without worrying about them stuffing code up. And, of course, I get decent version control on the source files. After using this for a few months, I just wouldn't code inside the Flash IDE any more. Movieclip spaghetti is a bitter dish. Regards, Grant Cox Anggie Bratadinata wrote: Hi expert coders, Just a simple question, How do you develop your Flash applications? How do you write clean, readable, and reusable codes? The reason I'm asking this is because, so often, I got lost in MovieClips spaghetti. Different depth/levels/timelines drive me nuts and in the end, after reviewing my codes, I can't help re-writing everything from scratch in order to make it much cleaner. So, on the same project, I always work twice. :( What I do so far is write-then-test every single function in my codes;if it works then I'll write another function. And I tend to write everything in a single frame. I'd be more than happy if you, experts, can tell me the right way to code/develop Flash applications. TIA, -- Anggie Bratadinata Graphic|Web|Flash Jl. Raya Langsep 21 Malang - East Java I N D O N E S I A www.ibshastautama.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] quick array question
Use Array.splice() to remove an element. randomPos = random(total); rfcClip = rfcsArray[randomPos]; imgID = imgArray[randomPos]; rfcsArray.splice(randomPos, 1); imgArray.splice(randomPos, 1); total--; Corban Baxter wrote: Ok one quick array question... randomPos = random(total); rfcClip = rfcsArray[randomPos]; imgID = imgArray[randomPos]; total--; //now how can I delete those two records from my two arrays and recompile the arrays for use next time? I want to slowing delete the entire array so that I never use one twice... thanks. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Fire Event Manually
sorr its a late, but cheat... var foo:Object = myCheckBox; foo.dispatchEvent( {type:"cick", target:myCheckBox}); if you use an object reference the compiler doesn't enforce class modifiers so you can basically bypass protected. Grant. - Original Message - From: Yotam Laufer [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: 1/20/06 9:52 AM Subject: Re: [Flashcoders] Fire Event Manually > unless dispatchEvent is a private method ;) > > On 20 Jan 20 > 06 14:27:30 -, [EMAIL PROTECTED] > wrote: > > > > myCheckBox.dispatchEvent( {type:"cick", targ > et:myCheckBox}); > > > > or > > > > > > > > should work ? > > > > Grant. > > > > > - Original Message - > > From: julian atienza j > [EMAIL PROTECTED] > > To: [EMAIL PROTECTED] > af.com > > Sent: 1/20/06 5:59 AM > > Subject: [Flashcoders] F > ire Event Manually > > > > > Anybody can helps me with this? > > > > > > > I have a collection of checkbox, with their own a > ctionscript code in the > > > on(click) or on(change) regio > n of code to manage events... > > > > > > in one special case > , i want to manually (through actionscript code in a > > > > class) fire the click event on every checkbox control of > my panel. > > > > > > there is any way to make this? to fire > click event like if a user > > interacts > > > with the contr > ol and click on it? > > > > > > I'm talking about Checkbox Co > ntrol (not about HTML checkbox) ... > > > > > > thank u in ad > vance! > > > __ > _ > > > Flashcoders mailing list > > > [EMAIL PROTECTED] > figleaf.com > > > http://chattyfig.figleaf.com/mailman/list > info/flashcoders > > > > > ___ > > Flashcoders mailing list > > [EMAIL PROTECTED] > tyfig.figleaf.com > > http://chattyfig.figleaf.com/mailman/ > listinfo/flashcoders > > > > > > -- > Yotam Laufer | Flash Develop > er | mobile +44 (0) 79 205 17 212 > > > V¬ Êz»>¨¥x>+- > V¬ Êz» «mÉø ~(%y§Ü¢ > Ûiÿ÷!jÛr~( ^i÷(ùYùb²Ø§~ß«!r^® ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] NetConnection Debugger not working in Flash 8? - SOLVED
I have found the solution to this problem. If I replace the mx.remoting.debug.* classes from the Flash 8 remoting with those from Flash MX2004, then the Netconnection Debugger works from Flash 8. Doing a diff shows that the new Flash 8 classes only include definition of the available debug functions, whereas the MX2004 classes included the actual implementation. I am not sure why so few people appear to be affected by this, and since you can't download the MX2004 trial any more it may be a problem for anyone who doesn't already have it installed... If anyone does need these files and cannot source them elsewhere feel free to email me. Regards, Grant Cox Grant Cox wrote: Yes and no. On my main machine I have both installed, but on a secondary machine I uninstalled Flash MX2004 before installing Flash 8, and it exhibits the same problems. Very odd indeed. Gavin Lilley wrote: I have exactly the same problem. I have installed a fresh version of 8 and then remoting and components. Do you have Flash 7 and Flash 8 on the same pc? Im wondering if it is possible to install 7 first and then install 8 'over the top of 7' to solve this problem. I read about copying old library files across but as far as I can see I am missing nothing. -- Gavin Lilley. On 1/20/06, Grant Cox <[EMAIL PROTECTED]> wrote: I have just upgraded my workflow to Flash 8 and the latest MTASC today, and found that while my Remoting calls were working, nothing was printing in the NetConnection Debugger. After some debugging I have found that I cannot get anything to print to the NetConnection Debugger even from within the Flash 8 IDE, and this is with a clean reinstall of Flash 8 (no previous version of Flash installed) and the Remoting components. I have set the Flash 8 security settings to "Always Allow", and to trust anything in "C:\". The follow code, when applied to the first frame of an empty movie with just the RemotingConnector Component on the stage, works in Flash 7, but does not work in Flash 8. The log messages work fine (and the remoting connection is created and works), but nothing appears in the NetConnection Debugger. Can anyone see a problem with this, or even replicate the error? Regards, Grant Cox /// import mx.remoting.Service; import mx.services.Log; import mx.remoting.debug.NetDebug; NetDebug.initialize(); var myLogger:Log = new Log(Log.DEBUG, "logger1"); myLogger.onLog = function(message:String) { trace("NetConnection LOG: " + message); }; var gatewayURL:String = "http://localhost/myproject/gateway.php";; var userService:Service = new Service ( gatewayURL, myLogger, "Users", null, null ); trace("gateway at: " + gatewayURL + " user service: " + userService ); NetDebug.trace("testing testing testing"); stop(); ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Flash Remoting
If you are using AS2, then you want to use import, not #include (which is AS1). import mx.remoting.Service; import mx.services.Log; import mx.remoting.debug.NetDebug; Regards, Grant Cox JP wrote: I'm running into very odd issues with the installation of Flash remoting components for AS2 on both Windows and OSX using Flash MX 2004. 1. In both cases, using #include "NetServices.as" or "NetDebug.as" produces a 'file not found' compiler error. 2. After reading through a bunch of Tec notes, I discovered that those two files needed to be placed into the include directory. After that, Flash found the files, but... 3. Suddenly the compiler spit out 20+ warnings about improper import paths defined in these files. import mx.remoting.degug. <-- place filename here I started madly shuffling files around to their correct paths (on the OSX version), but now I'm getting 20+ messages from within the component files when including NetDebug or NetServices: **Error** Volume:Users:jpowers:Library:Application Support:Macromedia: Flash MX 2004:en:Configuration:Include:NetDebug.as: Line 10: Classes may only be defined in external ActionScript 2.0 class scripts. intrinsic class mx.remoting.debug.NetDebug extends Object or [snip] Syntax error. import mx.remoting.debug.events.NetDebugTrace; [snip] Syntax error. static public function getNetDebug():mx.remoting.debug.NetDebug Can anyone tell me how I can sort this out? I'm stumped. -jp ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] NetConnection Debugger not working in Flash 8?
Yes and no. On my main machine I have both installed, but on a secondary machine I uninstalled Flash MX2004 before installing Flash 8, and it exhibits the same problems. Very odd indeed. Gavin Lilley wrote: I have exactly the same problem. I have installed a fresh version of 8 and then remoting and components. Do you have Flash 7 and Flash 8 on the same pc? Im wondering if it is possible to install 7 first and then install 8 'over the top of 7' to solve this problem. I read about copying old library files across but as far as I can see I am missing nothing. -- Gavin Lilley. On 1/20/06, Grant Cox <[EMAIL PROTECTED]> wrote: I have just upgraded my workflow to Flash 8 and the latest MTASC today, and found that while my Remoting calls were working, nothing was printing in the NetConnection Debugger. After some debugging I have found that I cannot get anything to print to the NetConnection Debugger even from within the Flash 8 IDE, and this is with a clean reinstall of Flash 8 (no previous version of Flash installed) and the Remoting components. I have set the Flash 8 security settings to "Always Allow", and to trust anything in "C:\". The follow code, when applied to the first frame of an empty movie with just the RemotingConnector Component on the stage, works in Flash 7, but does not work in Flash 8. The log messages work fine (and the remoting connection is created and works), but nothing appears in the NetConnection Debugger. Can anyone see a problem with this, or even replicate the error? Regards, Grant Cox /// import mx.remoting.Service; import mx.services.Log; import mx.remoting.debug.NetDebug; NetDebug.initialize(); var myLogger:Log = new Log(Log.DEBUG, "logger1"); myLogger.onLog = function(message:String) { trace("NetConnection LOG: " + message); }; var gatewayURL:String = "http://localhost/myproject/gateway.php";; var userService:Service = new Service ( gatewayURL, myLogger, "Users", null, null ); trace("gateway at: " + gatewayURL + " user service: " + userService ); NetDebug.trace("testing testing testing"); stop(); ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Fire Event Manually
myCheckBox.dispatchEvent( {type:"cick", target:myCheckBox}); or should work ? Grant. - Original Message - From: julian atienza [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: 1/20/06 5:59 AM Subject: [Flashcoders] Fire Event Manually > Anybody can helps me with this? > > I have a collection of checkbox, with their own actionscript code in the > on(click) or on(change) region of code to manage events... > > in one special case, i want to manually (through actionscript code in a > class) fire the click event on every checkbox control of my panel. > > there is any way to make this? to fire click event like if a user interacts > with the control and click on it? > > I'm talking about Checkbox Control (not about HTML checkbox) ... > > thank u in advance! > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] NetConnection Debugger not working in Flash 8?
Yes, yes, and yes. And in Flash 7 it works, but not Flash 8. Steven Sacks wrote: Did you install Remoting for Flash 8? Did you put the remoting components on the stage of your movie? Did you try manually tracing? NetDebug.trace("Hello world"); -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Grant Cox Sent: Thursday, January 19, 2006 9:03 PM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] NetConnection Debugger not working in Flash 8? I have just upgraded my workflow to Flash 8 and the latest MTASC today, and found that while my Remoting calls were working, nothing was printing in the NetConnection Debugger. After some debugging I have found that I cannot get anything to print to the NetConnection Debugger even from within the Flash 8 IDE, and this is with a clean reinstall of Flash 8 (no previous version of Flash installed) and the Remoting components. I have set the Flash 8 security settings to "Always Allow", and to trust anything in "C:\". The follow code, when applied to the first frame of an empty movie with just the RemotingConnector Component on the stage, works in Flash 7, but does not work in Flash 8. The log messages work fine (and the remoting connection is created and works), but nothing appears in the NetConnection Debugger. Can anyone see a problem with this, or even replicate the error? Regards, Grant Cox /// import mx.remoting.Service; import mx.services.Log; import mx.remoting.debug.NetDebug; NetDebug.initialize(); var myLogger:Log = new Log(Log.DEBUG, "logger1"); myLogger.onLog = function(message:String) { trace("NetConnection LOG: " + message); }; var gatewayURL:String = "http://localhost/myproject/gateway.php";; var userService:Service = new Service ( gatewayURL, myLogger, "Users", null, null ); trace("gateway at: " + gatewayURL + " user service: " + userService ); NetDebug.trace("testing testing testing"); stop(); ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] NetConnection Debugger not working in Flash 8?
I have just upgraded my workflow to Flash 8 and the latest MTASC today, and found that while my Remoting calls were working, nothing was printing in the NetConnection Debugger. After some debugging I have found that I cannot get anything to print to the NetConnection Debugger even from within the Flash 8 IDE, and this is with a clean reinstall of Flash 8 (no previous version of Flash installed) and the Remoting components. I have set the Flash 8 security settings to "Always Allow", and to trust anything in "C:\". The follow code, when applied to the first frame of an empty movie with just the RemotingConnector Component on the stage, works in Flash 7, but does not work in Flash 8. The log messages work fine (and the remoting connection is created and works), but nothing appears in the NetConnection Debugger. Can anyone see a problem with this, or even replicate the error? Regards, Grant Cox /// import mx.remoting.Service; import mx.services.Log; import mx.remoting.debug.NetDebug; NetDebug.initialize(); var myLogger:Log = new Log(Log.DEBUG, "logger1"); myLogger.onLog = function(message:String) { trace("NetConnection LOG: " + message); }; var gatewayURL:String = "http://localhost/myproject/gateway.php";; var userService:Service = new Service ( gatewayURL, myLogger, "Users", null, null ); trace("gateway at: " + gatewayURL + " user service: " + userService ); NetDebug.trace("testing testing testing"); stop(); ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Public examples of Business RIAs
Thanks clark. I have a non public RIA that used ARP and is pretty big (3000 hours total) I did the flash and java with 2 other developers over six months. We used openAMF and love remoting having done webservices with flash before (I like web services for java/.net stuff) Our isn't pretty like yours though :) Grant. - Original Message - From: clark slater [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: 1/17/06 5:43 PM Subject: Re: [Flashcoders] Public examples of Business RIAs > Thanks Grant, yeah the controls are lightweight custom components with an > event model designed to allow the kind of communication between them so that > recommended sizes can be autoselected. Uses FlashRemoting (via CF) for all > product data, pricing and options. > > Often I think the blistering performance of Remoting is overlooked - it's > definitely a huge advantage of developing RIA's in Flash. > > Clark > > > On 17 Jan 2006 18:43:44 -, [EMAIL PROTECTED] > wrote: > > > > Clark, are the controls (scroller, dropdown box and vertical accordian) > > entirely custom components ? > > > > very nice interface btw. > > > > grant > > > > - Original Message - > > From: clark slater [EMAIL PROTECTED] > > To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com > > Sent: 1/17/06 12:38 PM > > Subject: Re: [Flashcoders] Public examples of Business RIAs > > > > > Here's one we developed for a Golf Club manufacturer who sells highly > > > customized clubs directly to the public. > > > > > > http://www.gigagolf.com > > > > > > I think this is a good example of a business RIA because it makes the > > > product configuration a lot easier than an HTML version might in terms > > of > > > using the 'eFit' tools to determine best option for your measurements > > and > > > instantly recommending (and selecting) the appropriate product options. > > > > > > Clark > > > > > > On 1/17/06, matt stuehler wrote: > > > > > > > > All, > > > > > > > > I'm trying to convince a potential client that Flash is the way to go > > > > for a B2B RIA for a project it's working on, and I'd like to develop a > > > > showcase of a RIAs developed in Flash. > > > > > > > > I'm sure there are hundreds of great examples, but most of them are > > > > not public. The few available through Macromedia are OK, but not > > > > great. > > > > > > > > The ideal apps would meet two main criteria: > > > > > > > > - It should include functionality that's not reproduceable with > > > > dhtml/ajax (e.g., custom controls or interactivity) > > > > > > > > - It should be a real substantive "business"-type application (e.g., > > > > not a pseudo-app that's really just a fancy web advertisement) > > > > > > > > Many thanks in advance to anyone who can suggest a few great URLs. > > > > > > > > I'll be happy to send a list of all the URLs I receive to anyone who's > > > > interested - just send me your email address, and I'll forward all the > > > > great apps I find. > > > > > > > > Cheers, > > > > Matt Stuehler > > > > ___ > > > > Flashcoders mailing list > > > > Flashcoders@chattyfig.figleaf.com > > > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > > > > ___ > > > Flashcoders mailing list > > > Flashcoders@chattyfig.figleaf.com > > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > ___ > > Flashcoders mailing list > > Flashcoders@chattyfig.figleaf.com > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Public examples of Business RIAs
Clark, are the controls (scroller, dropdown box and vertical accordian) entirely custom components ? very nice interface btw. grant - Original Message - From: clark slater [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: 1/17/06 12:38 PM Subject: Re: [Flashcoders] Public examples of Business RIAs > Here's one we developed for a Golf Club manufacturer who sells highly > customized clubs directly to the public. > > http://www.gigagolf.com > > I think this is a good example of a business RIA because it makes the > product configuration a lot easier than an HTML version might in terms of > using the 'eFit' tools to determine best option for your measurements and > instantly recommending (and selecting) the appropriate product options. > > Clark > > On 1/17/06, matt stuehler wrote: > > > > All, > > > > I'm trying to convince a potential client that Flash is the way to go > > for a B2B RIA for a project it's working on, and I'd like to develop a > > showcase of a RIAs developed in Flash. > > > > I'm sure there are hundreds of great examples, but most of them are > > not public. The few available through Macromedia are OK, but not > > great. > > > > The ideal apps would meet two main criteria: > > > > - It should include functionality that's not reproduceable with > > dhtml/ajax (e.g., custom controls or interactivity) > > > > - It should be a real substantive "business"-type application (e.g., > > not a pseudo-app that's really just a fancy web advertisement) > > > > Many thanks in advance to anyone who can suggest a few great URLs. > > > > I'll be happy to send a list of all the URLs I receive to anyone who's > > interested - just send me your email address, and I'll forward all the > > great apps I find. > > > > Cheers, > > Matt Stuehler > > ___ > > Flashcoders mailing list > > Flashcoders@chattyfig.figleaf.com > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] JSFL help
I've never used JSFL and found a book at borders that was supposed to teach but looks more like a dump of the API to a book. I need to create some templated swf's and would like the text fields in the swf to be populated either by a human being whois not a flash developer (e.g. enter data into a panel and it puts the data into the correct text field variables). Or to have swf's generated from a text file, say coma separated that contains the values for the text fields, is this even possible and are there any good lists out there from JSFL ? The client does needs templated flash files, there will be about 10 "standard" fla files and then we need to populate several text fields with data, the 10 stanard files would be used to produce 150 swf files with different text in the text fields and I can't do it dynmically (no web services or remoting) the swf must be self contained including its data. any JSFL gurus on the list ? Thanks Grant ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: SV: [Flashcoders] certificate
Did you make sure the cross domain file is in the root folder ? Grant. - Original Message - From: PR Durand [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: 1/12/06 4:37 AM Subject: Re: SV: [Flashcoders] certificate > Thanks a lot for all your answers, Martin, Grant and Campbell, > So I got a additional step: I have a domain problem now... > the response.setHeader didn't change anything at the beginning, but may > help to go further. the proxy, we tried to build one yesterday, but not > enough time...so thanks for the link > I got my service working on the 8443 port by uploading the swf on the > same server where the service is located. > Why isn't it possible to reach it from another domain? I put the > crossdomain.xml on the server, is there another security rule? > > PR > > > > Martin Baltzer a écrit : > > >Yes flash in Internet Explorer has serious problems with self signed or 3. > >party ssl certificates. If the certificate is a valid one (by Verisign) > >there are no issues. > > > >The problem is actually that when flash makes the request through IE the > >browser thinks the https page is already expired when it receives it and > >therefore it won't return it to flash. > > > >This is only an issue in Internet Explorer but it can be fixed if proper > >cache headers are being set on the serverside. > > > >In JAVA/JSP the following extra cache headers solved the problem for me :) > > > >response.setHeader("Cache-Control", "no-store"); > >response.setHeader("Pragma", "no-store"); > > > > > >Hope that works > >Martin > > > > > >-Oprindelig meddelelse- > >Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] På vegne af [EMAIL > >PROTECTED] > >Sendt: 11. januar 2006 21:38 > >Til: flashcoders@chattyfig.figleaf.com > >Emne: Re: [Flashcoders] certificate > > > >I have had some issue's with certificates and flash. > > > >I use charles which is an http proxy to intercept the requests between the > >browser and the server to figure out what the issue was. 1st test is really > >to create an html page and call your webservice using a form post and make > >sure the certificates are working within the browser and the webserver > >BEFORE you try and use the service from flash. > > > >There is cheap http proxy thats better than charles but I forget who created > >it. > > > >ah, here is the link http://kevinlangdon.com/serviceCapture/ > > > >Grant. > > > >- Original Message - > >From: PR Durand [EMAIL PROTECTED] > >To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com > >Sent: 1/11/06 3:08 PM > >Subject: [Flashcoders] certificate > > > > > > > >>Hi List > >>It seems that I found antoher point to explain my difficulties to obtain > >>a result in connecting my WS. > >>The server has a Double-side certificate. I installed the certificate on > >>firefox, so I can call correctly the https webservice via the browser, > >>on the 8448 port without any problem, > >>but maybe flash can't communicate correctly? > >>I thought that the browser holding the swf was the only concerned by the > >>certificate, as flash isn't seen by the servers, but only the webpage > >>holding it... am I wrong? Can Flash have problems with the certificate? > >>thanks a lot > >>PR > >> > >>___ > >>Flashcoders mailing list > >>Flashcoders@chattyfig.figleaf.com > >>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > >> > >> > > > >___ > >Flashcoders mailing list > >Flashcoders@chattyfig.figleaf.com > >http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > >___ > >Flashcoders mailing list > >Flashcoders@chattyfig.figleaf.com > >http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > > > > > > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: SV: [Flashcoders] certificate
One issue I had with internet exploder was the first time I did an https call instead of hitting the server I was asking it to hit, it went to the windows update site to see if there were any updates due, I still haven't figured out why it did this, and this was looking at the http traffic from the browser with a proxy... I had no issues with firefox. Grant. - Original Message - From: Martin Baltzer [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: 1/12/06 2:07 AM Subject: SV: [Flashcoders] certificate > Yes flash in Internet Explorer has serious problems with self signed or 3. > party ssl certificates. If the certificate is a valid one (by Verisign) there > are no issues. > > The problem is actually that when flash makes the request through IE the > browser thinks the https page is already expired when it receives it and > therefore it won't return it to flash. > > This is only an issue in Internet Explorer but it can be fixed if proper > cache headers are being set on the serverside. > > In JAVA/JSP the following extra cache headers solved the problem for me :) > > response.setHeader("Cache-Control", "no-store"); > response.setHeader("Pragma", "no-store"); > > > Hope that works > Martin > > > -Oprindelig meddelelse- > Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] På vegne af [EMAIL PROTECTED] > Sendt: 11. januar 2006 21:38 > Til: flashcoders@chattyfig.figleaf.com > Emne: Re: [Flashcoders] certificate > > I have had some issue's with certificates and flash. > > I use charles which is an http proxy to intercept the requests between the > browser and the server to figure out what the issue was. 1st test is really > to create an html page and call your webservice using a form post and make > sure the certificates are working within the browser and the webserver BEFORE > you try and use the service from flash. > > There is cheap http proxy thats better than charles but I forget who created > it. > > ah, here is the link http://kevinlangdon.com/serviceCapture/ > > Grant. > > - Original Message - > From: PR Durand [EMAIL PROTECTED] > To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com > Sent: 1/11/06 3:08 PM > Subject: [Flashcoders] certificate > > > Hi List > > It seems that I found antoher point to explain my difficulties to obtain > > a result in connecting my WS. > > The server has a Double-side certificate. I installed the certificate on > > firefox, so I can call correctly the https webservice via the browser, > > on the 8448 port without any problem, > > but maybe flash can't communicate correctly? > > I thought that the browser holding the swf was the only concerned by the > > certificate, as flash isn't seen by the servers, but only the webpage > > holding it... am I wrong? Can Flash have problems with the certificate? > > thanks a lot > > PR > > > > ___ > > Flashcoders mailing list > > Flashcoders@chattyfig.figleaf.com > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] certificate
I have had some issue's with certificates and flash. I use charles which is an http proxy to intercept the requests between the browser and the server to figure out what the issue was. 1st test is really to create an html page and call your webservice using a form post and make sure the certificates are working within the browser and the webserver BEFORE you try and use the service from flash. There is cheap http proxy thats better than charles but I forget who created it. ah, here is the link http://kevinlangdon.com/serviceCapture/ Grant. - Original Message - From: PR Durand [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: 1/11/06 3:08 PM Subject: [Flashcoders] certificate > Hi List > It seems that I found antoher point to explain my difficulties to obtain > a result in connecting my WS. > The server has a Double-side certificate. I installed the certificate on > firefox, so I can call correctly the https webservice via the browser, > on the 8448 port without any problem, > but maybe flash can't communicate correctly? > I thought that the browser holding the swf was the only concerned by the > certificate, as flash isn't seen by the servers, but only the webpage > holding it... am I wrong? Can Flash have problems with the certificate? > thanks a lot > PR > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Webservice and complex type class mapping
Christophe, I've never had it map in the remoting way, but I have sucessfully done a cast on the dynamic object returned and then got data from it. I think it works "by accident" :) Grant - Original Message - From: Christophe Herreman [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: 1/11/06 8:46 AM Subject: [Flashcoders] Webservice and complex type class mapping > Hi all, > > does anyone know if it is possible to map an incoming complex type to a > AS class? With remoting Object.registerClass() does the trick but it > doesn't seem to work with webservices. > > Any clues? Or is it simply not possible and do I have to parse the soap > messages myself? > > thx in advance, > Christophe > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] ARP or Cairngorm
I've built 7 projects in ARP, I have built some extension, there was a recent article somewhere where a guy converted a flex app in cairngorm to flash using Cairngorm and it worked well, he's supposed to be doing ARP next, I need to find the link. I found them kinda apples to apples and some of the extra features or cairngorm I wouldn't use but due to all my flash based projects being authored in AS2 with AMES ARP is a better fit for me. Grant > - Original Message - > From: "Weyert de Boer" > To: "Flashcoders mailing list" > Sent: Monday, January 09, 2006 5:32 PM > Subject: [Flashcoders] ARP or Cairngorm > > > What's the best framework to use when you want to be able to make flash > application 1-2-3 in Flash or Flex with practically the same way. Of > course, you have MXML in Flex. Because I want to move more to a MVC > approach in Flash, I am asking myself which framework I should use. > Anyone any suggestions? I have mainly experience with patterns in > Delphi, C# and PHP5 etc. > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Windows media player embed in div over flash movie ?
ended up testing it, seems to work (internet explorer only right now as I haven't done the embed tag): http://bluetubecom.web123.discountasp.net/clients/imw/mediatest/test.html Grant. - Original Message - From: [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: 1/6/06 1:06 PM Subject: [Flashcoders] Windows media player embed in div over flash movie ? > I am about to convert a tight comp to a flash movie, the comp is here : > > http://www.tribalchicken.com/clients/intentmedia/comps/set2/s2pay/2.html > > I'm trying to decide if I should break the thing into 3 swfs in 3 divs and > then have the movie player embed in its own div, or if I can do 1 flash movie > and then 'float' the windows media player embed over the top of the flash > movie. I only need to support IE 5.5 or above. > > Will the 2nd approach work and does anyone have an example I can look at ? I > can figure it out but I don't have much budget for prototyping. > > Cheers, > Grant > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Windows media player embed in div over flash movie ?
I am about to convert a tight comp to a flash movie, the comp is here : http://www.tribalchicken.com/clients/intentmedia/comps/set2/s2pay/2.html I'm trying to decide if I should break the thing into 3 swfs in 3 divs and then have the movie player embed in its own div, or if I can do 1 flash movie and then 'float' the windows media player embed over the top of the flash movie. I only need to support IE 5.5 or above. Will the 2nd approach work and does anyone have an example I can look at ? I can figure it out but I don't have much budget for prototyping. Cheers, Grant ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] remoting v service
I think the two technologies work well, we don't want to deal with crossdomain policy file issues so we deployed openAMF to a server and it calls the webservices, flash talks to 1 point in the system over remoting and that point then talks to all the webservices. If your business logic does not need to be exposed as a webservice then you can just have flash talk to your remoting gateway to an application component which will then call your business logic. We do a lot of services that have to be consumed by java or net and flash so we tend to create webservices, in flash with then create a "central" entry component that has the remoting gateway and it does the "logic" for the flash application and delegates busines to the business components. For .net I'd look at flashorb's new freebie... I'm using flourine right now for .net but will also evaluate the flash orb one. Grant > Gavin Lilley wrote: > > > > >Due to changes beyond my control, I am now working on a M$ .NET/MSSQL server > >and need to migrate my old php/mysql code over. The php code includes AMFPHP > >Remoting classes. > > > >I am looking at either porting the classes into ASP Remoting or creating a > >set of wsdl Web services. > > > >Can anyone give me any insight into why they would use one technology over > >the other please? > > > >I have read that the two technologies combined work well, I dont understand > >this as I see a web service as an alternative to remoting - am I missing > >something here? > > > >-- > >Gavin Lilley > >___ > >Flashcoders mailing list > >Flashcoders@chattyfig.figleaf.com > >http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > > > > > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] DataGrid - Content
I generally (maybe inefficiently) assign the datasource to the array and then remove the column that I don't want... Grant - Original Message - From: Helmut Granda [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: 12/14/05 2:53 PM Subject: Re: [Flashcoders] DataGrid - Content > AH! It all makes sense now. > > Thanks for your help, I really appreciate it. > > Helmut. > > Helen Triolo wrote: > > > Helmut Granda wrote: > > > >> Thanks all for your help on this. > >> > >> What I can't get my head around and maybe that is why I cant get this > >> to work is, how does the DG knows to get the info from certail > >> columns only? > >> > >> I dont see the declaration that the information belongs to the DG. > >> > >> Using Helen's sample > >> > >> mydata = [{company:a, id:3}, {company:b, id:54}]; > >> mygrid.columnNames = ["company"]; > > > > > > one more line (should've included for clarity before): > > mygrid.dataProvider = mydata; > > > >> > >> How does mygrid knows to get the column "company" from mydata when my > >> data has not yet beein delared to have a relationship with mygrid? > >> > > > > ___ > > Flashcoders mailing list > > Flashcoders@chattyfig.figleaf.com > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > > > > > > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] private/public troubles
If I have a main Application class I generally drag it to the stage and then in my external code I have the application start in the onload method of the class. I never use root, in your case its probably not a big deal I just find sometime in the future a use of root would come back and bite me. using _root is generally considered a no-no. "stone the blasphemer!", "stone the blasphemer" ! :) Grant - Original Message - From: PR Durand [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: 12/14/05 11:21 AM Subject: Re: [Flashcoders] private/public troubles > Thanx a lot Grant, > I think you pointed right. 'will test it. > Why on _root? because the project is a full external code, and this > class is the core of the application, so why not putting it on _level0 > (so mainSwf._root) ? > Is it better to make a CoreComponent and drag it to the scene? > PR > > > [EMAIL PROTECTED] a écrit : > > >did you type your instance of oCore on root ? > > > >if your data is not "typed" the iDE will not enforce access modifiers. > > > >e.g > > > >var core:Core = new Core() > >trace (core.oParam); /// should not compile > > > >var anotherCore = new Core() > >trace (anotherCore .oParam); /// should compile as anotherCore is not typed. > > > >because you are declaring it on root is probably not typed. Why put it on > >root ? > > > >Grant. > > > >- Original Message - > >From: PR Durand [EMAIL PROTECTED] > >To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com > >Sent: 12/14/05 9:54 AM > >Subject: [Flashcoders] private/public troubles > > > > > > > >>Hi List! > >> > >>This is not really a problem, but rather a question cause it seems > >>strange... > >> > >>I've got a Core.as class containing > >>private var oParam:ParamMngr; > >>and > >>this.oParam = new ParamMngr(); > >> > >>in the ParamMngr class, we can see > >>private var mcGround:MovieClip; > >>and theuse of it. > >> > >>into flash, on main stage, I've put the following: > >>import com.domain.Core; > >>_root.oCore = new Core(); > >> > >>and then tried > >>trace(_root.oCore.oParam.mcGround); > >>--> it worked !!! > >> > >>why? each variable is private... so how can it run? > >> > >>thx, > >> > >>PR > >> > >>___ > >>Flashcoders mailing list > >>Flashcoders@chattyfig.figleaf.com > >>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > >> > >> > > > >___ > >Flashcoders mailing list > >Flashcoders@chattyfig.figleaf.com > >http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > > > > > > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] private/public troubles
did you type your instance of oCore on root ? if your data is not "typed" the iDE will not enforce access modifiers. e.g var core:Core = new Core() trace (core.oParam); /// should not compile var anotherCore = new Core() trace (anotherCore .oParam); /// should compile as anotherCore is not typed. because you are declaring it on root is probably not typed. Why put it on root ? Grant. - Original Message - From: PR Durand [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: 12/14/05 9:54 AM Subject: [Flashcoders] private/public troubles > Hi List! > > This is not really a problem, but rather a question cause it seems > strange... > > I've got a Core.as class containing > private var oParam:ParamMngr; > and > this.oParam = new ParamMngr(); > > in the ParamMngr class, we can see > private var mcGround:MovieClip; > and theuse of it. > > into flash, on main stage, I've put the following: > import com.domain.Core; > _root.oCore = new Core(); > > and then tried > trace(_root.oCore.oParam.mcGround); > --> it worked !!! > > why? each variable is private... so how can it run? > > thx, > > PR > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Xpath and aphostrophes
are you compiling with the MM compiler or with MTASC and if so what version, i had the issue when running MTASC V9 and don't have this issue with 1.11 Grant - Original Message - From: Helmut Granda [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: 12/14/05 12:31 AM Subject: Re: [Flashcoders] Xpath and aphostrophes > Ok I found where the problem is, when I run this command: > > XPath.selectNodes (myDoc,"/Node[Attribute = > '"+SearchTermWithAphostrophe+"']"); > > It goes into an infinite loop, does anyone has any idea why the > SearchTermWithAphostrophe would trigger the infinite loop? > > TIA. > Helmut > > > Helmut Granda wrote: > > > Hello, > > > > I have in interactive CD with a search function on it. I am using > > XPath to handle all my search funcionallity since it needs to work on > > PC and MAC. > > > > The CD I am producing crashes everything I try to search for strings > > that have aphostrophes on them (exe - Helmut's Files). > > > > I have tried for a couple of days to fix the issue for I am still > > having trouble, I was wondering if anyone has encounter this problem > > and found a solution for it. > > > > Better yet, if there is a "better" alternative to XPATH, welcome. What > > I am mainly doing is a search engine for a listing. > > > > TIA. > > Helmut > > > > > > > > ___ > > Flashcoders mailing list > > Flashcoders@chattyfig.figleaf.com > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > > > > > > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Turning off flash mx UIScrollBar when nothing to
found the fix via this site : http://www.kirupa.com/developer/mx2004/hide_scrollbar.htm had to do scrollBar._visible = (contentTextField.maxscroll >1) so the scroll bar is only visible of the maxscroll of the field to be scrolled is greater than 1, simple fix, wish the damn scroll bar did that automatically :) Grant - Original Message - From: [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Cc: Flashcodersmailinglist flashcoders@chattyfig.figleaf.com Sent: 12/12/05 9:46 AM Subject: Re: [Flashcoders] Turning off flash mx UIScrollBar when nothing to > doh, sorry thomas, thanks for the catch, weird I didn't see it come through > the first time :) > > correct URL : > > http://bluetubecom.web123.discountasp.net/clients/amvescap/container.html > > See jan has a "phantom" scrollbar even though there is nothing to scroll. > > Grant. > > > > - Original Message - > From: Ian Thomas [EMAIL PROTECTED] > To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com > Sent: 12/12/05 9:38 AM > Subject: Re: [Flashcoders] Turning off flash mx UIScrollBar when nothing to > > > Grant, > > That's the second time it's come through. > > > > You've posted a local URL that links to a file on your machine's D drive. So > > people can't actually look at your content. > > > > Cheers, > > Ian > > > > On 12 Dec 2005 14:32:32 -, [EMAIL PROTECTED] > > wrote: > > > > > > Resent as it never got to the list > > > > > > I'm building this site : > > > > > > > > > file:///D:/projects/bluetube/clients/amvescap/calendar2005/dist/container.html > > > > > > I'm using a textField for the content and the MM UIScrollbar for the > > > scroll bar. > > > > > > After loading the text into the text field I tried this with the scroll > > > bar : > > > > > > > > > contentTextField.htmlText = contentLoader.text; > > > scrollBar._visible = scrollBar.enabled; > > > > > > TRACE("scrollbar enabled state " + scrollBar.enabled); > > > TRACE("scrollbar is " + scrollBar); > > > > > > > > > I did a google search and one suggested I use the enabled property to > > > determine if I should display the scrollbar but the scrollbar is always > > > enabled even when there is nothing to scroll. I want the scrollbar to be > > > invisible when there is nothing to scroll. > > > > > > click on the December month to see one that should scroll and January to > > > see one where there should be no scroll (but I still get a phantom scroll > > > bar) > > > > > > Can someone help ? > > > > > > Thanks > > > Grant > > > > > > ___ > > > Flashcoders mailing list > > > Flashcoders@chattyfig.figleaf.com > > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > > ___ > > Flashcoders mailing list > > Flashcoders@chattyfig.figleaf.com > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Turning off flash mx UIScrollBar when nothing to
doh, sorry thomas, thanks for the catch, weird I didn't see it come through the first time :) correct URL : http://bluetubecom.web123.discountasp.net/clients/amvescap/container.html See jan has a "phantom" scrollbar even though there is nothing to scroll. Grant. - Original Message - From: Ian Thomas [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: 12/12/05 9:38 AM Subject: Re: [Flashcoders] Turning off flash mx UIScrollBar when nothing to > Grant, > That's the second time it's come through. > > You've posted a local URL that links to a file on your machine's D drive. So > people can't actually look at your content. > > Cheers, > Ian > > On 12 Dec 2005 14:32:32 -, [EMAIL PROTECTED] > wrote: > > > > Resent as it never got to the list > > > > I'm building this site : > > > > > > file:///D:/projects/bluetube/clients/amvescap/calendar2005/dist/container.html > > > > I'm using a textField for the content and the MM UIScrollbar for the > > scroll bar. > > > > After loading the text into the text field I tried this with the scroll > > bar : > > > > > > contentTextField.htmlText = contentLoader.text; > > scrollBar._visible = scrollBar.enabled; > > > > TRACE("scrollbar enabled state " + scrollBar.enabled); > > TRACE("scrollbar is " + scrollBar); > > > > > > I did a google search and one suggested I use the enabled property to > > determine if I should display the scrollbar but the scrollbar is always > > enabled even when there is nothing to scroll. I want the scrollbar to be > > invisible when there is nothing to scroll. > > > > click on the December month to see one that should scroll and January to > > see one where there should be no scroll (but I still get a phantom scroll > > bar) > > > > Can someone help ? > > > > Thanks > > Grant > > > > ___ > > Flashcoders mailing list > > Flashcoders@chattyfig.figleaf.com > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Turning off flash mx UIScrollBar when nothing to scroll.
Resent as it never got to the list I'm building this site : file:///D:/projects/bluetube/clients/amvescap/calendar2005/dist/container.html I'm using a textField for the content and the MM UIScrollbar for the scroll bar. After loading the text into the text field I tried this with the scroll bar : contentTextField.htmlText = contentLoader.text; scrollBar._visible = scrollBar.enabled; TRACE("scrollbar enabled state " + scrollBar.enabled); TRACE("scrollbar is " + scrollBar); I did a google search and one suggested I use the enabled property to determine if I should display the scrollbar but the scrollbar is always enabled even when there is nothing to scroll. I want the scrollbar to be invisible when there is nothing to scroll. click on the December month to see one that should scroll and January to see one where there should be no scroll (but I still get a phantom scroll bar) Can someone help ? Thanks Grant ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] turning off flash mx UIScrollBar when nothing to scroll.
I'm building this site : file:///D:/projects/bluetube/clients/amvescap/calendar2005/dist/container.html I'm using a textField for the content and the MM UIScrollbar for the scroll bar. After loading the text into the text field I tried this with the scroll bar : contentTextField.htmlText = contentLoader.text; scrollBar._visible = scrollBar.enabled; TRACE("scrollbar enabled state " + scrollBar.enabled); TRACE("scrollbar is " + scrollBar); I did a google search and one suggested I use the enabled property to determine if I should display the scrollbar but the scrollbar is always enabled even when there is nothing to scroll. I want the scrollbar to be invisible when there is nothing to scroll. click on the December month to see one that should scroll and January to see one where there should be no scroll (but I still get a phantom scroll bar) Can someone help ? Thanks Grant ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Xpath and HTML tags inside XML bug?
yes doing that, when I do a trace when I have a CDATA section with hello and bold tags around it (not typing it as it won't be displayed in the flashlist) I see in the text field the hello with the html tags and the same in the trace, if I set a string to hello with bold tags around it and assign it to the same text field it works... I'll create a demo file and upload soon, I had a deadline so ended up using loadvars for the html content and that worked, but I've done the CDATA section stuff for my old site and it worked then. Grant - Original Message - From: Merrill, Jason [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: 12/9/05 1:36 PM Subject: RE: [Flashcoders] Xpath and HTML tags inside XML bug? > Don't know if this helps, but for html, you set: > > textArea.html = true; > then: > textArea.text = thestring; > > ,but for textField, you set: > > textField.html = true; > then: > textField.htmlText = thestring; > > But you probably knew that. I think that's really confusing the way > Macromedia coded that. Guess their developers weren't talking to each > other enough. > > What are you using to bring in the XML? Before going to the textfield, > the string is being traced out as having the HTML tags intact or no? > > The CDATA tags are correct in the XML as well? > > Jason Merrill | E-Learning Solutions | icfconsulting.com > > > > > > > > NOTICE: > This message is for the designated recipient only and may contain privileged > or confidential information. If you have received it in error, please notify > the sender immediately and delete the original. Any other use of this e-mail > by you is prohibited. > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] button width ?
I have a button that appears as a highlight behind a text field when the user rolls over the button the highlight appears. I want the highlight width to be a little bigger than the textbox so when I populate the text box I measure it and set the width of the button, however this doesn't work, when I read the buttons width its 0, and this is when the button has been loaded, if i measure the buttons width when it receives a onRelease event its a valid width. Is there some way to set the buttons width after loading, right now its giving me the bird. Grant ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] flash and ASP.NET
between flashorb pro, flashorb standard and weborb and the fact their news doesn't link to the item the news is talking about I was a little confused on what to download, is weborb professional for .net the free thing ? I could find a weborb standard in the downloads section... grant - Original Message - From: hank williams [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: 12/7/05 3:13 PM Subject: Re: [Flashcoders] flash and ASP.NET > www.flashORB.com has a free .NET remoting product. > > Regards > Hank > > On 12/7/05, Michael Appelmans wrote: > > I need to create a Flash application for a small non-profit can't afford the > > $999 price tag of MM's Flash Remoting gateway. Is there a third party > > remoting solution like AMFPHP that I could use? Essentially I need to read > > and write to an Access database on a Windows web host. > > > > Thanks for any suggestions and pointers to examples for this. > > > > Michael > > ___ > > Flashcoders mailing list > > Flashcoders@chattyfig.figleaf.com > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Xpath and HTML tags inside XML bug?
I'm having the same issue even without XPATH, I have a CDATA section in my XML and the text field renders the text and the HTML tags without rendering HTML, if I cut and paste the HTML to a string and set the text field to that it works as expected. I've done this before and it worked, difference now is I'm compiling with MTASC and using flash 8 IDE. I'm going to try a standalone fla test and compile with MM compiler and flash 7 to see what the issue is. Grant - Original Message - From: Merrill, Jason [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: 12/7/05 1:56 PM Subject: [Flashcoders] Xpath and HTML tags inside XML bug? > Searched Google, no dice, when the chattyfig servers were down again, I > turned to Flexcoders, no luck either. Anyone who has experience with > Xpath, I hope you can help. > > Problem overview: using Xpath, HTML tags inside of XML does not render, > even with CDATA tags applied. > > Problem detail: I am using xfactorstudios' Xpath classes to bring in XML > node data which contains text and HTML tags to display in a Flash text > area component in the Flash 7 player. Here is a snippet of the XML: > > > > http://www.fda.gov/cdrh/'>Center > for Devices of Radiological Health. More text...]]> > > > > The text area component IS set to HTML=true, but when it renders, it > shows the text plus the HTML: > >Welcome to the Center for Devices > of Radiological Health. More text... > > Does the same thing with a regular dynamic text field. If I hard code > the same string directly in the .fla, it renders properly in the text > field and/or component. The string from XPath returns, interestingly > enough, looks like this: > >Welcome to the href='http://www.fda.gov/cdrh/'>Center for Devices of > Radiological Health. More text... > > Not sure why Xpath is changing the string from "". to "", > but Flash doesn't like it obviously. Anyone come across this before and > have a solution? > > Jason Merrill | E-Learning Solutions | icfconsulting.com > > > > > > NOTICE: > This message is for the designated recipient only and may contain privileged > or confidential information. If you have received it in error, please notify > the sender immediately and delete the original. Any other use of this e-mail > by you is prohibited. > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders