Visitors to VTC.com will be able to view all introductory videos for each training course.
Free Trial Members will gain access to first three chapters for each training course.
Full Access Members have full access to VTC.com�s entire library of video tutorials.
This section of the tutorial is all about getting Flash to communicate with its external environment. However, Flash contains security features that restrict Flash movies from communicating with and loading other files and data from locations other than its own. This is a security feature to protect users from Flash, for example accessing local files or secretly installing viruses or performing other security threats to a local system. Now, you may have already come across this security feature when you mixed local content like testing your file using a Test Control Movie with remote content like linking to a website. For example, if you open up the Set Security File in the Work Files Folder and then choose File, Publish, Preview, Default, that'll load this file in a browser like so. This is a local file and it's going to set a security warning here by loading or trying to load to an external file here so you may get this Adobe Flash Player security warning. Flash Player has stopped potentially unsafe operations. The following local application on your computer or network and this is the location of my current file right here in my Temp Folder, is trying to communicate with Internet-enabled location www.VTC.com. So this security warning will occur when locally running an swf file that tries to access a network resource. Now, one way to prevent this warning from continually popping up each time you test your swf file locally is to change the local playback security setting in the Publish Settings Dialog from Access Local Files Only to Access Network Only. Let me show you where you set that. Here in the file you choose File, Publish Settings and then here in the Flash Tab there's a setting right here; Local Playback, Access Local Files Only. Change that to Access Network Only and now you won't get that error message from occurring. But you'll need to do this for every single file that you want to test that does call a remote resource so it's better to make a single change to resolve this issue for all of your Flash projects. The most efficient way to do this is to specify a single location on your computer, a folder somewhere where Flash files won't cause this security warning. To designate a trusted location on your computer, open and test an swf file with a navigate to URL method. You can use this one here, Navigate to URL.fla in the Work Files folder. Go ahead and choose File, Publish, Preview, Default HTML to bring up the file in a browser and then click on the link and then notice when you get this Adobe Flash Player Security Warning. You can use this one; to let this application communicate with the Internet, check settings. You must reset the application after changing your settings. Click on the Settings Button right there and what'll happen is a new browser window opens and takes you to the Flash Player Settings Manager on the Adobe website. In this case I'm actually going to the Macromedia website and you'll see this Flash Player Help, Global Security Settings for Content Creators. Now, this is not a graphic. This is actually looking at your computer, your local computer. Notice that I've already set some folder locations here on my computer to always allow Flash to access network resources. Click on the Edit Locations Drop-Down Menu and choose Add Locations and then browse for a folder that you want to designate as a safe area. I'm going to go ahead and designate my Temp Folder where this current file currently resides. I've also established my VTC Folder as a safe area. Then notice that it adds that to the list of Always Allow. You can add as many locations as needed to this list. Now that I've established my Temp Folder as a safe location, I can go ahead and close my browser and let's test this again by doing a Publish, Preview, Default. Again, this file's saved in the Temp Folder. Now, notice that this time whenI link to the VTC website, it loads it in another browser window. It does not give me that error. If I were to change the location of my Flash file here to one of the unspecified folders, those folders being unsafe, I will get that error message again. So go ahead and follow the procedures in this movie to set your Flash Player Security so you can avoid those warning notices every time you test or check a Flash file locally that is accessing remote network resources.
| Course: | Adobe Flash ActionScript 3.0 for Designers |
| Author: | James Gonzalez |
| SKU: | 34060 |
| ISBN: | 1-935320-82-3 |
| Release Date: | 2009-11-09 |
| Duration: | 9.5 hrs / 101 lessons |
| Work Files: |
Yes |
| Captions: | No |
| Compatibility: |
Vista/XP/2000, OS X, Linux QuickTime 7, Flash 8 |