I am trying to load a swf(as3) into another As3 Swf with the Movieclip loader. After loading however Loader.width/loader.content.width returns an exaggerated value than the actual width of the swf being loaded. Any pointers on where to begin looking for the discrepancy?
Thanks in advance.
More Details (if it helps)
The swf being loaded...
Hi Freinds,
I am working on flex dasboards and charting stuff. Till now I have build them for static data only now I want to upgrade them to work for real time data where new data is continuosly sent to client (swf file) from server and it updates the same.
I am using Jruby with RoR.
Please share the links for any similar implementatio...
I recently realised that Actionscript and Javascript are both implementations of ECMA script. Now I'm wondering what this means in practice.
I have a Flex application written in Actionscript and I'm looking at porting parts of it to Javascript for use in AJAX apps. I have had virtually no exposure to JS so far (not counting occasional o...
Hi,
I'm using TweenMax to make all tweens, fade in a projet. Now my question is : is it possible to tween only linestyle from a Sprite ?
For example, something like that :
TweenMax.to ( my_sprite.graphics.lineStyle, 0.5, { tint : 0xFF0000 } );
Thank you.
...
Since flash doesn't allow keyboard input while in fullscreen mode I'm wondering if there is a workaround to that?
I have a flash that is going to run fullscreen in a browser and needs different kinds of keyboard input. I have read something about AIR, but I don't fully understand it and would like another way if thats even possible.
An...
Hey guys.
I'm an actionscript dude - I'm working on a papervision game.
I have an asset of which is 127 pngs in a sequence for an animation.
I can happily project this onto my papervision plane. Problem is, there is no transparency. I Can't use a BitmapFileMaterial as I have many pngs -
can anyone suggest how to do this.
Very very g...
I have some fairly large movieclips in the library which need to be dynamically loaded at runtime. I don't want to export them all in frame 1, because that would slow down initial loading of the movie.
I tried putting an instance of each of these clips later in the timeline where they wouldn't normally be encountered. When I then trie...
Ok
quite frustrated by Twitter search api for location based searches.
In the advanced search page you can specify 'near' a specific location and this 'near' parameter shows up clearly in the query string.
However, Twitter does not support the use of 'near' in the public search api.
Apparently you need to supply a geocode value.
Can ...
I have an asp page that loads a response " user=exists " everytime I try to update a database record (when of course the record already exists!)
How can I handle this response with AS3 in Flash?
...
I'm trying to find the correct event to listen for that will ensure that my component parameters are available for use so I can initialize my component.
Most examples I have seen online use Event.INIT attached to loaderInfo.
loaderInfo.addEventListener(Event.INIT, initHandler);
From my experience, that event only fires on the first...
I'm trying to do a very simple app in Flash/Flex, that loads an image embedded in the swf itself and then shows it. The thing is I'm trying to do it using the command line only (mxmlc and compc) and without using @Embed, and failing miserably.
I have a very simple Main.as :
package
{
import flash.display.*;
import flash.utils.*...
Hello there.
In my flash application, I've got multiple windows which use Scrollpanes. The scrollDrag property is set to true on these because I want that functionality. If I close (within my application) one of these 'windows' and open another, I seem to get a whole lot of this error showing up in my logs:
TypeError: Error #1009: Can...
Trying to convert the following but am having difficulty.
Can anyone see where I'm going wrong?
Any help appreciated thanks.
dateString = "Mon Aug 7 15:32:52 GMT+0900 2007";//Actionscript date string
dateResult = DateTime.ParseExact(dateString, "ddd MMM d HH:mm:ss G'M'Tzzz yyyy",
System.Globalization.Cu...
howdy all -
i suspect the answer here is "no",
but i'm wondering if it's possible to set the color of trace statements which appear in flex's console pane. ie, i have a few "levels" of log statements, and i'd like the warnings and errors to really stand out.
tia,
Orion
...
Hi:
Using Adobe Air 2.0 beta 2 I want to open a cmd file when the user clicks on a button, but I get "Error #3001: File or directory access denied".
the code:
<mx:Button width="200" height="50" click="OpenFileHandler()"/>
<mx:Script>
private function OpenFileHandler():void
{
var file:File = new File("C:\\OpenIE.cmd");
file.ope...
Fullscreen mode and I have been battling for a while in this Flex application, and I'm coming up short on Google results to end my woes. I have no problem going into fullscreen mode by doing a Application.application.stage.displayState = StageDisplayState.FULL_SCREEN;, but the rest of the content just sits there in the top, left corner ...
Hi to all,
Please is there any workarround to avoid the new line generated while sending data using SendAndLoad(); in AS2 ?
I send "00:00:12:36"
But php output:
00
:00
:12:36
Any help??
...
I have a Canvas which has many components inside it and those again, have many components inside them.
getChildren() returns only the top level children. What is the best way to retrieve all the children (children of children of children and so on).
Well, I sorta know how to do this by iterating through the children, but the code is ...
I have a flash file that displays the server respone on screen. The respone is in XML format.
When I use this code: statusText.text = xmlResponse; I get result on screen like
%3%20xml
etc.
What 's wrong with that? I tried the methods toString() and text() but nothing worked
...
I know this is possible to be done using javascript, and I presume I could get the values to flash calling js, but I'm looking for any AS3 library/code that does the same.
js examples:
http://colorschemedesigner.com/js/color.js
http://design.geckotribe.com/colorwheel/colorwheel.js
Thank you
...