ActionScript 1/2 :: Multiple Ways To Skin A Cat In Excel?
Jun 29, 2011
One thing i've learned in VBA, is there are multiple ways to skin a cat in Excel. I want this:
Only, I'm rather frustrated with trying to convert my AS1 coded template into the AS3 for the day. So I'm guessing I can't use the UiLoader like in the video unless i'm missing some checkbox somewhere.
Any one now how to do the similar thing only using AS1 and in "for dummies" language please?
So far this community rocks with the feedback and help. I'm sure some genious knows.
View 2 Replies
Similar Posts:
Dec 13, 2011
I want a user to press an excel button and get prompted to download an excel file. I normally do it like this:
var dest:String = excelEndpoint;
var request:URLRequest = new URLRequest();
request.url = dest;
fr.download( request,'Locates.xls' );
fr.addEventListener(HTTPStatusEvent.HTTP_STATUS, handleStatus);
fr.addEventListener(IOErrorEvent.IO_ERROR, handleErr);
[Code]...
View 2 Replies
Oct 8, 2010
I have an AIR application with two DataGrids that I would like to export to Excel. I've found the as3xls library, but it can only handle one sheet (as per the comments). Ideally, I'd like to export both DataGrids into separate sheets in the same workbook.
The AIR application is running entirely on the user's desktop and doesn't have a connection to any server, so the solution would need to be Flex/AIR only.
View 1 Replies
Aug 4, 2011
I have created a simple mxml file with code as follows:
<s:application..........>
<s:BorderContainer>
<s:SkinnableContainer id="firstRow"/>
<s:SkinnableContainer id="secondRow"/>
<s:SkinnableContainer id="thirdRow"/>
</s:BorderContainer>
</s:application>
Now I want to apply different font size, font color and font type and background color on each row i.e each of the three skinnableContainers.Currently I have defined 3 different skin classes for each of row but I think this is a bad programing. I should create a single skin class for outermost container i.e BorderContainer and any how provide different fonts and background color to all the 3 child containers through that skin class. So, is it possible that I can create single skin class that can provide different decorations to each of the child container.
View 1 Replies
Mar 15, 2011
SkinParts are a great way to add event handlers and logic to an object that is instantiated in the skin, away from any business code. Often, though, I find myself wanting to do the opposite, and define parts that will be used in reusable, skinnable containers in the parent mxml files which will be inserted into the skinned containers.
What's the best practice for when you want to be able to define a control and a skin which can be reused with different controls inserted from outside the skin? Edit: A better way to put this might be that I want to use something that works a little bit like a SkinnableContainer, but that isn't limited to one area where content can be placed.
View 1 Replies
Jun 10, 2011
I'm using the default CS4 FLVPlayback skin, mainly the SkinOverPlayMute.swf. I know there's a skinAutoHide option, but because I don't want it to auto play, I want people to see a play button when they first encounter the video (so they don't think it's just an image). But the skin needs to hide when the video is actually playing (so the video doesn't get blocked by the controls).
In other works - when video isn't playing: skin showing; when video is playing: skin hide.
View 1 Replies
Feb 10, 2012
I extend Button to create ImageButton, and I extend ButtonSkin to create ImageButtonSkin. But, when I define hostComponent like this:
public var hostComponent:ImageButton
I get an error that there is a conflict with hostComponent:ButtonBase inside the ButttonSkinBase. How do I extend a skin AND provide a new hostComponent for it?
View 1 Replies
Feb 26, 2011
My client wants SteelExternalAll as the skin for her swf. It's not on the skinning menu in CS3. Is it possible to download it somewhere?
View 2 Replies
May 14, 2010
How can we embed the over,up,down etc skins defined as sybols in a .swf file... i mean in skin file how can i specify those symbols to be used as up,over,down skins.
View 1 Replies
May 3, 2009
I'm working on a small piece that involves a movieclip that scrolls slowly from the beginning on enterframe, but when a button is clicked it goes directly to a certain point on the x axis.
The first piece of it is here:[URL]..You'll see it's kind of wack right now, bc I can't figure this one issue out...
For the buttons I have this bit of code: (Where photo_mc is the movie clip i'm moving)
[Code]...
View 1 Replies
Aug 9, 2009
I am in a process of creating a preloader for my new website and i am stuck now since my preloader goes both ways instead from left to right.
The code i am using is:
[Code]....
View 2 Replies
Oct 14, 2010
I have a stage w/ 6 buttons that call movie clips. works to remove them when the "next" button is clicked. Now I need to have an additional option of clicking outside the buttons "on the backround" to remove the movie clips also.
PHP Code:
var fadeInstance:DisplayObject = null;
function openFade(fade:MovieClip, y:Number):void{
[code].....
View 4 Replies
May 27, 2009
I'm trying to make an animation possible to play in two different ways. The first one is to play animation from beginning to end without stopping The second one is an interactive way - something like slideshow made in powerpoint. My idea was to use gotoAndPlay() function with stop() function. It doesn't work the way as I expect. For instance - I've one animation made of 500 frames. It makes up some 10 slides. If I put after every 50 frames stop() function then it's impossible to play this animation from beginning to end without stopping because of stop(). How to handle this? It would be nice if there was a function to indicate to play between some frames. For example, start playing from 1 until 50, then stop. Then start playing from 52 until 100 and stop .... then from 450 to 500. Besides that from 1 to 500.
View 2 Replies
Sep 28, 2009
I have a 3D animation that is rendered to bmp frames.I have inserted the animations into a Flash doc.After editing, my final Flash movie/file is 20MB.what are the best ways of reducing or compressing the file size down to a resonable "web-ready" level? Around 8MB or lower
View 2 Replies
Oct 31, 2009
How to load images in as3:Load them all at once, for example like this (pseudo as3 code):
for each (var url:String in images){
loader.load(url);
}
[code].....
View 2 Replies
Jun 8, 2005
This should be very simple: I want to fade-in a Movieclip (called MC1) using Actionscript.I normally use this (and it works just fine):
[AS]
this.MC1._alpha = 0;
this.MC1.onEnterFrame = function()
{
[code]....
Well, even though I can see the alpha values decreasing step by step (throughout the "trace" instruction), the fact is that the MC does not fade-in at all, it's just starts at a 100% alpha value.How comes this illogical behaviour? The instruction "trace" shows what it should do, but Flash does not fade it in.
View 3 Replies
Jun 25, 2010
I work for the NPS, and they have an outdated CMS. I have no rights to upload an .html file, or edit one that the CMS makes. SO, I am forced to use their little deal to display my .swf files. url...I made an eHike in as3 Flash CS4. It has two scenes, the first scene is the preload, second is splash content and ehike content. The problem is I cant get the preloader to display in IE. I have all actionscript content exported to the second frame, as talked about here:[code]I have tried many different ways to load the preloader.there is a simple text field for the percentage, and a simple 100 frame animation. preloader_mc.[code]The CMS lets you decide in the popup window if it is resizeable or not. This works in IE (stopping people from resizing), but not in firefox, people can resize it. Is there any way to disable the resize in AS3? Again, I understand that your supposed to export the .html file with these settings, but I have no permissions to upload or create new .html files.
View 1 Replies
Jul 30, 2010
I have a 30 second long animation (18fps). Movie symbol 135 frames long which loop 4 times using countTextField/if/else etc. and then gotoAndStop on a static frame. According to the company that are posting it on their site, the animation doesn't stop.
Are there any other ways of completely stopping an animation?
View 1 Replies
Feb 9, 2011
I'm working on a big app. I need to enable back native keyboard shortcuts(e.g. CTRL+T opens new tab). e.isDefaultPrevented() called in handler returns false, but still when I press CRTL+T new tab is not opened. Is there some other way to disable keyboard shortcuts except e.preventDefault()?
View 1 Replies
Jan 13, 2010
I'm building a historical timeline app in Flash. The main feature will be an MC containing links to specific event in the history of an organization. The MC will scroll, and there will be a couple ways to scroll it. One type of navigation will be fwd/backward buttons, and I want them to work such that if the button is pressed and held, an MC containing links will scroll w/increasing speed (up to a limit), but if the button is clicked, it will just move the MC a specified amt.
An example of what I want to accomplish can be seen it this HP timeline: [URL]
I think I could do this w/a MOUSE_UP eventListener
View 2 Replies
Sep 23, 2009
I'm trying to create a flash mmorpg and I don't know what would be the best way of creating a connection that would handle the movement of people.I was thinking of saving the data on the mySQL server but I don't think that that would be the best way of doing this.
View 1 Replies
May 25, 2003
i have a main-movie with a movieclip called "area", into this movieclip is loaded an external movie.swf
a clip inside this movie.swf has the below script
onClipEvent (enterFrame) {
_level0.area.displayfield = "hello"
[code].....
View 3 Replies
Feb 2, 2010
I've been playing around with some simple test animations using Arrays in various ways. One of them consists of 15 squares and I want them to grow and shrink as I mouse over them. I've gotten it to work with both Tween and onEnterFrame, but for some reason it will not work with setInterval. It's something to do with clearInterval. When I pass the i value to a new square the previous one stops where it is instead of continuing to grow and shrink. Tween and onEnterFrame don't have that problem at all. I've attached two fla files. The one using onEnterFrame works just fine. The setInterval one really doesn't work at all.
arrayTestOverEnter.fla
arrayTestOverInt.fla
View 2 Replies
May 16, 2011
Just a curious question. Apart from Graph API, is there any other way of delivering data to facebook from flash(as3).
View 3 Replies
Sep 5, 2010
ActionScript allows you to mark a variable as [Bindable], causing any changes to that variable to have immediate effect all over your application.How would you implement this feature in your favourite programming language?
View 1 Replies
Jan 11, 2012
I usually created a movieclip in flash and assign it to actionscript class(using export for actionscript method in its property panel) that exteds movieclip.but sometimes movieclip is just too heavy for that,is there any possible way to draw a sprite directly in flash(not by code),and control it in actionscript-3
View 4 Replies
Jul 20, 2009
Ive got some high level questions about vector graphics. From what I understand, when you draw stuff in the Flash IDE, you are creating vector graphics. Is there any way to view the actual XML (or whatever code) that is generated 'under the hood' ? Is there any way to save the drawing as a .SVG file or something? Ive looked at a few free SVG drawing tools, but I'm wondering why not just use Flash directly, instead of creating my vector drawing in a separate program, and then trying to import it ?
Im thinking of different ways to build maps/levels for my flash game, and right now I'm thinking that building the levels out of vector shapes seems to offer the best features in terms of fast/easy collision detection, fast map creation, small level size, etc.The problem is, once I draw a level in Flash, how do I break the individual shapes apart (rectangles, lines, circles, whatever), into useable pieces I can use in the code? For example suppose I simply draw a big rectangle for a super-simple level. How do I grab the coordinates of the corners for use in my actionscript code? And how do I determine that the shape is a rectangle, and not a general polygon or just an unclosed set of lines?
For example I imagine the SVG code for a rectangle looks something like this:RECT 120, 60, 400, 500
But where can I grab that text from using actionscript, If I drew that rectangle in the flash authoring tool?
View 9 Replies
Apr 4, 2010
i'd like to create a single movieclip that responds to the same input (mouse click) in two different ways: if playhead is on frame labeled "one" go to frame labeled "two", otherwise if playhead is on frame labeled "two" go to frame labeled "one". i've tried if/else and switch statements with no success - what's a good approach to doing this?
View 1 Replies
Nov 28, 2011
My new project consists in setting a CD containing a structured data sheet (CVS, XML or Excel) and a serach engine. The idea is to allow the user (even not connected) to make searches live on the CD. There will also be a up-to-date version of the data on internet so if the user is connected, the application will prioritary load the online data.I was thinking at using ACTIONSCRIPT and XML.My questions are:1- Is ActionScript + XML a good choice?2- Is it possible to think at PHP + XML (so how to embed PHP on a CD without a sever?)
View 1 Replies
Jun 10, 2009
Is there any way to export the data from Flash to Excel.
Can anyone give me the reply for this solution.
View 8 Replies