Trouble opening file///****.html

Hi Everyone, I can’t seem to figure this out. I have a flip book made with flash and a html file. It runs perfectly, but I am now trying to make it an all inclusive app. to run from anywhere, not just the applications folder.I would like to use “path to me”, but I can’t get it to work. Thanks in advance for the help, adown

PS: since it opens with Safari, if you could help me make it open in full screen, I would like that too.

set Morning_Greeting to “Good Morning Love,”
set resultingString to Morning_Greeting & " Would you like to see your Valentines Day present"
set instructions to “After clicking OK, a book will appear.” & return & “Place your pointer near page corner to lift the page, then 3 finger swipe to turn page”

display dialog resultingString buttons {“Yes”, “No”}
if button returned of result is “Yes” then
display dialog instructions buttons {“OK”, “Cancel”}

if button returned of result is "OK" then
	tell application "Finder"
		activate
		open location "file:///Applications/Poem%20Book.app/Contents/Resources/poems.html"
	end tell
end if

end if

Never mind

I figured it out.

if button returned of result is "OK" then
	set PoemPath to (path to me as text) & "Contents:Resources:"
	set Poem to POSIX path of (PoemPath & "Poems.html")
	tell application "Safari"
		activate
		open Poem
	end tell
	
end if

end if