How to solve "Error: Invalid Embed directive in stylesheet - can't resolve source" while building using mxmlc.exe on command prompt
Hi,
Currently, I am developing a powershell script for Flex build automation.
I found some problem and have been trying to search any references and tried any ways to fix it but It did not work.
I am using compc.exe for compiling the libraries and it works fine.
I compiled css files into swf files using mxmlc.exe and it works fine.
However, I have a problem while building my main application (mxml file).
It complains about embedded resources.
I run this command, it works fine:
"C:\Program Files (x86)\Adobe\Flex Builder 3\sdks\3.2.0\bin\mxmlc.exe" "C:\{somePath}\FlashClient\src\styleLang.css" -output "C:\{somePath}\FlashClient_deploy\styleLang.swf"
However, when I tried to run these command on cmd for testing:
"C:\Program Files (x86)\Adobe\Flex Builder 3\sdks\3.2.0\bin\mxmlc.exe" "C:\{somePath}\FlashClient\src\FlashClient.mxml" -load-config "C:\{somePath}\FlashClient\src\dump_config_temp.xml" -output "C:\{somePath}\FlashClient_deploy\flashclient_test.swf"
I got a lot of this error message:
this is my folder structure:
FlashClient
|
|---assets
|---src
|
|---FlashClient.mxml
|---FlashClient.as
|---FlashClientStyleLoopup.css
|---styleLang
Already tried to add / at the beginning of the relative paths but It did not work.
Also tried to compile one of the image to a swc file and include it on the dump_config, but also did not work. something similar with Tech Diary: Flex : Solution to Error: unable to resolve '/assets/icons/icon.png' for transcoding using Embed tag
Does anyone know how flex builder resolve the relative path to make the embedded resources work? or how to fix this?
I've been trying to work on it for days but haven't had any luck.
Will be really appreciate it if someone could help me with this.
Many Thanks.
Hi,
make sure you are using 32 bit Java JDK. Check that your systems variables CLASSPATH, JAVA_HOME are pointing to correct 32 bit Java JDK folder (e.g. CLASSPATH=C:\Program Files (x86)\Java\jdk1.8.0_25 and JAVA_HOME=C:\Program Files (x86)\Java\jdk1.8.0_25). Also make sure you have 32 bit Java JDK's "bin" folder in your system's variable PATH.
Similar Messages
-
What's with "Invalid Embed directive in stylesheet - can't resolve source" compile errors
Hi
Quite often I notice that I get lots compile errors like "Invalid Embed directive in stylesheet - can't resolve source 'Embed("assets/icons/cancelOnWhite_12x12.png")'. line 165 application.css"
ONLY when there are other compile errors. As soon as I fix these other errors, all "Invalid Embed directive" errors disappear.
Obviously these errors should never show in the first place, and I wonder if this is a known problem with an existing bug report?No. Will keep you posted if I get anything.
I also want to clarify one thing: Design view reports embed errors as well. If you are seeing an error from design view, you should be able to see the "problem" go away and come back when you hit refresh in Design view.
Can you confirm if this is that? If that is so, we've taken care of it in the upcoming release. -
Invalid Embed directive in stylesheet -
I have this error randomly appearing in a certain project:
Invalid Embed directive in stylesheet - can't resolve source 'Embed(source = "net/brandonmeyer/assets/images/clear.png")'. bookingSystem/src styleold.css line 437 1254405884097 23832
after a while I goes away. (restarting flex etc, clean)
what could be causing the problem. The location is fine, a reliable external drive.After applying -keep to the compiler the error at the very bottom of the error pile reads:
The static attribute may be used only on definitions inside a class. [Generated code (use -keep to save): Path: X:\ColdFusion8\wwwroot\CFIDE\FLEX\bookingsystem\src\generated\components\TradeList-genera ted.as, Line: 2061, Column: 13] ...etc
the only thing is is that I have no static things in my component "TradeList" and the file \TradeList-generated.as does not exist in my server.
Thanks -
How do I solve error no. 1050? I can't restore my iphone! What do i do next?
ERROR 1015...
This Error Code is indicative of the Device being jailbroken / Hacked...
Sorry... But...
The discussion of Jailbroken Devices is against the Terms of Use of this Forum.
You will need to look elsewhere. -
How to solve error -1450?
I have been re-installed iTunes, and it keeps pop-up with the error -1450 ( cannot save music library ), and it reloads all the playlist each time I switch on the computer and open iTunes.
I have been re-install iTunes after the error appear, and it seems although I have re-install iTunes, the problem doesn't solve and keeps repeat.
For any kindness, please tell how I can fix this error, as I cannot find any articles on support page about this.
ThanksDoes anyone know how to solve error 1450 or even what
caused it!? This problem is killing me.
I found this by doing a search on Google for "Error 1450": http://support.microsoft.com/kb/236964/EN-US/ -
TS3694 How to solve error 3194 ?
How to solve error 3194 in iTunes, when trying to upgrade iPod touch to ios 5 ? Thank you.
The common errors and their resolution are contained here:
iTunes: Specific update-and-restore error messages and advanced troubleshooting -
what if the user also forgot ps apple? how to solve this problem? whether the iPhone can still be used?
Start here:
https://iforgot.apple.com -
I am doing an an aquisition and displaying the data on graphs. When I run the program it is slow. I think because I have the number of scans to read associated with my scan rate. It takes the number of seconds I want to display on the chart times the scan rate and feeds that into the number of samples to read at a time from the AI read. The problem is that it stalls until the data points are aquired and displayed so I cannot click or change values on the front panel until the updates occur on the graph. What can I do to be able to help this?
On Fri, 15 Aug 2003 11:55:03 -0500 (CDT), HAL wrote:
>My performance is very slow when I run graphs. How do I increase the
>speed at which I can do other things while the data is being updated
>and displayed on the graphs?
>
>I am doing an an aquisition and displaying the data on graphs. When I
>run the program it is slow. I think because I have the number of
>scans to read associated with my scan rate. It takes the number of
>seconds I want to display on the chart times the scan rate and feeds
>that into the number of samples to read at a time from the AI read.
>The problem is that it stalls until the data points are aquired and
>displayed so I cannot click or change values on the front panel until
>the updates occur on the graph. What can I do to be a
ble to help
>this?
It may also be your graphics card. LabVIEW can max the CPU and you
screen may not be refreshing very fast.
--Ray
"There are very few problems that cannot be solved by
orders ending with 'or die.' " -Alistair J.R Young -
i found my old ipod and i forgot the passcode. It doesnt have an home button so i dont know how to put it in recovery mode so i can restore it. Ive been using the assisted touch method. But what should i do to put it in recovery mode so i can restore it.
Use this program to place the iPod in recovery mode
RecBoot: Easy Way to Put iPhone into Recovery Mode -
How to solve Error in http connection. Error -1
urlMidlet2===http://localhost:8080/testProj?userId=20&selMPBL=23&svMPBL=IPOD+Touch+Screen+e!1!Tue+Jan+06+00:00:00+UTC+2009!Tue+Jan+06+00:00:00+UTC+2009!Sat+Jan+31+00:00:00+UTC+2009!Mp3+Player!IPOD!Rejected!12
[j2mepolish] Generic/DefaultColorPhone: !1!2!1222!13333
[j2mepolish] Generic/DefaultColorPhone: Protocol for this connection is http
[j2mepolish] Generic/DefaultColorPhone: This object is connected to localhost host
[j2mepolish] Generic/DefaultColorPhone: HTTP Port in use is 8080
[j2mepolish] Generic/DefaultColorPhone: respCode=====-1
[j2mepolish] Generic/DefaultColorPhone: Error in opening HTTP Connection. Error#-1
Why is this error coming? How to solve it?
Thanks in advance.
Edited by: J2me_Beginner on Jun 7, 2009 9:38 PMI am making a form using an interface. When Activate the Form, I got this error:
Invalid HTTP connection: ADS
Message no. FPRUN000
But I do not know how to solve or config ADS. Any one know how to slove this error ?
Thanks a lot. -
How to solve Error -1074396080 occurred at IMAQ array to color Image
Hello,
I am getting above mentioned error.
Here I have attached my screen shot of the error.
Could any one Please guide me how to solve this error.
I am using Kinesthesia kinect driver which generate U24 Bit RGB Image and I want to convert it in IMAQ Image type, But I am getting mentioned error.
But when I am not using the vision acquisition and vision assistant then every thing is fine means there is no any error which I have attached in attachment 2.
Please guide me how to solve this problem.
Thank you very much.
Solved!
Go to Solution.
Attachments:
invalid image type.png 251 KB
imaq2.png 56 KBThank you very much for quick reply.
I follow your instruction but it give me still same error.
here in attachment I have attache screen shot as well Vi so you have a look.
thank you very much once again for help and time.
Attachments:
Unbenannt.png 174 KB
kinect templet.vi 137 KB -
How to solve Error 2005?
I've been trying to restore my iPod Touch 5th generation (which is in DFU mode), but every time it finishes extracting the software error 2005 pops up. I've done the hosts method, istalled and uninstalled like 10 times and updated the drivers but still no progress. I updated my iPhone 4 and didn't have a problem with that one.
Hi Hamzah Al-Refai,
Thanks for visiting Apple Support Communities.
Start with these steps if you receive an error 2005 when trying to restore or upgrade your iPhone:
Check USB connections
If there’s an issue with the USB port, cable, dock, or hub, or if the device becomes disconnected during restore, try troubleshooting the USB connection, then troubleshooting your security software.
Common errors: 13, 14, 1600-1629, 1643-1650, 2000-2009, 4000, 4005, 4013, 4014, 4016, “invalid response”, and being prompted to restore again after a restore completes.
To narrow down the issue, you can also change up your hardware:
Use another USB cable.
Plug your cable into a different USB port on your computer.
Try a different dock connector (or no dock).
Add (or remove) a USB hub between your device and computer.
Connect your computer directly to your Internet source, with no routers, hubs, or switches.
If you see your error after changing your USB connections, continue to the next section to troubleshoot your hardware.
You can find the next section with more troubleshooting steps here:
Resolve specific iTunes update and restore errors
http://support.apple.com/kb/TS3694
Best,
Jeremy -
How to solve error essbase encoding ?
Dear All,
Today, I just wanted to load data into a demo database, however, I found that the load information of data load results is error encoding as below:
ÕýÔÚ¶ÁÈ¡Êý¾Ý¿â [Demo] µÄ¹æÔò SQL ÐÅÏ¢
ÕýÔÚ¶ÁÈ¡À´×ÔÊý¾Ý¿â [PLP] ¹æÔò¶ÔÏóµÄ¹æÔò
ÆôÓÃÁ˲¢ÐÐÊý¾Ý¼ÓÔØ: [1] ¿é×¼±¸Ị̈߳¬¶ø [1] ¿éдÏ̡߳£
¼ÓÔØ´ËÊý¾ÝÎļþδÐÞ¸ÄÈκÎÊý¾ÝÖµ
[LoadData.rul] µÄÊý¾Ý¼ÓÔؾ¹ýµÄʱ¼ä: [9.516] Ãë
Êý¾Ý¿âµ¼ÈëÒÑÍê³É ['ZZTest'.'Demo']
ÒÑ×¼±¸ºÃÊä³öÁÐ: [0]
Of course, I modified the env variable ESSLANG from English_UnitedStates.Latin1@Binary to SimplifiedChinese_China.MS936@Binary. What a pity, it doesn't work.
As you know, the Essbase Language was set to SimplifiedChinese_China.MS936@Binary when configuring.
So, who knows how to solve it ?Open log with utf8 text editor
u can remove chines localization if copy to bin files from C:\Hyperion\products\Essbase\EssbaseServer\localized\en\bin -
How to solve error when run Depreciation (T-Code:AFAB)
Dear All Experts,
Hi,
I found error when run Depreciation for period 9 FYI. I had run Planed posting period Depreciation (TCode: AFAB). with fiscal year: 2010, posting period: 9, reason for posting run: Planed posting run. Select on Test Run. Then i found error message as below.
Documents manually posted within dep.doc.number range
Message no. AA728
Diagnosis
In the number range interval for the document type for posting
depreciation, a document has been posted which was not created within
the framework of depreciation posting. The last document posted by
depreciation posting was assigned the number .
Procedure
Contact your Systems Specialist. When changing the number range interval
for the document type in depreciation posting, you have to specify a new
interval in which no documents exist. Using organizational measures, you
can guarantee that there are no documents apart from those created by
depreciation posting in this number range.
Would you help me how to solve this error?
Thank you in advance
Best Regards
Utarat.PHi Utarat,
first question is: have you really manually posted a Documents within dep.doc.number range
If you post with RABUCH00, note 193984 could be relevant for you.
Check if the intervall in Table TABA don't fits with the Intervall in BKPF.
Example:
TABA
MANDT BUKRS AFBLGJ AFBLPE AFBANZ BLNRF BLNRT XBUKZ
100 XXXX 2010 004 01 4200000013 4200000016 X
100 XXXX 2010 005 01 4200000017 4200000020 X
100 XXXX 2010 006 01 4200000021 4200000024
On the other Hand In Table BKPF (or Tr. FB03) you can see that 4200000037 already
exits.
BUKRS BELNR GJAHR BLART BUDAT CPUDT CPUTM TCODE
XXXX 4200000024 2010 YY 30.06.2010 06.07.2010 19:36:30 ABF1
XXXX 4200000037 2010 YY 30.06.2010 06.07.2010 19:37:47 ABF1
Regards Bernhard -
How to solve error code -1074397179 in Imaq Attribute VI
I keep getting error message (-1074397179) when I run the imaq attribute VI. What should I do to solve this problem? What are the parameters that i can change to solve this. The error message gave this as img_err_par1. But I have no idea how to solve this problem.
Attachments:
IMAQ_Attribute.vi 74 KBI compared your attribute VI to my own (which is IMAQ 2.6 and working great) and the only differences are in the Attributes input and the Type/Attr/ID input. I have attached my version of the VI in LabVIEW 6.1 below. Try using this and see if it gives you the same errors.
Hope this helps-
Julie S.
Attachments:
IMAQ_Attribute.vi 77 KB
Maybe you are looking for
-
Hello all, I have a program where I have logic something like loop at itab. sort itab ascending by prueflos. clear : t_qamr, t_qamv, t_qapo, t_qasr, t_qapp. refresh : t_qals, t_qamr, t_qamv, t_qapo, t_qasr, t_qapp. CALL FUNCTION 'XYZ
-
Within Firefox inside the viewing pane, Scrap book has taken up space on the left side of the browser. Now, that loads everytime even when I am not using it. I have looked under options, and advanced tabs etc... there is no help or option that I can
-
Reverse the order of elements in an array
how would i go about Reverse the order of elements in an array??
-
How to clear CATSDB table.
Hi Experts, I need to clear the deleted entries from the CATSDB table which are HR specific. Could you please let me know how.? i have tried the program RCATSDEL, but it deletes all related data of the employee.
-
How do I export songs or albums to a memory stick to play in my car
Does anyone know how to export to USB stick?