How can you get the height of the Text component that's been created dynamically from ActionScript. For instance, if you have something like:
var temp:Text = new Text;
temp.width = 50;
temp.text = "Simple text";
how to get height of temp?
Hi
I create some elements( UIComponents, mainly Panels) inside the “mx:Application name=”tst” “. I need to cleanup all those UIComponent’s on MouseClick event , using Actionscript. Is there any way I access the children elements of mx:Application ( I used
var totalChildren:Number = this[‘tst’].numChildren ;
but looks like it fails to access the children list).
Thanks
Palash
I got an fla file with nested movieclips. The "username" text box is present in a movieclip "login" which is included in another movieclip "member".
How to access the value of the textbox "username" in actionscript when a button is clicked(on(release) event ). the button is also present in the "login" movieclip
I can't post images yet:
http://i.imgur.com/7Kci5.jpg
Using Actionscript 3 I'm drawing multiple Shapes onto a MovieClip [top drawing]. The end result I need is the bottom drawing. I originally thought it would be simple to just merge the shapes and then find a way to draw a border around the end result but I can't seem to find any way of doing this.
Is this possible or is there a better way of trying to do this?
I want to take any Text sting and form from it text formed by particles in actionscript 3 (In flash \ flex) I see I need some lib for this. but all libs Ive seen do not have such functionalyty by default...
So I want to get something like this
So Is there any sych lib? or way of doing it with some lib?
Hi
how i display the coordinates of a random triangle in a graph which ranges from -10 to +10 in XY axis with the points like A(2,1) etc with arcs in each corner, in actionscript 2.0
I have an actionscript 2 application that I'd like to write automated UI testing for.
For example I'd like to simulate a mouse click on a button and validate that a movie-clip is displayed at the right position and in the right color... Basically, UI testing.
What are the best tools available or what is the desired approach?
In JavaScript there is the selenium framework which does a nice job. Any similar tool for flash?
Adobe flash: How to determine users CPU characteristics? (its mhz, its current ocupation) I need to know how fast is users computer now, and I have only 150 ms for it. How to do such thing in actionscript?
Hello all,
I am trying to create a screen cast for my new web app. I have just come across a great example of a screencast and I am wondering what is used to do this: Click on the video to play on this page.
I am impressed with the animation when the mouse is clicked and zooming into images from different angles.
Is this done with Actionscript or is there software that will make my life easier to do this?
Thanks all for any help
Hi, i want to make a facebook flash app. Now im trying to make it possible to invite your friends to the app. I want to do this from within actionscript without the user having to leave the app.
The ideal solution would be to make a custom interface show possible invites and then doing some URL request containing the friends id's
Anyone have any idea how to solve this or if its even possible ?
Since there is no way that you can make the flash object transparent, there needs to be some other means by which you can match the background. I thought of maybe creating a ActionScript/Javascript bridge, but I wonder if this is the route to take.
Do I have a better option?
I am using a SWC that was published from Flash CS3 in an Actionscript project in FlexBuider. The problem is that every time I make a change and re-publish the SWC the changes I made are not immediately recognized back in FlexBuilder.
In order to have newly published SWC recognized I have to remove the reference to the SWC from the library path and then add it back again. This is tedious.
Is there a better way?
e4x programming extension is native to Actionscript and makes sense to use it over Xpath or any other DOM interfaces. I would like to know
from flex community if they had any bad experiences like performance, etc, or any other gotchas.
What is the fastest way for a Adobe AIR program program to index all images on a users' computer?
Using Open Source ActionScript-3, MXML Libs and classes.
Fastest - Same pc configuration, different time (seconds)
To index - get a list of absolute links (like c://bla-bla/file ) and save them into file (index.txt)
All images (like JPEGs, PNGs)
so I have a Track system with some kind of protection. So to get some data from any URL you have to pass protection like this http://188.134.14.27/projects/cloudobserver/login and then (in browser) you can see some pages http://188.134.14.27/projects/cloudobserver/wiki/CloudObserverCMSSetup (if you havent passed login youll get no content)
so how to login and get data from page using flash/actionscript (btw I am triing to create an rss reader)?
I have a Flex/Actionscript 3 application that displays RSS feeds in a Text element. It strips out any HTML formatting present, but it's not handling HTML special entity codes properly -- it's rendering &mdash as the literal string instead of replacing it with an em-dash, etc. Is there any systematic way I can make it handle those codes properly, or am I going to need to manually replace those strings regex style?
I cannot afford the Creative Suite or Flex Builder but I would like to develop a commercial Flex/ActionScript AIR application. Is this a viable goal and are there robust tools out there that don't cost a small fortune?
Have others done this? What am I missing out on without Adobe's pricey software?
Hello all,
I am having an issue with an actionscript event that I am firing every time a flex componenet resizes. In the event, I am altering the height of the component (adding a bit of a buffer), which causes the event to loop in upon itself and continually add height to the component.
Is there an elegant way to have this event only fire once?
Just to confirm what I think I understand from reading about use of google APIs in RIAs (FLEX 4 and ActionScript) there is no way to connect to blogger API for example, directly from RIA because of google's crossdomain.xml file, right?
So if I want to use their APIs to get some data like content of my mailbox or list of posts on my blog I have to have some code running server side and RIA would just use that code as httpservice to collect data from google?
Or maybe I got it completly wrong?
Hello all,
I have two noobish questions about Flash, Actionscript, Flex etc.
1) With these technologies is it possible to create a simple web browser that can render websites?
2) Is it possible to run these technologies on the server side? I am guessing no as Flash requires a browser to run within?
Thanks all for any help