Skip to content

Commit 8c0b488

Browse files
committed
AS3 debugger fails to start in Flash IDE projects
1 parent f22891e commit 8c0b488

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎External/Plugins/ASCompletion/Helpers/FlashErrorsWatcher.cs‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ public FlashErrorsWatcher()
5757
fsWatcher.Changed += new FileSystemEventHandler(fsWatcher_Changed);
5858

5959
updater = new System.Timers.Timer();
60+
updater.SynchronizingObject = PluginCore.PluginBase.MainForm as Form;
6061
updater.Interval = 200;
6162
updater.Elapsed += updater_Tick;
6263
}

‎External/Plugins/ProjectManager/PluginMain.cs‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -779,7 +779,7 @@ void OpenSwf(string path)
779779
if (path == null)
780780
{
781781
if (project == null) return;
782-
path = project.OutputPath;
782+
path = project.OutputPathAbsolute;
783783
}
784784
if (project == null) // use default player
785785
{
@@ -790,7 +790,6 @@ void OpenSwf(string path)
790790

791791
int w = project.MovieOptions.Width;
792792
int h = project.MovieOptions.Height;
793-
bool isOutput = path.ToLower() == project.OutputPathAbsolute.ToLower();
794793
if (path.StartsWith(project.Directory))
795794
path = project.FixDebugReleasePath(path);
796795

0 commit comments

Comments
 (0)