[Flashcoders] [ANNC] FlashAmp 3 Released
Marmalade Multimedia is pleased to announce the release of FlashAmp 3 for Windows and Macintosh. FlashAmp is the sound-visualization utility for Macromedia Flash 8 and MX2004. Use FlashAmp 3 to quickly and easily synchronize sound in Flash... - Create perfectly synchronized audio animations and visualizations based on sound frequencies and amplitude. - FlashAmp is the quickest and easiest way to lip sync character animations in Flash. - Take advantage of the new imaging features in Flash 8 to create amazing audio visualizations with a level of performance that was previously impossible. FlashAmp 3 is available now, with a bunch of new features including a Preview window with animated spectrum and waveform displays, and new spectrum and amplitude functions to give you more control over the audio data that you can use in Flash. FlashAmp comes in three editions - Pro, Standard and Lite - so you can choose the functionality that suits you without having to pay for stuff you won't use. All editions of FlashAmp are designed to be easy to use so you can quickly and easily generate the audio sync data that you can use in Flash. And once FlashAmp has produced the data you don't have to be an expert in ActionScript to get great results. All three editions of FlashAmp are available for Windows 2000/XP and Mac OS X. To get more information and download a demo version of FlashAmp 3 go to, http://www.marmalademedia.com.au/flashamp/ ___ Marmalade Multimedia www.marmalademedia.com.au ___ ___ Sydney, Australia[EMAIL PROTECTED] ___ ___ 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] Tween and actionscript
Since I use Zeh's tweening methods I would have to agree with him, use actionscript to do the tweening and you'll be a happy developer from this day forth. It is a much cleaner way to control your movies. If you haven't done so to this point I would suggest reading through his site and get a handle on how you can have more control over your movies using actionscript. http://hosted.zeh.com.br/mctween/using.html I know that doesn't answer your question but it will help you as a developer. Gerry On Mar 30, 2006, at 12:03 AM, Zeh Fernando wrote: I have a movieclip animating across the stage using a tween in the timeline. Halfway through that tween I'm using AS to set the _alpha of the clip to 50%. At the moment I do this, if forgets about the tween in the timeline and stops moving. Why is this happenning? How do I tell Flash that I want the timeline animation to keep working after I change a MovieClip property? Timeline animations are something done on "design-time" - when exporting the final SWF, flash actually renders all the motion frames to precalculated pseudo-keyframes and then applies them when playing the movie. You can't make it 'switch' back to the timeline tween. As soon as you change a property dynamically, it snaps out of any tweening and flash won't update it anymore. You can do this: 1. Instead of changing the property on the movie that's being tweened on the timeline, change it INSIDE it (for example, having a container movieclip inside the movieclip itself, which you can change the property); or 2. Drop timeline tweening and use 100% actionscript tweening instead. Chosing option 1 can be messy and it's a bit different to figure out (it will stack with yout timeline tweening, not overwrite or change it) but it works on some cases. And chosing option 2 is probably the best thing you'll ever do for your flash development productivity. - Zeh ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] yet another screwing from micrsoft
I couldnt give a stuff about the lost lawsuit, 0.001% revenue loss for MS compared to all legacy flash sites that I will have to dig up log in details for and fix, much bigger impact for me personally than bill will fell personally I'll wager microsoft is a wee bit more upset about the eolas patent than you are... Here is a workaround for it... http://www.flashinto.com/phpBB2/viewtopic.php?t=3215&sid=a69d2b96fbe275f8ae573b0ad09600c0 On 3/29/06, Andy Johnston <[EMAIL PROTECTED]> wrote: anyone care to comment on this little gem? http://www.eweek.com/article2/0,1895,1943847,00.asp looks bad to me, thats a lot of reauthoring ___ 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] Tween and actionscript
Or just add a keyframe in the middle and change the alpha On Mar 30, 2006, at 12:03 AM, Zeh Fernando wrote: I have a movieclip animating across the stage using a tween in the timeline. Halfway through that tween I'm using AS to set the _alpha of the clip to 50%. At the moment I do this, if forgets about the tween in the timeline and stops moving. Why is this happenning? How do I tell Flash that I want the timeline animation to keep working after I change a MovieClip property? Timeline animations are something done on "design-time" - when exporting the final SWF, flash actually renders all the motion frames to precalculated pseudo-keyframes and then applies them when playing the movie. You can't make it 'switch' back to the timeline tween. As soon as you change a property dynamically, it snaps out of any tweening and flash won't update it anymore. You can do this: 1. Instead of changing the property on the movie that's being tweened on the timeline, change it INSIDE it (for example, having a container movieclip inside the movieclip itself, which you can change the property); or 2. Drop timeline tweening and use 100% actionscript tweening instead. Chosing option 1 can be messy and it's a bit different to figure out (it will stack with yout timeline tweening, not overwrite or change it) but it works on some cases. And chosing option 2 is probably the best thing you'll ever do for your flash development productivity. - Zeh ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] yet another screwing from micrsoft
I'll wager microsoft is a wee bit more upset about the eolas patent than you are... Here is a workaround for it... http://www.flashinto.com/phpBB2/viewtopic.php?t=3215&sid=a69d2b96fbe275f8ae573b0ad09600c0 On 3/29/06, Andy Johnston <[EMAIL PROTECTED]> wrote: > > anyone care to comment on this little gem? > > http://www.eweek.com/article2/0,1895,1943847,00.asp > > looks bad to me, thats a lot of reauthoring > ___ > 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] Tween and actionscript
I have a movieclip animating across the stage using a tween in the timeline. Halfway through that tween I'm using AS to set the _alpha of the clip to 50%. At the moment I do this, if forgets about the tween in the timeline and stops moving. Why is this happenning? How do I tell Flash that I want the timeline animation to keep working after I change a MovieClip property? Timeline animations are something done on "design-time" - when exporting the final SWF, flash actually renders all the motion frames to precalculated pseudo-keyframes and then applies them when playing the movie. You can't make it 'switch' back to the timeline tween. As soon as you change a property dynamically, it snaps out of any tweening and flash won't update it anymore. You can do this: 1. Instead of changing the property on the movie that's being tweened on the timeline, change it INSIDE it (for example, having a container movieclip inside the movieclip itself, which you can change the property); or 2. Drop timeline tweening and use 100% actionscript tweening instead. Chosing option 1 can be messy and it's a bit different to figure out (it will stack with yout timeline tweening, not overwrite or change it) but it works on some cases. And chosing option 2 is probably the best thing you'll ever do for your flash development productivity. - 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] Tween and actionscript
I have a movieclip animating across the stage using a tween in the timeline. Halfway through that tween I'm using AS to set the _alpha of the clip to 50%. At the moment I do this, if forgets about the tween in the timeline and stops moving. Why is this happenning? How do I tell Flash that I want the timeline animation to keep working after I change a MovieClip property? Thanks. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] existing project to start using mtasc, an easier way?
On 3/29/06, thotskee <[EMAIL PROTECTED]> wrote: > > Flashcoders, > > I have an existing AS2 codebase that I think would benefit from using > mtasc. > The compile time is currently about 1 minute for the application. Not > terrible, but not great either. > > The problems are: > > I am using includes which I have managed to get around using... but.. > > After getting though the include issues I am having to go into the Classes > and make modifications to a ton of them to get this thing to compile > > Now I am obviously not the best OOP coder or mtasc would just compile > (right?)... but I know a enough about AS and OOP so this should be > possible. > > Is there an easier way to do this or does every class need to be massaged > to > get mtasc to compile? Is there a -nonstrict flag (i wish)...?? I don't think so...you just have to go through and fix them all. Even a very large project, shouldn't take you more than a day's work to convert, most fixes are generally very simple. My coworkers always write code like this: if(blah) var arg = 1 else var arg = 2 return arg; // ERROR: arg not defined! which works in MMC. the solution is simple, just define 'arg' above the if statement. Also what if I were to try to use the Flex compiler, can it publish AS2 for > Flash Player 7 (or maybe 8)? I haven't heard exactly, but I'm pretty sure it doesn't compile to AS2. They don't want to compete with mtasc I guess :P -David R ___ 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] yet another screwing from micrsoft
anyone care to comment on this little gem? http://www.eweek.com/article2/0,1895,1943847,00.asp looks bad to me, thats a lot of reauthoring ___ 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] PrintJob causes Abort Script error message.
Steven Sacks wrote: Please warn us when you are going to do this, since from the tone of the conversation, there is some sense that this will cause the end of civilization as we know it. Hacking the swf to increase the timeout is not the solution, it's a band-aid on a gunshot wound. Maybe he is only nicked and a band-aid might do the job. It is hard to tell without reading all 50,000 lines of his code. In the real world, sometimes you only need to fix the problem in the current release and can fix the design in the next version. Patches are allowed and many patches do not make it into the next release because the underlying problem goes away with a redesign. It is impossible to tell if his application will blow up after the timeout is increased but it is unlikely that it will cause the rest of us much of a problem. Ron I have over 20 years of programming experience including at assembler level, advanced Java, etc, but thanks for trying to put me in my place :-) Let's say for argument's sake that it is a bug and it is all Macromedia's fault and they won't fix it and life is unfair. That doesn't change the fact that your application needs to work to your client's expectations. You need to find a solution because that's what you're paid to do. You hit the nail on the head here - "your application needs to work to your client's expectations"; not to ours or not to be perfect. As Danny Kodicek knows coming from a Director background, there were tons of bugs in Director and workarounds had to be figured out to make certain things work. John Dowdell, in his infinite wisdom, got on Direct-L and posted that Director had no bugs, that there was just application behavior that Director developers wished worked differently. At the end of the day, I don't tell my client "Sorry, it's a bug and I can't work around it". I figure out how to get it done, and so should you and everyone else who does this for a living. The place I'm trying to put you in is "Flash Developer". ;) Noble sentiments but sometimes in the real world you have to tell a client "Sorry it is a bug/design artifact in the underlying software and I can not fix it or implement a work-around in the budget that you want. Furthermore, the cost of fixing it exceeds the value to the organization." In my work, I can not just charge clients money with no accountability. They expect me to make reasonable judgements about the value of my activities and not to just spend time because I have an ego-driven need to get a "perfect" solution. I need to be able to explain my position and to demonstrate how my recommendation is in the client's best interest. I do not always know when to quit but not quiting or not accepting a "good enough" solution is not a virtue (at least not in the eye of the guy paying for it). Ron ___ 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] DINAMIC MENU
make the textfield dynamic, make it multilined, wordwrap and make sure it can autosize. mytxt.autoSize='left'; (can also be true) > Hi, > > I'm loading texts from a XML file to be assigned to different > buttons, but this texts have different amout of characters, and I need > the buttons to adjust to the amout of characters, keeping the same > widht for all of them, and just changing height and make this text to > wrap. > For example, when text is "home" this button must have one line, > but when text is "This text is to long for a button" I need it to be > set in 2 or maybe 3 lines. > > Thanks in advance. > > > Sebastián Sirvent > http://www.e-foco.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] Recommendation on good AS 2.0 framework code?
i'm getting into arp, but I would highly recommend looking up on jesse's site for his rendition of it, much more flexible. Its good if you are doing application based work, if not.. its too much. > ARP: http://www.osflash.org/arp > > Cairngorn: > http://www.macromedia.com/devnet/flex/articles/cairngorm_pt1_02.html > > William Gibson: > http://en.wikipedia.org/wiki/William_Gibson_%28novelist%29 - respect! > > Mike > ___ > 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] Recommendation on good AS 2.0 framework code?
ARP: http://www.osflash.org/arp Cairngorn: http://www.macromedia.com/devnet/flex/articles/cairngorm_pt1_02.html William Gibson: http://en.wikipedia.org/wiki/William_Gibson_%28novelist%29 - respect! Mike ___ 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] XML load pregress
Thanks Jim Berkey wrote: This is probably what you are looking for: Live Docs: http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=1586.html - Original Message - From: "Rodrigo Schramm" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" Sent: Wednesday, March 29, 2006 5:10 PM Subject: [Flashcoders] XML load pregress Hello, Is possible to put a load progress in a XML loader? I want to load a xml file and display the progress of download. But, the XML class don't have a onLoadProgress callback like MovieClipLoader. Schramm ___ 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] Testing LocalConnection from a server in the IDE
Mani - Read here forthwith and whereas the underscore is important: http://www.macromedia.com/support/flash/action_scripts/local_connection_objects/local_connection_object07.html best, - rajat On 3/29/06, Manuel Saint-Victor <[EMAIL PROTECTED]> wrote: > > Alan- They're both on the same machine but thanks for clearing that up > either way. > > I was thinking that I could test a file sitting on the server using a > local > swf file and the local connection. I tried putting the domain permission > etc but to no avail. Finally I resolved to just placing the other swf > file > on the same html page in a "debug" version. > > Rajat- as far as the name starting with an underscore -does that help? I > don't think I've ever come across that- If so I have overlooked it. > > > Thanks guys, > > Mani > > > > > > > On 3/29/06, Alan Queen <[EMAIL PROTECTED]> wrote: > > > > forgive me if this is implied, but there's always been alot of > > misunderstanding about LocalConnection.. > > > > LocalConnection is not used to send messages from one machine to > > another. It's meant to send messages between 2 or more swf files on > > the same machine whether in browser or .exe > > > > again, don't kill me if that's not what you were referring too ;) > > > > On 3/29/06, Rajat Paharia <[EMAIL PROTECTED]> wrote: > > > Hi Mani - > > > > > > Have you prefixed your localConnectionID with an underscore? > > > Try "_id" as opposed to "id". > > > > > > The other gotcha is just to make sure there aren't two instances of > the > > > receiving swf running (as often is the case when using one of the > > SWF2EXE > > > tools), since one will capture all the messages and the other will > show > > > nothing. > > > > > > best, - rajat > > > > > > On 3/29/06, Manuel Saint-Victor <[EMAIL PROTECTED]> wrote: > > > > > > > > I have a swf that is sending to a LocalConnection and it works fine > > when > > > > they are both operating locally but when I place the sending swf to > > the > > > > server it stops working- this is despite the fact that I have tried > > > > placing > > > > an allowDomain in the receiving swf. I am using Flash 8 as my > > authoring > > > > environment. > > > > > > > > What other issues should I troubleshoot when dealing with a > > > > LocalConnection > > > > behaving this way? > > > > > > > > Thanks, > > > > Mani > > > > ___ > > > > Flashcoders@chattyfig.figleaf.com > > > > To change your subscription options or search the archive: > > > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > > > > > Brought to you by Fig Leaf Software > > > > Premier Authorized Adobe Consulting and Training > > > > http://www.figleaf.com > > > > http://training.figleaf.com > > > > > > > > > > > > > > > > -- > > > Rajat Paharia > > > [EMAIL PROTECTED] > > > http://www.bunchball.com > > > http://www.rootburn.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 > > > > > > > > > > > > -- > > - Alan Queen > > ___ > > 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 > -- Rajat Paharia [EMAIL PROTECTED] http://www.bunchball.com http://www.rootburn.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] Flowing Text in Flash
Ah, my bad! Very cool, never used that. Thanks a lot! C Michael Bedar wrote: Get text extent is a TextFormat method On Mar 29, 2006, at 7:19 PM, Chris Hill wrote: Yeah, that's what I figured, but if I remember, getTextExtent is a Lingo call for Director? I'll try doing a line of tokens at a time, and see if I can improve the speed that way. Cheers C Michael Bedar wrote: I did the same thing a few years ago, and it worked fine. You may run into speed problems if you go over a certain amount of text to scroll however. Instead of using maxscroll, it is a bit faster to use getTextExtent to see if a given line will fit in the text box.. Instead of testing word by word, you can start to make some educated guesses about how many chars will fit in a line, based again on the extent. This way you can make far fewer comparisons. And remember, if you are putting string S into textboxes a,b and c.. there is no need to test anything in c, just dump everything left in. ___ 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] Flowing Text in Flash
Get text extent is a TextFormat method On Mar 29, 2006, at 7:19 PM, Chris Hill wrote: Yeah, that's what I figured, but if I remember, getTextExtent is a Lingo call for Director? I'll try doing a line of tokens at a time, and see if I can improve the speed that way. Cheers C Michael Bedar wrote: I did the same thing a few years ago, and it worked fine. You may run into speed problems if you go over a certain amount of text to scroll however. Instead of using maxscroll, it is a bit faster to use getTextExtent to see if a given line will fit in the text box.. Instead of testing word by word, you can start to make some educated guesses about how many chars will fit in a line, based again on the extent. This way you can make far fewer comparisons. And remember, if you are putting string S into textboxes a,b and c.. there is no need to test anything in c, just dump everything left in. ___ 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] Flowing Text in Flash
Yeah, that's what I figured, but if I remember, getTextExtent is a Lingo call for Director? I'll try doing a line of tokens at a time, and see if I can improve the speed that way. Cheers C Michael Bedar wrote: I did the same thing a few years ago, and it worked fine. You may run into speed problems if you go over a certain amount of text to scroll however. Instead of using maxscroll, it is a bit faster to use getTextExtent to see if a given line will fit in the text box.. Instead of testing word by word, you can start to make some educated guesses about how many chars will fit in a line, based again on the extent. This way you can make far fewer comparisons. And remember, if you are putting string S into textboxes a,b and c.. there is no need to test anything in c, just dump everything left in. ___ 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] existing project to start using mtasc, an easier way?
Flashcoders, I have an existing AS2 codebase that I think would benefit from using mtasc. The compile time is currently about 1 minute for the application. Not terrible, but not great either. The problems are: I am using includes which I have managed to get around using... but.. After getting though the include issues I am having to go into the Classes and make modifications to a ton of them to get this thing to compile Now I am obviously not the best OOP coder or mtasc would just compile (right?)... but I know a enough about AS and OOP so this should be possible. Is there an easier way to do this or does every class need to be massaged to get mtasc to compile? Is there a -nonstrict flag (i wish)...?? Also what if I were to try to use the Flex compiler, can it publish AS2 for Flash Player 7 (or maybe 8)? Please help!! Thanks for your time. Sean ___ 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...
Got it fixed. I had an error in my Flash Publish settings. Thanks, it was very helpful to see the steps y'all would take. On 3/29/06, Aaron Smith <[EMAIL PROTECTED]> wrote: > no it wouldnt be whitespace.. one thing you could check for is php > errors.. check the logs.. one quick way to check for php errors is to > navigate to the Highscores.php file in the web browser.. > I'll def check these out. Thanks. > go to http://www.5etdemi.com/blog/ this is patrick mineaults > blog. he is lead dev on amfphp. download the cinqetdemi.remoting > remoting library..(3rd post down or so).. they're really nice wrapper > classes used for remoting. makes it really simple.. theres an > example of how to use it there.. basically there wrapper classes for > the flash remoting classes.. > > smith > ___ 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...
works i would still check out that cineqdemi.remoting library i posted.. (just a second ago) smith On Mar 29, 2006, at 4:05 PM, Count Schemula wrote: Fixed. I could scream. The publish settings were publishing to a different folder. So, I was blinded by jumping between servers and the 3 hour time difference between me and where my sever is. So, does, http://www.thelargeglass.com/highscores2/index.html work for y'all? I'm excited, I'm a hacker at best (obviously) but have been chasing this remoting thing for a long time. Finally! It works! Seriously, I've blown a lot of time trying to learn remoting and this is my very first success. Thanks everyone, sorry for the stupid errror on my part. ___ 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] lil' help with amfphp... works locally, not uploaded...
sweet, got the monkeyman 666 from somebody. Awesome. I'm soo happy about this. ___ 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...
Yes, you're right.. It does. My bad. Your stuff works for me now. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Count Schemula Sent: Wednesday, March 29, 2006 4:07 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] lil' help with amfphp... works locally, not uploaded... I think the /browser folder doers this? example: http://www.thelargeglass.com/amfphp/browser/ Let's you test the basic service? On 3/29/06, Ettwein, Josh <[EMAIL PROTECTED]> wrote: > Can you create a simple page that creates a new instance of your class > and spits what would be sent to flash via amf to the screen instead to > ___ 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] lil' help with amfphp... works locally, not uploaded...
no it wouldnt be whitespace.. one thing you could check for is php errors.. check the logs.. one quick way to check for php errors is to navigate to the Highscores.php file in the web browser.. go to http://www.5etdemi.com/blog/ this is patrick mineaults blog. he is lead dev on amfphp. download the cinqetdemi.remoting remoting library..(3rd post down or so).. they're really nice wrapper classes used for remoting. makes it really simple.. theres an example of how to use it there.. basically there wrapper classes for the flash remoting classes.. smith On Mar 29, 2006, at 4:03 PM, Ettwein, Josh wrote: Can you create a simple page that creates a new instance of your class and spits what would be sent to flash via amf to the screen instead to see if the class file is not barfing silently on the remote server? Could it be handling of whitespace in the class file - although I think this was fixed in v1.0? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Count Schemula Sent: Wednesday, March 29, 2006 3:56 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] lil' help with amfphp... works locally, not uploaded... Actually, the db server is a wholly separate server? But the same .swf gets the remote db data when I do Test Movie. amfphp is on the remote server, and seems to test positive. http://www.thelargeglass.com/amfphp/gateway.php ___ 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] lil' help with amfphp... works locally, not uploaded...
I think the /browser folder doers this? example: http://www.thelargeglass.com/amfphp/browser/ Let's you test the basic service? On 3/29/06, Ettwein, Josh <[EMAIL PROTECTED]> wrote: > Can you create a simple page that creates a new instance of your class > and spits what would be sent to flash via amf to the screen instead to > ___ 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...
Fixed. I could scream. The publish settings were publishing to a different folder. So, I was blinded by jumping between servers and the 3 hour time difference between me and where my sever is. So, does, http://www.thelargeglass.com/highscores2/index.html work for y'all? I'm excited, I'm a hacker at best (obviously) but have been chasing this remoting thing for a long time. Finally! It works! Seriously, I've blown a lot of time trying to learn remoting and this is my very first success. Thanks everyone, sorry for the stupid errror on my part. ___ 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...
Can you create a simple page that creates a new instance of your class and spits what would be sent to flash via amf to the screen instead to see if the class file is not barfing silently on the remote server? Could it be handling of whitespace in the class file - although I think this was fixed in v1.0? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Count Schemula Sent: Wednesday, March 29, 2006 3:56 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] lil' help with amfphp... works locally, not uploaded... Actually, the db server is a wholly separate server? But the same .swf gets the remote db data when I do Test Movie. amfphp is on the remote server, and seems to test positive. http://www.thelargeglass.com/amfphp/gateway.php ___ 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...
Actually, the db server is a wholly separate server? But the same .swf gets the remote db data when I do Test Movie. amfphp is on the remote server, and seems to test positive. http://www.thelargeglass.com/amfphp/gateway.php On 3/29/06, Aaron Smith <[EMAIL PROTECTED]> wrote: > you should only need that if you are connecting to one domain from > another.. in Counts case everything is on the same domain I believe > so that won't matter... > > > On Mar 29, 2006, at 3:43 PM, Grant Cox wrote: > > > 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: > > > > > > > SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd";> > > > > > > > > > > > > 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] lil' help with amfphp... works locally, not uploaded...
I just added a crossdomain.xml to the web root. No change. The very same .swf file can pull this data when I do Test Movie. The server is an online remote host, not my local computer and not the webserver that hosts the flash file, ie, it's on a different domain, no matter whether I access it Test Movie or web hosted style. I know it's something super simple, the file does seem to work in 2 other situations (local web server and Test Movie). On 3/29/06, Grant Cox <[EMAIL PROTECTED]> wrote: > 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: > > >SYSTEM "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 > ___ 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...
you should only need that if you are connecting to one domain from another.. in Counts case everything is on the same domain I believe so that won't matter... On Mar 29, 2006, at 3:43 PM, Grant Cox wrote: 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 ___ 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] DINAMIC MENU
Hi, I'm loading texts from a XML file to be assigned to different buttons, but this texts have different amout of characters, and I need the buttons to adjust to the amout of characters, keeping the same widht for all of them, and just changing height and make this text to wrap. For example, when text is "home" this button must have one line, but when text is "This text is to long for a button" I need it to be set in 2 or maybe 3 lines. Thanks in advance. Sebastián Sirvent http://www.e-foco.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] 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] lil' help with amfphp... works locally, not uploaded...
Nope. Everything is nice and clean. It's a near virgin install. Do you get the localhost call in the status bar as well? It's super simple, it just seems like something about moving the file online wrecks it. The very same .swf file pulls up the data if I play it from my computer Test Movie style. On 3/29/06, Aaron Smith <[EMAIL PROTECTED]> wrote: > is your endpoint set correctly? : > > var _service:Service = new Service(gatewayUrl, null, 'Highscores', > null , null); > > if Highscores.php is in a highscores or gamesfolder of some sort in > the services folder in amfphp. you need to reference it like: > var _service:Service = new Service(gatewayUrl, null, > 'games.Highscores', null , null); > > try that.. > > smith > > > > On Mar 29, 2006, at 3:17 PM, Count Schemula wrote: > > > I have an amfphp install on both? > > > > > > > > When I play it locally, seems like it connects remotely ok: > > > > ConnectString: "http://www.thelargeglass.com/amfphp/gateway.php"; > > DebugId: "0" > > EventType: "Connect" > > MovieUrl: "file:///C|/Documents and Settings/Dual Core/My > > Documents/thelargeglass/webDev/dualcore/highscores/highscores.swf" > > Protocol: "http" > > Source: "Client" > > Time: 1143673926056 > > Date (object #1) > > ."Wed Mar 29 18:12:06 GMT-0500 2006" > > > > ConnectString: "http://www.thelargeglass.com/amfphp/gateway.php? > > PHPSESSID=5ea2dbbd18e96edc6bb434e0b296f64f" > > DebugId: "0" > > EventType: "Connect" > > MovieUrl: "file:///C|/Documents and Settings/Dual Core/My > > Documents/thelargeglass/webDev/dualcore/highscores/highscores.swf" > > Protocol: "http" > > Source: "Client" > > Time: 1143673926868 > > Date (object #1) > > ."Wed Mar 29 18:12:06 GMT-0500 2006" > > > > > > > > This tests positive: > > > > http://www.thelargeglass.com/amfphp/gateway.php > > > > > > > > In my flash file: > > > > var gatewayUrl:String = "http://www.thelargeglass.com/amfphp/ > > gateway.php"; > > NetDebug.initialize(); > > var _service:Service = new Service(gatewayUrl, null, 'Highscores', > > null , null); > > > > > > > > The amfphp service for Highscores: > > > > For the *** values, I have the correct online db server information > > > > > class Highscores { > > > >var $dbhost = ''; // your information here > >var $dbname = ''; > >var $dbuser = ''; > >var $dbpass = ''; > > > >function Highscores() { > >$this->methodTable = array( > > "getScores" => array( > > "description" => "Returns rs of all scores from > > highscores table", > > "access" => "remote", > > "returntype" => "recordSet" > > ), > > "insertScore" => array( > > "description" => "Insert score into highscores table, > > return id", > > "access" => "remote" > > ), > > "deleteScore" => array( > > "description" => "Deletes score for specified id from > > highscores", > > "access" => "remote" > > ) > > ); > > // Initialize db connection > > $this->conn = mysql_pconnect($this->dbhost, $this->dbuser, > > $this->dbpass); > > mysql_select_db ($this->dbname); > >} > > > >function getScores() { > > return mysql_query("SELECT * FROM highscores"); > >} > > > >function insertScore($scoreData) { > > mysql_query("INSERT INTO highscores VALUES > > (NULL,'".addslashes($scoreData['nickname'])."','".$scoreData > > ['dateposted']."','".$scoreData['score']."')"); > > return mysql_insert_id(); > >} > > > >function deleteScore($id) { > > return mysql_query("DELETE FROM highscores WHERE id=".$id); > >} > > } > > ?> > > > > > > > > I've switched folders, browsers etc try to see if it's a cache > > problem. > > ___ > > 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] lil' help with amfphp... works locally, not uploaded...
is your endpoint set correctly? : var _service:Service = new Service(gatewayUrl, null, 'Highscores', null , null); if Highscores.php is in a highscores or gamesfolder of some sort in the services folder in amfphp. you need to reference it like: var _service:Service = new Service(gatewayUrl, null, 'games.Highscores', null , null); try that.. smith On Mar 29, 2006, at 3:17 PM, Count Schemula wrote: I have an amfphp install on both? When I play it locally, seems like it connects remotely ok: ConnectString: "http://www.thelargeglass.com/amfphp/gateway.php"; DebugId: "0" EventType: "Connect" MovieUrl: "file:///C|/Documents and Settings/Dual Core/My Documents/thelargeglass/webDev/dualcore/highscores/highscores.swf" Protocol: "http" Source: "Client" Time: 1143673926056 Date (object #1) ."Wed Mar 29 18:12:06 GMT-0500 2006" ConnectString: "http://www.thelargeglass.com/amfphp/gateway.php? PHPSESSID=5ea2dbbd18e96edc6bb434e0b296f64f" DebugId: "0" EventType: "Connect" MovieUrl: "file:///C|/Documents and Settings/Dual Core/My Documents/thelargeglass/webDev/dualcore/highscores/highscores.swf" Protocol: "http" Source: "Client" Time: 1143673926868 Date (object #1) ."Wed Mar 29 18:12:06 GMT-0500 2006" This tests positive: http://www.thelargeglass.com/amfphp/gateway.php In my flash file: var gatewayUrl:String = "http://www.thelargeglass.com/amfphp/ gateway.php"; NetDebug.initialize(); var _service:Service = new Service(gatewayUrl, null, 'Highscores', null , null); The amfphp service for Highscores: For the *** values, I have the correct online db server information methodTable = array( "getScores" => array( "description" => "Returns rs of all scores from highscores table", "access" => "remote", "returntype" => "recordSet" ), "insertScore" => array( "description" => "Insert score into highscores table, return id", "access" => "remote" ), "deleteScore" => array( "description" => "Deletes score for specified id from highscores", "access" => "remote" ) ); // Initialize db connection $this->conn = mysql_pconnect($this->dbhost, $this->dbuser, $this->dbpass); mysql_select_db ($this->dbname); } function getScores() { return mysql_query("SELECT * FROM highscores"); } function insertScore($scoreData) { mysql_query("INSERT INTO highscores VALUES (NULL,'".addslashes($scoreData['nickname'])."','".$scoreData ['dateposted']."','".$scoreData['score']."')"); return mysql_insert_id(); } function deleteScore($id) { return mysql_query("DELETE FROM highscores WHERE id=".$id); } } ?> I've switched folders, browsers etc try to see if it's a cache problem. ___ 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] lil' help with amfphp... works locally, not uploaded...
I have an amfphp install on both? When I play it locally, seems like it connects remotely ok: ConnectString: "http://www.thelargeglass.com/amfphp/gateway.php"; DebugId: "0" EventType: "Connect" MovieUrl: "file:///C|/Documents and Settings/Dual Core/My Documents/thelargeglass/webDev/dualcore/highscores/highscores.swf" Protocol: "http" Source: "Client" Time: 1143673926056 Date (object #1) ."Wed Mar 29 18:12:06 GMT-0500 2006" ConnectString: "http://www.thelargeglass.com/amfphp/gateway.php?PHPSESSID=5ea2dbbd18e96edc6bb434e0b296f64f"; DebugId: "0" EventType: "Connect" MovieUrl: "file:///C|/Documents and Settings/Dual Core/My Documents/thelargeglass/webDev/dualcore/highscores/highscores.swf" Protocol: "http" Source: "Client" Time: 1143673926868 Date (object #1) ."Wed Mar 29 18:12:06 GMT-0500 2006" This tests positive: http://www.thelargeglass.com/amfphp/gateway.php In my flash file: var gatewayUrl:String = "http://www.thelargeglass.com/amfphp/gateway.php";; NetDebug.initialize(); var _service:Service = new Service(gatewayUrl, null, 'Highscores', null , null); The amfphp service for Highscores: For the *** values, I have the correct online db server information methodTable = array( "getScores" => array( "description" => "Returns rs of all scores from highscores table", "access" => "remote", "returntype" => "recordSet" ), "insertScore" => array( "description" => "Insert score into highscores table, return id", "access" => "remote" ), "deleteScore" => array( "description" => "Deletes score for specified id from highscores", "access" => "remote" ) ); // Initialize db connection $this->conn = mysql_pconnect($this->dbhost, $this->dbuser, $this->dbpass); mysql_select_db ($this->dbname); } function getScores() { return mysql_query("SELECT * FROM highscores"); } function insertScore($scoreData) { mysql_query("INSERT INTO highscores VALUES (NULL,'".addslashes($scoreData['nickname'])."','".$scoreData['dateposted']."','".$scoreData['score']."')"); return mysql_insert_id(); } function deleteScore($id) { return mysql_query("DELETE FROM highscores WHERE id=".$id); } } ?> I've switched folders, browsers etc try to see if it's a cache problem. ___ 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...
sounds like your trying to connect to your localhost amfphp gateway from the web version.. change your gateway to point to the gateway on your site. (IE, you should have one amfphp install on local( thats the one thats working ) then one in www.thelargeglass.com/ flashremoting/ you want to connect to the one online.. hope that helps smith On Mar 29, 2006, at 3:02 PM, 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
[Flashcoders] lil' help with amfphp... works locally, not uploaded...
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
RE: [Flashcoders] Controlling Accordion using ActionScript
Sorry guys, I am totally brain dead today - It's so weird, how you get accustom to specific syntax for some V2 controls, and when working with a different one, you expect some type of consistency - and you get so focused looking for something, that you flat out overlook the answer. Sorry to post these questions to the list - if I read the Help Docs without having my blinders on, I would have found the answer. In fact, I did find the answers on my own, shortly after posting my last reply to the list. I must say though, after reading every single thread regarding the Accordion Control, it has plenty of limitations, and has caused many people lots of headaches. Thank you again everybody, I am always grateful for your advice. Mike :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lanny McNie Sent: Wednesday, March 29, 2006 3:54 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Controlling Accordion using ActionScript var mc = accordionInstance.getChildAt( index ) ? On 3/29/06, Mike Anderson <[EMAIL PROTECTED]> wrote: > > Okay, I am an idiot :) > > selectedIndex - duh! > > For some reason, I was looking for something specific, therefore > overlooking the obvious. > > Still, how to address a MovieClip that has been instantiated by the > Accordion Control continues to evade me. It must be some type of > "child" property, but I am still skimming the help docs for the answer. > > If anybody has a quick answer on this, I'd greatly appreciate it. > > Thanks! > > Mike > > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Mike > Anderson > Sent: Wednesday, March 29, 2006 2:42 PM > To: Flashcoders mailing list > Subject: [Flashcoders] Controlling Accordion using ActionScript > > Hello All, > > I literally read ALL the posts in the Archives regarding the Accordion > component, and there was no mention of what I need. > > It seems as if the Accordion is only setup to broadcast certain > events, when the Accordion itself is actually clicked on. > > My goal is to remotely control my Accordion control, so that there are > multiple ways to cause the Sliding Animation. I have a top MenuBar, > in which I want options available, to cause the Accordion Control to > animate to the proper Child. > > Am I missing something, or is the Accordion simply not designed for > this? > > Also, how can I communicate with MovieClips contained within the > Accordion Children? It seems as if the Accordion Control is acting as > a Container - so must I first create a variable that refers to the > Contents of the Accordion, before I can communicate with the > Children's components? There is no reference to this topic either. > > Kind of like the Window Control - myWindow.content.controls? > > Thanks in advance for all your help, > > Mike > > ___ > 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] Flowing Text in Flash
I did the same thing a few years ago, and it worked fine. You may run into speed problems if you go over a certain amount of text to scroll however. Instead of using maxscroll, it is a bit faster to use getTextExtent to see if a given line will fit in the text box.. Instead of testing word by word, you can start to make some educated guesses about how many chars will fit in a line, based again on the extent. This way you can make far fewer comparisons. And remember, if you are putting string S into textboxes a,b and c.. there is no need to test anything in c, just dump everything left in. On Mar 29, 2006, at 4:11 PM, Scott Hyndman wrote: If maxscroll equals 1 then subtract the last token. I suspect you mean if maxscroll is inequal to 1. I think this is a fine solution. Never done anything like it, but it will definately work. Scott -Original Message- From: [EMAIL PROTECTED] on behalf of Chris Hill Sent: Wed 3/29/2006 2:44 PM To: Flashcoders mailing list Cc: Subject:[Flashcoders] Flowing Text in Flash I've searched a lot on google and the list and haven't found much, so maybe I'm missing something obvious again. Basically I need to fill a text field, and when that text field is full, i should start filling the next one. My current idea is: Break the text into space delimited tokens. Keep adding tokens and checking maxscroll to see if it is equal to 1. If maxscroll equals 1 then subtract the last token. Move on to the next text field. Not an ideal solution, but the only one that I think will work. Has anyone done anything similar? Thanks Chris ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@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] XML load pregress
This is probably what you are looking for: Live Docs: http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=1586.html - Original Message - From: "Rodrigo Schramm" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" Sent: Wednesday, March 29, 2006 5:10 PM Subject: [Flashcoders] XML load pregress Hello, Is possible to put a load progress in a XML loader? I want to load a xml file and display the progress of download. But, the XML class don't have a onLoadProgress callback like MovieClipLoader. Schramm ___ 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] Controlling Accordion using ActionScript
Mike, You can use either accordionInstance.getChildAt(index) to get an child at a specific index, or accordionInstance.selectedChild to get the currently selected child. Both methods should return a reference to a movie clip within the accordion. http://livedocs.macromedia.com/flash/8/main/3088.html http://livedocs.macromedia.com/flash/8/main/3091.html Regards, Peter deHaan Adobe Systems Incorporated On 3/29/06, Mike Anderson <[EMAIL PROTECTED]> wrote: > > Okay, I am an idiot :) > > selectedIndex - duh! > > For some reason, I was looking for something specific, therefore > overlooking the obvious. > > Still, how to address a MovieClip that has been instantiated by the > Accordion Control continues to evade me. It must be some type of > "child" property, but I am still skimming the help docs for the answer. > > If anybody has a quick answer on this, I'd greatly appreciate it. > > Thanks! > > Mike > > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Mike > Anderson > Sent: Wednesday, March 29, 2006 2:42 PM > To: Flashcoders mailing list > Subject: [Flashcoders] Controlling Accordion using ActionScript > > Hello All, > > I literally read ALL the posts in the Archives regarding the Accordion > component, and there was no mention of what I need. > > It seems as if the Accordion is only setup to broadcast certain events, > when the Accordion itself is actually clicked on. > > My goal is to remotely control my Accordion control, so that there are > multiple ways to cause the Sliding Animation. I have a top MenuBar, in > which I want options available, to cause the Accordion Control to > animate to the proper Child. > > Am I missing something, or is the Accordion simply not designed for > this? > > Also, how can I communicate with MovieClips contained within the > Accordion Children? It seems as if the Accordion Control is acting as a > Container - so must I first create a variable that refers to the > Contents of the Accordion, before I can communicate with the Children's > components? There is no reference to this topic either. > > Kind of like the Window Control - myWindow.content.controls? > > Thanks in advance for all your help, > > Mike > > ___ > 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] Recommendation on good AS 2.0 framework code?
arp and cairnorm i suppose. and yes reading is good for you, looking at your name it seems william gibson is your choice. On 3/29/06, Boon Chew <[EMAIL PROTECTED]> wrote: > > Hi all, I am looking for some well-written framework code done in AS2.0 to > read up on (Reading source is good for ya). Does anyone have any > recommendation on any well-written AS2.0 framework out there? > > - boon > > > - > Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ > countries) for 2¢/min or less. > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > -- j:pn http://www.lennel.org ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Testing LocalConnection from a server in the IDE
Alan- They're both on the same machine but thanks for clearing that up either way. I was thinking that I could test a file sitting on the server using a local swf file and the local connection. I tried putting the domain permission etc but to no avail. Finally I resolved to just placing the other swf file on the same html page in a "debug" version. Rajat- as far as the name starting with an underscore -does that help? I don't think I've ever come across that- If so I have overlooked it. Thanks guys, Mani On 3/29/06, Alan Queen <[EMAIL PROTECTED]> wrote: > > forgive me if this is implied, but there's always been alot of > misunderstanding about LocalConnection.. > > LocalConnection is not used to send messages from one machine to > another. It's meant to send messages between 2 or more swf files on > the same machine whether in browser or .exe > > again, don't kill me if that's not what you were referring too ;) > > On 3/29/06, Rajat Paharia <[EMAIL PROTECTED]> wrote: > > Hi Mani - > > > > Have you prefixed your localConnectionID with an underscore? > > Try "_id" as opposed to "id". > > > > The other gotcha is just to make sure there aren't two instances of the > > receiving swf running (as often is the case when using one of the > SWF2EXE > > tools), since one will capture all the messages and the other will show > > nothing. > > > > best, - rajat > > > > On 3/29/06, Manuel Saint-Victor <[EMAIL PROTECTED]> wrote: > > > > > > I have a swf that is sending to a LocalConnection and it works fine > when > > > they are both operating locally but when I place the sending swf to > the > > > server it stops working- this is despite the fact that I have tried > > > placing > > > an allowDomain in the receiving swf. I am using Flash 8 as my > authoring > > > environment. > > > > > > What other issues should I troubleshoot when dealing with a > > > LocalConnection > > > behaving this way? > > > > > > Thanks, > > > Mani > > > ___ > > > Flashcoders@chattyfig.figleaf.com > > > To change your subscription options or search the archive: > > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > > > Brought to you by Fig Leaf Software > > > Premier Authorized Adobe Consulting and Training > > > http://www.figleaf.com > > > http://training.figleaf.com > > > > > > > > > > > -- > > Rajat Paharia > > [EMAIL PROTECTED] > > http://www.bunchball.com > > http://www.rootburn.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 > > > > > > > -- > - Alan Queen > ___ > 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] PrintJob causes Abort Script error message.
> Please warn us when you are going to do this, since from the > tone of the > conversation, there is some sense that this will cause the end of > civilization as we know it. Hacking the swf to increase the timeout is not the solution, it's a band-aid on a gunshot wound. > I have over 20 years of programming experience including at > assembler level, advanced Java, etc, but thanks for trying to > put me in my place :-) Let's say for argument's sake that it is a bug and it is all Macromedia's fault and they won't fix it and life is unfair. That doesn't change the fact that your application needs to work to your client's expectations. You need to find a solution because that's what you're paid to do. As Danny Kodicek knows coming from a Director background, there were tons of bugs in Director and workarounds had to be figured out to make certain things work. John Dowdell, in his infinite wisdom, got on Direct-L and posted that Director had no bugs, that there was just application behavior that Director developers wished worked differently. At the end of the day, I don't tell my client "Sorry, it's a bug and I can't work around it". I figure out how to get it done, and so should you and everyone else who does this for a living. The place I'm trying to put you in is "Flash Developer". ;) ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Recommendation on good AS 2.0 framework code?
Hi all, I am looking for some well-written framework code done in AS2.0 to read up on (Reading source is good for ya). Does anyone have any recommendation on any well-written AS2.0 framework out there? - boon - Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less. ___ 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] Radiobutton - Dispatch event on code selected?
Hi!, It´s possible to make the radio button dispatch the "click" event if i select it by code? The following doesn´t work (but of course, if you mouse-select the radio button, works perfectly): function setType(){ trace("it works!"); } linkType_cmp = _root[_root.radioComponent.groupName]; linkType_cmp.addEventListener("click", setType); linkType_cmp.selected = true; Thanks in advance!, -- _ Marcelo Volmaro ___ 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] XML load pregress
Hello, Is possible to put a load progress in a XML loader? I want to load a xml file and display the progress of download. But, the XML class don't have a onLoadProgress callback like MovieClipLoader. Schramm ___ 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] Displaying objects
You might have a look at this: http://mirror1.cvsdude.com/trac/osflash/red5/browser/java/server/trunk/swf/DEV_Source/classes/org/red5/samples/games/othello/GameBoard.as?rev=604#L98 resolveSiblings() is the method. Basically, it has some calculations for finding out if a piece is an end or corner piece by determining top/bottom/left/right sides based on column and row count. Might help aid in your resolving some issues in your algorithm On 3/29/06, Flash Mel <[EMAIL PROTECTED]> wrote: > > Hehe, all good. Thanks John. I'm sitting here trying to write something > mathematically that works. Turns out I am the suck at math, so it's > making > this complicated. Hand coding the array would be laborsome and wouldn't > allow for extensibility. > > Grrr... > > > fM. > > > > On 3/29/06, John Grden <[EMAIL PROTECTED]> wrote: > > > > Sorry, code correction - LOL, on code that's not been tested ... > > > > for(var i:Number=0;i > { > > for(var j:Number=0;j > { > > this["piece_" + pieceList[i].pieces[j]]._visible = true; > > } > > } > > > > > > On 3/29/06, John Grden <[EMAIL PROTECTED]> wrote: > > > > > > well, if you're using my code, then it would essentially build all > > pieces > > > the way you show it happening in that link. > > > > > > to do it diagonaly the way you specify, there's 2 ways: > > > > > > 1. come up with an algorithm to calculate that type of movement based > > on > > > the number of rows/cols you have (ouch) > > > 2. create the grid first, hide all pieces. Create an array by hand > > with > > > those values, and loop that array displaying the correct pieces: > > > > > > var pieceList:Array ({pieces:[0]}, {pieces: [1,14]}, > > {pieces:[2,15,28]}); > > > > > > for(var i:Number=0;i > > { > > > for(var j:Number=0;j > > { > > > this["piece_" + pieceList[i].pieces[j]._visible = true; > > > } > > > } > > > > > > Either set visible to true of tell it to gotoAndPlay("transitionIn") > or > > > whatever you have in frame lables etc. > > > > > > Make sense? > > > > > > JG > > > > > > > > > On 3/29/06, Flash Mel <[EMAIL PROTECTED]> wrote: > > > > > > > > Thanks John, > > > > > > > > This is great! When I trace this, it works. I've applied it to my > > > > code, > > > > and I think I have added something wrong. What happens is that all > > the > > > > elements just build in a single area. > > > > > > > > Here is what I had in the previous code: > > > > http://www.apt11.com/test/test.html > > > > > > > > Essentially, I need "0" to display, then "1", "14" then "2", "15", > > "28" > > > > and > > > > so on. > > > > > > > > Am I not applying your code correctly? My apologies for the > bumbling > > > > and > > > > thanks for the help. > > > > > > > > fM. > > > > > > > > > > > > > > > > On 3/29/06, John Grden <[EMAIL PROTECTED] > wrote: > > > > > > > > > > This will give you what you're looking for: > > > > > > > > > > var cols:Number = 3; > > > > > var rows:Number = 3; > > > > > > > > > > for(var i:Number=0;i > > > > { > > > > > for(var j:Number=0;j > > > > { > > > > > var gridLocation:Number = (i+j) + ((rows-1)*i); > > > > > trace("grid location = " + gridLocation); > > > > > // create your moviecilp > > > > > } > > > > > } > > > > > > > > > > row by row, create a movieclip per column. > > > > > > > > > > hth, > > > > > > > > > > John > > > > > > > > > > On 3/29/06, Flash Mel <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > Ok, since my email got through this morning, I'm hoping this one > > > > gets > > > > > > through. Here is the question I've emailed four times > > now. Doesn't > > > > > > show up in the threads. > > > > > > > > > > > > Here we go: > > > > > > > > > > > > > > > > > > > > > > > > Here is what I have so far: > > > > > > > > > > > > import mx.transitions.Tween; > > > > > > import mx.transitions.easing.*; > > > > > > > > > > > > m = 0; > > > > > > numTiles = 112; > > > > > > > > > > > > function placeTiles() { > > > > > > if (m == numTiles){ > > > > > > m = 0; > > > > > > clearInterval(buildTiles); > > > > > > } else { > > > > > > _root.attachMovie("square", "tile" + m + "_mc", m, {_x:m > % > > > > 14 > > > > > > * 50, _y:Math.floor(m / 14) * 50}); > > > > > > myObj = "tile" + m + "_mc"; > > > > > > new Tween(_root[myObj], "_alpha", Regular.easeInOut, 0, > > 100, > > > > 35, > > > > > > false); > > > > > > _root[myObj].number_text.text = m; > > > > > > m++; > > > > > > } > > > > > > } > > > > > > > > > > > > buildTiles = setInterval(placeTiles, 30); > > > > > > > > > > > > This works fine. Builds the rows one after another. But what I > > am > > > > > > trying to do is build one row across and one down. Make sense? > > > > > > > > > > > > In essence, the final display and position of the objects will > be: > > > > > > > > > > > > 123 > > > > > > 456 > > > > > > 789 > > > > > > > > > > > > The sequence I am after: > > > > > > > > > >
Re: [Flashcoders] Displaying objects
> Hand coding the array would be laborsome and wouldn't allow for extensibility. hehe yeah... I know ;) I'd be doing #1 too, but I guess that's probably what we like and hate about the job we do eh? ___ 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] Displaying objects
Hehe, all good. Thanks John. I'm sitting here trying to write something mathematically that works. Turns out I am the suck at math, so it's making this complicated. Hand coding the array would be laborsome and wouldn't allow for extensibility. Grrr... fM. On 3/29/06, John Grden <[EMAIL PROTECTED]> wrote: > > Sorry, code correction - LOL, on code that's not been tested ... > > for(var i:Number=0;i { > for(var j:Number=0;j { > this["piece_" + pieceList[i].pieces[j]]._visible = true; > } > } > > > On 3/29/06, John Grden <[EMAIL PROTECTED]> wrote: > > > > well, if you're using my code, then it would essentially build all > pieces > > the way you show it happening in that link. > > > > to do it diagonaly the way you specify, there's 2 ways: > > > > 1. come up with an algorithm to calculate that type of movement based > on > > the number of rows/cols you have (ouch) > > 2. create the grid first, hide all pieces. Create an array by hand > with > > those values, and loop that array displaying the correct pieces: > > > > var pieceList:Array ({pieces:[0]}, {pieces: [1,14]}, > {pieces:[2,15,28]}); > > > > for(var i:Number=0;i > { > > for(var j:Number=0;j > { > > this["piece_" + pieceList[i].pieces[j]._visible = true; > > } > > } > > > > Either set visible to true of tell it to gotoAndPlay("transitionIn") or > > whatever you have in frame lables etc. > > > > Make sense? > > > > JG > > > > > > On 3/29/06, Flash Mel <[EMAIL PROTECTED]> wrote: > > > > > > Thanks John, > > > > > > This is great! When I trace this, it works. I've applied it to my > > > code, > > > and I think I have added something wrong. What happens is that all > the > > > elements just build in a single area. > > > > > > Here is what I had in the previous code: > > > http://www.apt11.com/test/test.html > > > > > > Essentially, I need "0" to display, then "1", "14" then "2", "15", > "28" > > > and > > > so on. > > > > > > Am I not applying your code correctly? My apologies for the bumbling > > > and > > > thanks for the help. > > > > > > fM. > > > > > > > > > > > > On 3/29/06, John Grden <[EMAIL PROTECTED] > wrote: > > > > > > > > This will give you what you're looking for: > > > > > > > > var cols:Number = 3; > > > > var rows:Number = 3; > > > > > > > > for(var i:Number=0;i > > > { > > > > for(var j:Number=0;j > > > { > > > > var gridLocation:Number = (i+j) + ((rows-1)*i); > > > > trace("grid location = " + gridLocation); > > > > // create your moviecilp > > > > } > > > > } > > > > > > > > row by row, create a movieclip per column. > > > > > > > > hth, > > > > > > > > John > > > > > > > > On 3/29/06, Flash Mel <[EMAIL PROTECTED]> wrote: > > > > > > > > > > Ok, since my email got through this morning, I'm hoping this one > > > gets > > > > > through. Here is the question I've emailed four times > now. Doesn't > > > > > show up in the threads. > > > > > > > > > > Here we go: > > > > > > > > > > > > > > > > > > > > Here is what I have so far: > > > > > > > > > > import mx.transitions.Tween; > > > > > import mx.transitions.easing.*; > > > > > > > > > > m = 0; > > > > > numTiles = 112; > > > > > > > > > > function placeTiles() { > > > > > if (m == numTiles){ > > > > > m = 0; > > > > > clearInterval(buildTiles); > > > > > } else { > > > > > _root.attachMovie("square", "tile" + m + "_mc", m, {_x:m % > > > 14 > > > > > * 50, _y:Math.floor(m / 14) * 50}); > > > > > myObj = "tile" + m + "_mc"; > > > > > new Tween(_root[myObj], "_alpha", Regular.easeInOut, 0, > 100, > > > 35, > > > > > false); > > > > > _root[myObj].number_text.text = m; > > > > > m++; > > > > > } > > > > > } > > > > > > > > > > buildTiles = setInterval(placeTiles, 30); > > > > > > > > > > This works fine. Builds the rows one after another. But what I > am > > > > > trying to do is build one row across and one down. Make sense? > > > > > > > > > > In essence, the final display and position of the objects will be: > > > > > > > > > > 123 > > > > > 456 > > > > > 789 > > > > > > > > > > The sequence I am after: > > > > > > > > > > 1 > > > > > > > > > > then > > > > > > > > > > 12 > > > > > 4 > > > > > > > > > > then > > > > > > > > > > 123 > > > > > 45 > > > > > 7 > > > > > > > > > > and so on > > > > > > > > > > 123 > > > > > 456 > > > > > 78 > > > > > > > > > > Help?! > > > > > ___ > > > > > Flashcoders@chattyfig.figleaf.com > > > > > To change your subscription options or search the archive: > > > > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > > > > > > > Brought to you by Fig Leaf Software > > > > > Premier Authorized Adobe Consulting and Training > > > > > http://www.figleaf.com > > > > > http://training.figleaf.com > > > > > > > > > > > > > > > > > > > > > -- > > > > John Grden - Blitz > > > > ___ > > > > Flashcoders@c
Re: [Flashcoders] Controlling Accordion using ActionScript
var mc = accordionInstance.getChildAt( index ) ? On 3/29/06, Mike Anderson <[EMAIL PROTECTED]> wrote: > > Okay, I am an idiot :) > > selectedIndex - duh! > > For some reason, I was looking for something specific, therefore > overlooking the obvious. > > Still, how to address a MovieClip that has been instantiated by the > Accordion Control continues to evade me. It must be some type of > "child" property, but I am still skimming the help docs for the answer. > > If anybody has a quick answer on this, I'd greatly appreciate it. > > Thanks! > > Mike > > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Mike > Anderson > Sent: Wednesday, March 29, 2006 2:42 PM > To: Flashcoders mailing list > Subject: [Flashcoders] Controlling Accordion using ActionScript > > Hello All, > > I literally read ALL the posts in the Archives regarding the Accordion > component, and there was no mention of what I need. > > It seems as if the Accordion is only setup to broadcast certain events, > when the Accordion itself is actually clicked on. > > My goal is to remotely control my Accordion control, so that there are > multiple ways to cause the Sliding Animation. I have a top MenuBar, in > which I want options available, to cause the Accordion Control to > animate to the proper Child. > > Am I missing something, or is the Accordion simply not designed for > this? > > Also, how can I communicate with MovieClips contained within the > Accordion Children? It seems as if the Accordion Control is acting as a > Container - so must I first create a variable that refers to the > Contents of the Accordion, before I can communicate with the Children's > components? There is no reference to this topic either. > > Kind of like the Window Control - myWindow.content.controls? > > Thanks in advance for all your help, > > Mike > > ___ > 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
Re: [Flashcoders] sIFR
Oh, ok. Everything that increases the FP8 user base is welcome ;) ___ 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 Accordion using ActionScript
Okay, I am an idiot :) selectedIndex - duh! For some reason, I was looking for something specific, therefore overlooking the obvious. Still, how to address a MovieClip that has been instantiated by the Accordion Control continues to evade me. It must be some type of "child" property, but I am still skimming the help docs for the answer. If anybody has a quick answer on this, I'd greatly appreciate it. Thanks! Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Anderson Sent: Wednesday, March 29, 2006 2:42 PM To: Flashcoders mailing list Subject: [Flashcoders] Controlling Accordion using ActionScript Hello All, I literally read ALL the posts in the Archives regarding the Accordion component, and there was no mention of what I need. It seems as if the Accordion is only setup to broadcast certain events, when the Accordion itself is actually clicked on. My goal is to remotely control my Accordion control, so that there are multiple ways to cause the Sliding Animation. I have a top MenuBar, in which I want options available, to cause the Accordion Control to animate to the proper Child. Am I missing something, or is the Accordion simply not designed for this? Also, how can I communicate with MovieClips contained within the Accordion Children? It seems as if the Accordion Control is acting as a Container - so must I first create a variable that refers to the Contents of the Accordion, before I can communicate with the Children's components? There is no reference to this topic either. Kind of like the Window Control - myWindow.content.controls? Thanks in advance for all your help, Mike ___ 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] sIFR
no, there is more to it then that. I guess I could re-write it though. On Mar 29, 2006, at 1:02 PM, David Rorex wrote: On 3/29/06, Aaron Smith <[EMAIL PROTECTED]> wrote: has anyone made or found a flash 8 replacement sIFR??? by sIFR i mean flash replacement... for text... http://www.mikeindustries.com/sifr/ can't you just publish the sifr font swf to flash 8? -David R ___ 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] sIFR
well we use it on some websites where the font needs to be something other than arial or verdana. But the current sIFR is flash 6 so the type rendering isn't up to par with the flash 8 capabilities. smith On Mar 29, 2006, at 1:12 PM, Yotam Laufer wrote: I'm really curious as to why you might need a thing like that. Yotam. ___ 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] sIFR
I'm really curious as to why you might need a thing like that. Yotam. > ___ 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] Flowing Text in Flash
> If maxscroll equals 1 then subtract the last token. I suspect you mean if maxscroll is inequal to 1. I think this is a fine solution. Never done anything like it, but it will definately work. Scott -Original Message- From: [EMAIL PROTECTED] on behalf of Chris Hill Sent: Wed 3/29/2006 2:44 PM To: Flashcoders mailing list Cc: Subject:[Flashcoders] Flowing Text in Flash I've searched a lot on google and the list and haven't found much, so maybe I'm missing something obvious again. Basically I need to fill a text field, and when that text field is full, i should start filling the next one. My current idea is: Break the text into space delimited tokens. Keep adding tokens and checking maxscroll to see if it is equal to 1. If maxscroll equals 1 then subtract the last token. Move on to the next text field. Not an ideal solution, but the only one that I think will work. Has anyone done anything similar? Thanks Chris ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] sIFR
On 3/29/06, Aaron Smith <[EMAIL PROTECTED]> wrote: > > has anyone made or found a flash 8 replacement sIFR??? by sIFR i mean > flash replacement... for text... > > http://www.mikeindustries.com/sifr/ can't you just publish the sifr font swf to flash 8? -David R ___ 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] Testing LocalConnection from a server in the IDE
forgive me if this is implied, but there's always been alot of misunderstanding about LocalConnection.. LocalConnection is not used to send messages from one machine to another. It's meant to send messages between 2 or more swf files on the same machine whether in browser or .exe again, don't kill me if that's not what you were referring too ;) On 3/29/06, Rajat Paharia <[EMAIL PROTECTED]> wrote: > Hi Mani - > > Have you prefixed your localConnectionID with an underscore? > Try "_id" as opposed to "id". > > The other gotcha is just to make sure there aren't two instances of the > receiving swf running (as often is the case when using one of the SWF2EXE > tools), since one will capture all the messages and the other will show > nothing. > > best, - rajat > > On 3/29/06, Manuel Saint-Victor <[EMAIL PROTECTED]> wrote: > > > > I have a swf that is sending to a LocalConnection and it works fine when > > they are both operating locally but when I place the sending swf to the > > server it stops working- this is despite the fact that I have tried > > placing > > an allowDomain in the receiving swf. I am using Flash 8 as my authoring > > environment. > > > > What other issues should I troubleshoot when dealing with a > > LocalConnection > > behaving this way? > > > > Thanks, > > Mani > > ___ > > Flashcoders@chattyfig.figleaf.com > > To change your subscription options or search the archive: > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > Brought to you by Fig Leaf Software > > Premier Authorized Adobe Consulting and Training > > http://www.figleaf.com > > http://training.figleaf.com > > > > > > -- > Rajat Paharia > [EMAIL PROTECTED] > http://www.bunchball.com > http://www.rootburn.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 > > -- - Alan Queen ___ 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] Controlling Accordion using ActionScript
Hello All, I literally read ALL the posts in the Archives regarding the Accordion component, and there was no mention of what I need. It seems as if the Accordion is only setup to broadcast certain events, when the Accordion itself is actually clicked on. My goal is to remotely control my Accordion control, so that there are multiple ways to cause the Sliding Animation. I have a top MenuBar, in which I want options available, to cause the Accordion Control to animate to the proper Child. Am I missing something, or is the Accordion simply not designed for this? Also, how can I communicate with MovieClips contained within the Accordion Children? It seems as if the Accordion Control is acting as a Container - so must I first create a variable that refers to the Contents of the Accordion, before I can communicate with the Children's components? There is no reference to this topic either. Kind of like the Window Control - myWindow.content.controls? Thanks in advance for all your help, Mike ___ 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] Testing LocalConnection from a server in the IDE
Hi Mani - Have you prefixed your localConnectionID with an underscore? Try "_id" as opposed to "id". The other gotcha is just to make sure there aren't two instances of the receiving swf running (as often is the case when using one of the SWF2EXE tools), since one will capture all the messages and the other will show nothing. best, - rajat On 3/29/06, Manuel Saint-Victor <[EMAIL PROTECTED]> wrote: > > I have a swf that is sending to a LocalConnection and it works fine when > they are both operating locally but when I place the sending swf to the > server it stops working- this is despite the fact that I have tried > placing > an allowDomain in the receiving swf. I am using Flash 8 as my authoring > environment. > > What other issues should I troubleshoot when dealing with a > LocalConnection > behaving this way? > > Thanks, > Mani > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > -- Rajat Paharia [EMAIL PROTECTED] http://www.bunchball.com http://www.rootburn.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] Testing LocalConnection from a server in the IDE
Oh, excuse me " LocalConnection " :: dont know about. ;D) /v Manuel Saint-Victor schrieb: I have a swf that is sending to a LocalConnection and it works fine when they are both operating locally but when I place the sending swf to the server it stops working- this is despite the fact that I have tried placing an allowDomain in the receiving swf. I am using Flash 8 as my authoring environment. What other issues should I troubleshoot when dealing with a LocalConnection behaving this way? Thanks, Mani ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ 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] Testing LocalConnection from a server in the IDE
Back in the days as i used flash [dunno bout flash8] you were only allowed to send to the host your swf came from. Than you might check the encoding format you are using. [you might send "garbage" to the server] What about your firewall settings? Can you see the logfiles of the server? /V Manuel Saint-Victor schrieb: I have a swf that is sending to a LocalConnection and it works fine when they are both operating locally but when I place the sending swf to the server it stops working- this is despite the fact that I have tried placing an allowDomain in the receiving swf. I am using Flash 8 as my authoring environment. What other issues should I troubleshoot when dealing with a LocalConnection behaving this way? Thanks, Mani ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ 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] Flowing Text in Flash
I've searched a lot on google and the list and haven't found much, so maybe I'm missing something obvious again. Basically I need to fill a text field, and when that text field is full, i should start filling the next one. My current idea is: Break the text into space delimited tokens. Keep adding tokens and checking maxscroll to see if it is equal to 1. If maxscroll equals 1 then subtract the last token. Move on to the next text field. Not an ideal solution, but the only one that I think will work. Has anyone done anything similar? Thanks Chris ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Testing LocalConnection from a server in the IDE
I have a swf that is sending to a LocalConnection and it works fine when they are both operating locally but when I place the sending swf to the server it stops working- this is despite the fact that I have tried placing an allowDomain in the receiving swf. I am using Flash 8 as my authoring environment. What other issues should I troubleshoot when dealing with a LocalConnection behaving this way? Thanks, Mani ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Displaying objects
Sorry, code correction - LOL, on code that's not been tested ... for(var i:Number=0;i wrote: > > well, if you're using my code, then it would essentially build all pieces > the way you show it happening in that link. > > to do it diagonaly the way you specify, there's 2 ways: > > 1. come up with an algorithm to calculate that type of movement based on > the number of rows/cols you have (ouch) > 2. create the grid first, hide all pieces. Create an array by hand with > those values, and loop that array displaying the correct pieces: > > var pieceList:Array ({pieces:[0]}, {pieces: [1,14]}, {pieces:[2,15,28]}); > > for(var i:Number=0;i { > for(var j:Number=0;j { > this["piece_" + pieceList[i].pieces[j]._visible = true; > } > } > > Either set visible to true of tell it to gotoAndPlay("transitionIn") or > whatever you have in frame lables etc. > > Make sense? > > JG > > > On 3/29/06, Flash Mel <[EMAIL PROTECTED]> wrote: > > > > Thanks John, > > > > This is great! When I trace this, it works. I've applied it to my > > code, > > and I think I have added something wrong. What happens is that all the > > elements just build in a single area. > > > > Here is what I had in the previous code: > > http://www.apt11.com/test/test.html > > > > Essentially, I need "0" to display, then "1", "14" then "2", "15", "28" > > and > > so on. > > > > Am I not applying your code correctly? My apologies for the bumbling > > and > > thanks for the help. > > > > fM. > > > > > > > > On 3/29/06, John Grden <[EMAIL PROTECTED] > wrote: > > > > > > This will give you what you're looking for: > > > > > > var cols:Number = 3; > > > var rows:Number = 3; > > > > > > for(var i:Number=0;i > > { > > > for(var j:Number=0;j > > { > > > var gridLocation:Number = (i+j) + ((rows-1)*i); > > > trace("grid location = " + gridLocation); > > > // create your moviecilp > > > } > > > } > > > > > > row by row, create a movieclip per column. > > > > > > hth, > > > > > > John > > > > > > On 3/29/06, Flash Mel <[EMAIL PROTECTED]> wrote: > > > > > > > > Ok, since my email got through this morning, I'm hoping this one > > gets > > > > through. Here is the question I've emailed four times now. Doesn't > > > > show up in the threads. > > > > > > > > Here we go: > > > > > > > > > > > > > > > > Here is what I have so far: > > > > > > > > import mx.transitions.Tween; > > > > import mx.transitions.easing.*; > > > > > > > > m = 0; > > > > numTiles = 112; > > > > > > > > function placeTiles() { > > > > if (m == numTiles){ > > > > m = 0; > > > > clearInterval(buildTiles); > > > > } else { > > > > _root.attachMovie("square", "tile" + m + "_mc", m, {_x:m % > > 14 > > > > * 50, _y:Math.floor(m / 14) * 50}); > > > > myObj = "tile" + m + "_mc"; > > > > new Tween(_root[myObj], "_alpha", Regular.easeInOut, 0, 100, > > 35, > > > > false); > > > > _root[myObj].number_text.text = m; > > > > m++; > > > > } > > > > } > > > > > > > > buildTiles = setInterval(placeTiles, 30); > > > > > > > > This works fine. Builds the rows one after another. But what I am > > > > trying to do is build one row across and one down. Make sense? > > > > > > > > In essence, the final display and position of the objects will be: > > > > > > > > 123 > > > > 456 > > > > 789 > > > > > > > > The sequence I am after: > > > > > > > > 1 > > > > > > > > then > > > > > > > > 12 > > > > 4 > > > > > > > > then > > > > > > > > 123 > > > > 45 > > > > 7 > > > > > > > > and so on > > > > > > > > 123 > > > > 456 > > > > 78 > > > > > > > > Help?! > > > > ___ > > > > Flashcoders@chattyfig.figleaf.com > > > > To change your subscription options or search the archive: > > > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > > > > > Brought to you by Fig Leaf Software > > > > Premier Authorized Adobe Consulting and Training > > > > http://www.figleaf.com > > > > http://training.figleaf.com > > > > > > > > > > > > > > > > -- > > > John Grden - Blitz > > > ___ > > > Flashcoders@chattyfig.figleaf.com > > > To change your subscription options or search the archive: > > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > > > Brought to you by Fig Leaf Software > > > Premier Authorized Adobe Consulting and Training > > > http://www.figleaf.com > > > http://training.figleaf.com > > > > > ___ > > Flashcoders@chattyfig.figleaf.com > > To change your subscription options or search the archive: > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > Brought to you by Fig Leaf Software > > Premier Authorized Adobe Consulting and Training > > http://www.figleaf.com > > http://training.figleaf.com > > > > > > -- > John Grden - Blitz > -- John Grden - Blitz ___ Flashcoders@chattyfig.fi
Re: [Flashcoders] Displaying objects
well, if you're using my code, then it would essentially build all pieces the way you show it happening in that link. to do it diagonaly the way you specify, there's 2 ways: 1. come up with an algorithm to calculate that type of movement based on the number of rows/cols you have (ouch) 2. create the grid first, hide all pieces. Create an array by hand with those values, and loop that array displaying the correct pieces: var pieceList:Array ({pieces:[0]}, {pieces: [1,14]}, {pieces:[2,15,28]}); for(var i:Number=0;i wrote: > > Thanks John, > > This is great! When I trace this, it works. I've applied it to my code, > and I think I have added something wrong. What happens is that all the > elements just build in a single area. > > Here is what I had in the previous code: > http://www.apt11.com/test/test.html > > Essentially, I need "0" to display, then "1", "14" then "2", "15", "28" > and > so on. > > Am I not applying your code correctly? My apologies for the bumbling and > thanks for the help. > > fM. > > > > On 3/29/06, John Grden <[EMAIL PROTECTED]> wrote: > > > > This will give you what you're looking for: > > > > var cols:Number = 3; > > var rows:Number = 3; > > > > for(var i:Number=0;i > { > > for(var j:Number=0;j > { > > var gridLocation:Number = (i+j) + ((rows-1)*i); > > trace("grid location = " + gridLocation); > > // create your moviecilp > > } > > } > > > > row by row, create a movieclip per column. > > > > hth, > > > > John > > > > On 3/29/06, Flash Mel <[EMAIL PROTECTED]> wrote: > > > > > > Ok, since my email got through this morning, I'm hoping this one gets > > > through. Here is the question I've emailed four times now. Doesn't > > > show up in the threads. > > > > > > Here we go: > > > > > > > > > > > > Here is what I have so far: > > > > > > import mx.transitions.Tween; > > > import mx.transitions.easing.*; > > > > > > m = 0; > > > numTiles = 112; > > > > > > function placeTiles() { > > > if (m == numTiles){ > > > m = 0; > > > clearInterval(buildTiles); > > > } else { > > > _root.attachMovie("square", "tile" + m + "_mc", m, {_x:m % 14 > > > * 50, _y:Math.floor(m / 14) * 50}); > > > myObj = "tile" + m + "_mc"; > > > new Tween(_root[myObj], "_alpha", Regular.easeInOut, 0, 100, > 35, > > > false); > > > _root[myObj].number_text.text = m; > > > m++; > > > } > > > } > > > > > > buildTiles = setInterval(placeTiles, 30); > > > > > > This works fine. Builds the rows one after another. But what I am > > > trying to do is build one row across and one down. Make sense? > > > > > > In essence, the final display and position of the objects will be: > > > > > > 123 > > > 456 > > > 789 > > > > > > The sequence I am after: > > > > > > 1 > > > > > > then > > > > > > 12 > > > 4 > > > > > > then > > > > > > 123 > > > 45 > > > 7 > > > > > > and so on > > > > > > 123 > > > 456 > > > 78 > > > > > > Help?! > > > ___ > > > Flashcoders@chattyfig.figleaf.com > > > To change your subscription options or search the archive: > > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > > > Brought to you by Fig Leaf Software > > > Premier Authorized Adobe Consulting and Training > > > http://www.figleaf.com > > > http://training.figleaf.com > > > > > > > > > > > -- > > John Grden - Blitz > > ___ > > Flashcoders@chattyfig.figleaf.com > > To change your subscription options or search the archive: > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > Brought to you by Fig Leaf Software > > Premier Authorized Adobe Consulting and Training > > http://www.figleaf.com > > http://training.figleaf.com > > > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > -- John Grden - Blitz ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Displaying objects
Thanks John, This is great! When I trace this, it works. I've applied it to my code, and I think I have added something wrong. What happens is that all the elements just build in a single area. Here is what I had in the previous code: http://www.apt11.com/test/test.html Essentially, I need "0" to display, then "1", "14" then "2", "15", "28" and so on. Am I not applying your code correctly? My apologies for the bumbling and thanks for the help. fM. On 3/29/06, John Grden <[EMAIL PROTECTED]> wrote: > > This will give you what you're looking for: > > var cols:Number = 3; > var rows:Number = 3; > > for(var i:Number=0;i { > for(var j:Number=0;j { > var gridLocation:Number = (i+j) + ((rows-1)*i); > trace("grid location = " + gridLocation); > // create your moviecilp > } > } > > row by row, create a movieclip per column. > > hth, > > John > > On 3/29/06, Flash Mel <[EMAIL PROTECTED]> wrote: > > > > Ok, since my email got through this morning, I'm hoping this one gets > > through. Here is the question I've emailed four times now. Doesn't > > show up in the threads. > > > > Here we go: > > > > > > > > Here is what I have so far: > > > > import mx.transitions.Tween; > > import mx.transitions.easing.*; > > > > m = 0; > > numTiles = 112; > > > > function placeTiles() { > > if (m == numTiles){ > > m = 0; > > clearInterval(buildTiles); > > } else { > > _root.attachMovie("square", "tile" + m + "_mc", m, {_x:m % 14 > > * 50, _y:Math.floor(m / 14) * 50}); > > myObj = "tile" + m + "_mc"; > > new Tween(_root[myObj], "_alpha", Regular.easeInOut, 0, 100, 35, > > false); > > _root[myObj].number_text.text = m; > > m++; > > } > > } > > > > buildTiles = setInterval(placeTiles, 30); > > > > This works fine. Builds the rows one after another. But what I am > > trying to do is build one row across and one down. Make sense? > > > > In essence, the final display and position of the objects will be: > > > > 123 > > 456 > > 789 > > > > The sequence I am after: > > > > 1 > > > > then > > > > 12 > > 4 > > > > then > > > > 123 > > 45 > > 7 > > > > and so on > > > > 123 > > 456 > > 78 > > > > Help?! > > ___ > > Flashcoders@chattyfig.figleaf.com > > To change your subscription options or search the archive: > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > Brought to you by Fig Leaf Software > > Premier Authorized Adobe Consulting and Training > > http://www.figleaf.com > > http://training.figleaf.com > > > > > > -- > John Grden - Blitz > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Displaying objects
Ok, since my email got through this morning, I'm hoping this one gets through. Here is the question I've emailed four times now. Doesn't show up in the threads. Here we go: Here is what I have so far: import mx.transitions.Tween; import mx.transitions.easing.*; m = 0; numTiles = 112; function placeTiles() { if (m == numTiles){ m = 0; clearInterval(buildTiles); } else { _root.attachMovie("square", "tile" + m + "_mc", m, {_x:m % 14 * 50, _y:Math.floor(m / 14) * 50}); myObj = "tile" + m + "_mc"; new Tween(_root[myObj], "_alpha", Regular.easeInOut, 0, 100, 35, false); _root[myObj].number_text.text = m; m++; } } buildTiles = setInterval(placeTiles, 30); This works fine. Builds the rows one after another. But what I am trying to do is build one row across and one down. Make sense? In essence, the final display and position of the objects will be: 123 456 789 The sequence I am after: 1 then 12 4 then 123 45 7 and so on 123 456 78 Help?! ___ 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] Displaying objects
also, i released this in the red5 repository - it's a GridManager class that you can use to draw a grid (literally or not) and gives you methods like: 1. calcGridLocation() - based on where you mouse is over the grid, you get back a zero based grid number. So if i you have a 3x3 grid, you might get back 4 if you're in the center piece. 2. getColRow() - based on the gridLocation number you pass in, you can get back the column/row numbers that correspond - if you're in 4, you'd get back 2,2 (not zero based) 3. calcCenterSpot() - gives you the pixels x/y of the center of a particular piece based on col/row you send in. if you already have a movieclip that has your grid graphic, you just pass that movieclip reference to initGrid() and all the calculations will be based on that movieclip. You still have to pass in the grid's width and height as this isn't always the size of the movieclip etc ;) http://mirror1.cvsdude.com/trac/osflash/red5/browser/java/server/trunk/swf/DEV_Source/classes/org/red5/utils/GridManager.as don't know if it's applicable to your scenario, but it works well for grid based games. hth, On 3/29/06, John Grden <[EMAIL PROTECTED]> wrote: > > This will give you what you're looking for: > > var cols:Number = 3; > var rows:Number = 3; > > for(var i:Number=0;i { > for(var j:Number=0;j { > var gridLocation:Number = (i+j) + ((rows-1)*i); > trace("grid location = " + gridLocation); > // create your moviecilp > } > } > > row by row, create a movieclip per column. > > hth, > > John > > > On 3/29/06, Flash Mel <[EMAIL PROTECTED]> wrote: > > > > Ok, since my email got through this morning, I'm hoping this one gets > > through. Here is the question I've emailed four times now. Doesn't > > show up in the threads. > > > > Here we go: > > > > > > > > Here is what I have so far: > > > > import mx.transitions.Tween; > > import mx.transitions.easing.*; > > > > m = 0; > > numTiles = 112; > > > > function placeTiles() { > > if (m == numTiles){ > > m = 0; > > clearInterval(buildTiles); > > } else { > > _root.attachMovie("square", "tile" + m + "_mc", m, {_x:m % 14 > > * 50, _y:Math.floor(m / 14) * 50}); > > myObj = "tile" + m + "_mc"; > > new Tween(_root[myObj], "_alpha", Regular.easeInOut, 0, 100, 35, > > false); > > _root[myObj].number_text.text = m; > > m++; > > } > > } > > > > buildTiles = setInterval(placeTiles, 30); > > > > This works fine. Builds the rows one after another. But what I am > > trying to do is build one row across and one down. Make sense? > > > > In essence, the final display and position of the objects will be: > > > > 123 > > 456 > > 789 > > > > The sequence I am after: > > > > 1 > > > > then > > > > 12 > > 4 > > > > then > > > > 123 > > 45 > > 7 > > > > and so on > > > > 123 > > 456 > > 78 > > > > Help?! > > ___ > > Flashcoders@chattyfig.figleaf.com > > To change your subscription options or search the archive: > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > Brought to you by Fig Leaf Software > > Premier Authorized Adobe Consulting and Training > > http://www.figleaf.com > > http://training.figleaf.com > > > > > > -- > John Grden - Blitz > -- John Grden - Blitz ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] sIFR
has anyone made or found a flash 8 replacement sIFR??? by sIFR i mean flash replacement... for text... http://www.mikeindustries.com/sifr/ smith ___ 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] Displaying objects
This will give you what you're looking for: var cols:Number = 3; var rows:Number = 3; for(var i:Number=0;i * 50, _y:Math.floor(m / 14) * 50}); > myObj = "tile" + m + "_mc"; > new Tween(_root[myObj], "_alpha", Regular.easeInOut, 0, 100, 35, > false); > _root[myObj].number_text.text = m; > m++; > } > } > > buildTiles = setInterval(placeTiles, 30); > > This works fine. Builds the rows one after another. But what I am > trying to do is build one row across and one down. Make sense? > > In essence, the final display and position of the objects will be: > > 123 > 456 > 789 > > The sequence I am after: > > 1 > > then > > 12 > 4 > > then > > 123 > 45 > 7 > > and so on > > 123 > 456 > 78 > > Help?! > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > -- John Grden - Blitz ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Displaying objects
Ok, since my email got through this morning, I'm hoping this one gets through. Here is the question I've emailed four times now. Doesn't show up in the threads. Here we go: Here is what I have so far: import mx.transitions.Tween; import mx.transitions.easing.*; m = 0; numTiles = 112; function placeTiles() { if (m == numTiles){ m = 0; clearInterval(buildTiles); } else { _root.attachMovie("square", "tile" + m + "_mc", m, {_x:m % 14 * 50, _y:Math.floor(m / 14) * 50}); myObj = "tile" + m + "_mc"; new Tween(_root[myObj], "_alpha", Regular.easeInOut, 0, 100, 35, false); _root[myObj].number_text.text = m; m++; } } buildTiles = setInterval(placeTiles, 30); This works fine. Builds the rows one after another. But what I am trying to do is build one row across and one down. Make sense? In essence, the final display and position of the objects will be: 123 456 789 The sequence I am after: 1 then 12 4 then 123 45 7 and so on 123 456 78 Help?! ___ 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] nextFrame(), gotoAndStop(), play(), they are different?
My guess is that your swf file is probably cached in firefox, while you may have tried disabling caching in both browsers, firefox, erratically, for lack of a better analysis, caches and reloads swf files. The reason I think this is the problem is because gotoAndStop and nextFrame do not begin playing the file, so using these functions to progress through the timeline will only work if the target frame is loaded. If your target frame is 2, than both nextFrame from frame 1 and gotoAndStop(2) will perform identical results. The play function, on the other hand, will trigger the playhead to play the timeline, and in your particular situation, the play function would merely begin the playhead, remaining on frame 1 until frame 2 was finished loading. There must be a stop function on frame 2, since you aren't experiencing any looping, or the playhead stoping on frame 1 again after going to frame 2, or continuing past frame 2 if there are subsequent frames. It also sounds as if the code on frame 1 is a preloader, if this is the case, maybe you should take another look at it, otherwise, you will need a preloader on frame 1 to ensure that frame 2 exists when you go to it. Hope this helps, M. On 3/29/06, zikey Han <[EMAIL PROTECTED]> wrote: > > Hi list! > Today i touch an odd. > It has 2 frames on the Timeline,I have a check in first > frame,when > it's ok goto sencond frame. > when i use gotoAndStop(2),nextFrame(),and play() ,the Flash can > goto Frame 2 ,the browser is Firfox. > But only play() can work in the browser of > IE,gotoAndStop(2),nextFrame() can do nothing! > Why ?? > > -- > 亲爱的朋友,祝你天天快了! > http://www.flashpixy.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] Flasc - simple question
Excellent, glad that worked for ya! PS> I just posted version 1.7 late last night with a fix to the import as well as some other fixes. Get it, install it, have a good day with it ;) On 3/29/06, Webdevotion <[EMAIL PROTECTED]> wrote: > > great : ) > > "uncheck the header" did the trick for me : ) > now on to more complicated projects I guess > > ___ 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] PrintJob
Not tried it but a painless way to get around some printing wierdness may be to copy the bitmapdat of the thing you want to print out, paste it into an MC offstage then print that? M > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Lee McColl-Sylvester > Sent: 29 March 2006 14:35 > To: Flashcoders mailing list > Subject: RE: [Flashcoders] PrintJob > > The Print feature of Flash prints the passed MovieClip... It > there is content that the MovieClip isn't showing, then you > need to print the inner clip containing the content instead. > To find the location of this clip, I suggest using John Gardn's Xray. > > Lee > ___ 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] Flasc - simple question
great : ) "uncheck the header" did the trick for me : ) now on to more complicated projects I guess ___ 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?
Wow, it was like reading an entry from my journal. I too vowed to never work on another flash projector application again. Zinc seems so powerful from the first glance. But keep in mind just because zinc will place something in the feature list, it doesn't mean it will work in all situations. Even, if you have made a prototype to prove to yourself before making a promise to a client. Do not trust Zinc to come through in the end. Grant put it best and it sounds like we both learned the hard way, Flash was not meant to make even the simplest applications. So if you are in a crunch buy some $700 duct tape (zinc) but don't be surprised when the bugs start rolling in. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Grant Cox Sent: Tuesday, March 28, 2006 9:48 PM To: Flashcoders mailing list Subject: 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 L
Re: [Flashcoders] Flasc - simple question
Sorry, an additional step: 6.5. Locate your class to be compiled with MTASC - this would be the class that has the main static method. On 3/29/06, John Grden <[EMAIL PROTECTED]> wrote: > > ok, if you're doing the sample from the mtasc.org site, then you don't > bind that to a movieclip, you just include it as a class to be compiled with > MTASC. > > So, the steps would be: > > 1. Create your FLA > 2. Create your squares/triangles objects > 3. Publish with IDE > 4. create new project in Flasc > 5. Give friendly name > 6. Locate the published SWF > 7. UNcheck the header settings - they're already set. If you DIDN'T > uncheck this previously, that's why you lost your objects. > 8. click edit tags - check -mx, check -main > 9. Hit done > 10. Compile > > Now you should have a swf that has your objects on stage and now a new > text field with your "hello world" copy in it. > > Does this make sense? > > JG > > > On 3/29/06, Webdevotion <[EMAIL PROTECTED]> wrote: > > > > When using this code in my Test class I see a textfield on the stage, > > but my graphical assets ( some squares ) have dissapeared ... > > > > I'm still gettin the error.text message though > > > > class Test > > { > > static var app : Test; > > > > function Test() { > > // creates a 'tf' TextField size 800x600 at pos 0,0 > > _root.createTextField("tf",0,0,0,800,600); > > // write some text into it > > _root.tf.text = "Hello world !"; > > } > > > > // entry point > > static function main(mc) { > > app = new Test(); > > } > > } > > > > > > > > On 3/29/06, Webdevotion <[EMAIL PROTECTED]> wrote: > > > > > > Hey John, > > > > > > First, tnx for the great effort you put into your tools! > > > > > > I feel a bit silly for asking these questions, > > > as everyone seems so comfortable using MTASC etc. > > > > > > I created a fla, with a mc "test" on stage which is linked > > > to a Test class in the library. > > > > > > I'm compiling without any checkboxes in the MTASC panel. > > > > > > Still the same output ==> ".. errors.txt" > > > > > > class Test > > > { > > > function Test () > > > { > > > trace("Test"); > > > } > > > > > > function main () > > > { > > > trace("main"); > > > } > > > } > > > > > ___ > > Flashcoders@chattyfig.figleaf.com > > To change your subscription options or search the archive: > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > Brought to you by Fig Leaf Software > > Premier Authorized Adobe Consulting and Training > > http://www.figleaf.com > > http://training.figleaf.com > > > > > > -- > John Grden - Blitz > -- John Grden - Blitz ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Flasc - simple question
ok, if you're doing the sample from the mtasc.org site, then you don't bind that to a movieclip, you just include it as a class to be compiled with MTASC. So, the steps would be: 1. Create your FLA 2. Create your squares/triangles objects 3. Publish with IDE 4. create new project in Flasc 5. Give friendly name 6. Locate the published SWF 7. UNcheck the header settings - they're already set. If you DIDN'T uncheck this previously, that's why you lost your objects. 8. click edit tags - check -mx, check -main 9. Hit done 10. Compile Now you should have a swf that has your objects on stage and now a new text field with your "hello world" copy in it. Does this make sense? JG On 3/29/06, Webdevotion <[EMAIL PROTECTED]> wrote: > > When using this code in my Test class I see a textfield on the stage, > but my graphical assets ( some squares ) have dissapeared ... > > I'm still gettin the error.text message though > > class Test > { > static var app : Test; > > function Test() { > // creates a 'tf' TextField size 800x600 at pos 0,0 > _root.createTextField("tf",0,0,0,800,600); > // write some text into it > _root.tf.text = "Hello world !"; > } > > // entry point > static function main(mc) { > app = new Test(); > } > } > > > > On 3/29/06, Webdevotion <[EMAIL PROTECTED]> wrote: > > > > Hey John, > > > > First, tnx for the great effort you put into your tools! > > > > I feel a bit silly for asking these questions, > > as everyone seems so comfortable using MTASC etc. > > > > I created a fla, with a mc "test" on stage which is linked > > to a Test class in the library. > > > > I'm compiling without any checkboxes in the MTASC panel. > > > > Still the same output ==> ".. errors.txt" > > > > class Test > > { > > function Test () > > { > > trace("Test"); > > } > > > > function main () > > { > > trace("main"); > > } > > } > > > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > -- John Grden - Blitz ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] "+" simbol issue help
yes! server.URLencode that´s the perfect solution rigth now thx a lot Ian and people! - Original Message - From: "Ian Thomas" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" Sent: Wednesday, March 29, 2006 4:34 PM Subject: Re: [Flashcoders] "+" simbol issue help Hi Alfredo, Having just done a quick Google - instead of transforming each "+" symbol, just call this: Server.URLEncode(myString) where myString is the value you want to encode. For example: &titulo3=<%=Server.URLEncode("Here is my text with a + in it")%> Or something similar. Cheers, Ian On 3/29/06, Alfredo Laguia <[EMAIL PROTECTED]> wrote: first: Yes, it is verdana type and i've embedded the font as always, as the rest of the symbology well at least, with the encode, as a %2B. i can see the symbol, and i can keep working on the problem is, i need to change my asps to transform every "+" symbol with %2B thx a lot ___ 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] Help!
We got this? On 3/29/06, Flash Mel <[EMAIL PROTECTED]> wrote: > My emails aren't getting through to the list! Whats up?!?! > > > fM > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > -- Ramon Miguel M. Tayag Managing Director Quirkworks ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Help!
Erm, isn't this an oxymoron??? Lee -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Flash Mel Sent: 29 March 2006 15:43 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Help! My emails aren't getting through to the list! Whats up?!?! fM ___ 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] Help!
My emails aren't getting through to the list! Whats up?!?! fM ___ 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] "+" simbol issue help
I believe your + is not showing b/c it is being interpreted as a mathematical operator and all content post the + sign as octal. Try the "dynamic string"+"+"+"dynamic string" HTH Matthew -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alfredo Laguia Sent: Wednesday, March 29, 2006 8:58 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] "+" simbol issue help yes i added the symbol in the list and i did everything that i do allways the code is simple: * misVars = new LoadVars() var cantidad:Number misVars.onLoad = function(success){ if(success){ //trace(misVars) cantidad = misVars.cant montoDatos() trace(misVars["titulo"+3]) } else{ trace("error al cargar los datos") } } misVars.load("http://www.inaltia.es/demo/loadInfoNoticias.asp";, GET) var posY = 60 montoDatos = function(){ for(var i= 0; i To: "Flashcoders mailing list" Sent: Wednesday, March 29, 2006 3:52 PM Subject: Re: [Flashcoders] "+" simbol issue help > Are you using an embedded font? > > If so, have you remembered to add the + symbol to the list of embedded > characters? > > HTH, > Ian > > On 3/29/06, Alfredo Laguia <[EMAIL PROTECTED]> wrote: > >> hi there >> what can i do to show "+" symbol in a dynamic textfield?? >> >> i take the data from an asp and calling the asp throw the explorer >> i can see the content data without issue. >> >> >> thx for help! > ___ > 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] "+" simbol issue help
Hi Alfredo, Having just done a quick Google - instead of transforming each "+" symbol, just call this: Server.URLEncode(myString) where myString is the value you want to encode. For example: &titulo3=<%=Server.URLEncode("Here is my text with a + in it")%> Or something similar. Cheers, Ian On 3/29/06, Alfredo Laguia <[EMAIL PROTECTED]> wrote: > first: > Yes, it is verdana type and i've embedded the font as always, as the rest of > the symbology > > well at least, with the encode, as a %2B. > i can see the symbol, and i can keep working on > the problem is, i need to change my asps to transform every "+" symbol with > %2B > > > thx a lot > ___ 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] "+" simbol issue help
If the font is Verdana, then it doesn't make sense to embed as Verdana exists on most operating systems... Certainly 99.9% (not checked, but I doubt exagerated) of the market Verdana is more ubiquitous than Flash itself ;-) Lee -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alfredo Laguia Sent: 29 March 2006 15:30 To: Flashcoders mailing list Subject: Re: [Flashcoders] "+" simbol issue help first: Yes, it is verdana type and i've embedded the font as always, as the rest of the symbology well at least, with the encode, as a %2B. i can see the symbol, and i can keep working on the problem is, i need to change my asps to transform every "+" symbol with %2B thx a lot - Original Message - From: "Ian Thomas" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" Sent: Wednesday, March 29, 2006 4:05 PM Subject: Re: [Flashcoders] "+" simbol issue help > My guess (and it is only a guess) is that Flash is treating the > contents of LoadVars like a url-encoded string. e.g. > &thing1=Something+something+else&thing2=Another+thing > > Which would mean that it probably replaces your '+' symbol with a space. > > I'd try urlencoding your vars before you output them (in your ASP file > - I'm not sure what the urlencode() function is in ASP but I'm sure > there is one). That way, the characters should get through okay. > > For example: > &thing1=A bucket of frogs+toads > > would become: > &thing1=A+bucket+of+frogs%2Btoads > > See? It's encoded the + symbol as %2B. > > This will also take care of any '&' or '=' signs that might cause you > problems. > > Hope that's helpful, > Ian > > On 3/29/06, Alfredo Laguia <[EMAIL PROTECTED]> wrote: >> yes i added the symbol in the list >> and i did everything that i do allways >> >> the code is simple: >> * >> misVars = new LoadVars() >> var cantidad:Number >> misVars.onLoad = function(success){ >> if(success){ >>//trace(misVars) >>cantidad = misVars.cant >>montoDatos() >>trace(misVars["titulo"+3]) >> } >> else{ >>trace("error al cargar los datos") >> } >> } >> >> >> misVars.load("http://www.inaltia.es/demo/loadInfoNoticias.asp";, GET) >> >> >> >> var posY = 60 >> montoDatos = function(){ >> for(var i= 0; i> container = menu.grupoNOTICIAS.NOTICIASMC >> container.attachMovie("moduloNOTICIA", "consolaNoticias"+i, 100+i) >> container["consolaNoticias"+i]._y = posY >> container["consolaNoticias"+i].fecha_txt.text = misVars["fecha"+i] >> container["consolaNoticias"+i].titulo_txt.text = misVars["titulo"+i] >> container["consolaNoticias"+i].contenido = misVars["contenido"+i] >> container["consolaNoticias"+i].info_btn.onPress = function(){ >> noticias._visible = 100; >> noticias.noticiasEXTENDIDAS.noticias_txt = this._parent.contenido >> >> } >> posY = posY +60 >> >> >> >> } >> >> >> } >> >> >> >> >> - Original Message - >> From: "Ian Thomas" <[EMAIL PROTECTED]> >> To: "Flashcoders mailing list" >> Sent: Wednesday, March 29, 2006 3:52 PM >> Subject: Re: [Flashcoders] "+" simbol issue help >> >> >> > Are you using an embedded font? >> > >> > If so, have you remembered to add the + symbol to the list of embedded >> > characters? >> > >> > HTH, >> > Ian >> > >> > On 3/29/06, Alfredo Laguia <[EMAIL PROTECTED]> wrote: >> > >> >> hi there >> >> what can i do to show "+" symbol in a dynamic textfield?? >> >> >> >> i take the data from an asp and calling the asp throw the >> >> explorer >> >> i can see the content data without issue. >> >> >> >> >> >> thx for help! >> > ___ >> > 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/f
Re: [Flashcoders] "+" simbol issue help
first: Yes, it is verdana type and i've embedded the font as always, as the rest of the symbology well at least, with the encode, as a %2B. i can see the symbol, and i can keep working on the problem is, i need to change my asps to transform every "+" symbol with %2B thx a lot - Original Message - From: "Ian Thomas" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" Sent: Wednesday, March 29, 2006 4:05 PM Subject: Re: [Flashcoders] "+" simbol issue help My guess (and it is only a guess) is that Flash is treating the contents of LoadVars like a url-encoded string. e.g. &thing1=Something+something+else&thing2=Another+thing Which would mean that it probably replaces your '+' symbol with a space. I'd try urlencoding your vars before you output them (in your ASP file - I'm not sure what the urlencode() function is in ASP but I'm sure there is one). That way, the characters should get through okay. For example: &thing1=A bucket of frogs+toads would become: &thing1=A+bucket+of+frogs%2Btoads See? It's encoded the + symbol as %2B. This will also take care of any '&' or '=' signs that might cause you problems. Hope that's helpful, Ian On 3/29/06, Alfredo Laguia <[EMAIL PROTECTED]> wrote: yes i added the symbol in the list and i did everything that i do allways the code is simple: * misVars = new LoadVars() var cantidad:Number misVars.onLoad = function(success){ if(success){ //trace(misVars) cantidad = misVars.cant montoDatos() trace(misVars["titulo"+3]) } else{ trace("error al cargar los datos") } } misVars.load("http://www.inaltia.es/demo/loadInfoNoticias.asp";, GET) var posY = 60 montoDatos = function(){ for(var i= 0; i To: "Flashcoders mailing list" Sent: Wednesday, March 29, 2006 3:52 PM Subject: Re: [Flashcoders] "+" simbol issue help > Are you using an embedded font? > > If so, have you remembered to add the + symbol to the list of embedded > characters? > > HTH, > Ian > > On 3/29/06, Alfredo Laguia <[EMAIL PROTECTED]> wrote: > >> hi there >> what can i do to show "+" symbol in a dynamic textfield?? >> >> i take the data from an asp and calling the asp throw the >> explorer >> i can see the content data without issue. >> >> >> thx for help! > ___ > 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] PrintJob causes Abort Script error message.
Wow, I really should break my sentences up with comma's and fullstops. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lee McColl-Sylvester Sent: 29 March 2006 15:22 To: Flashcoders mailing list Subject: RE: [Flashcoders] PrintJob causes Abort Script error message. Remember, though, that should an unforeseen cercumstance occur in your application that will otherwise throw an error will likely hang the users machine with no typical way for the user to escape except to crash the application completely... Most users don't like that too much :-P Lee -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ron Wheeler Sent: 29 March 2006 15:04 To: Flashcoders mailing list Subject: Re: [Flashcoders] PrintJob causes Abort Script error message. Steven Sacks wrote: > I have explained in detail the source of your problem. If you choose not to > take the advice given to you by coders who know more than you about the > subject at hand, then why post a question to the list? You are doing > yourself and your client a disservice with your blame Macromedia attitude > and finger pointing. > > It's not the end of the world. Your code simply does not take into account > a synchronous call. That is not PrintJob's fault. That is not the Flash > player's fault. You should fix your code now that you understand why it's > breaking. The fact is, there's a real solution to your problem. > > Whether you realize it or not, you have already admitted that it is your > code that is to blame. You have stated twice now that the application is a > real-time trading system. In all likelihood, this means you have intervals > running and all kinds of parsing and drawing going on most of the time. The > exact kind of processes that would go haywire should Flash have to make a > synchronous call with an indeterminate response time. > > PrintJob makes a synchronous call and Flash is single threaded. All your > real-time stuff is reacting to the synchronous call. When a user presses > the print button, you need to put a halt on new processes, wait for currrent > processes to complete and then start the PrintJob. If it's going to take > more than 250ms, throw up a window that says something like "Preparing to > print". Upon completion of the PrintJob, you need to resync with the server > immediately, and should probably put up a window that says something like > "Sending data to printer" until the application is all caught up. > > Your SLI injection to increase the timeout as a solution is irreponsible. > It is a heavy-handed technique fraught with potential problems far worse > than your printing one and it doesn't actually solve the problem, it just > masks it, and poorly. I wouldn't go live with that. > > "Do the right thing." - Spike Lee > > > I would suggest setting the timeout to 7200 seconds and then test it to see what happens if you leave it sitting over lunch. Please warn us when you are going to do this, since from the tone of the conversation, there is some sense that this will cause the end of civilization as we know it. I suspect that the impact will be considerably less and the users of the application may be able to deal with any repercussions by changing their reaction to a dialogue box - it should not be taken as an invitation to go for a coffee. If Macromedia feels OK about the single threading issue, we have to cut ourselves some slack about dealing with it. It certainly is a cautionary note to designers of new applications that you should consider designing in some way to easily shutdown all of the animation and communication functions while setting up a print job. The effect on a communication link of an extended timeout might be one of the problems that you encounter since the other end might decide that you have died over lunch and cut its end. If you are re-establishing the link (authorization???) on each data transfer, this may not be a problem. Ron Ron ___ 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
RE: [Flashcoders] PrintJob causes Abort Script error message.
Remember, though, that should an unforeseen cercumstance occur in your application that will otherwise throw an error will likely hang the users machine with no typical way for the user to escape except to crash the application completely... Most users don't like that too much :-P Lee -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ron Wheeler Sent: 29 March 2006 15:04 To: Flashcoders mailing list Subject: Re: [Flashcoders] PrintJob causes Abort Script error message. Steven Sacks wrote: > I have explained in detail the source of your problem. If you choose not to > take the advice given to you by coders who know more than you about the > subject at hand, then why post a question to the list? You are doing > yourself and your client a disservice with your blame Macromedia attitude > and finger pointing. > > It's not the end of the world. Your code simply does not take into account > a synchronous call. That is not PrintJob's fault. That is not the Flash > player's fault. You should fix your code now that you understand why it's > breaking. The fact is, there's a real solution to your problem. > > Whether you realize it or not, you have already admitted that it is your > code that is to blame. You have stated twice now that the application is a > real-time trading system. In all likelihood, this means you have intervals > running and all kinds of parsing and drawing going on most of the time. The > exact kind of processes that would go haywire should Flash have to make a > synchronous call with an indeterminate response time. > > PrintJob makes a synchronous call and Flash is single threaded. All your > real-time stuff is reacting to the synchronous call. When a user presses > the print button, you need to put a halt on new processes, wait for currrent > processes to complete and then start the PrintJob. If it's going to take > more than 250ms, throw up a window that says something like "Preparing to > print". Upon completion of the PrintJob, you need to resync with the server > immediately, and should probably put up a window that says something like > "Sending data to printer" until the application is all caught up. > > Your SLI injection to increase the timeout as a solution is irreponsible. > It is a heavy-handed technique fraught with potential problems far worse > than your printing one and it doesn't actually solve the problem, it just > masks it, and poorly. I wouldn't go live with that. > > "Do the right thing." - Spike Lee > > > I would suggest setting the timeout to 7200 seconds and then test it to see what happens if you leave it sitting over lunch. Please warn us when you are going to do this, since from the tone of the conversation, there is some sense that this will cause the end of civilization as we know it. I suspect that the impact will be considerably less and the users of the application may be able to deal with any repercussions by changing their reaction to a dialogue box - it should not be taken as an invitation to go for a coffee. If Macromedia feels OK about the single threading issue, we have to cut ourselves some slack about dealing with it. It certainly is a cautionary note to designers of new applications that you should consider designing in some way to easily shutdown all of the animation and communication functions while setting up a print job. The effect on a communication link of an extended timeout might be one of the problems that you encounter since the other end might decide that you have died over lunch and cut its end. If you are re-establishing the link (authorization???) on each data transfer, this may not be a problem. Ron Ron ___ 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] "+" simbol issue help
So I'm guessing that misVars.titulo3 is the one that contains a +? Are you absolutely *sure* the symbol has been embedded? And is it possible that you've embedded a different character than the one you're being sent? Perhaps your font has two + symbols? Danny yes i added the symbol in the list and i did everything that i do allways the code is simple: * misVars = new LoadVars() var cantidad:Number misVars.onLoad = function(success){ if(success){ //trace(misVars) cantidad = misVars.cant montoDatos() trace(misVars["titulo"+3]) } else{ trace("error al cargar los datos") } } misVars.load("http://www.inaltia.es/demo/loadInfoNoticias.asp";, GET) var posY = 60 montoDatos = function(){ for(var i= 0; i- Original Message - From: "Ian Thomas" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" Sent: Wednesday, March 29, 2006 3:52 PM Subject: Re: [Flashcoders] "+" simbol issue help Are you using an embedded font? If so, have you remembered to add the + symbol to the list of embedded characters? HTH, Ian On 3/29/06, Alfredo Laguia <[EMAIL PROTECTED]> wrote: hi there what can i do to show "+" symbol in a dynamic textfield?? i take the data from an asp and calling the asp throw the explorer i can see the content data without issue. thx for help! ___ 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] "+" simbol issue help
Oh - just to point out - I'd imagine (again, untested - I never use LoadVars in it's normal form) that Flash takes care of converting the text back again so that you don't have to worry about it. All you should need to change is your ASP file, no Flash code. Ian On 3/29/06, Ian Thomas <[EMAIL PROTECTED]> wrote: > My guess (and it is only a guess) is that Flash is treating the > contents of LoadVars like a url-encoded string. e.g. > &thing1=Something+something+else&thing2=Another+thing > > Which would mean that it probably replaces your '+' symbol with a space. > > I'd try urlencoding your vars before you output them (in your ASP file > - I'm not sure what the urlencode() function is in ASP but I'm sure > there is one). That way, the characters should get through okay. > > For example: > &thing1=A bucket of frogs+toads > > would become: > &thing1=A+bucket+of+frogs%2Btoads > > See? It's encoded the + symbol as %2B. > > This will also take care of any '&' or '=' signs that might cause you > problems. > > Hope that's helpful, > Ian > ___ 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] "+" simbol issue help
My guess (and it is only a guess) is that Flash is treating the contents of LoadVars like a url-encoded string. e.g. &thing1=Something+something+else&thing2=Another+thing Which would mean that it probably replaces your '+' symbol with a space. I'd try urlencoding your vars before you output them (in your ASP file - I'm not sure what the urlencode() function is in ASP but I'm sure there is one). That way, the characters should get through okay. For example: &thing1=A bucket of frogs+toads would become: &thing1=A+bucket+of+frogs%2Btoads See? It's encoded the + symbol as %2B. This will also take care of any '&' or '=' signs that might cause you problems. Hope that's helpful, Ian On 3/29/06, Alfredo Laguia <[EMAIL PROTECTED]> wrote: > yes i added the symbol in the list > and i did everything that i do allways > > the code is simple: > * > misVars = new LoadVars() > var cantidad:Number > misVars.onLoad = function(success){ > if(success){ >//trace(misVars) >cantidad = misVars.cant >montoDatos() >trace(misVars["titulo"+3]) > } > else{ >trace("error al cargar los datos") > } > } > > > misVars.load("http://www.inaltia.es/demo/loadInfoNoticias.asp";, GET) > > > > var posY = 60 > montoDatos = function(){ > for(var i= 0; i container = menu.grupoNOTICIAS.NOTICIASMC > container.attachMovie("moduloNOTICIA", "consolaNoticias"+i, 100+i) > container["consolaNoticias"+i]._y = posY > container["consolaNoticias"+i].fecha_txt.text = misVars["fecha"+i] > container["consolaNoticias"+i].titulo_txt.text = misVars["titulo"+i] > container["consolaNoticias"+i].contenido = misVars["contenido"+i] > container["consolaNoticias"+i].info_btn.onPress = function(){ > noticias._visible = 100; > noticias.noticiasEXTENDIDAS.noticias_txt = this._parent.contenido > > } > posY = posY +60 > > > > } > > > } > > > > > - Original Message - > From: "Ian Thomas" <[EMAIL PROTECTED]> > To: "Flashcoders mailing list" > Sent: Wednesday, March 29, 2006 3:52 PM > Subject: Re: [Flashcoders] "+" simbol issue help > > > > Are you using an embedded font? > > > > If so, have you remembered to add the + symbol to the list of embedded > > characters? > > > > HTH, > > Ian > > > > On 3/29/06, Alfredo Laguia <[EMAIL PROTECTED]> wrote: > > > >> hi there > >> what can i do to show "+" symbol in a dynamic textfield?? > >> > >> i take the data from an asp and calling the asp throw the explorer > >> i can see the content data without issue. > >> > >> > >> thx for help! > > ___ > > 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] PrintJob causes Abort Script error message.
Steven Sacks wrote: I have explained in detail the source of your problem. If you choose not to take the advice given to you by coders who know more than you about the subject at hand, then why post a question to the list? You are doing yourself and your client a disservice with your blame Macromedia attitude and finger pointing. It's not the end of the world. Your code simply does not take into account a synchronous call. That is not PrintJob's fault. That is not the Flash player's fault. You should fix your code now that you understand why it's breaking. The fact is, there's a real solution to your problem. Whether you realize it or not, you have already admitted that it is your code that is to blame. You have stated twice now that the application is a real-time trading system. In all likelihood, this means you have intervals running and all kinds of parsing and drawing going on most of the time. The exact kind of processes that would go haywire should Flash have to make a synchronous call with an indeterminate response time. PrintJob makes a synchronous call and Flash is single threaded. All your real-time stuff is reacting to the synchronous call. When a user presses the print button, you need to put a halt on new processes, wait for currrent processes to complete and then start the PrintJob. If it's going to take more than 250ms, throw up a window that says something like "Preparing to print". Upon completion of the PrintJob, you need to resync with the server immediately, and should probably put up a window that says something like "Sending data to printer" until the application is all caught up. Your SLI injection to increase the timeout as a solution is irreponsible. It is a heavy-handed technique fraught with potential problems far worse than your printing one and it doesn't actually solve the problem, it just masks it, and poorly. I wouldn't go live with that. "Do the right thing." - Spike Lee I would suggest setting the timeout to 7200 seconds and then test it to see what happens if you leave it sitting over lunch. Please warn us when you are going to do this, since from the tone of the conversation, there is some sense that this will cause the end of civilization as we know it. I suspect that the impact will be considerably less and the users of the application may be able to deal with any repercussions by changing their reaction to a dialogue box - it should not be taken as an invitation to go for a coffee. If Macromedia feels OK about the single threading issue, we have to cut ourselves some slack about dealing with it. It certainly is a cautionary note to designers of new applications that you should consider designing in some way to easily shutdown all of the animation and communication functions while setting up a print job. The effect on a communication link of an extended timeout might be one of the problems that you encounter since the other end might decide that you have died over lunch and cut its end. If you are re-establishing the link (authorization???) on each data transfer, this may not be a problem. Ron Ron ___ 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] "+" simbol issue help
yes i added the symbol in the list and i did everything that i do allways the code is simple: * misVars = new LoadVars() var cantidad:Number misVars.onLoad = function(success){ if(success){ //trace(misVars) cantidad = misVars.cant montoDatos() trace(misVars["titulo"+3]) } else{ trace("error al cargar los datos") } } misVars.load("http://www.inaltia.es/demo/loadInfoNoticias.asp";, GET) var posY = 60 montoDatos = function(){ for(var i= 0; i- Original Message - From: "Ian Thomas" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" Sent: Wednesday, March 29, 2006 3:52 PM Subject: Re: [Flashcoders] "+" simbol issue help Are you using an embedded font? If so, have you remembered to add the + symbol to the list of embedded characters? HTH, Ian On 3/29/06, Alfredo Laguia <[EMAIL PROTECTED]> wrote: hi there what can i do to show "+" symbol in a dynamic textfield?? i take the data from an asp and calling the asp throw the explorer i can see the content data without issue. thx for help! ___ 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] "+" simbol issue help
If you're using embedded text and you haven't embedded that character, it won't show up... Jim Kremens On 3/29/06, Danny Kodicek <[EMAIL PROTECTED]> wrote: > > what can i do to show "+" symbol in a dynamic textfield?? > > There should be no issues with that - can we see your code? > > Danny > > > ___ > 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 > -- Jim Kremens ___ 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] "+" simbol issue help
Are you using an embedded font? If so, have you remembered to add the + symbol to the list of embedded characters? HTH, Ian On 3/29/06, Alfredo Laguia <[EMAIL PROTECTED]> wrote: > hi there > what can i do to show "+" symbol in a dynamic textfield?? > > i take the data from an asp and calling the asp throw the explorer i > can see the content data without issue. > > > thx for help! ___ 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] "+" simbol issue help
what can i do to show "+" symbol in a dynamic textfield?? There should be no issues with that - can we see your code? Danny ___ 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] "+" simbol issue help
hi there what can i do to show "+" symbol in a dynamic textfield?? i take the data from an asp and calling the asp throw the explorer i can see the content data without issue. thx for help! ___ 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] PrintJob causes Abort Script error message.
I asked for a workaround or a kludge, knowing full well what the issues are. Luckily a kind person who knew more than me about the matter in hand suggested one. I have over 20 years of programming experience including at assembler level, advanced Java, etc, but thanks for trying to put me in my place :-) --- On Wed 03/29, Steven Sacks < [EMAIL PROTECTED] > wrote: From: Steven Sacks [mailto: [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Date: Wed, 29 Mar 2006 05:03:37 -0800 Subject: RE: [Flashcoders] PrintJob causes Abort Script error message. I have explained in detail the source of your problem. If you choose not totake the advice given to you by coders who know more than you about thesubject at hand, then why post a question to the list? You are doingyourself and your client a disservice with your blame Macromedia attitudeand finger pointing.It's not the end of the world. Your code simply does not take into accounta synchronous call. That is not PrintJob's fault. That is not the Flashplayer's fault. You should fix your code now that you understand why it'sbreaking. The fact is, there's a real solution to your problem.Whether you realize it or not, you have already admitted that it is yourcode that is to blame. You have stated twice now that the application is areal-time trading system. In all likelihood, this means you have intervalsrunning and all kinds of parsing and drawing going on most of the time. Theexact kind of processes that would go haywire should Flash have to make asynchronous call with an indeterminate response time.PrintJob makes a synchronous call and Flash is single threaded. All yourreal-time stuff is reacting to the synchronous call. When a user pressesthe print button, you need to put a halt on new processes, wait for currrentprocesses to complete and then start the PrintJob. If it's going to takemore than 250ms, throw up a window that says something like "Preparing toprint". Upon completion of the PrintJob, you need to resync with the serverimmediately, and should probably put up a window that says something like"Sending data to printer" until the application is all caught up.Your SLI injection to increase the timeout as a solution is irreponsible.It is a heavy-handed technique fraught with potential problems far worsethan your printing one and it doesn't actually solve the problem, it justmasks it, and poorly. I wouldn't go live with that."Do the right thing." - Spike Lee> -Original Message-> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of [EMAIL PROTECTED]> Sent: Wednesday, > March 29, 2006 4:40 AM> To: flashcoders@chattyfig.figleaf.com> Subject: Re: > [Flashcoders] PrintJob causes Abort Script error message.> > > >> Danny > Kodicek...I think I remember you from my Director > days, so long ago.That's > me. And I remember that you were a > bit belligerent then too ;)Danny > > > > Ahh yes, the old Direct-L days... sigh.> > Update: that hack gets it up to > about 1 min 20 before the > alert appears instead of around 20 secs. Not > ideal, but what the heck.> > I can't "fix" code which ain't broken. 50,000 > lines of real > time trading system works perfectly. One call to PrintJob and > > it all goes horribly wrong. Its a Flash Player / PrintJob > issue.If > Macrobe want Flash to be taken seriously as an RIA > platform issues such as > this need to be fixed before > Microsoft gets us all writing C#.> > > ___> Join Excite! - http://www.excite.com> The most personalized portal on the Web!> > > ___> 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://[EMAIL PROTECTED] change your subscription options or search the archive:http://chattyfig.figleaf.com/mailman/listinfo/flashcodersBrought to you by Fig Leaf SoftwarePremier Authorized Adobe Consulting and Traininghttp://www.figleaf.comhttp://training.figleaf.com ___ Join Excite! - http://www.excite.com The most personalized portal on the Web! ___ 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