Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 07-24-2006, 09:22 PM   #1
stonyx
Registered User
 
stonyx's Avatar
 
Join Date: Jun 2006
Posts: 54
Angry problem with external doc

hi everyone, hope somebody answers thisone
i'm doing this app for cd distribution everything was ok until i change from Beta1 to the new realese
i have this code on my xml
<catalog>
<libro>
<name>anyname</name>
<desc><![CDATA[<a xml:link="simple" href="openadoc.pdf"]]>open doc</a></desc>
</libro>
</catalog>
that code was to open an external document call opendoc.pdf but not anymore know i get this message from flash that tells me to go to some page and modify this security thing.
my problem is that i want to automatically give any permission to flash to open anything i tell it to
stonyx is offline   Reply With Quote
Old 07-24-2006, 09:36 PM   #2
Xeef
Off-Line
 
Xeef's Avatar
 
Join Date: Aug 2004
Location: Ibiza/Spain language :Hungarian/German/ abit English
Posts: 6,539
Default

Quote:
my problem is that i want to automatically give any permission to flash to open anything i tell it to
that may by

BUT i NOT wana this !
and security settings are there to protect ME (not to stress you)
so no way to do so

what if there is a security hole in my pdf reader and i NOT wana alowe any program to use it whit out explicit aprovement from me ?

no one woud/coud use flash contnent
till what ever 3th party software has a security hole in it
is so nice and fix this
ok acrobat reader is from adobe too
but there are alot of others to
so if company XY deside not to fix the bug the flash player is worth less
__________________

test your self -->http://www.actionscript.org/forums/s...86&postcount=8
Xeef is offline   Reply With Quote
Old 07-31-2006, 05:46 PM   #3
stonyx
Registered User
 
stonyx's Avatar
 
Join Date: Jun 2006
Posts: 54
Default

hi, why are u talking about holes and bugs?
like i said this is for distribution so all the people that buy the product will know what the cd is about, they'll run the app from the cd and open some docs that are in the same directory, ok what if in stead of open a pdf file i want to open a .fla file from flashpaper or something? i just don't want the client to have to give permission to flash any time they want to open any file and besides thats what cross-domain policy files are for right? but i don't know how to configure it
stonyx is offline   Reply With Quote
Old 07-31-2006, 06:03 PM   #4
Xeef
Off-Line
 
Xeef's Avatar
 
Join Date: Aug 2004
Location: Ibiza/Spain language :Hungarian/German/ abit English
Posts: 6,539
Default

O hup CD projector

Sorry !!!

any way
if you try to open it whit "href" you open a browser wich underly the security restrictions i wrtite abouth (there is no overcome)

whit a projector you can use fscommand to start an exe (pdf.exe)
BUT
the exe needs to by in a specific subfolder
and you can't submit parameters eg what file to open

you can write a "bat" wich you start then whit fscommand
whit what prog to open eg pdf.exe and parameters to it
wich is undinamic as you need for any file a separate "bat" file
also do you need to know where pdf.exe is instaled (as long it's not reachebel truh a standard win path)

not sure mayby this limits are more flexible whit flex
it also coud by you need diferent commands as fscommand


Quote:
... i want to open a .fla ...
an fla you can't open (you need flash for it (not the player))
you coud load an SWF INSIDE the projector
__________________

test your self -->http://www.actionscript.org/forums/s...86&postcount=8
Xeef is offline   Reply With Quote
Old 08-02-2006, 02:54 PM   #5
stonyx
Registered User
 
stonyx's Avatar
 
Join Date: Jun 2006
Posts: 54
Default

thank u
i figure it out with flashpaper
but know my problem is it opens a blank web page
stonyx is offline   Reply With Quote
Old 08-07-2006, 06:58 PM   #6
stonyx
Registered User
 
stonyx's Avatar
 
Join Date: Jun 2006
Posts: 54
Default

any one knows how to void flash to pop a browser up when it opens my flashpaper document, what i want is to pop up the flashpaper document in front of my flash aplication i know href does that but is there any other way to open a document with out href
stonyx is offline   Reply With Quote
Old 08-07-2006, 07:31 PM   #7
Xeef
Off-Line
 
Xeef's Avatar
 
Join Date: Aug 2004
Location: Ibiza/Spain language :Hungarian/German/ abit English
Posts: 6,539
Default

you can open an exe whit fscommand
or a browser

that's it there is not other way know to me to open anything external

check 3th party compilers like
"Zinc"
mayby they can
__________________

test your self -->http://www.actionscript.org/forums/s...86&postcount=8
Xeef is offline   Reply With Quote
Old 08-07-2006, 07:40 PM   #8
stonyx
Registered User
 
stonyx's Avatar
 
Join Date: Jun 2006
Posts: 54
Default

Quote:
Originally Posted by Xeef
you can open an exe whit fscommand
or a browser

that's it there is not other way know to me to open anything external

check 3th party compilers like
"Zinc"
mayby they can
flaspaper acts as a common flash app so how do you open a flash from html link from a htmlText in my textArea component?

<mx:TextArea id="areaDeTexto" width="414" height="390" textAlign="justify"
wordWrap="true" editable="false" htmlText="{datagrid.selectedItem.desc}|{datagrid2. selectedItem.desc}"
backgroundImage="FONDOS/escudo.jpg" backgroundSize="100%" x="0" y="0">


any other ideas?
stonyx is offline   Reply With Quote
Old 08-14-2006, 07:42 PM   #9
stonyx
Registered User
 
stonyx's Avatar
 
Join Date: Jun 2006
Posts: 54
Default

i just found a solution

thank u anyways
stonyx is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
problem unloading external .swf theeggert ActionScript 2.0 3 03-04-2006 07:54 PM
External Class problem drexle ActionScript 2.0 6 01-08-2006 12:08 AM
Problem with stopping an external movie. Help please? mx-guest2004 ActionScript 1.0 (and below) 18 10-04-2004 12:09 PM
Tricky problem with loading external swf into targetted Movie Clip asWarrior ActionScript 2.0 1 06-20-2004 02:14 PM
weird load variables problem between two domains and external .txt files Jessica lucidiastudios ActionScript 1.0 (and below) 9 09-25-2001 06:31 PM


All times are GMT. The time now is 11:33 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.