I think he was filled with the Spirit.** While the indwelling of the Spirit happens at conversion, being filled is a repeated experience. Maybe it's only at the times we are filled with the Spirit, that we experience visions. Now, how to be filled with the Spirit?
Personality is the characteristic of the Spiritual man as individuality the characteristic of the natural man. When the Holy Spirit comes in, He emancipates our personal spirit into union with God, and individuality ultimately becomes so interdependent that it loses all its self-assertiveness. When Jesus Christ emancipates the personality, individuality is not destroyed, it is transfigured, and the transfiguring, incalculable element is love, personal passionate devotion to Himself, and to others for His sake. It is noteworthy to add God destroys the flesh in us, thru faithful living, while transforming our bodies into purity. Many times we get those mixed together unduly.
There are three questions here: Are you being led by the Spirit? Are you "in the Spirit" and does the Spirit "dwell;in you?" This is definitely a new supernatural normalcy in our lives, which in and of itself is breathtaking, but not at all a mystical phenomena which overpowers and overrides human intentions and that we discern right decisions from wrong ones based on feelings which the Holy Spirit puts more weight than the written Word. ( 1 Cor. 4:6).
If we can align a 'yes' answer to those three questions it is because we have chosen to yield to the teachings and urgings of the Spirit that have been provided us by God's providence in His Holy Scriptures. (Ephesians 3:4; 2 Tim. 3:16,17; 2 Peter 1:3; 20,21)..suggest you are not truly led by the Spirit if you are not living according to His teachings in the Gospel. The Holy Spirit, thru the apostle Paul, says much to us about this in Romans 8:1-17.
"....but if by the Spirit you are putting to death the deeds of the body, you will live. For all who are being led by the Spirit of God, these are the sons of God." (Romans 8:14). "Walking according to the Spirit" means to be lead by Him. It means to live by the moral, doctrinal, and ethical standards of His written revelation, the Bible.It is to love others and to deeply enjoy the blessings of life, both spiritual and physical. As long as we are thankful, and they do not become our gods, material things God would have us enjoy as well (1 Tim. 4:4,5). There is peace and contentment in this life, not mysticism and doubt; a life willed with kindness and goodness.
"For those who are of the flesh set their minds on the things of the flesh, but those who are according to the Spirit, the things of the Spirit....you are putting to death the deeds of the body....(Romans 8:5; 13b). It is up to us to 'set' our mind on the things of the Spirit. We should not pray for God to do this for us. It is up to us to "put to death the deeds of the body..." based on that new supernatural normalcy found in God's provisions thru our new walk in Righteousness. The Lord died for our sins and arose our hope. He only asks to believe and receive and to"Come to Me..." and in that restful place He will empower us to "crucify the old" and "put on the new." Righteousness is our new obligation inspired by love, (Romans 6:12-18).
"Now those who belong to Christ Jesus have crucified the flesh with its passions and desires. If we live by the Spirit, let us also walk by the Spirit. (Galatians 5:24-25).