mirror of
https://github.com/MapMakersAndProgrammers/alternativa-editor.git
synced 2025-10-25 17:39:11 -07:00
Correct embed paths
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -18,4 +18,5 @@ build/
|
||||
# should NOT be excluded as they contain compiler settings and other important
|
||||
# information for Eclipse / Flash Builder.
|
||||
|
||||
.svn/
|
||||
.svn/
|
||||
.vscode/
|
||||
@@ -6,5 +6,5 @@
|
||||
"output": "build/AlternativaEditor.swf"
|
||||
},
|
||||
"mainClass": "AlternativaEditor",
|
||||
"application": "AlternativaEditor-app"
|
||||
"application": "AlternativaEditor-app.xml"
|
||||
}
|
||||
@@ -61,7 +61,7 @@ package alternativa.editor.prop {
|
||||
private var matrix:Matrix = new Matrix();
|
||||
|
||||
|
||||
[Embed (source = "red_cursor.jpg")] private static var redClass:Class;
|
||||
[Embed (source = "/red_cursor.jpg")] private static var redClass:Class;
|
||||
private static const redBmp:BitmapData = new redClass().bitmapData;
|
||||
|
||||
public function Prop(object:Object3D, library:String, group:String, needCalculate:Boolean=true) {
|
||||
|
||||
@@ -49,9 +49,9 @@ package alternativa.editor.scene {
|
||||
private var axisIndicatorOverlay:Shape;
|
||||
private var axisIndicatorSize:Number = 30;
|
||||
|
||||
[Embed (source = "red_cursor.jpg")] private static var redClass:Class;
|
||||
[Embed (source = "/red_cursor.jpg")] private static var redClass:Class;
|
||||
private static const redBmp:BitmapData = new redClass().bitmapData;
|
||||
[Embed (source = "green_cursor.jpg")] private static var greenClass:Class;
|
||||
[Embed (source = "/green_cursor.jpg")] private static var greenClass:Class;
|
||||
private static const greenBmp:BitmapData = new greenClass().bitmapData;
|
||||
|
||||
public function CursorScene(eventSourceObject:DisplayObject) {
|
||||
|
||||
Reference in New Issue
Block a user