RE: [Flashcoders] Slowing down the action (problem with a pause)
André, Thanks for the ideas... this worked perfectly! I pre-processed the data (extracted only those coordinates from the full data-set that are acted upon during this each draw to avoid delay before and after the interval), and then fed the global array to the interval which clears itself once all data has been exhausted from the temporary [global] array. Ville -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of André Goliath Sent: Saturday, June 10, 2006 02:45 To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Slowing down the action (problem with a pause) What you are now seeing should be like the graph appearing all at once after some "thinking time", e.g. it blocks other animations/code exectuion during this for-loop (Unless I´m not up-to-date with the screen-refresh-behaviour of the MovieClip.lineTo-method) Now adding a while-loop will only increase the time needed to execute the whole for-loop, but it will not change the fact that the screen is refreshed after all your code has processed, e.g. the whole graph has been drawn. An Interval will get around this issue, because it will not block any other code running (it´s asynchronous to your other timelines), and will update the screen after every execution. Thus it´s the only way to make the graph look like beeing drawn. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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 loading xml in html embed tag
Loading XML in the HTML Embed Tag What I am doing: I have a dynamic MP3 player that I need to play a single MP3 per swf. I need to load XML file from a link in the html embed tag, this way I can use the same player for different XML files that call out each MP3 from dynamic locations. How it works now: Right now I am loading the XML with the path coded into an action script file. // playlist variables private var playlistURL:String = "playlist.xml"; private var playlistObj:jwPlaylist; private var playlistArray:Array; What I need help with: I need to create a flashvar that will load in the XML dynamically from a link in the Embed tag. How do I get the action script to detect and load the variable in the Embed tag? I am looking for the code that you put in the ebed tag and the code that accepts it in the actionscript file. I just need a small push in the right direction. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Flash Debugging Tool
Yeah, i'm in the same boat with Xray - how much more time do I spend on it? how long do I keep the as2 version updated with the as3 version etc? I'm already looking at porting the connector over to AS3, but there's alot of learning that has to happen first. There's a fairly different approach in some aspects and there are new features tools to do things that xray and your debugger do. new layout tools, new components, new classes for logging - there's lots to dig into ;) I'm going to look at those other apps you posted. With as3 around the corner, I may not want to spend time on it. Just need a mac beta of flex 2 :( a ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Stretching Designs - Coded?
Attachment was stripped, can you send to [EMAIL PROTECTED] & I will post along with mine :) a On 6/11/06 11:15 AM, "Mike Britton" <[EMAIL PROTECTED]> wrote: > Aaron, thanks for putting together that example. I made an example of > keeping an element in the center of the Stage using zmc_tween along > with your technique, something I started doing to add a little depth > when the user resizes. Just eye candy. The attachment is your > example with zmc_tween being used on another clip on stage. > > 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] Stretching Designs - Coded?
Aaron, thanks for putting together that example. I made an example of keeping an element in the center of the Stage using zmc_tween along with your technique, something I started doing to add a little depth when the user resizes. Just eye candy. The attachment is your example with zmc_tween being used on another clip on stage. 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] Flash Debugging Tool
On the console side, it would be easy to implement a filtering mechanism that would let you sort by keywords, or even search for your own. But as it stands, there is no support for additional flags. There is an extra object that I set up as a parameter to the broadcaster, metaData, but was never implemented. I knew I would want to expand it, but didn't actuallly know what for at the time. I figured I would eventually pass in additional flags, possibly for filtering messages on their importance, or revelance to a specific bug. One idea I had, was that if I knew a bug was contained to a certain set of classes (external I/O classes for instance) then I might be able to type in keywords to that broadcasters' constructor's metadata object, that I could sort by on the console side. So, if I started seeing an issue with the I/O in my app, I could open the console, type I/O in my custom filters and then pull up any related error messages being generated. I suppose we could register methods in some way through the metadata, then on the console side, allow the user to sort by any of the active registered sub-broadcasters. I'm going to look at those other apps you posted. With as3 around the corner, I may not want to spend time on it. Just need a mac beta of flex 2 :( a On 6/11/06 10:39 AM, "Weyert de Boer" <[EMAIL PROTECTED]> wrote: > No problem, is it easy to make that ident support using that listbox of > Flash? > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/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] Stretching Designs - Coded?
Threw together a quick example for you: http://lab-media.com/transfer/chattyfig/StageObject.fla.zip ;] A On 6/11/06 10:29 AM, "Aaron Buchanan" <[EMAIL PROTECTED]> wrote: > Hey Kev - > > This is achieved to listening to the Stage object. It's super simple. I > actually have a little snippet that I use over and over when I am gonna do > stage stuff. It's below, the formatting get's messed up here, so I'll post a > lil FLA example, if you like. Basically, I create 9 arrays of the basic > alignments that I generally use (ie top-left, top-right, bottom right, > etc..) And simply add an object to the respective array I want to target. > This object will have 3 parameters, the MovieClip that is the target, and a > var for xpaddign and ypadding that act as offsets to the given position. > > Take A Look. Here is the basic code, with no clips: > > /*Stage.onResize() listings > * > > * > *NOTE: Any clips that are moved due to an onResize event, are filed > into their respective arrays below > *as objects with three properties, _mc (the clip being > referenced), x and y padding. > *NOTE: To have a clip move with the stage, use this format: > {_mc:upperLeft_mc, xpadding:0, ypadding:0} > * > > */ > var TopLeft:Array= []; > var TopCenter:Array= []; > var TopRight:Array= []; > > var MiddleLeft:Array= []; > var MiddleCenter:Array= []; > var MiddleRight:Array= []; > > var BottomLeft:Array= []; > var BottomCenter:Array= []; > var BottomRight:Array= []; > > /*Stage.onResize() engine > * > > */ > var stageObj:Object = new Object(); > stageObj.onResize = function() > { > for(var i in TopLeft) {TopLeft[i]._mc._x = > 0+TopLeft[i].xpadding;TopLeft[i]._mc._y= > 0+TopLeft[i].ypadding; }; > for(var i in TopCenter) {TopCenter[i]._mc._x = > Stage.width/2+TopCenter[i].xpadding; TopCenter[i]._mc._y= > 0+TopCenter[i].ypadding; }; > for(var i in TopRight) {TopRight[i]._mc._x = > Stage.width+TopRight[i].xpadding; TopRight[i]._mc._y= > 0+TopRight[i].ypadding; }; > > for(var i in MiddleLeft) {MiddleLeft[i]._mc._x = > 0+MiddleLeft[i].xpadding;MiddleLeft[i]._mc._y= > (Stage.height/2)+MiddleLeft[i].ypadding; }; > for(var i in MiddleCenter) {MiddleCenter[i]._mc._x = > Stage.width/2+MiddleCenter[i].xpadding; MiddleCenter[i]._mc._y= > (Stage.height/2)+MiddleCenter[i].ypadding; }; > for(var i in MiddleRight) {MiddleRight[i]._mc._x = > Stage.width+MiddleRight[i].xpadding; MiddleRight[i]._mc._y= > (Stage.height/2)+MiddleRight[i].ypadding; }; > > for(var i in BottomLeft) {BottomLeft[i]._mc._x = > 0+BottomLeft[i].xpadding;BottomLeft[i]._mc._y= > (Stage.height)+BottomLeft[i].ypadding; }; > for(var i in BottomCenter) {BottomCenter[i]._mc._x= > Stage.width/2+BottomCenter[i].xpadding; BottomCenter[i]._mc._y= > (Stage.height)+BottomCenter[i].ypadding; }; > for(var i in BottomRight) {BottomRight[i]._mc._x = > Stage.width+BottomRight[i].xpadding; BottomRight[i]._mc._y= > (Stage.height)+BottomRight[i].ypadding; }; > }; > > Stage.addListener(stageObj); > stageObj.onResize(); > > > On 6/11/06 4:29 AM, "Kevin Cannon" <[EMAIL PROTECTED]> wrote: > >> Hi there, >> >> I've seen a couple of design occasionally (like thefwa.com) that dynamically >> stretch and adjust with the width of the browser and the content. >> >> How is that kind of thing done? I know you can achieve some interestin >> gthings >> with scaleMode and Stage.align but I'm guessing something more complex is >> going on here. >> >> I want to create a header banner, that fits into a flexible width site, so it >> needs to stretch with the page. The height will stay the same, and there's >> some design elements that should be locked left, and some locked right. >> >> Could anyone point me in the right direction. I've not had much trouble with >> google since i'm not entirely sure what the correct terms for this are. >> >> Thanks! >> >> - Kevin >> ___ >> Flashcoders@chattyfig.figleaf.com >> To change your subscription options or search the archive: >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> >> Brought to you by Fig Leaf Sof
Re: [Flashcoders] Flash Debugging Tool
No problem, is it easy to make that ident support using that listbox of Flash? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Stretching Designs - Coded?
Hey Kev - This is achieved to listening to the Stage object. It's super simple. I actually have a little snippet that I use over and over when I am gonna do stage stuff. It's below, the formatting get's messed up here, so I'll post a lil FLA example, if you like. Basically, I create 9 arrays of the basic alignments that I generally use (ie top-left, top-right, bottom right, etc..) And simply add an object to the respective array I want to target. This object will have 3 parameters, the MovieClip that is the target, and a var for xpaddign and ypadding that act as offsets to the given position. Take A Look. Here is the basic code, with no clips: /*Stage.onResize() listings * * *NOTE: Any clips that are moved due to an onResize event, are filed into their respective arrays below *as objects with three properties, _mc (the clip being referenced), x and y padding. *NOTE: To have a clip move with the stage, use this format: {_mc:upperLeft_mc, xpadding:0, ypadding:0} * */ var TopLeft:Array= []; var TopCenter:Array= []; var TopRight:Array= []; var MiddleLeft:Array= []; var MiddleCenter:Array= []; var MiddleRight:Array= []; var BottomLeft:Array= []; var BottomCenter:Array= []; var BottomRight:Array= []; /*Stage.onResize() engine * */ var stageObj:Object = new Object(); stageObj.onResize = function() { for(var i in TopLeft) {TopLeft[i]._mc._x = 0+TopLeft[i].xpadding;TopLeft[i]._mc._y= 0+TopLeft[i].ypadding; }; for(var i in TopCenter) {TopCenter[i]._mc._x = Stage.width/2+TopCenter[i].xpadding; TopCenter[i]._mc._y= 0+TopCenter[i].ypadding; }; for(var i in TopRight) {TopRight[i]._mc._x = Stage.width+TopRight[i].xpadding; TopRight[i]._mc._y= 0+TopRight[i].ypadding; }; for(var i in MiddleLeft) {MiddleLeft[i]._mc._x = 0+MiddleLeft[i].xpadding;MiddleLeft[i]._mc._y= (Stage.height/2)+MiddleLeft[i].ypadding; }; for(var i in MiddleCenter) {MiddleCenter[i]._mc._x = Stage.width/2+MiddleCenter[i].xpadding; MiddleCenter[i]._mc._y= (Stage.height/2)+MiddleCenter[i].ypadding; }; for(var i in MiddleRight) {MiddleRight[i]._mc._x = Stage.width+MiddleRight[i].xpadding; MiddleRight[i]._mc._y= (Stage.height/2)+MiddleRight[i].ypadding; }; for(var i in BottomLeft) {BottomLeft[i]._mc._x = 0+BottomLeft[i].xpadding;BottomLeft[i]._mc._y= (Stage.height)+BottomLeft[i].ypadding; }; for(var i in BottomCenter) {BottomCenter[i]._mc._x= Stage.width/2+BottomCenter[i].xpadding; BottomCenter[i]._mc._y= (Stage.height)+BottomCenter[i].ypadding; }; for(var i in BottomRight) {BottomRight[i]._mc._x = Stage.width+BottomRight[i].xpadding; BottomRight[i]._mc._y= (Stage.height)+BottomRight[i].ypadding; }; }; Stage.addListener(stageObj); stageObj.onResize(); On 6/11/06 4:29 AM, "Kevin Cannon" <[EMAIL PROTECTED]> wrote: > Hi there, > > I've seen a couple of design occasionally (like thefwa.com) that dynamically > stretch and adjust with the width of the browser and the content. > > How is that kind of thing done? I know you can achieve some interestin gthings > with scaleMode and Stage.align but I'm guessing something more complex is > going on here. > > I want to create a header banner, that fits into a flexible width site, so it > needs to stretch with the page. The height will stay the same, and there's > some design elements that should be locked left, and some locked right. > > Could anyone point me in the right direction. I've not had much trouble with > google since i'm not entirely sure what the correct terms for this are. > > Thanks! > > - Kevin > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/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 Authoriz
Re: [Flashcoders] Flash Debugging Tool
One feature of the tool is that while you are developing in flash, you can toggle each broadcaster's trace output and an optional parameter to the constructor. If you set it to true, your broadcast messages will appear in the output panel, prefixed by the "channelName: Message...", if you set it to false, it will not trace anything in flash, but you can still catch those messages in the console. Thanks for your positive feedback guys! Being a lone gun, it's nice to get input from others! A On 6/11/06 4:09 AM, "Weyert de Boer" <[EMAIL PROTECTED]> wrote: > John Grden wrote: >> Yeah that's cool Aaron, I dig the concept. So basically, its a logger >> with >> filters that's really lightweight and is just listening for any swf >> sending >> it log data, is that about right? > Yes, his debugging tool is really nice. It's similar to the tool I > always use in Delphi or VS.NET for debugging purpose, that application > is really sweet. Check it out at: > > http://www.raize.com/DevTools/CodeSite/VS.NET/Default.asp or > http://www.remobjects.com/page.asp?id={BBF91784-8FC3-4192-A6CD-32AA4A0A252C} > > Of course, with the upcoming AS3 and his binary sockets I would be able > to use that application too from inside Flash. Because CodeSite or > DebugServer can receive messages through TelNet for example. > > The indented messages tree like seen in the screenshot of CodeSite might > be of use for Aaron tool too, this way you can indent message which > belogn to a specific method. CodeSite have special methods for it > beginMethod() and endMethod(). >> PS> again, I dig how lightweight this seems - a simplified UI can >> never be >> under estimated in it's affect on how the user feels about using it. I >> could easily see people opting for something like this, where as Xray >> seems >> a bit overwhelming, know what I mean? > Yes, it looks difficuilt that's why I am gonna look at it later today, > to really "dig" it. > > > Yours, > Weyert de Boer > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Flash Debugging Tool
Wow, that would be such an awesome feature! On 6/11/06 4:09 AM, "Weyert de Boer" <[EMAIL PROTECTED]> wrote: > this way you can indent message which > belogn to a specific method. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Text link on hover
Hello elibol, Will your function (class?) be For Flash 8 only (as bitmapData was mentioned)? I think this all can be done flash 7 compatible. Well, I'm very interested. If you'll need some help with testing and/or making a component for non-programmers, don't hesitate to email me. -- Best regards, GregoryN http://GOusable.com Flash components development. Usability services. > --- elibol wrote: > It accually doesn't use any extra textfields, it stores the htmlText value > of a textfield and gets the coordinates, it then resets the tf to the > original value. I am thinking of making this a subroutine; assigning a > textfield some value dynamically would be done through a special function > that gathers spacial data before assigning the value. > > Right now the the total operation is written in 300 lines of algorithmic > code. I am frequently coming up with optimizations, so this number is > droping... I will make it open source when it's finished because I > finddevelopers and designers are often upset about not being able to measure > rendered textfields. > > I figure this can be used for more than just text hover states. This will > get you a rectangle of text, and it will also get you line metrics so I am > thinking it will allow for some creative possibilities with typographic > animation. It could be that a function defines the rectangle of all letters > in a sequence for use with just words or short sentences. I suggest words > and short sentences as any large body of text would cost too much in system > resource with too many rectangles =] > > The dude at quasimondo.com tried mimicking the getLineMetrics function from > Flex using bitmapData and getColorRect to measure the width of lines. It > fails with custom anti aliasing, maybe even anti aliasing for animation. For > some reason converting anti aliased text to bitmap data results in a blank > bitmapData object... > > I wanted to run with his code but I found that it became far too elaborate > as I was having to put the textfield in movieclips to get it to convert to > bitmap data. This solution would fail too when image tags are used. > > It's a great theoretical solution but not a good practical solution. > > On 6/10/06, GregoryN <[EMAIL PROTECTED]> wrote: >> >> Hello elibol, >> >> > Were your textfields multiline? >> No, they were just a row of links. >> >> What you're trying to do is really interesting :-). >> >> As I can guess, to work with non-monospace fonts, your getWordRect >> function should be quite smart... >> >> Also, the only way I can imagine so far (in about 15 min) must >> probably use a lot of duplicate textfields to get all these >> dimensions. >> >> What do you think, how often the need for hover event in html text >> arises? >> >> >> -- >> Best regards, >> GregoryN >> >> http://GOusable.com >> Flash components development. >> Usability services. >> >> >> > --- elibol wrote: >> > Hi Greg, >> > >> > Yea, really is funny... Were your textfields multiline? >> > >> > I've tried the img tag solution, the problem is that it does not snuggle >> > between text, the tag must be either left or right justified so it's >> never >> > where it should be. >> > >> > So far I've built a function that gets the x/y ( relative to textfield ) >> and >> > w/h of a string from a textfield. >> > >> > getWordRect(textField, searchString) >> > >> > This returns a rectangle object that describes the word rectangle. I am >> > planning to use this with a mouse hotspot class I've written a while >> ago. >> > This will allow me to pass the rectangle objects and create a hover >> entity >> > that will broadcast the entity {id,x,y,w,h} to the hover event handler. >> > >> > It's pretty fricken elaborate. I think this functionality will be useful >> as >> > Flex does not even support these kinds of functions so I will post this >> > stuff on my site soon. >> > >> > I plan to implement a getLineMetrics style function as the base code >> that >> > the getWordRect is driven with will allow me to do this relatively >> easily. >> > >> > I plan to build a sub function of getWordRect that will get all word >> > rectangles of a searchString. >> > >> > Word to the Adobe developers, I think this is functionality the >> TextField >> > class in Flex should implement. >> > >> > I also think htmlText for TextField Objects should have a realtime DOM. >> > >> > M. >> > >> > On 6/9/06, GregoryN <[EMAIL PROTECTED]> wrote: >> >> >> >> well, >> >> >> >> The only solution I can suggest (and I've used it several times) is to >> >> make each of your links embedded into separate mc. >> >> >> >> But I was making just quite short html texts dynamically at runtime. >> >> >> >> Depending on situation you may have to embed an SWF within IMG tag and >> >> use some kind of flashvars to set it's behavior . >> >> Funny, isn't it? >> >> >> >> ___
Re: [Flashcoders] Stretching Designs - Coded?
"How is that kind of thing done? I know you can achieve some interestin gthings with scaleMode and Stage.align but I'm guessing something more complex is going on here." No - that's about it really. Just make sure your flash is embedded with 100% width so the stage does actually change size with the browser. //Set your movie up like: Stage.align = "TL"; Stage.scaleMode = "noScale"; //Add a listener so things get adjusted when the stage is resized var stageListener = new Object(); stageListener.onResize = function(){ alignContent(); } Stage.addListener(stageListener); //Use Stage.width to get the width of your stage (and Stage.height if needed). //When you want to align movieclips use: function alignContent(){ myMC._x = Stage.width; } Depending on how your MCs are set up, you may have to do some adjusting like: myMC._x = Stage.width - myMC._width - 50; Left aligned items don't really need anything. On 6/11/06, Kevin Cannon <[EMAIL PROTECTED]> wrote: Hi there, I've seen a couple of design occasionally (like thefwa.com) that dynamically stretch and adjust with the width of the browser and the content. How is that kind of thing done? I know you can achieve some interestin gthings with scaleMode and Stage.align but I'm guessing something more complex is going on here. I want to create a header banner, that fits into a flexible width site, so it needs to stretch with the page. The height will stay the same, and there's some design elements that should be locked left, and some locked right. Could anyone point me in the right direction. I've not had much trouble with google since i'm not entirely sure what the correct terms for this are. Thanks! - Kevin ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Accordian class
After what's felt like years of having :Accordian show up in code hinting I decided to see what it was. No surprise there, it's an accordian menu. Luck has it that I am working on a project which needs an Accrodian menu...but it seems as if I can only use it if I use the component? Correct me if I'm wrong and, if I am, are there any good examples out there of how to use it? I've made these kinds of menus in the past and most likely will end up making my own again, but I was curious to hear more about the built in Accordian class. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Stretching Designs - Coded?
Hi there, I've seen a couple of design occasionally (like thefwa.com) that dynamically stretch and adjust with the width of the browser and the content. How is that kind of thing done? I know you can achieve some interestin gthings with scaleMode and Stage.align but I'm guessing something more complex is going on here. I want to create a header banner, that fits into a flexible width site, so it needs to stretch with the page. The height will stay the same, and there's some design elements that should be locked left, and some locked right. Could anyone point me in the right direction. I've not had much trouble with google since i'm not entirely sure what the correct terms for this are. Thanks! - Kevin ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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 diff
The browser should (and does) cache images so the second time around stuff should be faster...but I can't trust that it will be seamless. The other part of this is that in a lot of cases nothing will change in the xml except for the selected option having a selectedState="true" attribute. In cases like hat all I need to do is change the option's visual state. The interesting thing about the images for each option is that they are actually defined in a seperate xml file I am mapping to the unique IDs returned by the tool. So if I know that nothing changed in a given node then I'll just skip over it, skipping reloading the image, updating any rollover description, etc. Its the options that get added or dissapear that I am concerned about. -Original Message- From: [EMAIL PROTECTED] on behalf of Julius - XK Sent: Sat 6/10/2006 11:11 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] XML diff Doesn't the browser cache images? I've never had a problem with performance reloading anything. Have you tried just letting it all reload? Another thing you could do is just check to see if the path is the same as the previous, if it is then skip loading a new image.. - Original Message - From: "Howard Nager" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" Sent: Saturday, June 10, 2006 4:30 PM Subject: [Flashcoders] XML diff I have an upcoming project and am trying to figure out how to do what would best be described as a diff on a xml file. For example, here would be the initital xml: ... The way the system works is that all of the logic is handled server side. So when the user selects an option it hits the server and gets back another xml file with an updated price and more or less options depending on whatever rules came in to play. The front end was originally an html page which would redraw itself with every interaction. If I were to just emulate that model I would grab the new xml and redraw the menu within my flash movie with every selection. The issue with that is that each option has an associated thumbnail image loaded externally and redrawing hte menu would mean reloading all of those. I would rather look at the new and old xml files side by side and see what changed so that I could leave anything that didnt change alone. Any ideas on 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 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] UML to AS2.0 classes ...
Hello all, I have searched the flashcoders archive for around 20 mins and couldn't find exactly what I need, so here is my question. Can anyone recommend, or does anyone know of, a tool for creating UML diagrams that will export a set of AS2.0 classes from said UML diagram. >From what I have found by googling, it would appear that the options are as >follows: (1) gmodeler.com (2) ArgoUML (or such UML tool) and osflash.org/xmi2as (3) Enterprise Arhcitect (or such UML tool) and osflash.org/xmi2actionscript Can anyone add to this or recommend one of the mentioned options ? Thanks, Stephen.___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Flash Debugging Tool
John Grden wrote: Yeah that's cool Aaron, I dig the concept. So basically, its a logger with filters that's really lightweight and is just listening for any swf sending it log data, is that about right? Yes, his debugging tool is really nice. It's similar to the tool I always use in Delphi or VS.NET for debugging purpose, that application is really sweet. Check it out at: http://www.raize.com/DevTools/CodeSite/VS.NET/Default.asp or http://www.remobjects.com/page.asp?id={BBF91784-8FC3-4192-A6CD-32AA4A0A252C} Of course, with the upcoming AS3 and his binary sockets I would be able to use that application too from inside Flash. Because CodeSite or DebugServer can receive messages through TelNet for example. The indented messages tree like seen in the screenshot of CodeSite might be of use for Aaron tool too, this way you can indent message which belogn to a specific method. CodeSite have special methods for it beginMethod() and endMethod(). PS> again, I dig how lightweight this seems - a simplified UI can never be under estimated in it's affect on how the user feels about using it. I could easily see people opting for something like this, where as Xray seems a bit overwhelming, know what I mean? Yes, it looks difficuilt that's why I am gonna look at it later today, to really "dig" it. Yours, Weyert de Boer ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com