Hello.
I would like to know if there's a way to see an image on the Web browser on a FLEX application but not uploading it first to the web server but just doing something like a buffer or something on FLEX, ActionScript, or Flash.
Sounds weird but there has to be a way...
Thanks
...
I have a Flex 3.2 application for which I am developing a custom style. Basically the first stylesheet gets applied first, and then my custom stylesheet. I am wondering how I can completely empty a value set in the first stylesheet with a value set in the second. The value has to be blank because if the horizontal-center value is set ...
I have a 3D field with many MovieClips in it, and seems like the one last added is the one that overlaps others and not the one with highest z value.
Is there any property/function that sets z-index? (sorting children by z value seems too much like a hack).
A 3D engine that can place MovieClips will be helpful(but not one that requires ...
I have two points and I need to create a line that is perpendicular to the line they form. Also the intersection has to be 5 (units) away from the first point. I know how to get a perpendicular line but not how to get the point on the first line that is 5 units away from the first point.
...
Hi, I have an image gallery which loads a detail image, then draws a line next to the image on one side based on image dimensions. Clicking on the image returns one back to the main image thumbnail list, then clicking a thumb loads another image into detail holder. Everything works fine with it, except that the lines, rather than disap...
I've created a skin for my Flex 4 application. It has a header section, where I have a Label component with the text value being assigned to a Bindable string defined in the skin file itself.
<fx:Script>
<![CDATA[
[Bindable]
public var loginName:String = "Test";
]]>
</fx:Script>
How can I change this string val...
Hi,
After working in AS3, How to show just the last line of dinamic text (and more), I would like to know if it is possible to implement a fade in - fade out, or any other transition effect, to the dynamic text shown from the .txt external file, when the text changes on the movie.
TIA,
Pablo
...
it is possible to protect a .swf file from decompilation?
i've been reading about compiling class libraries in a .swc file for distribution without revealing the code - possibly selling it. however, there are .swf decompilers you can use to expose the code, and a .swc file is simply a .zip archive, so changing myswc.swc to myswc.zip wi...
Dear,
obj_mc.visible = false; not working on mac, work good on pc.
AIR \ AS3
...
I'm a noob to actionscript so this should be easy:
How do I delete leading characters from a string? I have a string that contains (at times) both numeric & non-numeric characters. If I want to delete all the leading 9's, how would I do that?
var testVar:String = '999998gjek74k';
I want the testVar to be 'gjek74k'.
So far, I have (t...
I'm developing a game, here is a screenshot:
http://img697.imageshack.us/img697/4415/85906798.jpg
I have a function in my main loop called moveShip that moves the player's ship if some buttons are pressed. The trouble is, some commands began to break it recently, such as removeChild(debriefingScreen), and I have no idea why. Also, firi...
I'm brand new to Flash (and game programming, really), but want to learn a bit of it. My overall learning project is to create a Monopoly clone in Flash. Unfortunately, I'm struggling to get over even my first hurdle - how to create the board graphically, and how then to deal with it in the code. So far, my thoughts are to break the boar...
I feel like every time I need to use TextField or anything else related in AS3, it becomes a giant mess of code just for a few lines.
I have tried using css as well for text but have encountered some issues where it isn't rendered the same on different servers/clients.
Are there any text handling libraries that I don't know of or some ...
I'm trying to play a 10 minute long video (h264/mp4) which is 39MB in size, after I call stream.play(fileURL) it doesn't start playback until its loaded around 12-16MB of the file (many many seconds later), I finally get onMetaData at this point too. Why doesn't it begin playback right away, or at least w/in a couple seconds? What can ...
this works for me, but does it look correct in terms of as3 best practices. is it correct to return null if it fails?
override public function addChild(child:DisplayObject):DisplayObject {
if(child is Screen) {
super.addChild(child);
return child;
}
return null;
}
...
I have a navigation of my site built in Flash, and now need to remember the state based on which page the user is on. I familiar with flash animation but not great at this sort of actionscripting. I am using the Greensock plugin for my animations. Can anyone point me in the right direction to do this?
...
Hi guys,
I am creating a AIR application in flex. I have a textArea having a string something like -
AAA BBB CCC DDD
QQQ WWW EEE SSS
KKPPP SSSL AAAS
I want this to save this into .txt file.
I am using -
file.save(output.text,"testFile.txt");
But its is saving everything in 1 line. When I open the file using notepad everything i...
I have created i class width I inherit from with u number of subclasses. Now i what to add different images to the subclasses. Since I'm new to Flash and AS3 i have some problems to complete this.
Blend.as
package com.jarsater.sthlmroast
{
import flash.display.MovieClip;
public class Blend extends MovieClip
{
pri...
Hi everyone!
I'm a new mem of as3. Today i make a work but i was stacked. pls help me:
My example:
• I have a Symbol in Library with linkage name: box_mc
import flash.display.MovieClip;
import flash.events.Event;
import Src.smoothAnimate;
var box_is:MovieClip = new box_mc();
box_is.name = 'box_na';
addChild(box_is);
var box_is:smooth...
Hi
I have a AS3 project, which shows a map (based on OSM) and prints some information on the map. Now I would like to have a thumbnail for this map.
I've tried http://www.bitpixels.com/ to generate a screenshot of the whole page, the problem is when bitpixels takes the screenshot, the map isn't fully loaded.
Is there a way to say some...