Flex project only works when located in original folder
I just started playing around with AS3 (sound spectrum) and
I'm using Flex to do that. When I open the html file from the bin
folder while it's in the project's original location, it works
fine. But if I move that folder (or any of the project's folders)
to another location, the music plays, but none of the sound
spectrum stuff is happening. So what do I have to do to make this
work in another location or online? By the way, this is on OS
X.
This is usually a security sandbox issue.
The Flash Player can only access resources from the exact
same domain that it was served from.
Flex Builder cheats by installing itself in a trusted folder.
To access resources in a different domain, you need a
crossdomain.xml file on that server.
http://www.crossdomainxml.org/
Tracy
Similar Messages
-
Flex app doesn't work when moved from original location
I'm trying to make an image gallery in flex. It works when I run it in Flex Builder perfectly fine. The html and swf files from the bin-debug folder work perfectly fine when opened in any browser also, but ONLY when those files and all related files are opened from the default location that the application was built in. When I export a build to a different folder, the swf loads but none of the information from the xml file displays. I tried setting all of the paths of the reference files (namely the xml) in the flex app to the exact absolute location on the server, and it still didn't work when I uploaded it to the server.
I've tried several approaches starting from scratch and they have all come up with the same issue. I'm working with an educational license for Flex Builder, I'm not sure if they jip you on those and ruin the compiled swf.
Please help! I'm losing my mind over this.I think it has to do with something else besides the code since it works fine when I hit "Run", but if anyone thinks it will help to post the code let me know.when you build an application using one of the wizards (like coldfusion flex application wizard) it hard codes
paths to cold fusion CFC's, and sometimes gets it wrong.
If your application references cfc's (or other remote objects) then it may be necessary to adjust the flex code
when moving the code into a different base folder.
For example in my own application, the url is http://localhost/crm_dev_flex and the built application gets put into
c:\inetpub\wwwroot\crm_dev_flex\bin-debug
References in the code to components found in c:\inetpub\wwwroot\crm_dev_flex\bin-debug\components\cfgenerated
(in the flex code these looks like crm_dev_flex.bin-debug.components.cfgenerated.<mycomponent> )
These need to change when you move the code to somewhere else.
Also, if you are using wizard generated cfc's then these also contain similar references that need to be changed.
IHTH.
Cheers -
My MacBook Pro wi fi not responding. It only work when I switch on or restart my computer for an hour then goes off again . However because I have switched on and off to often I am having problems turning on my laptop
Try this. In System Preferences / Network, create a new location and follow directions to configure it. That sometimes helps.
-
I have an iPad 2, but have never yet been able to send a iMessage....does this only work when writing to people who also have i05, or can you also write to people who use other systems ?
iMessages is turned on on my system, but even when writing to people who I know have iPads or iPhones , I just get the red exclamation mark....
Sending messages on my iPhone seems to work okay when sending to non iPhone users, so I don't understand what's wrong here .From http://support.apple.com/kb/HT3529 :
iMessage allows you to send unlimited text, photos, videos, locations, and contacts using Wi-Fi or 3G* from your iPhone, iPad, or iPod touch to other iOS 5 users.
Note: On iPhone, if iMessage is unavailable, the message may be sent as SMS or MMS, depending on content. Carrier messaging rates may apply. You can turn this on or off in iPhone at Settings > Messages > Send As SMS. Messages sent using iMessage will appear in a light blue bubble, while messages sent using SMS or MMS will appear in a green bubble. -
My colon/semicolon and apostrophe only work when they want to =[ please help!
They only work when they want to. The keys starting doing it about a year after I got the Mac. Please let me know what can be done.
Hey there jeremy,
It sounds like your Volume buttons aren't working correctly and you are also not getting sound from your built in speaker. I would start by quitting all the running apps on your phone:
iOS: Force an app to close
http://support.apple.com/kb/ht5137
Double-click the Home button.
Swipe left or right until you have located the app you wish to close.
Swipe the app up to close it.
When you have done that restart the phone and test the issue again:
iOS: Turning off and on (restarting) and resetting
http://support.apple.com/kb/ht1430
Thank you for using Apple Support Communities.
All the best,
Sterling -
iphone 4: Home Button Not Working. The home button only works when it is connected to iTunes, once i disconnet it does not work, i have tried a restore to factory settings but it still is not working. Any suggestions?
Apple, as I said, does not repair your iPhone. All hardware service issues are handled by replacing the unit. So they can't handle the home-button issue without also addressing the issue of the cracked screen, for which they'll almost certainly charge you. But you can make an appointment at an Apple Store or call Apple tech support and plead your case.
Regards. -
Time Capsule Airport
Hello to all, good day, sorry my english google, but it is the tool I have at the moment. I'm having trouble with my Time Capsule Airport, I made all the settings according to the manual, but there has been a connection problem with my iMac. When I finish my work I turn off the imac and then again when they return to work and care, it can not connect to Time Capsule Airport, making it impossible to remove the files and make back up by Time Machine only works when I turn off and turn on the Airport Time Capsule , but I think this may end up with the unit. What can this happening and how to solve? Thank you.
Olá a todos, bom dia, desculpe meu inglês google, mas é a ferramenta que tenho no momento. Estou tendo dificuldades com a minha Airport Time Capsule, fiz todas as configurações de acordo com o manual, mas tem existido um problema de conexão com meu iMac. Quando termino meus trabalhos desligo o imac e depois quando retorno pra trabalhar novamente e ligo, ele não se conecta a Airport Time Capsule, impossibilitando retirar os arquivos e fazer o back-up pelo Time Machine, só funciona quando desligo e ligo a Airport Time Capsule, mas acho que isso pode acabar com o aparelho. O que pode esta acontecendo e como resolver? Obrigado.This is easier to do with pictures perhaps.. since we do not share a common language and machine translation leaves a lot to be desired.
In the airport utility bring up your Time Capsule.
Simply post the screenshots here.
So here is mine.
Click on the Edit button and give us the Internet and Wireless and Network tab..
eg.
Please also make sure you are set to ipv6 in your wireless or ethernet .. whichever is used.. and do tell which.
This is wifi in your computer.
The following are important..
DO not use long names with spaces and non-alphanumeric names.
Use short names, no spaces and pure alphanumeric.
eg TC name. TCgen5
Wireless name TCwifi
Use WPA2 Personal security with 10-20 character pure alphanumeric password.
read apple instructions to help with TM and TC.. they did finally admit it has issues in Mavericks.
OS X Mavericks: Time Machine problems
Mount the TC manually in finder.
AFP://TCgen5.local
When asked for the password .. that is the disk access password and save it in the keychain.
Reset Time Machine
See A4 here. http://pondini.org/TM/Troubleshooting.html -
my macbook wont start the screen turn blue and stay like that for hrs. It only work when i use safe mode, i try to use disk utilities to fix it but the disk utilities keep saying error and a bunch of other stuff. I dont the cds the comp came with, help. i've tried the command s command p command v but nothing i've tried to the safe mode then a quick restart but nothing
disk utility give me this:
Process: Disk Utility [371]
Path: /Applications/Utilities/Disk Utility.app/Contents/MacOS/Disk Utility
Identifier: com.apple.DiskUtility
Version: 11.5.2 (298.4)
Build Info: DiskUtility-2980400~60
Code Type: X86-64 (Native)
Parent Process: launchd [86]
Date/Time: 2013-11-05 03:29:41.247 -0500
OS Version: Mac OS X 10.6.8 (10K549)
Report Version: 6
Interval Since Last Report: 9522 sec
Crashes Since Last Report: 29
Per-App Interval Since Last Report: 981 sec
Per-App Crashes Since Last Report: 25
Anonymous UUID: F6B8E263-76C8-4C7D-AA58-48134BF4BA78
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000020
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Thread 0 Crashed: Dispatch queue: com.apple.main-thread
0 libobjc.A.dylib 0x0000000100c62fbc _read_images + 312
1 libobjc.A.dylib 0x0000000100c79721 map_images_nolock + 1266
2 libobjc.A.dylib 0x0000000100c62761 map_images + 115
3 dyld 0x00007fff5fc039c5 dyld::notifyBatchPartial(dyld_image_states, bool, char const* (*)(dyld_image_states, unsigned int, dyld_image_info const*)) + 853
4 dyld 0x00007fff5fc0c849 ImageLoader::link(ImageLoader::LinkContext const&, bool, bool, ImageLoader::RPathChain const&) + 201
5 dyld 0x00007fff5fc04d54 dyld::link(ImageLoader*, bool, ImageLoader::RPathChain const&) + 118
6 dyld 0x00007fff5fc08f7c dlopen + 490
7 libSystem.B.dylib 0x0000000100a14e40 dlopen + 61
8 com.apple.CoreFoundation 0x0000000100d78ef7 _CFBundleDlfcnLoadBundle + 231
9 com.apple.CoreFoundation 0x0000000100d77e97 _CFBundleLoadExecutableAndReturnError + 1191
10 com.apple.Foundation 0x0000000101008355 _NSBundleLoadCode + 638
11 com.apple.Foundation 0x0000000101007c78 -[NSBundle loadAndReturnError:] + 742
12 com.apple.Foundation 0x000000010101960c -[NSBundle principalClass] + 38
13 com.apple.framework.DUSupport 0x0000000100082080 -[DUModuleManager(_private) findDUModules:] + 405
14 com.apple.framework.DUSupport 0x0000000100081ed9 -[DUModuleManager orderedModuleListOfModules] + 40
15 com.apple.DiskUtility 0x0000000100006082 0x100000000 + 24706
16 com.apple.DiskUtility 0x0000000100005f59 0x100000000 + 24409
17 com.apple.AppKit 0x0000000101444625 -[NSWindowController _windowDidLoad] + 538
18 com.apple.AppKit 0x00000001013e1f77 -[NSWindowController window] + 112
19 com.apple.AppKit 0x00000001015f61d9 -[NSWindowController showWindow:] + 47
20 com.apple.AppKit 0x00000001015c7c5c -[NSDocument showWindows] + 98
21 com.apple.AppKit 0x00000001015c64bb -[NSDocumentController openUntitledDocumentAndDisplay:error:] + 340
22 com.apple.AppKit 0x00000001014f7b44 -[NSDocumentController(NSInternal) _openUntitled] + 111
23 com.apple.AppKit 0x00000001014f79ab -[NSApplication _doOpenUntitled] + 257
24 com.apple.AppKit 0x00000001014f733b -[NSApplication(NSAppleEventHandling) _handleAEOpen:] + 185
25 com.apple.AppKit 0x00000001014f6fd9 -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] + 77
26 com.apple.Foundation 0x0000000100ffd0d6 -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 360
27 com.apple.Foundation 0x0000000100ffcf06 _NSAppleEventManagerGenericHandler + 114
28 com.apple.AE 0x0000000104d7332b aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned int, unsigned char*) + 162
29 com.apple.AE 0x0000000104d73224 dispatchEventAndSendReply(AEDesc const*, AEDesc*) + 32
30 com.apple.AE 0x0000000104d7312b aeProcessAppleEvent + 210
31 com.apple.HIToolbox 0x00000001028a0619 AEProcessAppleEvent + 48
32 com.apple.AppKit 0x00000001013fc095 _DPSNextEvent + 1191
33 com.apple.AppKit 0x00000001013fb801 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 155
34 com.apple.AppKit 0x00000001013c168f -[NSApplication run] + 395
35 com.apple.AppKit 0x00000001013ba3b0 NSApplicationMain + 364
36 com.apple.DiskUtility 0x0000000100002009 0x100000000 + 8201
37 com.apple.DiskUtility 0x0000000100001db8 0x100000000 + 7608
Thread 1: Dispatch queue: com.apple.libdispatch-manager
0 libSystem.B.dylib 0x0000000100a27c0a kevent + 10
1 libSystem.B.dylib 0x0000000100a29add _dispatch_mgr_invoke + 154
2 libSystem.B.dylib 0x0000000100a297b4 _dispatch_queue_invoke + 185
3 libSystem.B.dylib 0x0000000100a292de _dispatch_worker_thread2 + 252
4 libSystem.B.dylib 0x0000000100a28c08 _pthread_wqthread + 353
5 libSystem.B.dylib 0x0000000100a28aa5 start_wqthread + 13
AND MORE TOO MUCH TO COPY N PASTE HELP PLEASE!!!!!Reset the PRAM
Reinstall the operating system from the dvd (you will not loose your data) -
My Ipod touch will only work when plugged into an Itouch radio. When I take it out of the charger, it goes blank. The battery shows fully charged. It appears that the battery is no longer charging. What should I do?
Try a reset: Hold the home and power buttons at the same time until the Apple boot logo appears. No data will be lost. If that fails, the battery may have gone kaput.
-
My ipod nano 4th generation only works when it is plugged into the computer; otherwise, the screen turns black and it is completely unresponsive to any efforts such as pushing buttons, reseting, etc. What should I do?
Sounds like the battery is shot and in need of a replacement. You can have Apple replace the battery for a flat fee or you can send it into a third party repair center for a bit less.
Not much else you can do for troubleshooting this one.
B-rock -
I recently repaired disk permissions on my mac HD and now my on-board speakers wont work, the icon is greyed out and only works when my headphones are plugged in
Try to put your headphones several times in and out from your connection, might be the switch is stuck. Normally it should work again while trying to plug the headphones in and out!
-
My CD/DVD Drive Only Works When I Jam the CD/DVD in hard..?
My CD/DVD drive only works when I stuff the CD/DVD in the drive EXTRA hard. If I just try to put in with normal force (that at one time worked) it spins the disc around, makes a spinning noise, and then ejects it. I'm taking it to the Apple Store soon. What should I expect to be wrong and is it fixable? Please share details. Thanks in advance.
Welcome to Apple Discussions!
It sounds like the spring that loads the drive has gotten jammed by something. This can often happen if you use CDs with sticky labels, or do anything to label the discs directly. As a result of issues like these, I've not labeled any discs directly, and instead store the in jewelcases, and purchase them prepackaged in jewelcases to avoid such issues. -
So I tried to upgrade to Mavericks today and it failed (same error as in this post which seemed to be a common problem). It wouldn't let me repair the disk, and after trying all sorts I rebooted my computer in recovery mode - it wouldn't let me reinstall Lion because the hard drive was apparently locked and I could see no way around this. So I decided to restore from a Time Machine backup on an external hard drive and that worked okay, except my MacBook now only works when the external hard drive is connected. If I remove the external hard drive, I'm back to square one as it still won't let me reinstall Lion as the HD is locked!
I have no idea what's going on. HELP!The startup drive is failing, or there is some other internal hardware fault.
Make a "Genius" appointment at an Apple Store, or go to another authorized service provider.
If privacy is a concern, erase the data partition(s) with the option to write zeros* (do this only if you have at least two complete, independent backups, and you know how to restore to an empty drive from any of them.) Don’t erase the recovery partition, if present.
Keeping your confidential data secure during hardware repair
Apple also recommends that you deauthorize a device in the iTunes Store before having it serviced.
*An SSD doesn't need to be zeroed. -
What's wrong with my MacBook, it only works when its plugged in to the wall charger
my MacBook only works when its plugged in with the wall charger. What's wrong with it? it the problem fixable ?
Marina -
What Kappy said, or maybe your Battery charging cable is faulty, or something's happened to the input slot.
I'd take it to Apple and have them troubleshoot it for you. -
Is there anyway to have an 11 inch mac air connected to an external monitor with lid closed and still be able to see content. I have a wireless ketboard and mouse and have tried everything. Only works when plugged in.
You are referring to a feature called Clamshell Mode, please read Clamshell Mode setup for instructions.
BTW when posting when you use generalities such as "have tried everything" this tells us nothing. When posting please be specific and try to paint a complete picture. It just makes things easier for those trying to help you.
Maybe you are looking for
-
I have 3 PC's. Two of them I use at 2 different locations and only use them 6 months each year. When I turn on a computer that has not been used for 6 months, does all of the old information from that computer end up in Icloud? Does Icloud push al
-
Which version of an object is included in a transport request
Hi experts, I have one doubt regarding the transport requests and the object versions included in it. We've found in one development that there are differences between the development system and the productive system and all the transport requests, w
-
SP 18: TIME_OUT in MEREP_PROFILE_RSHS
Hi, I installed an MI 2.5 with SP18. I installed the MI Client and do the synchronisation, for the first time. Now I expect that the client will get a device id and some applications I deployed on the webconsole. But after a long synchronization time
-
tables: pa0006-eindt (for date of joining of new employee) hrp1001(to check it has already attended a IT course) my regirement is to write a abap program to check everyweek if any new employee joined the company, then check in table of qualifications
-
Hi friends, I am in serious problem. I am using AIX, oracle 9, sap4.7 I restore the data files ,orarach,redolog from PRD server to Dummy PRD server(both have same SID & same palteform) now when i start the listner than it gives a error Started with p