How to see genarated AS files in Flex Builder ?.
Hi ,
We will compile mxml file and then compiler genaretes corrosoponding action script file in the flex builder.
Some where I have seen that we need to chage some settings for the compiler and see in the src dir.
Pleasem let me know the steps or what settings I need to do see the AS file in the flex builder.
Thanks
Praveen
Thanks for your replies.
Could you please let me know where genarated AS files will reside in Flex builder ?.
Thanks
Praveen.
Similar Messages
-
How to use my as3 file in flex
hi, I am new in flex and want to divert into flex. How to use my as3 file into flex. Is there any sample tutor . so, that I could learn fast.
Please clarify. Is this .as file a class you previously used as a complonentcomponent you now wish to use as the main application?
If the .as file just has variables and functions you wish to access from your Flex app, use:
include "subfolder1/subfolder2/etc/MyASFile.as";
If you want to use classes from the file, do this:
import subfolder1.subfolder2.etc.MyClassName;
If this post answers your question or helps, please mark it as such.
Greg Lafrance - Flex 2 and 3 ACE certified
www.ChikaraDev.com
Flex / AIR Development, Training, and Support Services -
How to see the ms files attachment in outlook in iphone
how to see the ms files attachment in outlook in iphone
I believe JDK6 has the Desktop API which allows you to do this.
Prior to that you can use the Runtime class. Read the HTML page that is displayed when running the example from this posting:
http://forum.java.sun.com/thread.jspa?forumID=57&threadID=5123633 -
how can we display svg files in flex at runtime using FileReference? Actually we are trying to load the svg file from the local directory.
This should give you the JRE version;
System.out.println(System.getproperty("java.version"));
and this should tell you where its running from;
System.out.println(System.getProperty("java.home"));
There are loads more system properties, check the JDK documentation for java.lang.System and look at the getProperties method which has a list.
Stewart -
How to open InstallAnywhere Self Extractor file of Flex Builder
Hi,
I have downloaded the InstallAnywhere Self Extractor file of flex builder as a trial version ...but am not able to install it on my system ..as am using windows xp operating system...could anyone please guide me about how to install this file...
it is the file that i downloaded from adobe trials product for flex 3 ....at my system its fully and completely downloaded ...but file type is showing as just file...dont know how to open it ..?
Sanjay.installAnywhere is asking to choose another path to decompress, in spite of specifyng different path, the installation is stuck there !! How do i proceed?
-
How does one upload a file from flex to a cfc
How does one upload a file from flex to a cfc? Can you do the file upload via remote object? I usually do uploads cia cfm but prefer the asnc capabilities of remote object calls.
Hi,
The issue here is myFile. For flex we need to pass this name as paramenter becuase it's not html form item like:
<cfcomponent>
<cffunction name="uploadFile" access="remote" output="false" returntype="void">
<cfargument name="file" required="Yes" type="any">
<cffile action="upload" filefield="#arguments.file#" destination="C:\temp\" nameconflict="makeunique">
</cffunction>
</cfcomponent>
From flex I'm getting the file using fileReference like:
private function browseAndUpload():void
fileReference = new FileReference();
fileReference.addEventListener(Event.SELECT,fileReference_Select);
fileReference.addEventListener(Event.CANCEL,fileReference_Cancel);
fileReference.browse();
private function fileReference_Select(event:Event):void
fileReference.addEventListener(ProgressEvent.PROGRESS,fileReference_Progress);
fileReference.addEventListener(Event.COMPLETE,fileReference_Complete);
fileReference.addEventListener(IOErrorEvent.IO_ERROR,onLoadError);
//fileReference.upload(request);
fileName = fileReference.name;
myFile.htmlText = fileReference.name;
SM_RO.importNSA();
filerReference have an upload method to upload the file but I can't use that becuase I need to process my upload with my cfc.
I'm getting an error:
Failed to import the file. The cffile action="upload" requires forms to use enctype="multipart/form-data". Please also make sure the file is not open.
I can't find the way to setup the enctype becuase again i can have html form items in flex, or I can?
Thanks
Johnny -
How to render a pdf file within flex
Hi,
could any one suggest, how to open a pdf file within flex.
we have an application built on flex3.
please suggest.
regards,
JohnHi,
Is it a Flash or AIR app?
If it's an AIR app, then use the HTML/web, where you then can navigate to the URL of your PDF.
If it's an Flash app, then set the wmode to transparent: http://kb2.adobe.com/cps/127/tn_12701.html#main_Using_Window_Mode__wmode__values_
And then create an iframe in your HTML page, where you load you PDF, set the iframe z-index, so it gets shown on top of the Flash object. Then you kan use the javascript bridge to interact with the iframe.
Best regards
Martin -
Error Opening File in Flex Builder 3
I'm getting the attached error when I try to open a file in
Flex Builder.
The base error states "Error opening the editor". I can open
other files without a problem. It is just this one file I am having
a problem with.
I can open the file with no problem in Notepad. I renamed the
file and tried to create a new MXML file with its original name and
copy the code from Notepad, but when I try that I get this error:
"Paste" did not complete normally. Please see the log for
more information.
String index out of range: -1
Please help me.
Thank you.The only thing I can think of that could have caused this was
this line of code:
<mx:Button label=">" />
Would that do it? If so, shouldn't Flex Builder simply show
me a warning instead making the file completely
inaccessible? -
Hello
I am a flex beginner, when i run the C:\Program Files\Adobe\Flex Builder 3\sdks\3.0.0\samples\explorer\build.bat file the following error is displayed
Loading Configuration file C:\Program Files\Adobe\Flex Builder 3\sdks\3.0.0\frameworks\flex-config.xml
C:\Program Files\Adobe\Flex Builder 3\sdks\3.0.0\samples\explorer\loaderPanel.mxml
Error :-1
Please help me to run the bat file, as it will help me to learn flex independently.
error message is attached as bmp.
Thanks in advance.Hi,
Take a look at this report: https://bugs.adobe.com/jira/browse/FB-11626 It might be of help.
With best regards,
Barna Biro
Blog: http://blog.wisebisoft.com -
How to run Smart School Applicaiton adobe flex builder in Mac OS X lion
How to run Smart School Applicaiton adobe flex builder in Mac OS X lion
Smart School is an interactive e-learning platform for CBSE based schools & students, offers 3D multimedia lessons, assessments and fully solved NCERT textbook exercises.
Smart School Online
Website: www.smartschoolonline.in
Youtube: www.youtube.com/user/smartschoolonlineYou should be able to find the add in this location:
~/Library/Preferences/Macromedia/Flash Player/www.macromedia.com/bin/connectaddin -
How to create a SWC file in flex
Can any one help me giving step by step information of how to create .swc file in flex..Iam a starter to this...Pls reply
You need to create Flex Library project & after compilation you will find project_name.SWC in bin-debug folder.
referr
http://www.adobe.com/devnet/flex/articles/flex_swc.html
http://www.daveoncode.com/2009/04/07/deploy-and-work-with-flex-swc-library/
http://kennethsutherland.com/2009/06/12/simple-tip-3-utility-swc-library-project/
*If this information is useful, then mark this post as such. -
How to see the other files in swing
hi everybody,
i hope all are fine.
now i dont know how to see other type of files (like txt,doc...) on new frame in swing. for a example,
now i'm run my program,thats open a menu window and click file on menubar and also click open menuitem.now i select one file and click open button. so this time that file open in other frame or notepad.
Advance Thanks !
RSKI believe JDK6 has the Desktop API which allows you to do this.
Prior to that you can use the Runtime class. Read the HTML page that is displayed when running the example from this posting:
http://forum.java.sun.com/thread.jspa?forumID=57&threadID=5123633 -
How to see my JAR files....
I would like to know that how can i see my JAR files. Suppose i've one JAR file or 've downloaded from net. Now, i want see those files. Don't say with Eclipse or any other IDE. In my pc i've only j2sdk and j2re. can i see all my JAR files throw j2sdk? or any other way , let me know.
I really didn't get you. As in Eclipse you can easily see all java code comprises of real code. As what you mentioned, i'm only able to see the command lines codes what it comprises of. I wanted to see the real java code files.
eg..
I've[b] jr jar files in my pc. I want to see what it consists of (java code). I want to see that pure java source code. As what you can easily do with your any IDE (Eclipse). Can i do it with command prompt? -
I am trying to dynamically load some other Applications in
one Application, use ActionScript but not SWFLoader tag, it looks
like:
<mx:Application>
<mx:Script>
<![CDATA[
private var loader:SWFLoader = new SWFLoader();
private function loadSWF(url:String):void{
var baseURL:String = this.url.substr(0,
this.url.lastIndexOf("/"));
var url = baseURL + "/"+ name;
//even if I did not add any event listener!
loader.load(url);
]]>
</mx:Script>
<mx:Button label="B" click="loadSWF('Top_2.swf');" y="10"
x="58"/>
</mx:Application>
then when me click the button, always occured an error like
this:(even if every method I add try...catch... )
TypeError: Error #1009: Cannot access a property or method of
a null object reference.
at mx.core::UIComponent/
http://www.adobe.com/2006/flex/mx/internal::updateCallbacks()[E:\dev\3.0.x\frameworks\proj ects\framework\src\mx\core\UIComponent.as:5043
at mx.core::UIComponent/set
nestLevel()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\core\UIComponent.as:2522]
at mx.managers::SystemManager/
http://www.adobe.com/2006/flex/mx/internal::addingChild()[E:\dev\3.0.x\frameworks\projects \framework\src\mx\managers\SystemManager.as:1583
at
mx.managers::SystemManager/initializeTopLevelWindow()[E:\dev\3.0.x\frameworks\projects\fr amework\src\mx\managers\SystemManager.as:2481]
at mx.managers::SystemManager/
http://www.adobe.com/2006/flex/mx/internal::docFrameHandler()[E:\dev\3.0.x\frameworks\proj ects\framework\src\mx\managers\SystemManager.as:2330
however, if I use <mx:SWFLoader source="Top_2.swf" />
tag, there is no such problem! So I think it must be I didn't init
SWFLoader correctly!
I hope someone can tell me how to crrect this mistake
directly, but I more wish someone to tell me how to view the .as
file that the .mxml file translated to before being compiled to a
SWF( If there is a such step!)
Thanks!Maybe the SWFLoader must be one child of one DisplayObject!??
I found when the swfloader is been added to some
DisplayObject in actionScript like below, the problem didn't occure
any more.
swfloader.visible = false;
this.addChild(swfloader); // 'this' is current Application
swfloader.addEventListener(".....", someHandler);
swfloader.load("someurl");
Why? Is this a bug or not?
I am still waiting someone to tell me where a .mxml file can
be translated to a .as file which could be visited! -
How to see all image file types when saving images without selecting "all files"
Hallo, and thank you fom reading.
I am a person who saves a lot of images online in different folders with different names like G - 456 or F - 35.
I have been using firefox 10.0.2 for a long time because of a bug (I guess) that made it easier to save images.
When I saved an image it would always show me all the image files in any folder I wanted to save it, and that way making it easier for me to save files with the right names.
Now with the newer firefox (currently 19.0) whenever I try to save a JPEG I only see the JPEG files in the folder and only way to see the others is by selecting "save as type" all files, but with this I also see all the files that are not images.
This used to save me a lot of trouble and a bit of time but I dont see anything in the options menu that can help me. Is there a way to recreate this function?
Thank you for your time.I suspect this is a Windows problem. I am surmising the FilePicker uses the Operating System or Desktop facilities. Does Windows 7 offer any other file categories like ''images'' ?
I do not normally use Windows 7, but may the option depend upon the directory being an indexed one, I ask after finding this thread ''Bring File types tab back'' [http://www.windows7taskforce.com/view/819]
This question is a duplicate of [/questions/951764]
Normally I would lock the duplicate question, but in this instance I will leave it open as it is unanswered and someone may give a better reply.
Maybe you are looking for
-
I am running InDesign CS5.5 and trying to open an In Design File but getting an error message. " Cannot open the file "PDavidLCover.indd". Adobe InDesign may not support the file format, a plug-in that supports the file format may be missing, or the
-
My problem is Outlook e-mails. Every time I click an e-mail several popup windows come up as I had described before. Regarding option button when I type 'Use Firefox' nothing comes up but if I leave blank severalcontents come up but nothing related t
-
How to create snapshot on Oracle VM 3.1.1
Dear All, Any one know about how to create snapshot in Oracle VM 3.1.1? Where we can find it in Oracle VM 3.1.1? Please kindly shared experience about this. Thanks and regards, Vandy
-
BW 3.5 SP13 with Business Content 3.53 SP4
Hi experts! I have a BW system with the following configuration: BW 3.5 SP13 with Business Content 3.53 SP4. To install the xApp Analytics 1.1, I need at least the following configuration: BW 3.5 SP14 Business Content 3.5.3 SP6 Which features I will
-
How can i sketch the line art?
Hi i am try to line drawing some picture. Referenc image is given below,, which tool is used for drawing in illustrator. Pen tool or brush, how can i do. plz help for this?