| Ultrashock Forums
• FLex parser not working |
Member Blogs | ||
![]() |
||||
| Search this Thread | Thread Tools | Display Modes |
|
|
|||||||||||||||||||||||||
![]() |
Ultrashock Member Comments:
7 Blog Entries
|
2008-07-03
#2 |
||
|
You might have to wait more than 10 hours for a response.. Ultrashock is not a machine that will give you an answer within 3 minutes, there are real people with other jobs that sit and do this in their free time. Making more posts doesn't help and neither do I since I don't know Flex much.
|
|
1 Blog Entries
13 Creative Assets
|
2008-07-03
#3 |
||
|
@ad.sign 1. What is the point of that thread title? It is irrelevant to your question. 2. I did see your original thread but haven't had much time to answer it yet, at least not answer it in much detail. 3. Are you using Flex Builder or the Flex SDK? If you are using Flex Builder and your main application file is a AS file then you aren't creating a Flex Project, you are probably creating a Flex Library Project... there is a big difference. If you are creating a Flex Library Project then right-click on the project folder and open the project properties, select "Flex Library Build Path" and make sure all of your cases are selected. 4. Have a bit of patience. As Hansen said, real people need to answer your questions, we aren't robots believe it or not. |
|
|
2008-07-03
#4 |
||
|
threads about threads are awesome.
|
|
|
2008-07-03
#5 |
||
|
Last edited by ad.sign : 2008-07-03 at 08:22.
Hey Hansen: I'm not sure about how exactly but I did the addition on Flex Forum about 20 hours ago. And I don't have expectations to have my doubts answered by the force of many posts on the same subject. For this I did linked my previous post. Yesterday, when I created the post, I've passed the day refreshing the browser page in order to get involved with the response as quickly as I could, and today, when I accessed the Flex forum, I thought that the views count should probally be from my continuous refreshs of yesterday. So before heading this thread even more off-topic, I would be glad if you could consider your personal approach to others oportunities. I'm still interested in your contributions tough, if you could post any. Nutrox, thanks for your tips. I've changed the thread title, but I'm not out of patience .I'm working in a standard Actionscript Project, I just would like to have Flex parsing even when a class of mine is not instantiated in the main actionscript AS file. Still opened to go further on the Flex discussion.
|
|
1 Blog Entries
13 Creative Assets
|
2008-07-03
#6 |
||
|
What classes are you expecting to be "parsed" by Flex? The only classes that Flex compiles are the application classes and imported classes. Are you asking how to have more than one application class (i.e. multiple SWF files)? |
|
|
2008-07-03
#7 |
||
|
No... I'm referring to a standard 'Actionscript Class'. Not always in class development I can early attach the class to the Actionscript main file. Very often, the inteligence I want to produce will start by many others subclasses, that are far away to be instantiated in the main project file. But I still wandering why Flex cannot parse it in real time, as it does with the main or main-attached classes, because I would like to develop everything inside Flex, from the ground. |
|
1 Blog Entries
13 Creative Assets
|
2008-07-03
#8 |
||
|
I see what you are asking now... finally. ![]() ActionScript projects in Flex Builder have always done the same thing to me and I have never got real time error checking to work as expected with them. What I do when creating ActionScript projects is to create a Flex Library Project for my classes and link the generated SWC file to the ActionScript project. That way you get the real error checking for your classes. |
|
5 Blog Entries
|
2008-07-03
#9 |
||
|
5 Blog Entries
|
2008-07-03
#10 |
||
|
posts about posts about threads about threads are awesome.
|
|
5 Blog Entries
|
2008-07-03
#11 |
||
|
oh no, I can't stop myself... posts about posts about posts about threads about threads are awesome. you're evil tiran |
|
|
2008-07-03
#12 |
||
|
@Nutrox, Do you build your library inside your current actionscript project that you working on or do you make it separate? I have been trying to read up on .swc and I don't really understand what/when/why use them? I guess it would be useful if you had a base core of classes that you use in all projects. Then you could just add that .swc to all your projects. |
|
1 Blog Entries
13 Creative Assets
|
2008-07-03
#13 |
||
|
Quote:
Originally Posted by Isocase
Do you build your library inside your current actionscript project that you working on or do you make it separate?
Quote:
Originally Posted by Isocase
I guess it would be useful if you had a base core of classes that you use in all projects. Then you could just add that .swc to all your projects.
|
|
|
2008-07-03
#14 |
||
|
Thanks Nutrox. I am going to have to think about how to organize properly. Can I ask how you separate/organize projects? Quickly thinking about it if I was working on a project I would think I would need to have 2 SWC's. One would contain core classes that I build which would be used for all projects and another SWC which will contain project specific classes.
|
|
|
2008-07-03
#15 |
||
|
This thechnique sounds quite organized. But seems to be heavily based on initial download, isn't it? Is there a way to get from the swc only the necessary for each module of the project?
|
|
1 Blog Entries
13 Creative Assets
|
2008-07-03
#16 |
||
|
Flex Builder won't compile the entire SWC into your project, it will only compile the classes you use.
|
|
|
2008-07-03
#17 |
||
|
Yeah... I'm referring to all classes that the project will use. All in one pack, once, in the project openning download. It could become quite heavy depending on the project.
|
|
1 Blog Entries
13 Creative Assets
|
2008-07-03
#18 |
||
|
Break the application up into different SWF files. You can have more than one SWF file for each ActionScript Project. Right-click on the project folder, select properties, then select "ActionScript Applications". You can add additional top-level project classes to that list and they will all generate their own SWF file.
|
|
| Thread Tools | |
| Display Modes | Rate This Thread |
|




17 comments
| 266 views


7 Blog Entries
13 Creative Assets
.


Linear Mode
Mine has just decided to stop parsing my codes. It is parsing only the classes I'm actually using inside my main Application (as) file.
How could I set Flex to parse EVERYTHING?
Tanks for any directions.